是否缓存和是否加密禁用编辑
Showing
2 changed files
with
6 additions
and
1 deletions
| ... | @@ -1135,7 +1135,7 @@ const panelChange = (scope, row) => { | ... | @@ -1135,7 +1135,7 @@ const panelChange = (scope, row) => { |
| 1135 | <p class="label_tips">{{ setLabelTips(formInline[child.field], child) }}</p> | 1135 | <p class="label_tips">{{ setLabelTips(formInline[child.field], child) }}</p> |
| 1136 | </template> | 1136 | </template> |
| 1137 | </div> | 1137 | </div> |
| 1138 | <el-radio-group :class="[item.col, { is_block: item.block }]" v-else-if="item.type == 'radio-group'" | 1138 | <el-radio-group :class="[item.col, { is_block: item.block }]" v-else-if="item.type == 'radio-group'" :disabled="item.disabled" |
| 1139 | v-model="formInline[item.field]" @change="(val) => radioGroupChange(val, item)"> | 1139 | v-model="formInline[item.field]" @change="(val) => radioGroupChange(val, item)"> |
| 1140 | <el-radio v-for="(radio, index) in item.options" :label="radio.value"> | 1140 | <el-radio v-for="(radio, index) in item.options" :label="radio.value"> |
| 1141 | <template #default> | 1141 | <template #default> | ... | ... |
| ... | @@ -397,6 +397,7 @@ const baseInfoFormItems = ref([ | ... | @@ -397,6 +397,7 @@ const baseInfoFormItems = ref([ |
| 397 | placeholder: '', | 397 | placeholder: '', |
| 398 | field: 'isCache', | 398 | field: 'isCache', |
| 399 | block: false, | 399 | block: false, |
| 400 | disabled: false, | ||
| 400 | default: 'N', | 401 | default: 'N', |
| 401 | options: [{ | 402 | options: [{ |
| 402 | value: 'Y', | 403 | value: 'Y', |
| ... | @@ -413,6 +414,7 @@ const baseInfoFormItems = ref([ | ... | @@ -413,6 +414,7 @@ const baseInfoFormItems = ref([ |
| 413 | placeholder: '', | 414 | placeholder: '', |
| 414 | field: 'isEncrypField', | 415 | field: 'isEncrypField', |
| 415 | block: false, | 416 | block: false, |
| 417 | disabled: false, | ||
| 416 | default: 'N', | 418 | default: 'N', |
| 417 | options: [{ | 419 | options: [{ |
| 418 | value: 'Y', | 420 | value: 'Y', |
| ... | @@ -880,6 +882,9 @@ onBeforeMount(() => { | ... | @@ -880,6 +882,9 @@ onBeforeMount(() => { |
| 880 | } else if (item.field == 'medDepartmentCode') { | 882 | } else if (item.field == 'medDepartmentCode') { |
| 881 | item.visible = detailInfo.value['domain'] == '003' | 883 | item.visible = detailInfo.value['domain'] == '003' |
| 882 | } | 884 | } |
| 885 | if (item.field == 'isCache' || item.field == 'isEncrypField') { | ||
| 886 | item.disabled = true; | ||
| 887 | } | ||
| 883 | }); | 888 | }); |
| 884 | if (route.query.guid && route.query.foundMode == '2') { | 889 | if (route.query.guid && route.query.foundMode == '2') { |
| 885 | baseInfoFormItems.value[0].disabled = true; | 890 | baseInfoFormItems.value[0].disabled = true; | ... | ... |
-
Please register or sign in to post a comment