|
@@ -1,6 +1,6 @@
|
|
|
<!--
|
|
|
* @Date: 2022-04-12 17:49:47
|
|
|
- * @LastEditTime: 2022-04-28 10:12:47
|
|
|
+ * @LastEditTime: 2022-04-28 11:17:01
|
|
|
* @LastEditors: your name
|
|
|
* @Description: 服务管理-首页
|
|
|
* have a nice day!
|
|
@@ -133,6 +133,18 @@
|
|
|
/>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item
|
|
|
+ label="并发线程数"
|
|
|
+ prop="threads"
|
|
|
+ label-width="86px"
|
|
|
+ >
|
|
|
+ <el-input
|
|
|
+ v-model="addForm.threads"
|
|
|
+ width="180px"
|
|
|
+ placeholder="请输入并发线程数"
|
|
|
+ clearable
|
|
|
+ />
|
|
|
+ </el-form-item>
|
|
|
<el-form-item
|
|
|
label="来源配置"
|
|
|
prop="config"
|
|
@@ -158,7 +170,7 @@
|
|
|
<el-button
|
|
|
size="medium"
|
|
|
class="r26"
|
|
|
- @click="addCancel"
|
|
|
+ @click="addDialogClose"
|
|
|
>取消</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -186,6 +198,7 @@ export default {
|
|
|
threads: '',
|
|
|
sourceConfig: ''
|
|
|
},
|
|
|
+ sourceOptions: [],
|
|
|
removeDialogVisible: false,
|
|
|
rmObj: {}
|
|
|
}
|
|
@@ -219,7 +232,7 @@ export default {
|
|
|
},
|
|
|
// 新增-关闭
|
|
|
addDialogClose() {
|
|
|
- this.$refs['addForm'].resetField()
|
|
|
+ this.$refs['addForm'].resetFields()
|
|
|
this.addDialogVisible = false
|
|
|
},
|
|
|
// 编辑-跳转
|
|
@@ -305,6 +318,21 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ .dialog-add {
|
|
|
+ ::v-deep .add-form {
|
|
|
+ display: flex;
|
|
|
+ flex-wrap: wrap;
|
|
|
+ > .el-form-item {
|
|
|
+ &:not(:nth-child(4), :nth-child(5)) {
|
|
|
+ width: 100%;
|
|
|
+ }
|
|
|
+ &:nth-child(5) {
|
|
|
+ margin-left: 34px;
|
|
|
+ flex: 1;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
</style>
|