|
|
|
@ -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);
|
|
|
|
|