bug修改

fencang
anthonywj 3 years ago
parent e2ea62f5a7
commit 7b30d8d568

@ -1002,7 +1002,7 @@ export default {
this.subFromName = formName;
if (formName === "edit") {
this.subData = data;
this.subData = JSON.parse(JSON.stringify(data));
} else if (formName === "add") {
this.subData = {};
this.subData.parentId = data.code;

@ -231,6 +231,7 @@ export default {
},
getList() {
this.loading = true;
this.filterQuery.syncTime = this.syncTime;
filterLog(this.filterQuery)
.then((response) => {
this.loading = false;

@ -18,18 +18,18 @@
<el-button-group style="display:flex;">
<el-button type="primary" icon="el-icon-refresh" @click="onReset"></el-button>
<el-button type="primary" icon="search" @click="getList"></el-button>
<el-upload
:action="uploadFileUrl"
multiple
:limit="3"
:data="uploadData"
:show-file-list="false"
:on-success="handleChange"
:file-list="fileList"
:headers="headers"
>
<el-button size="mini" type="primary">导入产品信息</el-button>
</el-upload>
<!-- <el-upload-->
<!-- :action="uploadFileUrl"-->
<!-- multiple-->
<!-- :limit="3"-->
<!-- :data="uploadData"-->
<!-- :show-file-list="false"-->
<!-- :on-success="handleChange"-->
<!-- :file-list="fileList"-->
<!-- :headers="headers"-->
<!-- >-->
<!-- <el-button size="mini" type="primary">导入产品信息</el-button>-->
<!-- </el-upload>-->
</el-button-group>
</el-form-item>
</el-row>

Loading…
Cancel
Save