fix:一些文案和功能的调整修改

This commit is contained in:
大黑 2025-12-26 16:50:53 +08:00
parent b34d81892b
commit 9ad47327c0
4 changed files with 25 additions and 10 deletions

View File

@ -309,6 +309,11 @@ export default {
url: '/custom/engineParamDetailPojo/selectParamListAndModel',
method: 'get'
},
//填写人退回
HANDLE_FILLER_BACK: {
url: '/custom/todoTaskPojo/todoReturn',
method: 'post'
},
GET_ENGINE_DETAIL_QUERY: {
url: '/custom/engineParamDetailPojo/selectParamList',
method: 'get'

View File

@ -1775,6 +1775,9 @@ export default {
loadTreeData() {
const request = {
...api.GET_ENGINE_DETAIL_QUERY,
params: {
tcData: 'tc'
},
disableSuccessMsg: true
}
this.$request(request)

View File

@ -764,7 +764,10 @@ export default {
label: '填写部门',
showOverflowTooltip: true,
minWidth: '120',
align: 'center'
align: 'center',
formatter: ({ cellValue }) => {
return this.formatDepartmentDisplay(cellValue)
}
},
{
prop: 'remarks',
@ -868,7 +871,10 @@ export default {
label: '填写部门',
showOverflowTooltip: true,
minWidth: '120',
align: 'center'
align: 'center',
formatter: ({ cellValue }) => {
return this.formatDepartmentDisplay(cellValue)
}
},
{
prop: 'remarks',
@ -1761,10 +1767,7 @@ export default {
item.number ||
(this.pagination.currentPage - 1) * this.pagination.pageSize + index + 1
}
// department
if (item.department) {
processedItem.department = this.formatDepartmentDisplay(item.department)
}
// department
return processedItem
})
@ -2515,8 +2518,8 @@ export default {
return {
...item,
parameterType: item.parameterType || item.type || '',
number: item.number || index + 1,
department: item.department ? this.formatDepartmentDisplay(item.department) : (item.department || '')
number: item.number || index + 1
// department
}
})
// resp.data result
@ -2734,8 +2737,8 @@ export default {
return {
...item,
parameterType: item.parameterType || item.type || '',
number: item.number || startIndex + index + 1,
department: item.department ? this.formatDepartmentDisplay(item.department) : (item.department || '')
number: item.number || startIndex + index + 1
// department
}
})
// GET_MODEL_DETAIL resp.data result

View File

@ -39,6 +39,10 @@
<div v-if="colConfig.customSlot === 'options'" :key="'op' + index + '' + rowIndex">
<a href="javascript:void(0)" class="el-link el-link--primary" @click.stop="handleRowView(row)">查看</a>
</div>
<span style="width: 6px; display: inline-block"></span>
<div v-if="colConfig.customSlot === 'options'" :key="'op' + index + '' + rowIndex">
<a href="javascript:void(0)" class="el-link el-link--primary" @click.stop="handleRowBack(row)">退回</a>
</div>
</template>
<template slot="empty">