bug修改

fencang
anthonywj 3 years ago
parent e2ea62f5a7
commit 7b30d8d568

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

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

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

Loading…
Cancel
Save