对接待办中心

This commit is contained in:
sunFlower
2022-10-18 14:37:34 +08:00
parent 1ebe37a132
commit 24834ca67d
8 changed files with 366 additions and 68 deletions
@@ -12,11 +12,11 @@
{{$t('feedbackPoint')+(index+1)}} {{$t('feedbackPoint')+(index+1)}}
<a-icon class="icon-size" <a-icon class="icon-size"
@click="addData" @click="addData"
v-if="(formInline.dataList.length-1) == index" v-if="(formInline.dataList.length-1) == index && !disabled"
type="plus-circle"/> type="plus-circle"/>
<a-icon class="icon-size" <a-icon class="icon-size"
@click="deleteData" @click="deleteData"
v-if="formInline.dataList.length > 1 && (formInline.dataList.length - 1) == index" v-if="formInline.dataList.length > 1 && (formInline.dataList.length - 1) == index && !disabled"
type="minus-circle"/> type="minus-circle"/>
</div> </div>
<a-row :gutter="24"> <a-row :gutter="24">
@@ -163,7 +163,9 @@
} }
this.formInline = { ...this.formInline } this.formInline = { ...this.formInline }
}) })
if (this.$route.query.isDisabled) {
this.disabled = JSON.parse(this.$route.query.isDisabled)
}
}, },
methods: { methods: {
clickButtonToUpload(item, index) { clickButtonToUpload(item, index) {
@@ -19,7 +19,7 @@
:title="$t('feedbackInformation')" :title="$t('feedbackInformation')"
/> />
<footerProcess <footerProcess
v-if="isDisplay" v-if="isDisplay && !disabled"
isPreservation isPreservation
:isSubmit="true" :isSubmit="true"
@preservation="preservation" @preservation="preservation"
@@ -61,6 +61,7 @@
}, },
loading: false, loading: false,
isDisplay: true, isDisplay: true,
disabled: false,
feedbackDataList: [], feedbackDataList: [],
queryProject: {}, queryProject: {},
standardContentList: [ standardContentList: [
@@ -101,6 +102,9 @@
}, },
mounted() { mounted() {
this.isDisplay = false this.isDisplay = false
if (this.$route.query.isDisabled) {
this.disabled = JSON.parse(this.$route.query.isDisabled)
}
this.queryTaskDetailByTask(() => { this.queryTaskDetailByTask(() => {
this.lawsOpinionAssessmentResult() this.lawsOpinionAssessmentResult()
}) })
@@ -128,7 +128,7 @@
projectName: item.projectName, projectName: item.projectName,
projectNameId: item.projectNameId, projectNameId: item.projectNameId,
targetMarket: item.targetMarket, targetMarket: item.targetMarket,
studioEngineer: item.studioEngineer, studioEngineer: item.studioEngineer
} }
}) })
window.open(newUrl.href, '_blank') window.open(newUrl.href, '_blank')
@@ -147,10 +147,10 @@
if (row.flowType == '1') { if (row.flowType == '1') {
query = { query = {
taskDefinitionKey: row.taskDefinitionKey, taskDefinitionKey: row.taskDefinitionKey,
taskIds:row.actiProcInstId, taskIds: row.taskIds,
prcType: row.flowType, prcType: row.flowType,
prcNum: row.prcNum, prcNum: row.prcNum,
isTrue:false, isTrue: false
} }
let newUrl = this.$router.resolve({ let newUrl = this.$router.resolve({
path: '/handshakeProcess', path: '/handshakeProcess',
@@ -166,10 +166,97 @@
projectNameId: row.projectNameId, projectNameId: row.projectNameId,
targetMarket: row.targetMarket, targetMarket: row.targetMarket,
studioEngineer: row.studioEngineer, studioEngineer: row.studioEngineer,
type:'102', type: '102'
} }
}) })
window.open(newUrl.href, '_blank') window.open(newUrl.href, '_blank')
} else if (row.flowType == '2') {
query = {
taskIds: row.taskIds,
actiProcInstId: row.actiProcInstId,
projectTaskInventoryId: row.projectLawsInventoryId,
projectLibraryId: row.projectLibraryId,
id: row.projectLibraryId,
studioEngineer: row.studioEngineer,
serialNumber: row.serialNumber,
TaskKey: row.designTaskDefinitionKey,
isDisplay: false,
flowType: 2,
Sponsor: 'designInitiatorName',
personLiable: 'designDutyName',
typeOfDeliverables: 'designDeliverableTypeName',
deliverableTemplate: 'designDeliverableTemplate',
DueDate: 'designDueDate',
remarks: 'designRemark',
projectName: row.projectName,
targetMarket: row.targetMarket,
projectNameId: row.projectNameId,
primaryKeyId: row.designTaskDetailId,
PersonChargeFeedback: row.designPersonChargeFeedback
}
let newUrl = this.$router.resolve({
path: '/taskListProcess',
query: query
})
window.open(newUrl.href, '_blank')
} else if (row.flowType == '3') {
query = {
taskIds: row.taskIds,
actiProcInstId: row.actiProcInstId,
projectTaskInventoryId: row.projectLawsInventoryId,
studioEngineer: row.studioEngineer,
projectLibraryId: row.projectLibraryId,
serialNumber: row.serialNumber,
TaskKey: row.prehomoTaskDefinitionKey,
flowType: 3,
isDisplay: false,
id: row.projectLibraryId,
Sponsor: 'prehomoInitiatorName',
personLiable: 'prehomoDutyName',
typeOfDeliverables: 'prehomoDeliverableTypeName',
deliverableTemplate: 'prehomoDeliverableTemplate',
DueDate: 'prehomoDueDate',
remarks: 'prehomoRemark',
projectName: row.projectName,
targetMarket: row.targetMarket,
projectNameId: row.projectNameId,
primaryKeyId: row.prehomoTaskDetailId,
PersonChargeFeedback: row.prehomoPersonChargeFeedback
}
let newUrl = this.$router.resolve({
path: '/taskListProcess',
query: query
})
window.open(newUrl.href, '_blank')
} else if (row.flowType == '4') {
query = {
taskIds: row.taskIds,
actiProcInstId: row.actiProcInstId,
id: row.projectLibraryId,
projectLibraryId: row.projectLibraryId,
studioEngineer: row.studioEngineer,
serialNumber: row.serialNumber,
projectTaskInventoryId: row.projectLawsInventoryId,
TaskKey: row.verifyTaskDefinitionKey,
flowType: 4,
isDisplay: false,
Sponsor: 'verifyInitiatorName',
personLiable: 'verifyDutyName',
typeOfDeliverables: 'verifyDeliverableTypeName',
deliverableTemplate: 'verifyDeliverableTemplate',
DueDate: 'verifyDueDate',
remarks: 'verifyRemark',
projectName: row.projectName,
targetMarket: row.targetMarket,
projectNameId: row.projectNameId,
primaryKeyId: row.verifyTaskDetailId,
PersonChargeFeedback: row.verifyPersonChargeFeedback
}
let newUrl = this.$router.resolve({
path: '/taskListProcess',
query: query
})
window.open(newUrl.href, '_blank')
} }
}, },
searchQuery(value) { searchQuery(value) {
@@ -140,7 +140,7 @@
if (row.flowType == '1') { if (row.flowType == '1') {
query = { query = {
taskDefinitionKey:row.taskDefinitionKey, taskDefinitionKey:row.taskDefinitionKey,
taskIds:row.actiProcInstId, taskIds:row.taskIds,
prcType:row.flowType, prcType:row.flowType,
prcNum:row.prcNum, prcNum:row.prcNum,
isTrue:true, isTrue:true,
@@ -163,6 +163,93 @@
} }
}) })
window.open(newUrl.href, '_blank') window.open(newUrl.href, '_blank')
}else if(row.flowType == '2'){
query = {
taskIds:row.taskIds,
actiProcInstId: row.actiProcInstId,
projectTaskInventoryId: row.projectLawsInventoryId,
projectLibraryId:row.projectLibraryId,
id: row.projectLibraryId,
studioEngineer: row.studioEngineer,
serialNumber: row.serialNumber,
TaskKey: row.designTaskDefinitionKey,
isDisplay: true,
flowType: 2,
Sponsor: 'designInitiatorName',
personLiable: 'designDutyName',
typeOfDeliverables: 'designDeliverableTypeName',
deliverableTemplate: 'designDeliverableTemplate',
DueDate: 'designDueDate',
remarks: 'designRemark',
projectName: row.projectName,
targetMarket: row.targetMarket,
projectNameId: row.projectNameId,
primaryKeyId: row.designTaskDetailId,
PersonChargeFeedback: row.designPersonChargeFeedback
}
let newUrl = this.$router.resolve({
path: '/taskListProcess',
query: query
})
window.open(newUrl.href, '_blank')
}else if(row.flowType == '3'){
query = {
taskIds:row.taskIds,
actiProcInstId: row.actiProcInstId,
projectTaskInventoryId: row.projectLawsInventoryId,
studioEngineer: row.studioEngineer,
projectLibraryId:row.projectLibraryId,
serialNumber: row.serialNumber,
TaskKey: row.prehomoTaskDefinitionKey,
flowType: 3,
isDisplay: true,
id: row.projectLibraryId,
Sponsor: 'prehomoInitiatorName',
personLiable: 'prehomoDutyName',
typeOfDeliverables: 'prehomoDeliverableTypeName',
deliverableTemplate: 'prehomoDeliverableTemplate',
DueDate: 'prehomoDueDate',
remarks: 'prehomoRemark',
projectName: row.projectName,
targetMarket: row.targetMarket,
projectNameId: row.projectNameId,
primaryKeyId: row.prehomoTaskDetailId,
PersonChargeFeedback: row.prehomoPersonChargeFeedback
}
let newUrl = this.$router.resolve({
path: '/taskListProcess',
query: query
})
window.open(newUrl.href, '_blank')
}else if(row.flowType == '4'){
query = {
taskIds: row.taskIds,
actiProcInstId: row.actiProcInstId,
id: row.projectLibraryId,
projectLibraryId: row.projectLibraryId,
studioEngineer: row.studioEngineer,
serialNumber: row.serialNumber,
projectTaskInventoryId: row.projectLawsInventoryId,
TaskKey: row.verifyTaskDefinitionKey,
flowType: 4,
isDisplay: true,
Sponsor: 'verifyInitiatorName',
personLiable: 'verifyDutyName',
typeOfDeliverables: 'verifyDeliverableTypeName',
deliverableTemplate: 'verifyDeliverableTemplate',
DueDate: 'verifyDueDate',
remarks: 'verifyRemark',
projectName: row.projectName,
targetMarket: row.targetMarket,
projectNameId: row.projectNameId,
primaryKeyId: row.verifyTaskDetailId,
PersonChargeFeedback: row.verifyPersonChargeFeedback
}
let newUrl = this.$router.resolve({
path: '/taskListProcess',
query: query
})
window.open(newUrl.href, '_blank')
} }
}, },
searchQuery(value) { searchQuery(value) {
@@ -147,7 +147,7 @@
if (row.flowType == '1') { if (row.flowType == '1') {
query = { query = {
taskDefinitionKey:row.taskDefinitionKey, taskDefinitionKey:row.taskDefinitionKey,
taskIds:row.actiProcInstId, taskIds:row.taskIds,
prcType:row.flowType, prcType:row.flowType,
prcNum:row.prcNum, prcNum:row.prcNum,
isTrue:false, isTrue:false,
@@ -170,6 +170,93 @@
} }
}) })
window.open(newUrl.href, '_blank') window.open(newUrl.href, '_blank')
}else if(row.flowType == '2'){
query = {
taskIds:row.taskIds,
actiProcInstId: row.actiProcInstId,
projectTaskInventoryId: row.projectLawsInventoryId,
projectLibraryId:row.projectLibraryId,
id: row.projectLibraryId,
studioEngineer: row.studioEngineer,
serialNumber: row.serialNumber,
TaskKey: row.designTaskDefinitionKey,
isDisplay: false,
flowType: 2,
Sponsor: 'designInitiatorName',
personLiable: 'designDutyName',
typeOfDeliverables: 'designDeliverableTypeName',
deliverableTemplate: 'designDeliverableTemplate',
DueDate: 'designDueDate',
remarks: 'designRemark',
projectName: row.projectName,
targetMarket: row.targetMarket,
projectNameId: row.projectNameId,
primaryKeyId: row.designTaskDetailId,
PersonChargeFeedback: row.designPersonChargeFeedback
}
let newUrl = this.$router.resolve({
path: '/taskListProcess',
query: query
})
window.open(newUrl.href, '_blank')
}else if(row.flowType == '3'){
query = {
taskIds:row.taskIds,
actiProcInstId: row.actiProcInstId,
projectTaskInventoryId: row.projectLawsInventoryId,
studioEngineer: row.studioEngineer,
projectLibraryId:row.projectLibraryId,
serialNumber: row.serialNumber,
TaskKey: row.prehomoTaskDefinitionKey,
flowType: 3,
isDisplay: false,
id: row.projectLibraryId,
Sponsor: 'prehomoInitiatorName',
personLiable: 'prehomoDutyName',
typeOfDeliverables: 'prehomoDeliverableTypeName',
deliverableTemplate: 'prehomoDeliverableTemplate',
DueDate: 'prehomoDueDate',
remarks: 'prehomoRemark',
projectName: row.projectName,
targetMarket: row.targetMarket,
projectNameId: row.projectNameId,
primaryKeyId: row.prehomoTaskDetailId,
PersonChargeFeedback: row.prehomoPersonChargeFeedback
}
let newUrl = this.$router.resolve({
path: '/taskListProcess',
query: query
})
window.open(newUrl.href, '_blank')
}else if(row.flowType == '4'){
query = {
taskIds: row.taskIds,
actiProcInstId: row.actiProcInstId,
id: row.projectLibraryId,
projectLibraryId: row.projectLibraryId,
studioEngineer: row.studioEngineer,
serialNumber: row.serialNumber,
projectTaskInventoryId: row.projectLawsInventoryId,
TaskKey: row.verifyTaskDefinitionKey,
flowType: 4,
isDisplay: false,
Sponsor: 'verifyInitiatorName',
personLiable: 'verifyDutyName',
typeOfDeliverables: 'verifyDeliverableTypeName',
deliverableTemplate: 'verifyDeliverableTemplate',
DueDate: 'verifyDueDate',
remarks: 'verifyRemark',
projectName: row.projectName,
targetMarket: row.targetMarket,
projectNameId: row.projectNameId,
primaryKeyId: row.verifyTaskDetailId,
PersonChargeFeedback: row.verifyPersonChargeFeedback
}
let newUrl = this.$router.resolve({
path: '/taskListProcess',
query: query
})
window.open(newUrl.href, '_blank')
} }
}, },
searchQuery(value) { searchQuery(value) {
@@ -36,6 +36,7 @@
<script> <script>
import { getAction, postAction, deleteAction } from '@/api/manage' import { getAction, postAction, deleteAction } from '@/api/manage'
export default { export default {
name: 'SentList', name: 'SentList',
data() { data() {
@@ -43,13 +44,13 @@
dataSource: [], dataSource: [],
loading: false, loading: false,
url: { url: {
list:'', list: ''
}, },
columns: [ columns: [
{ {
title: this.$t('standardInformation'), title: this.$t('standardInformation'),
align: 'center', align: 'center',
dataIndex: 'standardInformation', dataIndex: 'serialNumber',
scopedSlots: { customRender: 'standardInformation' }, scopedSlots: { customRender: 'standardInformation' },
ellipsis: true, ellipsis: true,
width: 170 width: 170
@@ -57,35 +58,35 @@
{ {
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('LastProcessor'), title: this.$t('LastProcessor'),
align: 'center', align: 'center',
dataIndex: 'LastProcessor', dataIndex: 'lastAssigneeName',
ellipsis: true, ellipsis: true,
width: 170 width: 170
}, },
{ {
title: this.$t('CurrentProcessor'), title: this.$t('CurrentProcessor'),
align: 'center', align: 'center',
dataIndex: 'CurrentProcessor', dataIndex: 'assigneeName',
ellipsis: true,
width: 170
},
{
title: this.$t('TaskCutOffTime'),
align: 'center',
dataIndex: 'TaskCutOffTime',
ellipsis: true, ellipsis: true,
width: 170 width: 170
}, },
// {
// title: this.$t('TaskCutOffTime'),
// align: 'center',
// dataIndex: 'TaskCutOffTime',
// ellipsis: true,
// 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
}, },
@@ -101,7 +102,7 @@
pageSize: 10, pageSize: 10,
pageNo: 1, pageNo: 1,
total: 0, total: 0,
queryParam:{}, queryParam: {}
} }
}, },
methods: { methods: {
@@ -109,7 +110,7 @@
let newUrl = this.$router.resolve({ let newUrl = this.$router.resolve({
path: '/docManage/library/detail', path: '/docManage/library/detail',
query: { query: {
id: item.projectLawsInventoryId, id: item.projectLawsInventoryId
} }
}) })
window.open(newUrl.href, '_blank') window.open(newUrl.href, '_blank')
@@ -163,7 +164,7 @@
this.loading = false this.loading = false
} }
}) })
}, }
} }
} }
</script> </script>
@@ -47,7 +47,7 @@
{ {
title: this.$t('standardInformation'), title: this.$t('standardInformation'),
align: 'center', align: 'center',
dataIndex: 'standardInformation', dataIndex: 'serialNumber',
scopedSlots: { customRender: 'standardInformation' }, scopedSlots: { customRender: 'standardInformation' },
ellipsis: true, ellipsis: true,
width: 170 width: 170
@@ -55,28 +55,28 @@
{ {
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
}, },
@@ -92,7 +92,7 @@
pageSize: 10, pageSize: 10,
pageNo: 1, pageNo: 1,
url: { url: {
list:'', list: ''
}, },
total: 0, total: 0,
queryParam: {} queryParam: {}
@@ -103,7 +103,7 @@
let newUrl = this.$router.resolve({ let newUrl = this.$router.resolve({
path: '/docManage/library/detail', path: '/docManage/library/detail',
query: { query: {
id: item.projectLawsInventoryId, id: item.projectLawsInventoryId
} }
}) })
window.open(newUrl.href, '_blank') window.open(newUrl.href, '_blank')
@@ -118,8 +118,38 @@
this.pageNo = 1 this.pageNo = 1
this.getList() this.getList()
}, },
ProcessingClick(val) { ProcessingClick(row){
row.router = this.$route.path
let query = {}
if (row.flowType == '5') {
query = {
prcId:row.actiProcInstId,
taskIds:row.taskIds,
prcType:row.flowType,
router:row.router,
taskDefinitionKey:row.taskDefinitionKey,
isDisabled:false
}
let newUrl = this.$router.resolve({
path: '/regulatoryProcessReview',
query: query
})
window.open(newUrl.href, '_blank')
} else if (row.flowType == '6') {
query = {
taskDefinitionKey:row.taskDefinitionKey,
taskIds:row.taskIds,
prcType:row.flowType,
prcId:row.actiProcInstId,
router:row.router,
isDisabled:false,
}
let newUrl = this.$router.resolve({
path: '/evaluationProcess',
query: query
})
window.open(newUrl.href, '_blank')
}
}, },
pageOnChange(page) { pageOnChange(page) {
this.pageNo = page this.pageNo = page
@@ -46,7 +46,7 @@
{ {
title: this.$t('standardInformation'), title: this.$t('standardInformation'),
align: 'center', align: 'center',
dataIndex: 'standardInformation', dataIndex: 'serialNumber',
ellipsis: true, ellipsis: true,
scopedSlots: { customRender: 'standardInformation' }, scopedSlots: { customRender: 'standardInformation' },
width: 170 width: 170
@@ -54,35 +54,35 @@
{ {
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('CurrentProcessor'), title: this.$t('CurrentProcessor'),
align: 'center', align: 'center',
dataIndex: 'CurrentProcessor', dataIndex: 'assigneeName',
ellipsis: true,
width: 170
},
{
title: this.$t('TaskCutOffTime'),
align: 'center',
dataIndex: 'TaskCutOffTime',
ellipsis: true, ellipsis: true,
width: 170 width: 170
}, },
// {
// title: this.$t('TaskCutOffTime'),
// align: 'center',
// dataIndex: 'TaskCutOffTime',
// ellipsis: true,
// 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
}, },