修改检索下拉问题
This commit is contained in:
parent
1dd7b9ab75
commit
3487cf2827
@ -47,8 +47,9 @@ export default {
|
|||||||
|
|
||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
getDataList(val){
|
getDataList(visible){
|
||||||
this.$emit('fetchData',val);
|
if(!visible) return
|
||||||
|
this.$emit('fetchData',visible);
|
||||||
},
|
},
|
||||||
selectChange(e){
|
selectChange(e){
|
||||||
this.localData = e;
|
this.localData = e;
|
||||||
|
|||||||
@ -51,7 +51,7 @@ export default {
|
|||||||
searchList:{
|
searchList:{
|
||||||
handler(val){
|
handler(val){
|
||||||
if(val && val.length>0){
|
if(val && val.length>0){
|
||||||
this.columnList = this.sortData(this.$TOOL.objCopy(val.filter(em=> !em.hide && em.is_search)));
|
this.columnList = this.sortData(val.filter(em=> !em.hide && em.is_search));
|
||||||
this.params = this.groupByType(val);
|
this.params = this.groupByType(val);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@ -302,7 +302,7 @@ export default {
|
|||||||
async importUpload(params) {
|
async importUpload(params) {
|
||||||
this.httpDisabled = true;
|
this.httpDisabled = true;
|
||||||
const res = await this.$API.orders.order.maintenance.import.post(params);
|
const res = await this.$API.orders.order.maintenance.import.post(params);
|
||||||
if(res.code == 200){
|
if(res.code === 200){
|
||||||
this.$refs.scImport.setAnalysisShow(true);
|
this.$refs.scImport.setAnalysisShow(true);
|
||||||
this.$message.success('上传成功,开始导入数据');
|
this.$message.success('上传成功,开始导入数据');
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user