节点:ftp路径显示修改
This commit is contained in:
parent
229db3d28a
commit
9543c85572
@ -12,7 +12,7 @@
|
|||||||
<el-col
|
<el-col
|
||||||
v-if="!itemChild.data.showKey || formData[itemChild.data.showKey] === itemChild.data.showValue"
|
v-if="!itemChild.data.showKey || formData[itemChild.data.showKey] === itemChild.data.showValue"
|
||||||
:offset="1"
|
:offset="1"
|
||||||
:span="11"
|
:span="itemChild.data.singleRow ? 23 : 11"
|
||||||
>
|
>
|
||||||
<el-form-item :label="itemChild.data.label" :prop="itemChild.key">
|
<el-form-item :label="itemChild.data.label" :prop="itemChild.key">
|
||||||
<el-input
|
<el-input
|
||||||
@ -98,7 +98,7 @@ const emits = defineEmits(['update:visible', 'submit'])
|
|||||||
|
|
||||||
const formRef = ref<FormInstance>()
|
const formRef = ref<FormInstance>()
|
||||||
const formData = ref<any>({})
|
const formData = ref<any>({})
|
||||||
// const formData = ref<protocolFormType>({})
|
// const formData = ref<protocolFormType>({})
|
||||||
// #region
|
// #region
|
||||||
// const cardTitle: ['网络设置', '超时设置'] = ['网络设置', '超时设置']
|
// const cardTitle: ['网络设置', '超时设置'] = ['网络设置', '超时设置']
|
||||||
// const netWorkOption = {
|
// const netWorkOption = {
|
||||||
@ -959,6 +959,7 @@ const formColumnList: formColumnType[] = [
|
|||||||
value: '',
|
value: '',
|
||||||
showKey: 'ftpMode',
|
showKey: 'ftpMode',
|
||||||
showValue: '1',
|
showValue: '1',
|
||||||
|
singleRow: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -1077,6 +1078,7 @@ const formColumnList: formColumnType[] = [
|
|||||||
value: '',
|
value: '',
|
||||||
showKey: 'ftpMode',
|
showKey: 'ftpMode',
|
||||||
showValue: '1',
|
showValue: '1',
|
||||||
|
singleRow: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -122,6 +122,7 @@ type paramsType = {
|
|||||||
showKey?: string
|
showKey?: string
|
||||||
showValue?: string | number
|
showValue?: string | number
|
||||||
isSeconds?: boolean
|
isSeconds?: boolean
|
||||||
|
singleRow?: boolean
|
||||||
list?: { label: string; value: string | number }[]
|
list?: { label: string; value: string | number }[]
|
||||||
cardTitle?: ['网络设置', '超时设置']
|
cardTitle?: ['网络设置', '超时设置']
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user