待办中心增加引用交付物功能
This commit is contained in:
@@ -80,7 +80,7 @@
|
|||||||
width: 300
|
width: 300
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('taskType'),
|
title: this.$t('ProcessType'),
|
||||||
align: 'left',
|
align: 'left',
|
||||||
dataIndex: 'flowTypeShow',
|
dataIndex: 'flowTypeShow',
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
|
|||||||
@@ -58,6 +58,7 @@
|
|||||||
</span>
|
</span>
|
||||||
<span slot="approvalFile" slot-scope="text,result">
|
<span slot="approvalFile" slot-scope="text,result">
|
||||||
<span class="viewFile"
|
<span class="viewFile"
|
||||||
|
:title="$t('viewFile')"
|
||||||
@click="viewFileClick(result.approvalFile)"
|
@click="viewFileClick(result.approvalFile)"
|
||||||
v-if="result.approvalFile">
|
v-if="result.approvalFile">
|
||||||
{{$t('viewFile')}}
|
{{$t('viewFile')}}
|
||||||
|
|||||||
@@ -92,7 +92,7 @@
|
|||||||
width: 300
|
width: 300
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('taskType'),
|
title: this.$t('ProcessType'),
|
||||||
align: 'left',
|
align: 'left',
|
||||||
dataIndex: 'flowTypeShow',
|
dataIndex: 'flowTypeShow',
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
|
|||||||
@@ -343,6 +343,7 @@
|
|||||||
top: 20px;
|
top: 20px;
|
||||||
right: 70px;
|
right: 70px;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
|
z-index: 20;
|
||||||
}
|
}
|
||||||
::v-deep .ant-drawer-header {
|
::v-deep .ant-drawer-header {
|
||||||
top: 0;
|
top: 0;
|
||||||
|
|||||||
@@ -85,7 +85,7 @@
|
|||||||
width: 300
|
width: 300
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('taskType'),
|
title: this.$t('ProcessType'),
|
||||||
align: 'left',
|
align: 'left',
|
||||||
dataIndex: 'flowTypeShow',
|
dataIndex: 'flowTypeShow',
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
|
|||||||
+14
-20
@@ -98,15 +98,15 @@
|
|||||||
total: 0,
|
total: 0,
|
||||||
ids: '',
|
ids: '',
|
||||||
detailedWarningList: [],
|
detailedWarningList: [],
|
||||||
queryProject:{},
|
queryProject: {},
|
||||||
type:'',
|
type: ''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
transferModel(type,queryProject) {
|
transferModel(type, queryProject) {
|
||||||
this.visible = true
|
this.visible = true
|
||||||
this.queryParam = {}
|
this.queryParam = {}
|
||||||
this.selectedRowKeys = []
|
this.selectedRowKeys = []
|
||||||
@@ -160,33 +160,27 @@
|
|||||||
let selectedRowKeys = JSON.parse(JSON.stringify(this.selectedRowKeys))
|
let selectedRowKeys = JSON.parse(JSON.stringify(this.selectedRowKeys))
|
||||||
this.confirmLoading = true
|
this.confirmLoading = true
|
||||||
let query = {
|
let query = {
|
||||||
serialNumber:this.queryProject.serialNumber,
|
serialNumber: this.queryProject.serialNumber,
|
||||||
dutyTerritory:this.queryProject.dutyTerritory,
|
dutyTerritory: this.queryProject.dutyTerritory,
|
||||||
citeProjectLibraryId:selectedRowKeys.join(','),
|
citeProjectLibraryId: selectedRowKeys.join(',')
|
||||||
}
|
}
|
||||||
if (this.type == '2'){
|
if (this.type == '2') {
|
||||||
query.operateType = 'lawsInventoryDesignCiteDeliverable'
|
query.operateType = 'lawsInventoryDesignCiteDeliverable'
|
||||||
query.designDeliverableType = this.queryProject.designDeliverableType
|
query.designDeliverableType = this.queryProject.designDeliverableType
|
||||||
}else if(this.type == '4'){
|
} else if (this.type == '4') {
|
||||||
query.operateType = 'lawsInventoryVerifyCiteDeliverable'
|
query.operateType = 'lawsInventoryVerifyCiteDeliverable'
|
||||||
query.verifyDeliverableType =this.queryProject.verifyDeliverableType
|
query.verifyDeliverableType = this.queryProject.verifyDeliverableType
|
||||||
}
|
}
|
||||||
postAction('/project/projectLawsInventoryEO/citeDeliverable', query).then((res) => {
|
postAction('/project/projectLawsInventoryEO/citeDeliverable', query).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.confirmLoading = false
|
this.confirmLoading = false
|
||||||
if (res.result) {
|
this.$message.success(res.message)
|
||||||
this.$message.warning(res.result)
|
|
||||||
} else {
|
|
||||||
this.$message.success(this.$t('OperationSuccessful'))
|
|
||||||
}
|
|
||||||
this.visible = false
|
this.visible = false
|
||||||
this.$emit('referenceDeliverablesListForm')
|
if (res.result){
|
||||||
} else {
|
this.$emit('referenceDeliverablesListForm',res.result)
|
||||||
if (res.result) {
|
|
||||||
this.$message.warning(res.result)
|
|
||||||
} else {
|
|
||||||
this.$message.warning(this.$t('operationFailed'))
|
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
this.confirmLoading = false
|
this.confirmLoading = false
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
+4
-1
@@ -181,7 +181,10 @@
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getData(data) {
|
getData(data) {
|
||||||
|
this.formInline.disposeResult = data.operatorResult
|
||||||
|
this.formInline.approvalOpinion = data.approvalOpinion
|
||||||
|
this.formInline.approvalFile = data.approvalFile
|
||||||
|
this.formInline = { ...this.formInline }
|
||||||
},
|
},
|
||||||
submit(callBack) {
|
submit(callBack) {
|
||||||
this.$refs.ruleForm.validate(valid => {
|
this.$refs.ruleForm.validate(valid => {
|
||||||
|
|||||||
Reference in New Issue
Block a user