update 任务管理下的任务列表界面的主题点击也要能弹窗跟场景名称一致;报工按钮隐藏
This commit is contained in:
@@ -28,22 +28,22 @@ const tagTypeMapList = commonStore.getDictData('TAG_TYPE_MAP_LIST')?.A || [];
|
||||
const showCreateWorkTimeVisible = ref(false);
|
||||
|
||||
const actionList = ref([
|
||||
{
|
||||
title: '报工',
|
||||
type: 'primary',
|
||||
click: (row: any) => {
|
||||
showCreateWorkTimeVisible.value = true;
|
||||
taskInfo.uuid = row.uuid;
|
||||
taskInfo.taskName = row.taskName;
|
||||
taskInfo.description = row.description;
|
||||
taskInfo.workName = row.tag1Code + '-' + row.tag5Code + '-' + row.taskName;
|
||||
tagTypeMapList.forEach((item: any) => {
|
||||
if (item.value === NODE_TYPE.WORKSPACE) {
|
||||
taskInfo.workspace = row[item.label];
|
||||
}
|
||||
});
|
||||
},
|
||||
},
|
||||
// {
|
||||
// title: '报工',
|
||||
// type: 'primary',
|
||||
// click: (row: any) => {
|
||||
// showCreateWorkTimeVisible.value = true;
|
||||
// taskInfo.uuid = row.uuid;
|
||||
// taskInfo.taskName = row.taskName;
|
||||
// taskInfo.description = row.description;
|
||||
// taskInfo.workName = row.tag1Code + '-' + row.tag5Code + '-' + row.taskName;
|
||||
// tagTypeMapList.forEach((item: any) => {
|
||||
// if (item.value === NODE_TYPE.WORKSPACE) {
|
||||
// taskInfo.workspace = row[item.label];
|
||||
// }
|
||||
// });
|
||||
// },
|
||||
// },
|
||||
]);
|
||||
</script>
|
||||
<style lang="scss" scoped></style>
|
||||
|
||||
@@ -27,22 +27,22 @@ const tagTypeMapList = commonStore.getDictData('TAG_TYPE_MAP_LIST')?.A || [];
|
||||
const showCreateWorkTimeVisible = ref(false);
|
||||
|
||||
const actionList = ref([
|
||||
{
|
||||
title: '创建报工',
|
||||
type: 'primary',
|
||||
click: (row: any) => {
|
||||
showCreateWorkTimeVisible.value = true;
|
||||
taskInfo.uuid = row.uuid;
|
||||
taskInfo.taskName = row.taskName;
|
||||
taskInfo.description = row.description;
|
||||
taskInfo.workName = row.tag1Code + '-' + row.tag5Code + '-' + row.taskName;
|
||||
tagTypeMapList.forEach((item: any) => {
|
||||
if (item.value === NODE_TYPE.WORKSPACE) {
|
||||
taskInfo.workspace = row[item.label];
|
||||
}
|
||||
});
|
||||
},
|
||||
},
|
||||
// {
|
||||
// title: '创建报工',
|
||||
// type: 'primary',
|
||||
// click: (row: any) => {
|
||||
// showCreateWorkTimeVisible.value = true;
|
||||
// taskInfo.uuid = row.uuid;
|
||||
// taskInfo.taskName = row.taskName;
|
||||
// taskInfo.description = row.description;
|
||||
// taskInfo.workName = row.tag1Code + '-' + row.tag5Code + '-' + row.taskName;
|
||||
// tagTypeMapList.forEach((item: any) => {
|
||||
// if (item.value === NODE_TYPE.WORKSPACE) {
|
||||
// taskInfo.workspace = row[item.label];
|
||||
// }
|
||||
// });
|
||||
// },
|
||||
// },
|
||||
]);
|
||||
</script>
|
||||
<style lang="scss" scoped></style>
|
||||
|
||||
@@ -72,6 +72,11 @@
|
||||
{{ row.taskName }}
|
||||
</span>
|
||||
</template>
|
||||
<template #tag10="{ row }">
|
||||
<span class="task-name" @click="nameClickFun(row)">
|
||||
{{ row.tag10 }}
|
||||
</span>
|
||||
</template>
|
||||
<template #demandName="{ row }">
|
||||
<span class="demand-name" @click="seeDemandDetailDialogFun(row.demandId)">
|
||||
{{ row.demandName }}
|
||||
|
||||
Reference in New Issue
Block a user