Browse Source

123

dev-lcr
lcr 3 months ago
parent
commit
3a9040bccb
2 changed files with 11 additions and 6 deletions
  1. +4
    -2
      src/views/business/ctApplyPlan/index.vue
  2. +7
    -4
      src/views/business/ctResourceLibrary/index.vue

+ 4
- 2
src/views/business/ctApplyPlan/index.vue View File

@@ -10,7 +10,7 @@
@keyup.enter.native="handleQuery" /> @keyup.enter.native="handleQuery" />
</el-form-item> </el-form-item>
<el-form-item label="应用名称" prop="appId"> <el-form-item label="应用名称" prop="appId">
<el-select v-model="form.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>
</el-select> </el-select>
@@ -432,6 +432,7 @@ export default {
planParams: null, planParams: null,
waitTimeout: null, waitTimeout: null,
priority: null, priority: null,
excType:null,
}, },
// 表单参数 // 表单参数
form: { form: {
@@ -619,7 +620,8 @@ export default {
updateBy: null, updateBy: null,
updateTime: null, updateTime: null,
remark: null, remark: null,
deleted: null
deleted: null,
excType:null,
}; };
this.resetForm("form"); this.resetForm("form");
}, },


+ 7
- 4
src/views/business/ctResourceLibrary/index.vue View File

@@ -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");
}, },


Loading…
Cancel
Save