明树Git Lab

Commit be905ca0 authored by zhanghan's avatar zhanghan

1

parent 0dcbdc2c
Pipeline #111397 passed with stage
in 21 seconds
...@@ -103,7 +103,7 @@ let tableColumns = ref([ ...@@ -103,7 +103,7 @@ let tableColumns = ref([
width: 200, width: 200,
slot: "operations", slot: "operations",
fixed: "right", fixed: "right",
align: "center", align: "left",
}, },
]); ]);
let loading = ref(false); let loading = ref(false);
......
...@@ -112,7 +112,7 @@ let tableColumns = ref([ ...@@ -112,7 +112,7 @@ let tableColumns = ref([
width: 170, width: 170,
slot: "operations", slot: "operations",
fixed: "right", fixed: "right",
align: "center", align: "left",
}, },
]); ]);
let loading = ref(false); let loading = ref(false);
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
v-else v-else
:loading="row.loading" :loading="row.loading"
@click="viewDecision(row)" @click="viewDecision(row)"
>{{ canAudit ? "审批" : "查看" }}</el-button >{{ "审批" }}</el-button
> >
</template> </template>
</common-table> </common-table>
...@@ -79,12 +79,6 @@ const userInfo = ...@@ -79,12 +79,6 @@ const userInfo =
(sessionStorage.getItem("userInfo") && (sessionStorage.getItem("userInfo") &&
JSON.parse(sessionStorage.getItem("userInfo"))) || JSON.parse(sessionStorage.getItem("userInfo"))) ||
{}; {};
let canAudit = ref(false);
userInfo.roles.map((item) => {
if (["xmlx_sp", "xmjc_sp"].includes(item.key)) {
canAudit.value = true;
}
});
let tableData = ref([]); let tableData = ref([]);
let tableColumns = ref([ let tableColumns = ref([
...@@ -120,7 +114,7 @@ let tableColumns = ref([ ...@@ -120,7 +114,7 @@ let tableColumns = ref([
width: 160, width: 160,
slot: "operations", slot: "operations",
fixed: "right", fixed: "right",
align: "center", align: "left",
}, },
]); ]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment