瀏覽代碼

123

dev-lcr
lcr 3 月之前
父節點
當前提交
3a9040bccb
共有 2 個文件被更改,包括 11 次插入6 次删除
  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 查看文件

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


+ 7
- 4
src/views/business/ctResourceLibrary/index.vue 查看文件

@@ -1,7 +1,7 @@
<template>
<div class="app-container">
<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-option v-for="apply in applyList" :key="apply.appId" :label="apply.appName"
@keyup.enter.native="handleQuery" :value="apply.appId"></el-option>
@@ -296,6 +296,7 @@ export default {
resourceName: null,
appName: null,
deptId: null,
appId:null,
},
// 表单参数
form: {},
@@ -333,8 +334,10 @@ export default {
methods: {
/** 修改参数数量 */
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({});
}

@@ -387,7 +390,7 @@ export default {
updateBy: null,
updateTime: null,
remark: null,
deleted: null
deleted: null,
};
this.resetForm("form");
},


Loading…
取消
儲存