更新
This commit is contained in:
@@ -364,6 +364,10 @@
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="继承">
|
||||
<el-checkbox v-model="assignForm.is_inherit">继承</el-checkbox>
|
||||
<span class="text-gray-400 text-xs ml-2">勾选后写入指派记录</span>
|
||||
</el-form-item>
|
||||
<el-form-item label="诊单信息">
|
||||
<div class="dh5-form-tip">
|
||||
<div>患者:{{ currentRow?.patient_name }}</div>
|
||||
@@ -1080,10 +1084,11 @@ const runAction = (cmd: string) => {
|
||||
const assignDialogVisible = ref(false)
|
||||
const assignLoading = ref(false)
|
||||
const currentRow = ref<any>(null)
|
||||
const assignForm = ref({ assistant_id: null as number | null })
|
||||
const assignForm = ref({ assistant_id: null as number | null, is_inherit: false })
|
||||
const handleSingleAssign = (row: any) => {
|
||||
currentRow.value = row
|
||||
assignForm.value.assistant_id = row.assistant_id ? Number(row.assistant_id) : null
|
||||
assignForm.value.is_inherit = false
|
||||
assignDialogVisible.value = true
|
||||
}
|
||||
const handleConfirmAssign = async () => {
|
||||
@@ -1092,7 +1097,8 @@ const handleConfirmAssign = async () => {
|
||||
try {
|
||||
await tcmDiagnosisAssign({
|
||||
id: currentRow.value.id,
|
||||
assistant_id: assignForm.value.assistant_id
|
||||
assistant_id: assignForm.value.assistant_id,
|
||||
is_inherit: assignForm.value.is_inherit ? 1 : 0
|
||||
})
|
||||
assignDialogVisible.value = false
|
||||
getLists()
|
||||
|
||||
Reference in New Issue
Block a user