明树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([
width: 200,
slot: "operations",
fixed: "right",
align: "center",
align: "left",
},
]);
let loading = ref(false);
......
......@@ -112,7 +112,7 @@ let tableColumns = ref([
width: 170,
slot: "operations",
fixed: "right",
align: "center",
align: "left",
},
]);
let loading = ref(false);
......
......@@ -49,7 +49,7 @@
v-else
:loading="row.loading"
@click="viewDecision(row)"
>{{ canAudit ? "审批" : "查看" }}</el-button
>{{ "审批" }}</el-button
>
</template>
</common-table>
......@@ -79,12 +79,6 @@ const userInfo =
(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 tableColumns = ref([
......@@ -120,7 +114,7 @@ let tableColumns = ref([
width: 160,
slot: "operations",
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