批量上传附件BUG

master
A0010407 1 year ago
parent b99e457b37
commit 4143dd39ce

@ -94,7 +94,7 @@
size="mini"
@click="handleImport"
v-hasPermi="['mes:pro:proroute:import']"
>上传附件</el-button>
>批量上传附件</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
@ -268,9 +268,9 @@
</el-row>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="cancel" v-if="optType =='view'"></el-button>
<el-button type="primary" @click="cancel1" v-if="optType =='view'"></el-button>
<el-button type="primary" @click="submitForm1" v-else> </el-button>
<el-button @click="cancel"> </el-button>
<el-button @click="cancel1"> </el-button>
</div>
</el-dialog>
@ -367,6 +367,11 @@ export default {
cancel() {
this.open = false;
this.reset();
},
//
cancel1() {
this.openImport = false;
this.reset();
},
//
reset() {
@ -413,7 +418,7 @@ export default {
handleImport(row) {
this.reset();
this.openImport = true;
this.title1 = "上传附件";
this.title1 = "批量上传附件";
this.optType = "import";
const routeIds = row.routeId || this.ids;
console.log(routeIds);

Loading…
Cancel
Save