修改待办的接口

This commit is contained in:
范强强
2023-06-12 16:24:35 +08:00
parent c0328a272d
commit c254f3ffe6
+44 -11
View File
@@ -212,15 +212,15 @@
}, },
{ {
text: this.$t('nearlyThreeMonths'), text: this.$t('nearlyThreeMonths'),
value: '2'
},
{
text: this.$t('nearlySixMonths'),
value: '3' value: '3'
}, },
{
text: this.$t('nearlySixMonths'),
value: '6'
},
{ {
text: this.$t('nearlyYear'), text: this.$t('nearlyYear'),
value: '4' value: '12'
}], }],
showPicker: false, showPicker: false,
value: '', value: '',
@@ -229,7 +229,8 @@
form: { form: {
checked: false, checked: false,
flowType: [], flowType: [],
selectModel:'0' selectModel: '0',
mobileProcessing: '0'
}, },
toDoProcessList: [], toDoProcessList: [],
toDoProcessLoading: false, toDoProcessLoading: false,
@@ -283,7 +284,12 @@
resetClick() { resetClick() {
this.form = { this.form = {
checked: false, checked: false,
selectModel:'0' selectModel: '0'
}
if (this.form.checked) {
this.form.mobileProcessing = '1'
} else {
this.form.mobileProcessing = '0'
} }
this.show = false this.show = false
if (this.activeTab == 'toDoProcess') { if (this.activeTab == 'toDoProcess') {
@@ -308,6 +314,11 @@
}, },
queryClick() { queryClick() {
this.show = false this.show = false
if (this.form.checked) {
this.form.mobileProcessing = '1'
} else {
this.form.mobileProcessing = '0'
}
if (this.activeTab == 'toDoProcess') { if (this.activeTab == 'toDoProcess') {
this.toDoProcessLoading = true this.toDoProcessLoading = true
this.toDoProcessList = [] this.toDoProcessList = []
@@ -329,6 +340,15 @@
} }
}, },
activeChange() { activeChange() {
this.form = {
checked: false,
selectModel: '0'
}
if (this.form.checked) {
this.form.mobileProcessing = '1'
} else {
this.form.mobileProcessing = '0'
}
if (this.activeTab == 'toDoProcess') { if (this.activeTab == 'toDoProcess') {
this.toDoProcessLoading = true this.toDoProcessLoading = true
this.toDoProcessList = [] this.toDoProcessList = []
@@ -467,9 +487,14 @@
}) })
}, },
getProcessDone() { getProcessDone() {
let form = JSON.parse(JSON.stringify(this.form))
if (form.flowType && form.flowType instanceof Array) {
form.flowType = form.flowType.join(',')
}
let query = { let query = {
pageNo: this.processDonePageNo, pageNo: this.processDonePageNo,
pageSize: this.processDonePageSize pageSize: this.processDonePageSize,
...form
} }
getAction('/todoCenter/projectProcess/doneProcess', query).then((res) => { getAction('/todoCenter/projectProcess/doneProcess', query).then((res) => {
if (res.success) { if (res.success) {
@@ -487,9 +512,14 @@
}) })
}, },
getSentProcess() { getSentProcess() {
let form = JSON.parse(JSON.stringify(this.form))
if (form.flowType && form.flowType instanceof Array) {
form.flowType = form.flowType.join(',')
}
let query = { let query = {
pageNo: this.sentProcessPageNo, pageNo: this.sentProcessPageNo,
pageSize: this.sentProcessPageSize pageSize: this.sentProcessPageSize,
...form
} }
getAction('/todoCenter/projectProcess/issuedProcess', query).then((res) => { getAction('/todoCenter/projectProcess/issuedProcess', query).then((res) => {
if (res.success) { if (res.success) {
@@ -853,9 +883,11 @@
.cutoffTimeClass { .cutoffTimeClass {
width: 100%; width: 100%;
} }
::v-deep .cutoffTimeClass .van-dropdown-menu__item{
::v-deep .cutoffTimeClass .van-dropdown-menu__item {
justify-content: left; justify-content: left;
} }
::v-deep .cutoffTimeClass .van-dropdown-menu__title--active { ::v-deep .cutoffTimeClass .van-dropdown-menu__title--active {
color: #21c9cc; color: #21c9cc;
} }
@@ -867,7 +899,8 @@
::v-deep .cutoffTimeClass .van-dropdown-item__option--active .van-dropdown-item__icon { ::v-deep .cutoffTimeClass .van-dropdown-item__option--active .van-dropdown-item__icon {
color: #21c9cc; color: #21c9cc;
} }
::v-deep .cutoffTimeClass .van-dropdown-menu__bar{
::v-deep .cutoffTimeClass .van-dropdown-menu__bar {
box-shadow: none; box-shadow: none;
} }
</style> </style>