Merge remote-tracking branch 'origin/dev_2nd_LCYH' into dev_2nd_LCYH
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
ref="table"
|
ref="table"
|
||||||
:loading="loading"
|
:loading="loading"
|
||||||
:pagination="false"
|
:pagination="false"
|
||||||
:scroll="{x: true}"
|
:scroll="{x: '100%'}"
|
||||||
:data-source="dataSource"
|
:data-source="dataSource"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
>
|
>
|
||||||
@@ -47,18 +47,21 @@
|
|||||||
title: this.$t('OperationNode'),
|
title: this.$t('OperationNode'),
|
||||||
dataIndex: 'name',
|
dataIndex: 'name',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
ellipsis: true,
|
||||||
width:200,
|
width:200,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('Operator'),
|
title: this.$t('Operator'),
|
||||||
dataIndex: 'assignee',
|
dataIndex: 'assignee',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
ellipsis: true,
|
||||||
width:200,
|
width:200,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('result'),
|
title: this.$t('result'),
|
||||||
dataIndex: 'approvalResult',
|
dataIndex: 'approvalResult',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
ellipsis: true,
|
||||||
width:200,
|
width:200,
|
||||||
scopedSlots: { customRender: 'approvalResult' }
|
scopedSlots: { customRender: 'approvalResult' }
|
||||||
},
|
},
|
||||||
@@ -66,6 +69,7 @@
|
|||||||
title: this.$t('opinion'),
|
title: this.$t('opinion'),
|
||||||
dataIndex: 'approvalOpinion',
|
dataIndex: 'approvalOpinion',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
ellipsis: true,
|
||||||
width:200,
|
width:200,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -73,6 +77,7 @@
|
|||||||
dataIndex: 'createTime',
|
dataIndex: 'createTime',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
width:200,
|
width:200,
|
||||||
|
ellipsis: true,
|
||||||
customRender: function(t, r, index) {
|
customRender: function(t, r, index) {
|
||||||
return moment(t).format('YYYY-MM-DD HH:mm:ss')
|
return moment(t).format('YYYY-MM-DD HH:mm:ss')
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,11 +11,11 @@
|
|||||||
:components="drag(columns,'columns')"
|
:components="drag(columns,'columns')"
|
||||||
:loading="loading"
|
:loading="loading"
|
||||||
:pagination="false"
|
:pagination="false"
|
||||||
:scroll="{x: true}"
|
:scroll="{x: '100%'}"
|
||||||
:data-source="dataSource"
|
:data-source="dataSource"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
>
|
>
|
||||||
<span slot="reviewResult" slot-scope="text,result">
|
<span slot="reviewResult" :title="text" slot-scope="text,result">
|
||||||
{{text}}
|
{{text}}
|
||||||
</span>
|
</span>
|
||||||
</a-table>
|
</a-table>
|
||||||
@@ -49,18 +49,21 @@
|
|||||||
title: this.$t('OperationNode'),
|
title: this.$t('OperationNode'),
|
||||||
dataIndex: 'name',
|
dataIndex: 'name',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
ellipsis: true,
|
||||||
width: 470
|
width: 470
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('Operator'),
|
title: this.$t('Operator'),
|
||||||
dataIndex: 'assignee',
|
dataIndex: 'assignee',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
ellipsis: true,
|
||||||
width: 270
|
width: 270
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('result'),
|
title: this.$t('result'),
|
||||||
dataIndex: 'reviewResult',
|
dataIndex: 'reviewResult',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
ellipsis: true,
|
||||||
scopedSlots: { customRender: 'reviewResult' },
|
scopedSlots: { customRender: 'reviewResult' },
|
||||||
width: 270
|
width: 270
|
||||||
},
|
},
|
||||||
@@ -68,14 +71,15 @@
|
|||||||
title: this.$t('opinion'),
|
title: this.$t('opinion'),
|
||||||
dataIndex: 'approvalOpinion',
|
dataIndex: 'approvalOpinion',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
ellipsis: true,
|
||||||
width: 270
|
width: 270
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('operationTime'),
|
title: this.$t('operationTime'),
|
||||||
dataIndex: 'createTime',
|
dataIndex: 'createTime',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
ellipsis: true,
|
||||||
width: 200,
|
width: 200,
|
||||||
fixed: 'right'
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
downLoadFileUrl: window._CONFIG['domianPreviewURL'] + '/sys/common/download'
|
downLoadFileUrl: window._CONFIG['domianPreviewURL'] + '/sys/common/download'
|
||||||
|
|||||||
+13
-5
@@ -88,7 +88,7 @@
|
|||||||
align: 'left',
|
align: 'left',
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
width: 223
|
width: 223
|
||||||
},
|
}
|
||||||
],
|
],
|
||||||
dataList: [],
|
dataList: [],
|
||||||
content: [],
|
content: [],
|
||||||
@@ -96,7 +96,7 @@
|
|||||||
pageNo: 1,
|
pageNo: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
total: 0,
|
total: 0,
|
||||||
ids:'',
|
ids: ''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
@@ -165,19 +165,27 @@
|
|||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.confirmLoading = false
|
this.confirmLoading = false
|
||||||
this.$message.success(this.$t('OperationSuccessful'))
|
if (res.result) {
|
||||||
|
this.$message.warning(res.result)
|
||||||
|
} else {
|
||||||
|
this.$message.success(this.$t('OperationSuccessful'))
|
||||||
|
}
|
||||||
this.visible = false
|
this.visible = false
|
||||||
this.selectedRowKeys = []
|
this.selectedRowKeys = []
|
||||||
this.$emit('referenceDeliverablesListForm')
|
this.$emit('referenceDeliverablesListForm')
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(this.$t('operationFailed'))
|
if (res.result) {
|
||||||
|
this.$message.warning(res.result)
|
||||||
|
} else {
|
||||||
|
this.$message.warning(this.$t('operationFailed'))
|
||||||
|
}
|
||||||
this.confirmLoading = false
|
this.confirmLoading = false
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(this.$t('selectLeastOne'))
|
this.$message.warning(this.$t('selectLeastOne'))
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -1279,7 +1279,7 @@
|
|||||||
isDisplay: false,
|
isDisplay: false,
|
||||||
flowType: 2,
|
flowType: 2,
|
||||||
Sponsor: 'regulationOwnerName',
|
Sponsor: 'regulationOwnerName',
|
||||||
personLiable: 'designDutyName',
|
personLiable: 'designDutyIdName',
|
||||||
typeOfDeliverables: 'designDeliverableTypeName',
|
typeOfDeliverables: 'designDeliverableTypeName',
|
||||||
deliverableTemplate: 'designDeliverableTemplate',
|
deliverableTemplate: 'designDeliverableTemplate',
|
||||||
DueDate: 'designDueDate',
|
DueDate: 'designDueDate',
|
||||||
@@ -1309,7 +1309,7 @@
|
|||||||
flowType: 4,
|
flowType: 4,
|
||||||
isDisplay: false,
|
isDisplay: false,
|
||||||
Sponsor: 'regulationOwnerName',
|
Sponsor: 'regulationOwnerName',
|
||||||
personLiable: 'verifyDutyName',
|
personLiable: 'verifyDutyIdName',
|
||||||
typeOfDeliverables: 'verifyDeliverableTypeName',
|
typeOfDeliverables: 'verifyDeliverableTypeName',
|
||||||
deliverableTemplate: 'verifyDeliverableTemplate',
|
deliverableTemplate: 'verifyDeliverableTemplate',
|
||||||
DueDate: 'verifyDueDate',
|
DueDate: 'verifyDueDate',
|
||||||
@@ -1685,13 +1685,23 @@
|
|||||||
let _this = this
|
let _this = this
|
||||||
let selectedRowKeys = JSON.parse(JSON.stringify(_this.selectedRowKeys))
|
let selectedRowKeys = JSON.parse(JSON.stringify(_this.selectedRowKeys))
|
||||||
let isTrue
|
let isTrue
|
||||||
|
let content = []
|
||||||
for (let i = 0; i < this.dataSource.length; i++) {
|
for (let i = 0; i < this.dataSource.length; i++) {
|
||||||
for (let j = 0; j < selectedRowKeys.length; j++) {
|
for (let j = 0; j < selectedRowKeys.length; j++) {
|
||||||
if (this.dataSource[i].id == selectedRowKeys[j]) {
|
if (this.dataSource[i].id == selectedRowKeys[j]) {
|
||||||
isTrue = true
|
content.push(this.dataSource[i])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
for (let i = 0; i < content.length; i++) {
|
||||||
|
if (content[i].designFlowStatus == 'List to be released' &&
|
||||||
|
content[i].verifyFlowStatus == 'List to be released') {
|
||||||
|
isTrue = false
|
||||||
|
|
||||||
|
} else {
|
||||||
|
isTrue = true
|
||||||
|
}
|
||||||
|
}
|
||||||
if (isTrue) {
|
if (isTrue) {
|
||||||
this.changeInterface(selectedRowKeys)
|
this.changeInterface(selectedRowKeys)
|
||||||
}
|
}
|
||||||
@@ -2559,7 +2569,7 @@
|
|||||||
},
|
},
|
||||||
download(item) {
|
download(item) {
|
||||||
downloadFile('/sys/common/downLoadFile', item.fileName, { id: item.id, userName: this.userInfo().username })
|
downloadFile('/sys/common/downLoadFile', item.fileName, { id: item.id, userName: this.userInfo().username })
|
||||||
},
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -242,7 +242,7 @@
|
|||||||
isDisplay: false,
|
isDisplay: false,
|
||||||
flowType: 2,
|
flowType: 2,
|
||||||
Sponsor: 'regulationOwnerName',
|
Sponsor: 'regulationOwnerName',
|
||||||
personLiable: 'designDutyName',
|
personLiable: 'designDutyIdName',
|
||||||
typeOfDeliverables: 'designDeliverableTypeName',
|
typeOfDeliverables: 'designDeliverableTypeName',
|
||||||
deliverableTemplate: 'designDeliverableTemplate',
|
deliverableTemplate: 'designDeliverableTemplate',
|
||||||
DueDate: 'designDueDate',
|
DueDate: 'designDueDate',
|
||||||
@@ -310,7 +310,7 @@
|
|||||||
flowType: 4,
|
flowType: 4,
|
||||||
isDisplay: false,
|
isDisplay: false,
|
||||||
Sponsor: 'regulationOwnerName',
|
Sponsor: 'regulationOwnerName',
|
||||||
personLiable: 'verifyDutyName',
|
personLiable: 'verifyDutyIdName',
|
||||||
typeOfDeliverables: 'verifyDeliverableTypeName',
|
typeOfDeliverables: 'verifyDeliverableTypeName',
|
||||||
deliverableTemplate: 'verifyDeliverableTemplate',
|
deliverableTemplate: 'verifyDeliverableTemplate',
|
||||||
DueDate: 'verifyDueDate',
|
DueDate: 'verifyDueDate',
|
||||||
|
|||||||
+5
-3
@@ -30,9 +30,10 @@
|
|||||||
<div style="width: 100%">
|
<div style="width: 100%">
|
||||||
<a-table
|
<a-table
|
||||||
ref="table"
|
ref="table"
|
||||||
|
size="middle"
|
||||||
:loading="loading"
|
:loading="loading"
|
||||||
:pagination="false"
|
:pagination="false"
|
||||||
:scroll="{x: true}"
|
:scroll="{x: '100%'}"
|
||||||
:data-source="dataSource"
|
:data-source="dataSource"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
>
|
>
|
||||||
@@ -104,7 +105,7 @@
|
|||||||
title: this.$t('Operator'),
|
title: this.$t('Operator'),
|
||||||
dataIndex: 'assignee',
|
dataIndex: 'assignee',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
width: 200,
|
width: 120,
|
||||||
ellipsis: true
|
ellipsis: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -128,7 +129,7 @@
|
|||||||
title: this.$t('resultofhandling'),
|
title: this.$t('resultofhandling'),
|
||||||
dataIndex: 'operatorResultName',
|
dataIndex: 'operatorResultName',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
width: 200,
|
width: 160,
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -246,6 +247,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="less">
|
<style scoped lang="less">
|
||||||
|
@import '~@assets/less/common.less';
|
||||||
.box {
|
.box {
|
||||||
padding: 0 0 24px 0;
|
padding: 0 0 24px 0;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|||||||
@@ -78,7 +78,7 @@
|
|||||||
dataIndex: 'projectName',
|
dataIndex: 'projectName',
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
scopedSlots: { customRender: 'RelatedItems' },
|
scopedSlots: { customRender: 'RelatedItems' },
|
||||||
width: 110
|
width: 150
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('standardInformation'),
|
title: this.$t('standardInformation'),
|
||||||
@@ -121,7 +121,7 @@
|
|||||||
align: 'left',
|
align: 'left',
|
||||||
dataIndex: 'endTime',
|
dataIndex: 'endTime',
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
width: 110,
|
width: 160,
|
||||||
scopedSlots: { customRender: 'endTime' }
|
scopedSlots: { customRender: 'endTime' }
|
||||||
},
|
},
|
||||||
// {
|
// {
|
||||||
@@ -136,7 +136,7 @@
|
|||||||
title: this.$t('operation'),
|
title: this.$t('operation'),
|
||||||
align: 'left',
|
align: 'left',
|
||||||
fixed: 'right',
|
fixed: 'right',
|
||||||
width: 80,
|
width: 120,
|
||||||
scopedSlots: { customRender: 'operation' }
|
scopedSlots: { customRender: 'operation' }
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -297,7 +297,7 @@
|
|||||||
isDisplay: true,
|
isDisplay: true,
|
||||||
flowType: 2,
|
flowType: 2,
|
||||||
Sponsor: 'regulationOwnerName',
|
Sponsor: 'regulationOwnerName',
|
||||||
personLiable: 'designDutyName',
|
personLiable: 'designDutyIdName',
|
||||||
typeOfDeliverables: 'designDeliverableTypeName',
|
typeOfDeliverables: 'designDeliverableTypeName',
|
||||||
deliverableTemplate: 'designDeliverableTemplate',
|
deliverableTemplate: 'designDeliverableTemplate',
|
||||||
DueDate: 'designDueDate',
|
DueDate: 'designDueDate',
|
||||||
@@ -367,7 +367,7 @@
|
|||||||
flowType: 4,
|
flowType: 4,
|
||||||
isDisplay: true,
|
isDisplay: true,
|
||||||
Sponsor: 'regulationOwnerName',
|
Sponsor: 'regulationOwnerName',
|
||||||
personLiable: 'verifyDutyName',
|
personLiable: 'verifyDutyIdName',
|
||||||
typeOfDeliverables: 'verifyDeliverableTypeName',
|
typeOfDeliverables: 'verifyDeliverableTypeName',
|
||||||
deliverableTemplate: 'verifyDeliverableTemplate',
|
deliverableTemplate: 'verifyDeliverableTemplate',
|
||||||
DueDate: 'verifyDueDate',
|
DueDate: 'verifyDueDate',
|
||||||
|
|||||||
@@ -237,7 +237,7 @@
|
|||||||
isDisplay: false,
|
isDisplay: false,
|
||||||
flowType: 2,
|
flowType: 2,
|
||||||
Sponsor: 'regulationOwnerName',
|
Sponsor: 'regulationOwnerName',
|
||||||
personLiable: 'designDutyName',
|
personLiable: 'designDutyIdName',
|
||||||
typeOfDeliverables: 'designDeliverableTypeName',
|
typeOfDeliverables: 'designDeliverableTypeName',
|
||||||
deliverableTemplate: 'designDeliverableTemplate',
|
deliverableTemplate: 'designDeliverableTemplate',
|
||||||
DueDate: 'designDueDate',
|
DueDate: 'designDueDate',
|
||||||
@@ -304,7 +304,7 @@
|
|||||||
flowType: 4,
|
flowType: 4,
|
||||||
isDisplay: false,
|
isDisplay: false,
|
||||||
Sponsor: 'regulationOwnerName',
|
Sponsor: 'regulationOwnerName',
|
||||||
personLiable: 'verifyDutyName',
|
personLiable: 'verifyDutyIdName',
|
||||||
typeOfDeliverables: 'verifyDeliverableTypeName',
|
typeOfDeliverables: 'verifyDeliverableTypeName',
|
||||||
deliverableTemplate: 'verifyDeliverableTemplate',
|
deliverableTemplate: 'verifyDeliverableTemplate',
|
||||||
DueDate: 'verifyDueDate',
|
DueDate: 'verifyDueDate',
|
||||||
|
|||||||
Reference in New Issue
Block a user