对接待办中心

This commit is contained in:
sunFlower
2022-10-18 09:18:38 +08:00
parent b6f1b13782
commit 7217fd59ef
5 changed files with 52 additions and 33 deletions
@@ -156,5 +156,9 @@
</script> </script>
<style scoped> <style scoped>
.page {
text-align: right;
margin-top: 20px;
}
</style> </style>
@@ -150,5 +150,9 @@
</script> </script>
<style scoped> <style scoped>
.page {
text-align: right;
margin-top: 20px;
}
</style> </style>
@@ -156,5 +156,9 @@
</script> </script>
<style scoped> <style scoped>
.page {
text-align: right;
margin-top: 20px;
}
</style> </style>
@@ -116,7 +116,7 @@
isTrue: false, isTrue: false,
taskDefinitionKey: '', taskDefinitionKey: '',
taskIds: [], taskIds: [],
projectLawsInventoryIds:[], projectLawsInventoryIds: []
} }
}, },
methods: { methods: {
@@ -127,9 +127,7 @@
this.taskIds = [] this.taskIds = []
this.projectLawsInventoryIds = [] this.projectLawsInventoryIds = []
this.selectedRowKeys.forEach(res => { this.selectedRowKeys.forEach(res => {
if (res.taskIds.indexOf(',') != '-1'){ res.taskIds = res.actiProcInstId
res.taskIds = res.taskIds.slice(0,res.taskIds.indexOf(','))
}
this.taskIds.push(res.taskIds) this.taskIds.push(res.taskIds)
this.projectLawsInventoryIds.push(res.projectLawsInventoryId) this.projectLawsInventoryIds.push(res.projectLawsInventoryId)
}) })
@@ -159,7 +157,7 @@
rejectTime: rejectTime, rejectTime: rejectTime,
rejectCause: this.formInline.approvalOpinion, rejectCause: this.formInline.approvalOpinion,
taskIds: this.taskIds.join(','), taskIds: this.taskIds.join(','),
rejectType:'1', rejectType: '1'
} }
postAction('/project/projectLawsInventoryRejectCauseEO/addBatch', query).then((res) => { postAction('/project/projectLawsInventoryRejectCauseEO/addBatch', query).then((res) => {
@@ -9,7 +9,7 @@
<span>{{$t('RelatedItems')}}</span> <span>{{$t('RelatedItems')}}</span>
</div> </div>
<j-input class="box-input" :placeholder="$t('PleaseEnter')+$t('RelatedItems')" <j-input class="box-input" :placeholder="$t('PleaseEnter')+$t('RelatedItems')"
v-model="queryParam.title"></j-input> v-model="queryParam.projectName"></j-input>
</div> </div>
</a-col> </a-col>
<a-col :md="6" :sm="8"> <a-col :md="6" :sm="8">
@@ -18,7 +18,7 @@
<span>{{$t('standardInformation')}}</span> <span>{{$t('standardInformation')}}</span>
</div> </div>
<j-input class="box-input" :placeholder="$t('PleaseEnter')+$t('standardInformation')" <j-input class="box-input" :placeholder="$t('PleaseEnter')+$t('standardInformation')"
v-model="queryParam.standardInformation"></j-input> v-model="queryParam.serialNumber"></j-input>
</div> </div>
</a-col> </a-col>
<span style="float: right;overflow: hidden;margin-right: 11px" class="table-page-search-submitButtons"> <span style="float: right;overflow: hidden;margin-right: 11px" class="table-page-search-submitButtons">
@@ -90,42 +90,42 @@
{ {
title: this.$t('RelatedItems'), title: this.$t('RelatedItems'),
align: 'center', align: 'center',
dataIndex: 'RelatedItems', dataIndex: 'projectName',
ellipsis: true, ellipsis: true,
width: 170 width: 170
}, },
{ {
title: this.$t('standardInformation'), title: this.$t('standardInformation'),
align: 'center', align: 'center',
dataIndex: 'standardInformation', dataIndex: 'serialNumber',
ellipsis: true, ellipsis: true,
width: 170 width: 170
}, },
{ {
title: this.$t('taskType'), title: this.$t('taskType'),
align: 'center', align: 'center',
dataIndex: 'taskType', dataIndex: 'flowTypeShow',
ellipsis: true, ellipsis: true,
width: 170 width: 170
}, },
{ {
title: this.$t('Sponsor'), title: this.$t('Sponsor'),
align: 'center', align: 'center',
dataIndex: 'Sponsor', dataIndex: 'createBy',
ellipsis: true, ellipsis: true,
width: 170 width: 170
}, },
{ {
title: this.$t('TaskCutOffTime'), title: this.$t('TaskCutOffTime'),
align: 'center', align: 'center',
dataIndex: 'TaskCutOffTime', dataIndex: 'endTime',
ellipsis: true, ellipsis: true,
width: 170 width: 170
}, },
{ {
title: this.$t('taskStatus'), title: this.$t('taskStatus'),
align: 'center', align: 'center',
dataIndex: 'taskStatus', dataIndex: 'statusShow',
ellipsis: true, ellipsis: true,
width: 170 width: 170
}, },
@@ -142,10 +142,13 @@
pageNo:1, pageNo:1,
total:0, total:0,
url:{ url:{
list:'', list:'/todoCenter/projectProcess/todoTaskList',
}, },
} }
}, },
mounted() {
this.getList()
},
methods:{ methods:{
batchProcessingForm() { batchProcessingForm() {
this.pageNo = 1 this.pageNo = 1
@@ -186,7 +189,7 @@
if (value && value.length > 0) { if (value && value.length > 0) {
value.forEach(res => { value.forEach(res => {
res = JSON.parse(res) res = JSON.parse(res)
if (res.prcType == '1') { if (res.flowType == '1') {
this.selectedRowKeys.push(JSON.stringify(res)) this.selectedRowKeys.push(JSON.stringify(res))
} else { } else {
this.$message.warning(this.$t('onlyDataTaskConfirmationProcessSelected')) this.$message.warning(this.$t('onlyDataTaskConfirmationProcessSelected'))
@@ -213,6 +216,7 @@
let query = { let query = {
pageNo: this.pageNo, pageNo: this.pageNo,
pageSize: this.pageSize, pageSize: this.pageSize,
flowType:'1',
...queryParam ...queryParam
} }
this.loading = true this.loading = true
@@ -295,4 +299,9 @@
::v-deep .ant-table-body { ::v-deep .ant-table-body {
background: transparent !important; background: transparent !important;
} }
.page {
text-align: right;
margin-top: 20px;
}
</style> </style>