|
@@ -481,7 +481,11 @@ export default {
|
|
|
this.dataList = response.data.rows;
|
|
|
this.total = response.data.total;
|
|
|
this.loading = false;
|
|
|
- });
|
|
|
+ }).catch(()=>{
|
|
|
+ this.dataList = []
|
|
|
+ this.total = 0
|
|
|
+ this.loading = false;
|
|
|
+ })
|
|
|
},
|
|
|
// 取消按钮
|
|
|
cancel() {
|
|
@@ -1036,6 +1040,16 @@ export default {
|
|
|
this.$refs.tkRuleForm.resetFields()
|
|
|
}
|
|
|
this.getList();
|
|
|
+ },
|
|
|
+ clearQuery(key) {
|
|
|
+ this.$set(this.queryShow,key,false)
|
|
|
+ this.$set(this.queryParams,key,'')
|
|
|
+ if(key == 'performDate') {
|
|
|
+ this.$set(this.queryParams,'performTimeId','')
|
|
|
+ }
|
|
|
+ },
|
|
|
+ openQuery(key) {
|
|
|
+ this.$set(this.queryShow,key,true)
|
|
|
}
|
|
|
},
|
|
|
beforeDestroy() {
|