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