布局待办中心

This commit is contained in:
sunFlower
2022-10-14 13:58:15 +08:00
parent d118dcaad9
commit 9510b39db1
12 changed files with 188 additions and 26 deletions
+1
View File
@@ -1323,4 +1323,5 @@ module.exports = {
relatedVersion:'Related version', relatedVersion:'Related version',
filledBy:'Filled by', filledBy:'Filled by',
parameterToBeInitiated:'Parameter to be initiated', parameterToBeInitiated:'Parameter to be initiated',
listTaskConfirmation:'List task confirmation',
} }
+1
View File
@@ -1424,4 +1424,5 @@ module.exports = {
relatedVersion:'相关版本', relatedVersion:'相关版本',
filledBy:'待分配填写人', filledBy:'待分配填写人',
parameterToBeInitiated:'参数待发起', parameterToBeInitiated:'参数待发起',
listTaskConfirmation:'清单任务确认',
} }
@@ -80,6 +80,9 @@
pageNo: 1, pageNo: 1,
total: 0, total: 0,
loading: false, loading: false,
url:{
list:'',
},
columns: [ columns: [
{ {
title: this.$t('RelatedItems'), title: this.$t('RelatedItems'),
@@ -131,10 +134,13 @@
}, },
methods: { methods: {
searchQuery() { searchQuery() {
this.pageNo = 1
this.getList()
}, },
searchReset() { searchReset() {
this.pageNo = 1
this.queryParam = {}
this.getList()
}, },
pageOnChange(page) { pageOnChange(page) {
this.pageNo = page this.pageNo = page
@@ -101,11 +101,25 @@
pageSize:10, pageSize:10,
pageNo:1, pageNo:1,
total:0, total:0,
url:{
list:'',
},
queryParam:{},
} }
}, },
methods:{ methods:{
viewClick(val){ viewClick(val){
},
searchQuery(value) {
this.queryParam = value
this.pageNo = 1
this.getList()
},
searchReset() {
this.queryParam = {}
this.pageNo = 1
this.getList()
}, },
pageOnChange(page) { pageOnChange(page) {
this.pageNo = page this.pageNo = page
@@ -94,11 +94,25 @@
pageSize:10, pageSize:10,
pageNo:1, pageNo:1,
total:0, total:0,
url:{
list:'',
},
queryParam:{},
} }
}, },
methods:{ methods:{
ProcessingClick(val){ ProcessingClick(val){
},
searchQuery(value) {
this.queryParam = value
this.pageNo = 1
this.getList()
},
searchReset() {
this.queryParam = {}
this.pageNo = 1
this.getList()
}, },
pageOnChange(page) { pageOnChange(page) {
this.pageNo = page this.pageNo = page
@@ -39,6 +39,10 @@
return{ return{
dataSource:[], dataSource:[],
loading:false, loading:false,
url:{
list:'',
},
queryParam:{},
columns:[ columns:[
{ {
title: this.$t('RelatedItems'), title: this.$t('RelatedItems'),
@@ -106,6 +110,16 @@
methods:{ methods:{
viewClick(val){ viewClick(val){
},
searchQuery(value) {
this.queryParam = value
this.pageNo = 1
this.getList()
},
searchReset() {
this.queryParam = {}
this.pageNo = 1
this.getList()
}, },
pageOnChange(page) { pageOnChange(page) {
this.pageNo = page this.pageNo = page
@@ -114,7 +114,28 @@
return { return {
queryParam: {}, queryParam: {},
toggleSearchStatus: false, toggleSearchStatus: false,
taskTypeList: [], taskTypeList: [
{
name:this.$t('confirmationOfRegulationsList'),
value:'1',
},
{
name:this.$t('listTaskConfirmation'),
value:'2',
},
{
name:this.$t('designComplianceReview'),
value:'3',
},
{
name:this.$t('preHomeConfirmation'),
value:'4',
},
{
name:this.$t('verificationComplianceReview'),
value:'5',
},
],
taskStatusList: [], taskStatusList: [],
tabActive: this.$t('toDoProcess') tabActive: this.$t('toDoProcess')
} }
@@ -127,10 +148,23 @@
this.toggleSearchStatus = !this.toggleSearchStatus this.toggleSearchStatus = !this.toggleSearchStatus
}, },
searchQuery() { searchQuery() {
if (this.tabActive == this.$t('toDoProcess')) {
this.$refs.dealtWithRef.searchQuery(this.queryParam )
} else if (this.tabActive == this.$t('processDone')) {
this.$refs.doneListRef.searchQuery(this.queryParam )
} else if (this.tabActive == this.$t('sentProcess')) {
this.$refs.SentListRef.searchQuery(this.queryParam )
}
}, },
searchReset() { searchReset() {
this.queryParam = {}
if (this.tabActive == this.$t('toDoProcess')) {
this.$refs.dealtWithRef.searchReset()
} else if (this.tabActive == this.$t('processDone')) {
this.$refs.doneListRef.searchReset()
} else if (this.tabActive == this.$t('sentProcess')) {
this.$refs.SentListRef.searchReset()
}
}, },
taskConfirmationHandlingClick() { taskConfirmationHandlingClick() {
this.$router.push({ this.$router.push({
@@ -39,6 +39,9 @@
return{ return{
dataSource:[], dataSource:[],
loading:false, loading:false,
url:{
list:'',
},
columns:[ columns:[
{ {
title: this.$t('standardInformation'), title: this.$t('standardInformation'),
@@ -94,11 +97,22 @@
pageSize:10, pageSize:10,
pageNo:1, pageNo:1,
total:0, total:0,
queryParam:{},
} }
}, },
methods:{ methods:{
viewClick(val){ viewClick(val){
},
searchQuery(value) {
this.queryParam = value
this.pageNo = 1
this.getList()
},
searchReset() {
this.queryParam = {}
this.pageNo = 1
this.getList()
}, },
pageOnChange(page) { pageOnChange(page) {
this.pageNo = page this.pageNo = page
@@ -33,13 +33,14 @@
<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('standardInformation'), title: this.$t('standardInformation'),
align: 'center', align: 'center',
@@ -83,14 +84,28 @@
scopedSlots: { customRender: 'operation' } scopedSlots: { customRender: 'operation' }
} }
], ],
selectedRowKeys:[], selectedRowKeys: [],
pageSize:10, pageSize: 10,
pageNo:1, pageNo: 1,
total:0, url:{
list:'',
},
total: 0,
queryParam: {}
} }
}, },
methods:{ methods: {
ProcessingClick(val){ searchQuery(value) {
this.queryParam = value
this.pageNo = 1
this.getList()
},
searchReset() {
this.queryParam = {}
this.pageNo = 1
this.getList()
},
ProcessingClick(val) {
}, },
pageOnChange(page) { pageOnChange(page) {
@@ -102,7 +117,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) {
@@ -129,7 +144,7 @@
this.loading = false this.loading = false
} }
}) })
}, }
} }
} }
</script> </script>
@@ -94,11 +94,25 @@
pageSize:10, pageSize:10,
pageNo:1, pageNo:1,
total:0, total:0,
queryParam:{},
url:{
list:'',
},
} }
}, },
methods:{ methods:{
viewClick(val){ viewClick(val){
},
searchQuery(value) {
this.queryParam = value
this.pageNo = 1
this.getList()
},
searchReset() {
this.queryParam = {}
this.pageNo = 1
this.getList()
}, },
pageOnChange(page) { pageOnChange(page) {
this.pageNo = page this.pageNo = page
@@ -60,6 +60,7 @@
import dealtWith from './components/dealtWith' import dealtWith from './components/dealtWith'
import doneList from './components/doneList' import doneList from './components/doneList'
import SentList from './components/SentList' import SentList from './components/SentList'
export default { export default {
name: 'index', name: 'index',
components: { components: {
@@ -70,7 +71,16 @@
data() { data() {
return { return {
queryParam: {}, queryParam: {},
taskTypeList: [], taskTypeList: [
{
name: this.$t('collectionOfRegulatoryOpinions'),
value: '5'
},
{
name: this.$t('regulatoryTechnicalAssessment'),
value: '6'
}
],
taskStatusList: [], taskStatusList: [],
tabActive: this.$t('toDoProcess') tabActive: this.$t('toDoProcess')
} }
@@ -80,14 +90,24 @@
this.tabActive = value this.tabActive = value
}, },
searchQuery() { searchQuery() {
if (this.tabActive == this.$t('toDoProcess')) {
this.$refs.dealtWithRef.searchQuery(this.queryParam )
} else if (this.tabActive == this.$t('processDone')) {
this.$refs.doneListRef.searchQuery(this.queryParam )
} else if (this.tabActive == this.$t('sentProcess')) {
this.$refs.SentListRef.searchQuery(this.queryParam )
}
}, },
searchReset() { searchReset() {
this.queryParam = {}
if (this.tabActive == this.$t('toDoProcess')) {
this.$refs.dealtWithRef.searchReset()
} else if (this.tabActive == this.$t('processDone')) {
this.$refs.doneListRef.searchReset()
} else if (this.tabActive == this.$t('sentProcess')) {
this.$refs.SentListRef.searchReset()
}
}, },
taskConfirmationHandlingClick() {
}
} }
} }
</script> </script>
@@ -68,12 +68,17 @@
/> />
</div> </div>
</div> </div>
<batchProcessing ref="batchProcessingRef" @batchProcessingForm="batchProcessingForm"/>
</a-card> </a-card>
</template> </template>
<script> <script>
import batchProcessing from './components/batchProcessing'
export default { export default {
name: 'index', name: 'index',
components:{
batchProcessing
},
data(){ data(){
return{ return{
dataSource:[], dataSource:[],
@@ -134,9 +139,16 @@
pageSize:10, pageSize:10,
pageNo:1, pageNo:1,
total:0, total:0,
url:{
list:'',
},
} }
}, },
methods:{ methods:{
batchProcessingForm() {
this.pageNo = 1
this.queryProcess()
},
batchProcessingClick(){ batchProcessingClick(){
if (this.selectedRowKeys && this.selectedRowKeys.length > 0) { if (this.selectedRowKeys && this.selectedRowKeys.length > 0) {
let selectedRowKeys = JSON.parse(JSON.stringify(this.selectedRowKeys)) let selectedRowKeys = JSON.parse(JSON.stringify(this.selectedRowKeys))
@@ -156,10 +168,13 @@
} }
}, },
searchQuery() { searchQuery() {
this.pageNo = 1
this.getList()
}, },
searchReset() { searchReset() {
this.pageNo = 1
this.queryParam = {}
this.getList()
}, },
ProcessingClick(val){ ProcessingClick(val){