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