|
@@ -26,7 +26,13 @@
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
<el-form-item class="bi_tian" label="执行科室:">
|
|
|
- {{ props.data.execDeptName }}
|
|
|
+ <xc-select-v3
|
|
|
+ style="width: 120px"
|
|
|
+ v-model="props.data"
|
|
|
+ :data="zhiXingKeShiData"
|
|
|
+ code="execDept"
|
|
|
+ name="execDeptName"
|
|
|
+ :remote-method="metZhiXingKeShi"/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
@@ -38,8 +44,7 @@
|
|
|
active-color="#13ce66"
|
|
|
active-text="急诊"
|
|
|
inactive-color="#ff4949"
|
|
|
- inactive-text="普通"
|
|
|
- >
|
|
|
+ inactive-text="普通" >
|
|
|
</el-switch>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
@@ -109,6 +114,8 @@
|
|
|
<script setup name='InspectionRequisition'>
|
|
|
// 编辑检验检查
|
|
|
import XcSelectV3 from "@/components/xiao-chan/select-v3/XcSelectV3";
|
|
|
+import {ref} from "vue";
|
|
|
+import {huoQuZhiXinKeShi} from "@/api/zhu-yuan-yi-sheng/yi-zhu-lu-ru";
|
|
|
|
|
|
const props = defineProps({
|
|
|
jianCha: {
|
|
@@ -135,6 +142,14 @@ const props = defineProps({
|
|
|
})
|
|
|
|
|
|
|
|
|
+/* 获取执行科室 */
|
|
|
+const zhiXingKeShiData = ref([])
|
|
|
+const metZhiXingKeShi = (val) => {
|
|
|
+ huoQuZhiXinKeShi(val).then((res) => {
|
|
|
+ zhiXingKeShiData.value = res
|
|
|
+ })
|
|
|
+}
|
|
|
+
|
|
|
</script>
|
|
|
|
|
|
<style scoped lang="scss">
|