批量上传附件BUG

master
A0010407 1 year ago
parent b99e457b37
commit 4143dd39ce

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

Loading…
Cancel
Save