This commit is contained in:
jingna 2026-05-19 09:25:10 +08:00
parent a7ffceee99
commit 239a2401f9
3 changed files with 42 additions and 2 deletions

View File

@ -17,7 +17,7 @@ const channelList: any = ref([
{ ch: 12, singal_type: '4~20mA', line_no: 1, type: 'UA', limit_low: 1, limit_high: 8 }, { ch: 12, singal_type: '4~20mA', line_no: 1, type: 'UA', limit_low: 1, limit_high: 8 },
]) ])
const aoChannelList: any = ref([]) const aoChannelList: any = ref([])
const lineOptions = ref([{ label: '线路一', value: 1 }, { label: '线路二', value: 2 }, { label: '线路三', value: 3 }, { label: '线路四', value: 4 }, { label: '线路五', value: 5 }]) const lineOptions = ref([{ label: '线路一', value: 1 }, { label: '线路二', value: 2 }, { label: '线路三', value: 3 }, { label: '线路四', value: 4 }])
const categoryOptions = ref(['UA', 'UB', 'UC']) const categoryOptions = ref(['UA', 'UB', 'UC'])
const isswitch = ref(false) const isswitch = ref(false)
const handleSave = () => { const handleSave = () => {

View File

@ -16,7 +16,7 @@ const channelList: any = ref([
{ ch: 11, singal_type: '4~20mA', line_no: 1, type: 'UA', limit_low: 1, limit_high: 8 }, { ch: 11, singal_type: '4~20mA', line_no: 1, type: 'UA', limit_low: 1, limit_high: 8 },
{ ch: 12, singal_type: '4~20mA', line_no: 1, type: 'UA', limit_low: 1, limit_high: 8 }, { ch: 12, singal_type: '4~20mA', line_no: 1, type: 'UA', limit_low: 1, limit_high: 8 },
]) ])
const lineOptions = ref([{ label: '线路一', value: 1 }, { label: '线路二', value: 2 }]) const lineOptions = ref([{ label: '线路一', value: 1 }, { label: '线路二', value: 2 }, { label: '线路三', value: 3 }, { label: '线路四', value: 4 }])
const categoryOptions = ref(['UA', 'UB', 'UC']) const categoryOptions = ref(['UA', 'UB', 'UC'])
const aiChannelList = ref([]) const aiChannelList = ref([])

View File

@ -48,6 +48,46 @@ const options = ref([
label: '开出2', label: '开出2',
value: '开出2' value: '开出2'
}, },
{
label: '开出3',
value: '开出3'
},
{
label: '开出4',
value: '开出4'
},
{
label: '开出5',
value: '开出5'
},
{
label: '开出6',
value: '开出6'
},
{
label: '开出7',
value: '开出7'
},
{
label: '开出8',
value: '开出8'
},
{
label: '开出9',
value: '开出9'
},
{
label: '开出10',
value: '开出10'
},
{
label: '开出11',
value: '开出11'
},
{
label: '开出12',
value: '开出12'
},
]) ])
const cleardata = () => { const cleardata = () => {
infoList.value.fault_alarm.forEach(item => { infoList.value.fault_alarm.forEach(item => {