提交 4aa6263d authored 作者: kxjia's avatar kxjia

完善功能

上级 b8a3951e
......@@ -32,7 +32,7 @@ export const tableFormData = [
content: [
{ type: 'text', value: '(1)重要信息系统总数(不含基础设施类):' },
{ type: 'input', value: '', unit: '个', field: 'COL0' },
{ type: 'brspace' },
{ type: 'text', value: ',其中:(银行业)' },
{ type: 'brspace' },
{ type: 'text', value: '综合业务类:' },
......@@ -51,7 +51,7 @@ export const tableFormData = [
{ type: 'number', value: '', unit: '个', field: 'COL7' },
{ type: 'text', value: ',其他:' },
{ type: 'number', value: '', unit: '个', field: 'COL8' },
{ type: 'br' },
{ type: 'brspace' },
{ type: 'text', value: ',(保险业)' },
{ type: 'brspace' },
{ type: 'text', value: '核心业务处理类:' },
......
......@@ -158,22 +158,23 @@
>
{{ opt }}
</vxe-checkbox>
<template v-if="item.otherField">
<div style="width:100%">
<vxe-checkbox label="其他" :disabled="!item.hasRight">
其他:
</vxe-checkbox>
<vxe-input
v-model="formData[getFieldKey(row.code, item.otherField)]"
:disabled="!isOtherFieldEnabled(row.code, item) || !item.hasRight"
style="width: 50%"
@blur="handleInputBlur(row.code, item.otherField, item.matchedFormula?.formula)"
/>
</div>
</template>
</vxe-checkbox-group>
<!-- 其他选项 -->
<template v-if="item.otherField">
<div style="width:100%">
<vxe-checkbox label="其他" :disabled="!item.hasRight">
其他:
</vxe-checkbox>
<vxe-input
v-model="formData[getFieldKey(row.code, item.otherField)]"
:disabled="!isOtherFieldEnabled(row.code, item) || !item.hasRight"
style="width: 50%"
@blur="handleInputBlur(row.code, item.otherField, item.matchedFormula?.formula)"
/>
</div>
</template>
</span>
</div>
......
......@@ -118,7 +118,6 @@
</vxe-checkbox-group>
</span>
</div>
<template v-else-if="item.type === 'textarea'">
<vxe-textarea
:disabled="!item.hasRight"
......@@ -129,9 +128,7 @@
style="width:300px"
>
</vxe-textarea>
</template>
<template v-else>
<div class="input-wrapper">
<vxe-input
......@@ -146,7 +143,6 @@
>
</vxe-input>
<span class="unit"> {{ item.unit }}</span>
<span
v-if="showHelpIcon(row.code, item.field, item)"
class="help-icon"
......@@ -155,7 +151,6 @@
>
?
</span>
<span
v-if="getInputStatus(row.code, item.field) === 'error'"
class="error-icon"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论