数据资产登记更新
Showing
3 changed files
with
17 additions
and
19 deletions
| ... | @@ -1328,7 +1328,7 @@ const passCommonDialogBtnClick = (btn, info) => { | ... | @@ -1328,7 +1328,7 @@ const passCommonDialogBtnClick = (btn, info) => { |
| 1328 | '--' }}</span> | 1328 | '--' }}</span> |
| 1329 | </div> | 1329 | </div> |
| 1330 | </div> | 1330 | </div> |
| 1331 | <div class="first-col" style="width: 250px;"> | 1331 | <div class="first-col"> |
| 1332 | <div class="list_item"> | 1332 | <div class="list_item"> |
| 1333 | <span class="item_label">结构化数据:</span> | 1333 | <span class="item_label">结构化数据:</span> |
| 1334 | <span class="item_value">{{ assetDetailInfo.isStructured == 'Y' ? '是' : '否' }}</span> | 1334 | <span class="item_value">{{ assetDetailInfo.isStructured == 'Y' ? '是' : '否' }}</span> |
| ... | @@ -2344,14 +2344,17 @@ const passCommonDialogBtnClick = (btn, info) => { | ... | @@ -2344,14 +2344,17 @@ const passCommonDialogBtnClick = (btn, info) => { |
| 2344 | .info-content { | 2344 | .info-content { |
| 2345 | display: flex; | 2345 | display: flex; |
| 2346 | 2346 | ||
| 2347 | .first-col { | 2347 | >div { |
| 2348 | width: 310px; | 2348 | width: 33.33%; |
| 2349 | } | 2349 | } |
| 2350 | // .first-col { | ||
| 2351 | // width: 310px; | ||
| 2352 | // } | ||
| 2350 | 2353 | ||
| 2351 | .last-col { | 2354 | // .last-col { |
| 2352 | flex: 1; | 2355 | // flex: 1; |
| 2353 | min-width: 120px; | 2356 | // min-width: 120px; |
| 2354 | } | 2357 | // } |
| 2355 | } | 2358 | } |
| 2356 | } | 2359 | } |
| 2357 | 2360 | ... | ... |
| ... | @@ -99,11 +99,6 @@ const tableFields = ref([{ label: "序号", type: "index", width: 56, align: "ce | ... | @@ -99,11 +99,6 @@ const tableFields = ref([{ label: "序号", type: "index", width: 56, align: "ce |
| 99 | { label: "资产名称", field: "daName", width: 160, align: "left" }, | 99 | { label: "资产名称", field: "daName", width: 160, align: "left" }, |
| 100 | { label: "数据分类", field: "dataCategoryName", width: 120, align: "left" }, | 100 | { label: "数据分类", field: "dataCategoryName", width: 120, align: "left" }, |
| 101 | { label: "存储方式", field: "storageFormName", width: 120, align: "left" }, | 101 | { label: "存储方式", field: "storageFormName", width: 120, align: "left" }, |
| 102 | { | ||
| 103 | label: "所属行业", field: "ownIndustryName", width: 120, align: "left", getName: (scope) => { | ||
| 104 | return scope.row['ownIndustryName']?.join(',') | ||
| 105 | } | ||
| 106 | }, | ||
| 107 | { label: "数交所名称", field: "exchangeName", width: 160, align: "left" }, | 102 | { label: "数交所名称", field: "exchangeName", width: 160, align: "left" }, |
| 108 | { | 103 | { |
| 109 | label: "状态", field: "approveState", type: "tag", width: 96, align: 'center', getName: (scope) => { | 104 | label: "状态", field: "approveState", type: "tag", width: 96, align: 'center', getName: (scope) => { | ... | ... |
| ... | @@ -241,9 +241,9 @@ const setBaseFormItemsValue = (info) => { | ... | @@ -241,9 +241,9 @@ const setBaseFormItemsValue = (info) => { |
| 241 | item.inputOptions.visible = false; | 241 | item.inputOptions.visible = false; |
| 242 | } | 242 | } |
| 243 | } else if (item.field == 'updateFrequency') { | 243 | } else if (item.field == 'updateFrequency') { |
| 244 | item.default = info[item.field] || []; | 244 | item.default = info[item.field] || ''; |
| 245 | } else if (item.field == 'ownIndustry') { | 245 | } else if (item.field == 'ownIndustry') { |
| 246 | item.default = info[item.field] || []; | 246 | item.default = Array.isArray(info[item.field]) ? info[item.field][0] : (info[item.field] || []); |
| 247 | item.inputOptions.default = info['ownIndustryOther']; | 247 | item.inputOptions.default = info['ownIndustryOther']; |
| 248 | if (info['ownIndustry']?.includes(4)) { | 248 | if (info['ownIndustry']?.includes(4)) { |
| 249 | item.inputOptions.visible = true; | 249 | item.inputOptions.visible = true; |
| ... | @@ -969,11 +969,11 @@ const baseFormItems: any = ref([ | ... | @@ -969,11 +969,11 @@ const baseFormItems: any = ref([ |
| 969 | }, | 969 | }, |
| 970 | { | 970 | { |
| 971 | label: "数据更新频率", | 971 | label: "数据更新频率", |
| 972 | type: "checkbox-group-row", | 972 | type: "radio-group", |
| 973 | placeholder: "", | 973 | placeholder: "", |
| 974 | field: "updateFrequency", | 974 | field: "updateFrequency", |
| 975 | default: [], | 975 | default: '', |
| 976 | children: updateFrequencyListData.value, | 976 | options: updateFrequencyListData.value, |
| 977 | required: true, | 977 | required: true, |
| 978 | block: true, | 978 | block: true, |
| 979 | }, | 979 | }, |
| ... | @@ -1082,7 +1082,7 @@ const baseFormRules = ref({ | ... | @@ -1082,7 +1082,7 @@ const baseFormRules = ref({ |
| 1082 | { required: true, trigger: 'blur', message: "请填写数据取得方式其他内容" } | 1082 | { required: true, trigger: 'blur', message: "请填写数据取得方式其他内容" } |
| 1083 | ], | 1083 | ], |
| 1084 | updateFrequency: [ | 1084 | updateFrequency: [ |
| 1085 | { type: 'array', required: true, trigger: 'change', message: "请选择数据更新频率" } | 1085 | { required: true, trigger: 'change', message: "请选择数据更新频率" } |
| 1086 | ], | 1086 | ], |
| 1087 | updateFrequencyOther: [ | 1087 | updateFrequencyOther: [ |
| 1088 | { required: true, trigger: 'blur', message: "请填写数据更新频率其他内容" } | 1088 | { required: true, trigger: 'blur', message: "请填写数据更新频率其他内容" } |
| ... | @@ -2150,7 +2150,7 @@ onBeforeMount(() => { | ... | @@ -2150,7 +2150,7 @@ onBeforeMount(() => { |
| 2150 | const data = res.data || []; | 2150 | const data = res.data || []; |
| 2151 | updateFrequencyListData.value = data; | 2151 | updateFrequencyListData.value = data; |
| 2152 | let item = baseFormItems.value.find(item => item.field == 'updateFrequency'); | 2152 | let item = baseFormItems.value.find(item => item.field == 'updateFrequency'); |
| 2153 | item && (item.children = updateFrequencyListData.value); | 2153 | item && (item.options = updateFrequencyListData.value); |
| 2154 | } else { | 2154 | } else { |
| 2155 | proxy.$ElMessage.error(res.msg); | 2155 | proxy.$ElMessage.error(res.msg); |
| 2156 | } | 2156 | } | ... | ... |
-
Please register or sign in to post a comment