|
|
|
@ -53,13 +53,18 @@
|
|
|
|
|
>预览路径</el-button
|
|
|
|
|
>
|
|
|
|
|
<el-input
|
|
|
|
|
placeholder="请输入"
|
|
|
|
|
type="textarea"
|
|
|
|
|
:autosize="{ minRows: 1, maxRows: 1 }"
|
|
|
|
|
v-model="formInfo.path"
|
|
|
|
|
></el-input>
|
|
|
|
|
</div>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="下载文件:" prop="suffix">
|
|
|
|
|
<el-form-item label="文件名包含:" prop="contain">
|
|
|
|
|
<el-input v-model="formInfo.contain" placeholder="请输入">
|
|
|
|
|
</el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="文件名后缀:" prop="suffix">
|
|
|
|
|
<el-select v-model="formInfo.suffix" placeholder="请选择">
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in suffixOptions"
|
|
|
|
@ -186,7 +191,7 @@ export default {
|
|
|
|
|
submitForm() {
|
|
|
|
|
this.$refs.formInforef.validate((valid) => {
|
|
|
|
|
if (valid) {
|
|
|
|
|
if (this.title == "新增客户端服务器") {
|
|
|
|
|
if (this.title == "采集文件配置") {
|
|
|
|
|
console.log(this.formInfo);
|
|
|
|
|
// const pathArray = this.formInfo.pathList
|
|
|
|
|
// .split("\n")
|
|
|
|
@ -195,7 +200,7 @@ export default {
|
|
|
|
|
let params = {
|
|
|
|
|
devId: this.formInfo.devId,
|
|
|
|
|
iedId: this.formInfo.iedId,
|
|
|
|
|
|
|
|
|
|
contain: this.formInfo.contain,
|
|
|
|
|
path: this.formInfo.path,
|
|
|
|
|
active: this.formInfo.active,
|
|
|
|
|
todel: this.formInfo.todel,
|
|
|
|
@ -238,6 +243,7 @@ export default {
|
|
|
|
|
active: this.formInfo.active,
|
|
|
|
|
todel: this.formInfo.todel,
|
|
|
|
|
suffix: this.formInfo.suffix,
|
|
|
|
|
contain: this.formInfo.contain,
|
|
|
|
|
};
|
|
|
|
|
ieddlUpdateApi(params)
|
|
|
|
|
.then((res) => {
|
|
|
|
@ -473,7 +479,7 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
.ipclass {
|
|
|
|
|
position: absolute;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
top: 36px;
|
|
|
|
|
line-height: 14px;
|
|
|
|
|
}
|
|
|
|
@ -484,6 +490,9 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.filedInfo {
|
|
|
|
|
.el-form-item--small.el-form-item {
|
|
|
|
|
margin-bottom: 24px;
|
|
|
|
|
}
|
|
|
|
|
.colListBox {
|
|
|
|
|
overflow: auto;
|
|
|
|
|
height: 400px;
|
|
|
|
|