更新
This commit is contained in:
@@ -290,6 +290,23 @@
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row :gutter="20">
|
||||
<el-col :span="12">
|
||||
<el-form-item label="统计端就诊卡" prop="show_card">
|
||||
<el-switch
|
||||
v-model="formData.show_card"
|
||||
:active-value="1"
|
||||
:inactive-value="0"
|
||||
active-text="显示"
|
||||
inactive-text="隐藏"
|
||||
inline-prompt
|
||||
/>
|
||||
<span class="form-tips ml-3">
|
||||
关闭后,该就诊卡将不会出现在小程序统计端
|
||||
</span>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row :gutter="20">
|
||||
<el-col :span="12">
|
||||
@@ -874,6 +891,7 @@ const formData = ref({
|
||||
current_medications: '',
|
||||
status: 1,
|
||||
create_source: 'admin',
|
||||
show_card: 1,
|
||||
external_userid: ''
|
||||
})
|
||||
|
||||
@@ -1155,6 +1173,7 @@ async function loadDiagnosisDetailIntoForm(id: number): Promise<void> {
|
||||
|
||||
formData.value = data
|
||||
formData.value.create_source = data.create_source ?? ''
|
||||
formData.value.show_card = Number(data.show_card) === 0 ? 0 : 1
|
||||
const y = data.diabetes_discovery_year
|
||||
formData.value.diabetes_discovery_year = y == null || y === '' ? '' : String(y)
|
||||
}
|
||||
@@ -1317,6 +1336,7 @@ const handleClose = () => {
|
||||
current_medications: '',
|
||||
status: 1,
|
||||
create_source: 'admin',
|
||||
show_card: 1,
|
||||
external_userid: ''
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user