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