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