|
@@ -62,6 +62,7 @@
|
|
|
import byTable from "/src/components/byTable/index";
|
|
|
import { ElMessage, ElMessageBox } from "element-plus";
|
|
|
import refreshStore from "/src/store/modules/refresh";
|
|
|
+import { flowStatus } from "/src/utils/flowStatus";
|
|
|
|
|
|
const { proxy } = getCurrentInstance();
|
|
|
const sourceList = ref({
|
|
@@ -135,6 +136,22 @@ const config = computed(() => {
|
|
|
width: 140,
|
|
|
},
|
|
|
},
|
|
|
+ judgeUserA8()
|
|
|
+ ? {
|
|
|
+ attrs: {
|
|
|
+ label: "流程状态",
|
|
|
+ prop: "flowStatus",
|
|
|
+ width: 120,
|
|
|
+ },
|
|
|
+ render(val) {
|
|
|
+ return proxy.dictKeyValue(val, flowStatus());
|
|
|
+ },
|
|
|
+ }
|
|
|
+ : {
|
|
|
+ attrs: {
|
|
|
+ width: 1,
|
|
|
+ },
|
|
|
+ },
|
|
|
{
|
|
|
attrs: {
|
|
|
label: "订单状态",
|
|
@@ -532,6 +549,9 @@ const clickSubmitUser = () => {
|
|
|
}
|
|
|
});
|
|
|
};
|
|
|
+const judgeUserA8 = () => {
|
|
|
+ return proxy.useUserStore().user.userId === "1689164615204569090";
|
|
|
+};
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|