修改三期优化点
This commit is contained in:
+43
-24
@@ -23,25 +23,25 @@
|
||||
</a-select>
|
||||
</div>
|
||||
</a-col>
|
||||
<!-- <a-col :md="6" :sm="8">-->
|
||||
<!-- <div class="box-title-text tree-select">-->
|
||||
<!-- <div class="title-text" :title="$t('processNode')">-->
|
||||
<!-- <span>{{$t('processNode')}}</span>-->
|
||||
<!-- </div>-->
|
||||
<!-- <a-select :placeholder="$t('PleaseSelect')+$t('processNode')"-->
|
||||
<!-- class="box-input"-->
|
||||
<!-- :getPopupContainer="triggerNode=> triggerNode.parentNode"-->
|
||||
<!-- v-model="queryParam.prcType">-->
|
||||
<!-- <a-select-option v-for="(item, key) in processNodeList"-->
|
||||
<!-- :key="key"-->
|
||||
<!-- :value="item.value">-->
|
||||
<!-- <span class="itemOption" :title=" item.name ">-->
|
||||
<!-- {{ item.name}}-->
|
||||
<!-- </span>-->
|
||||
<!-- </a-select-option>-->
|
||||
<!-- </a-select>-->
|
||||
<!-- </div>-->
|
||||
<!-- </a-col>-->
|
||||
<!-- <a-col :md="6" :sm="8">-->
|
||||
<!-- <div class="box-title-text tree-select">-->
|
||||
<!-- <div class="title-text" :title="$t('processNode')">-->
|
||||
<!-- <span>{{$t('processNode')}}</span>-->
|
||||
<!-- </div>-->
|
||||
<!-- <a-select :placeholder="$t('PleaseSelect')+$t('processNode')"-->
|
||||
<!-- class="box-input"-->
|
||||
<!-- :getPopupContainer="triggerNode=> triggerNode.parentNode"-->
|
||||
<!-- v-model="queryParam.prcType">-->
|
||||
<!-- <a-select-option v-for="(item, key) in processNodeList"-->
|
||||
<!-- :key="key"-->
|
||||
<!-- :value="item.value">-->
|
||||
<!-- <span class="itemOption" :title=" item.name ">-->
|
||||
<!-- {{ item.name}}-->
|
||||
<!-- </span>-->
|
||||
<!-- </a-select-option>-->
|
||||
<!-- </a-select>-->
|
||||
<!-- </div>-->
|
||||
<!-- </a-col>-->
|
||||
<span style="float: right;overflow: hidden;margin-right: 11px" class="table-page-search-submitButtons">
|
||||
<a-col :md="6" :sm="24">
|
||||
<a-button class="box-button" type="primary" @click="searchQuery">{{$t('query')}}</a-button>
|
||||
@@ -73,6 +73,22 @@
|
||||
<span slot="operation" slot-scope="record">
|
||||
<a @click="dealWith(record)" style="margin-right:8px">{{$t('Processing')}}</a>
|
||||
</span>
|
||||
<span slot="standard" slot-scope="text,record">
|
||||
<span v-if="record.prcType == '1'" :title="record.serialNumber">
|
||||
{{record.serialNumber}}
|
||||
</span>
|
||||
<span v-else :title="record.prcNum">
|
||||
{{record.prcNum}}
|
||||
</span>
|
||||
</span>
|
||||
<span slot="titleIndex" slot-scope="text,record">
|
||||
<span v-if="record.prcType == '1'" :title="record.title">
|
||||
{{record.title}}
|
||||
</span>
|
||||
<span v-else :title="record.prcName">
|
||||
{{record.prcName}}
|
||||
</span>
|
||||
</span>
|
||||
</a-table>
|
||||
<div class="page" v-if="dataSource.length > 0">
|
||||
<a-pagination
|
||||
@@ -142,14 +158,16 @@
|
||||
dataIndex: 'prcNum',
|
||||
align: 'center',
|
||||
width: 180,
|
||||
ellipsis: true
|
||||
ellipsis: true,
|
||||
scopedSlots: { customRender: 'standard' }
|
||||
},
|
||||
{
|
||||
title: this.$t('title'),
|
||||
dataIndex: 'prcName',
|
||||
align: 'center',
|
||||
width: 180,
|
||||
ellipsis: true
|
||||
ellipsis: true,
|
||||
scopedSlots: { customRender: 'titleIndex' }
|
||||
},
|
||||
{
|
||||
title: this.$t('ProcessType'),
|
||||
@@ -164,7 +182,7 @@
|
||||
dataIndex: 'taskInfo',
|
||||
align: 'center',
|
||||
width: 180,
|
||||
ellipsis: true,
|
||||
ellipsis: true
|
||||
},
|
||||
{
|
||||
title: this.$t('Sponsor'),
|
||||
@@ -232,6 +250,7 @@
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
batchProcessingClick() {
|
||||
if (this.selectedRowKeys && this.selectedRowKeys.length > 0) {
|
||||
let selectedRowKeys = JSON.parse(JSON.stringify(this.selectedRowKeys))
|
||||
@@ -241,8 +260,8 @@
|
||||
})
|
||||
for (let i = 0; i < content.length; i++) {
|
||||
if (content[i].taskDefinitionKey != content[0].taskDefinitionKey) {
|
||||
this.$message.warning(this.$t('processNodesAreInconsistentPleaseSelectConsistentData'))
|
||||
return
|
||||
this.$message.warning(this.$t('processNodesAreInconsistentPleaseSelectConsistentData'))
|
||||
return
|
||||
}
|
||||
}
|
||||
this.$refs.batchProcessingRef.getData(JSON.parse(JSON.stringify(content)))
|
||||
|
||||
Reference in New Issue
Block a user