|
@@ -1,7 +1,7 @@ |
|
|
<template> |
|
|
<template> |
|
|
<div class="app-container"> |
|
|
<div class="app-container"> |
|
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="100px"> |
|
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="100px"> |
|
|
<el-form-item label="所属应用名称" prop="appName"> |
|
|
|
|
|
|
|
|
<el-form-item label="所属应用名称" prop="appId"> |
|
|
<el-select v-model="queryParams.appId" filterable placeholder="请选择应用"> |
|
|
<el-select v-model="queryParams.appId" filterable placeholder="请选择应用"> |
|
|
<el-option v-for="apply in applyList" :key="apply.appId" :label="apply.appName" |
|
|
<el-option v-for="apply in applyList" :key="apply.appId" :label="apply.appName" |
|
|
@keyup.enter.native="handleQuery" :value="apply.appId"></el-option> |
|
|
@keyup.enter.native="handleQuery" :value="apply.appId"></el-option> |
|
@@ -296,6 +296,7 @@ export default { |
|
|
resourceName: null, |
|
|
resourceName: null, |
|
|
appName: null, |
|
|
appName: null, |
|
|
deptId: null, |
|
|
deptId: null, |
|
|
|
|
|
appId:null, |
|
|
}, |
|
|
}, |
|
|
// 表单参数 |
|
|
// 表单参数 |
|
|
form: {}, |
|
|
form: {}, |
|
@@ -333,8 +334,10 @@ export default { |
|
|
methods: { |
|
|
methods: { |
|
|
/** 修改参数数量 */ |
|
|
/** 修改参数数量 */ |
|
|
changeNum(value) { |
|
|
changeNum(value) { |
|
|
this.batch.list = [] |
|
|
|
|
|
for (let index = 0; index < value; index++) { |
|
|
|
|
|
|
|
|
while(this.batch.list.length > value){ |
|
|
|
|
|
this.batch.list.pop(); |
|
|
|
|
|
} |
|
|
|
|
|
while(this.batch.list.length < value){ |
|
|
this.batch.list.push({}); |
|
|
this.batch.list.push({}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@@ -387,7 +390,7 @@ export default { |
|
|
updateBy: null, |
|
|
updateBy: null, |
|
|
updateTime: null, |
|
|
updateTime: null, |
|
|
remark: null, |
|
|
remark: null, |
|
|
deleted: null |
|
|
|
|
|
|
|
|
deleted: null, |
|
|
}; |
|
|
}; |
|
|
this.resetForm("form"); |
|
|
this.resetForm("form"); |
|
|
}, |
|
|
}, |
|
|