对接待办中心

This commit is contained in:
sunFlower
2022-10-17 18:01:46 +08:00
parent dfa3a9f10c
commit 22c49f22c3
6 changed files with 169 additions and 120 deletions
+3
View File
@@ -1327,4 +1327,7 @@ module.exports = {
completednum: 'Quantity to be filled', completednum: 'Quantity to be filled',
filledBynum:'Filled by', filledBynum:'Filled by',
parameterToBeInitiatednum:'Parameter to be initiated', parameterToBeInitiatednum:'Parameter to be initiated',
listToConfirm:'List to confirm',
toSubmit:'To submit',
toAudit:'To audit',
} }
+3
View File
@@ -1428,4 +1428,7 @@ module.exports = {
completednum: '待填写数量', completednum: '待填写数量',
filledBynum:'待分配填写人数量', filledBynum:'待分配填写人数量',
parameterToBeInitiatednum:'参数待发起数量', parameterToBeInitiatednum:'参数待发起数量',
listToConfirm:'待确认',
toSubmit:'待提交',
toAudit:'待审核',
} }
@@ -43,49 +43,49 @@
{ {
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('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, 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
}, },
@@ -102,11 +102,14 @@
pageNo:1, pageNo:1,
total:0, total:0,
url:{ url:{
list:'', list:'/todoCenter/projectProcess/issuedProcess',
}, },
queryParam:{}, queryParam:{},
} }
}, },
mounted() {
this.getList()
},
methods:{ methods:{
viewClick(val){ viewClick(val){
@@ -163,5 +166,9 @@
</script> </script>
<style scoped> <style scoped>
.page {
text-align: right;
margin-top: 20px;
}
</style> </style>
@@ -1,107 +1,111 @@
<template> <template>
<div class="box"> <div class="box">
<a-table <a-table
ref="table" ref="table"
size="middle" size="middle"
:loading="loading" :loading="loading"
:pagination="false" :pagination="false"
:scroll="{x: '100%',y:'calc(100vh - 140px)'}" :scroll="{x: '100%',y:'calc(100vh - 140px)'}"
rowKey="id" rowKey="id"
:data-source="dataSource" :data-source="dataSource"
:columns="columns" :columns="columns"
> >
<!-- --> <!-- -->
<span slot="operation" slot-scope="text,record"> <span slot="operation" slot-scope="text,record">
<a class="text-operation" <a class="text-operation"
@click="ProcessingClick(record)">{{$t('Processing')}}</a> @click="ProcessingClick(record)">{{$t('Processing')}}</a>
</span> </span>
</a-table> </a-table>
<div class="page" v-if="dataSource && dataSource.length > 0"> <div class="page" v-if="dataSource && dataSource.length > 0">
<a-pagination <a-pagination
:show-total="total => $t('total')+` ${total} `+$t('strip')" :show-total="total => $t('total')+` ${total} `+$t('strip')"
show-quick-jumper show-quick-jumper
show-size-changer show-size-changer
:page-size.sync="pageSize" :page-size.sync="pageSize"
:total="total" :total="total"
:current="pageNo" :current="pageNo"
@change="pageOnChange" @change="pageOnChange"
@showSizeChange="SizeChange" @showSizeChange="SizeChange"
/> />
</div>
</div> </div>
</div>
</template> </template>
<script> <script>
import { getAction, postAction, deleteAction } from '@/api/manage' import { getAction, postAction, deleteAction } from '@/api/manage'
export default { export default {
name: 'dealtWith', name: 'dealtWith',
data(){ data() {
return{ return {
dataSource:[], dataSource: [],
loading:false, loading: false,
columns:[ columns: [
{ {
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
}, },
{ {
title: this.$t('operation'), title: this.$t('operation'),
align: 'center', align: 'center',
fixed: 'right', fixed: 'right',
width: 120, width: 120,
scopedSlots: { customRender: 'operation' } scopedSlots: { customRender: 'operation' }
} }
], ],
selectedRowKeys:[], selectedRowKeys: [],
pageSize:10, pageSize: 10,
pageNo:1, pageNo: 1,
total:0, total: 0,
url:{ url: {
list:'', list: '/todoCenter/projectProcess/todoTaskList'
}, },
queryParam:{}, queryParam: {}
} }
}, },
methods:{ mounted() {
ProcessingClick(val){ this.getList()
},
methods: {
ProcessingClick(val) {
}, },
searchQuery(value) { searchQuery(value) {
@@ -123,7 +127,7 @@
this.pageSize = pageSize this.pageSize = pageSize
this.getList() this.getList()
}, },
getList(){ getList() {
let queryParam = JSON.parse(JSON.stringify(this.queryParam)) let queryParam = JSON.parse(JSON.stringify(this.queryParam))
Object.keys(queryParam).forEach(val => { Object.keys(queryParam).forEach(val => {
if (queryParam[val] instanceof Array) { if (queryParam[val] instanceof Array) {
@@ -150,11 +154,15 @@
this.loading = false this.loading = false
} }
}) })
}, }
} }
} }
</script> </script>
<style scoped> <style scoped>
.page {
text-align: right;
margin-top: 20px;
}
</style> </style>
@@ -40,56 +40,56 @@
dataSource:[], dataSource:[],
loading:false, loading:false,
url:{ url:{
list:'', list:'/todoCenter/projectProcess/doneProcess',
}, },
queryParam:{}, queryParam:{},
columns:[ columns:[
{ {
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: 'assigneeName',
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, 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
}, },
@@ -107,6 +107,9 @@
total:0, total:0,
} }
}, },
mounted() {
this.getList()
},
methods:{ methods:{
viewClick(val){ viewClick(val){
@@ -163,5 +166,9 @@
</script> </script>
<style scoped> <style scoped>
.page {
text-align: right;
margin-top: 20px;
}
</style> </style>
@@ -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.serialNumber"></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.title"></j-input> v-model="queryParam.serialNumber"></j-input>
</div> </div>
</a-col> </a-col>
<a-col :md="6" :sm="8"> <a-col :md="6" :sm="8">
@@ -30,7 +30,7 @@
class="box-input" class="box-input"
:getPopupContainer="triggerNode=> triggerNode.parentNode" :getPopupContainer="triggerNode=> triggerNode.parentNode"
allowClear allowClear
v-model="queryParam.taskType"> v-model="queryParam.flowType">
<a-select-option v-for="(item, key) in taskTypeList" <a-select-option v-for="(item, key) in taskTypeList"
:key="key" :key="key"
:value="item.value"> :value="item.value">
@@ -51,7 +51,7 @@
class="box-input" class="box-input"
:getPopupContainer="triggerNode=> triggerNode.parentNode" :getPopupContainer="triggerNode=> triggerNode.parentNode"
allowClear allowClear
v-model="queryParam.flowStatus"> v-model="queryParam.status">
<a-select-option v-for="(item, key) in taskStatusList" <a-select-option v-for="(item, key) in taskStatusList"
:key="key" :key="key"
:value="item.value"> :value="item.value">
@@ -117,26 +117,47 @@
taskTypeList: [ taskTypeList: [
{ {
name:this.$t('confirmationOfRegulationsList'), name:this.$t('confirmationOfRegulationsList'),
value:'1', value:'10',
}, },
{ {
name:this.$t('listTaskConfirmation'), name:this.$t('listTaskConfirmation'),
value:'2', value:'1',
}, },
{ {
name:this.$t('designComplianceReview'), name:this.$t('designComplianceReview'),
value:'3', value:'2',
}, },
{ {
name:this.$t('preHomeConfirmation'), name:this.$t('preHomeConfirmation'),
value:'4', value:'3',
}, },
{ {
name:this.$t('verificationComplianceReview'), name:this.$t('verificationComplianceReview'),
value:'5', value:'4',
},
],
taskStatusList: [
{
name:this.$t('listToConfirm'),
value:'List to confirm',
},
{
name:this.$t('Finished'),
value:'Completed',
},
{
name:this.$t('inquiry'),
value:'Inquiry',
},
{
name:this.$t('toSubmit'),
value:'To submit',
},
{
name:this.$t('toAudit'),
value:'To audit',
}, },
], ],
taskStatusList: [],
tabActive: this.$t('toDoProcess') tabActive: this.$t('toDoProcess')
} }
}, },