楼层装修接口多次调用,发票管理状态错误,售后详情打开多个会为空

This commit is contained in:
mabo
2021-07-27 18:13:45 +08:00
parent 5fb6986a18
commit 877ccc059e
15 changed files with 84 additions and 65 deletions

View File

@@ -26,9 +26,7 @@
style="width: 200px"
/>
</Form-item>
<Button @click="handleSearch" type="primary" icon="ios-search" class="search-btn"
>搜索
</Button>
<Form-item label="上传时间">
<DatePicker
v-model="selectDate"
@@ -40,7 +38,9 @@
style="width: 200px"
></DatePicker>
</Form-item>
<Button @click="handleSearch" type="primary" icon="ios-search" class="search-btn"
>搜索
</Button>
</Form>
</Row>
<div class="oss-operation padding-row">
@@ -273,6 +273,12 @@ import config from "@/config";
var dp;
export default {
name: "oss-manage",
props:{
isComponent:{
default: false,
type:Boolean
}
},
data() {
return {
config, // api地址
@@ -551,6 +557,11 @@ export default {
pageSizeOpts: [5, 10, 20], // 页码展示项
};
},
watch:{
selectImage(val) {
if (val) this.init()
}
},
methods: {
/**
* 选择
@@ -811,11 +822,14 @@ export default {
},
},
mounted() {
this.init();
if(!this.isComponent) { // 是组件的话,初始化不调用接口
this.init();
}
this.baseUrl =
process.env.NODE_ENV === "development"
? this.config.api_dev.common
: this.config.api_prod.common;
},
};
</script>