fix:光芯:生产执行中的任务列表传参变动,操作去掉分配

This commit is contained in:
shijing 2025-03-11 16:48:41 +08:00
parent 9faeaef554
commit a6008e4cdc
1 changed files with 23 additions and 5 deletions

View File

@ -39,7 +39,7 @@
</el-button>
</template>
</el-table-column>
<el-table-column label="操作" fixed="right" width="90">
<el-table-column label="操作" fixed="right" width="60">
<template #default="scope">
<el-button
link
@ -50,7 +50,7 @@
@click="mtask_submit(scope.row)"
>提交
</el-button>
<el-button
<!-- <el-button
link
size="small"
v-auth="'mtask.submit'"
@ -58,7 +58,7 @@
v-if="scope.row.state == 20 "
@click="mtask_deliver(scope.row)"
>分配
</el-button>
</el-button> -->
</template>
</el-table-column>
</scTable>
@ -99,10 +99,26 @@
import deliverDrawer from "./mtask_deliver.vue";
export default {
props: {
deptId: {
type: String,
default: "",
},
mgroupId: {
type: String,
default: "",
},
mgroupName: {
type: String,
default: "",
},
processId: {
type: String,
default: "",
},
mgroupcode: {
type: String,
default: "",
},
},
components: {
deliverDrawer,
@ -137,12 +153,14 @@ export default {
// 34: "",
// 40: "",
// },
deptId: null,
deliverShow:false,
};
},
mounted() {
this.getMgroupInfo();
let that = this;
that.params.mgroup = that.mgroupId;
that.apiObj = this.$API.pm.mtask.list;
// this.getMgroupInfo();
},
methods: {
getMgroupInfo(){