布局待办中心

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',
filledBy:'Filled by',
parameterToBeInitiated:'Parameter to be initiated',
listTaskConfirmation:'List task confirmation',
}
+1
View File
@@ -1424,4 +1424,5 @@ module.exports = {
relatedVersion:'相关版本',
filledBy:'待分配填写人',
parameterToBeInitiated:'参数待发起',
listTaskConfirmation:'清单任务确认',
}
@@ -80,6 +80,9 @@
pageNo: 1,
total: 0,
loading: false,
url:{
list:'',
},
columns: [
{
title: this.$t('RelatedItems'),
@@ -131,10 +134,13 @@
},
methods: {
searchQuery() {
this.pageNo = 1
this.getList()
},
searchReset() {
this.pageNo = 1
this.queryParam = {}
this.getList()
},
pageOnChange(page) {
this.pageNo = page
@@ -101,11 +101,25 @@
pageSize:10,
pageNo:1,
total:0,
url:{
list:'',
},
queryParam:{},
}
},
methods:{
viewClick(val){
},
searchQuery(value) {
this.queryParam = value
this.pageNo = 1
this.getList()
},
searchReset() {
this.queryParam = {}
this.pageNo = 1
this.getList()
},
pageOnChange(page) {
this.pageNo = page
@@ -94,11 +94,25 @@
pageSize:10,
pageNo:1,
total:0,
url:{
list:'',
},
queryParam:{},
}
},
methods:{
ProcessingClick(val){
},
searchQuery(value) {
this.queryParam = value
this.pageNo = 1
this.getList()
},
searchReset() {
this.queryParam = {}
this.pageNo = 1
this.getList()
},
pageOnChange(page) {
this.pageNo = page
@@ -39,6 +39,10 @@
return{
dataSource:[],
loading:false,
url:{
list:'',
},
queryParam:{},
columns:[
{
title: this.$t('RelatedItems'),
@@ -106,6 +110,16 @@
methods:{
viewClick(val){
},
searchQuery(value) {
this.queryParam = value
this.pageNo = 1
this.getList()
},
searchReset() {
this.queryParam = {}
this.pageNo = 1
this.getList()
},
pageOnChange(page) {
this.pageNo = page
@@ -114,7 +114,28 @@
return {
queryParam: {},
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: [],
tabActive: this.$t('toDoProcess')
}
@@ -127,10 +148,23 @@
this.toggleSearchStatus = !this.toggleSearchStatus
},
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() {
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() {
this.$router.push({
@@ -39,6 +39,9 @@
return{
dataSource:[],
loading:false,
url:{
list:'',
},
columns:[
{
title: this.$t('standardInformation'),
@@ -94,11 +97,22 @@
pageSize:10,
pageNo:1,
total:0,
queryParam:{},
}
},
methods:{
viewClick(val){
},
searchQuery(value) {
this.queryParam = value
this.pageNo = 1
this.getList()
},
searchReset() {
this.queryParam = {}
this.pageNo = 1
this.getList()
},
pageOnChange(page) {
this.pageNo = page
@@ -33,13 +33,14 @@
<script>
import { getAction, postAction, deleteAction } from '@/api/manage'
export default {
name: 'dealtWith',
data(){
return{
dataSource:[],
loading:false,
columns:[
data() {
return {
dataSource: [],
loading: false,
columns: [
{
title: this.$t('standardInformation'),
align: 'center',
@@ -83,14 +84,28 @@
scopedSlots: { customRender: 'operation' }
}
],
selectedRowKeys:[],
pageSize:10,
pageNo:1,
total:0,
selectedRowKeys: [],
pageSize: 10,
pageNo: 1,
url:{
list:'',
},
total: 0,
queryParam: {}
}
},
methods:{
ProcessingClick(val){
methods: {
searchQuery(value) {
this.queryParam = value
this.pageNo = 1
this.getList()
},
searchReset() {
this.queryParam = {}
this.pageNo = 1
this.getList()
},
ProcessingClick(val) {
},
pageOnChange(page) {
@@ -102,7 +117,7 @@
this.pageSize = pageSize
this.getList()
},
getList(){
getList() {
let queryParam = JSON.parse(JSON.stringify(this.queryParam))
Object.keys(queryParam).forEach(val => {
if (queryParam[val] instanceof Array) {
@@ -129,7 +144,7 @@
this.loading = false
}
})
},
}
}
}
</script>
@@ -94,11 +94,25 @@
pageSize:10,
pageNo:1,
total:0,
queryParam:{},
url:{
list:'',
},
}
},
methods:{
viewClick(val){
},
searchQuery(value) {
this.queryParam = value
this.pageNo = 1
this.getList()
},
searchReset() {
this.queryParam = {}
this.pageNo = 1
this.getList()
},
pageOnChange(page) {
this.pageNo = page
@@ -60,6 +60,7 @@
import dealtWith from './components/dealtWith'
import doneList from './components/doneList'
import SentList from './components/SentList'
export default {
name: 'index',
components: {
@@ -70,7 +71,16 @@
data() {
return {
queryParam: {},
taskTypeList: [],
taskTypeList: [
{
name: this.$t('collectionOfRegulatoryOpinions'),
value: '5'
},
{
name: this.$t('regulatoryTechnicalAssessment'),
value: '6'
}
],
taskStatusList: [],
tabActive: this.$t('toDoProcess')
}
@@ -80,14 +90,24 @@
this.tabActive = value
},
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() {
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>
@@ -68,12 +68,17 @@
/>
</div>
</div>
<batchProcessing ref="batchProcessingRef" @batchProcessingForm="batchProcessingForm"/>
</a-card>
</template>
<script>
import batchProcessing from './components/batchProcessing'
export default {
name: 'index',
components:{
batchProcessing
},
data(){
return{
dataSource:[],
@@ -134,9 +139,16 @@
pageSize:10,
pageNo:1,
total:0,
url:{
list:'',
},
}
},
methods:{
batchProcessingForm() {
this.pageNo = 1
this.queryProcess()
},
batchProcessingClick(){
if (this.selectedRowKeys && this.selectedRowKeys.length > 0) {
let selectedRowKeys = JSON.parse(JSON.stringify(this.selectedRowKeys))
@@ -156,10 +168,13 @@
}
},
searchQuery() {
this.pageNo = 1
this.getList()
},
searchReset() {
this.pageNo = 1
this.queryParam = {}
this.getList()
},
ProcessingClick(val){