瀏覽代碼

检查检验说明模板

xiaochan 1 年之前
父節點
當前提交
617df7381d

+ 0 - 7
src/api/zhu-yuan-yi-sheng/jian-yan-jian-cha-shen-qing.js

@@ -19,13 +19,6 @@ export function huoQuJianYanJianChaMing(name, patNo, times, bedNo, reqType) {
     })
 }
 
-export function getCheckNewApplication() {
-    return request({
-        url: url + 'getCheckNewApplication',
-        method: 'get',
-    })
-}
-
 export function huoQuShengQingXiangQing(reqNo) {
     return request({
         url: url + 'huoQuShengQingXiangQing',

+ 2 - 1
src/components/zhu-yuan-yi-sheng/jian-cha-shen-qing/TianJiaJianYan.vue

@@ -275,7 +275,8 @@ const nodeClick = async (val) => {
     orderName: val.name,
     checkFlag: "0",
     jzFlag: 0,
-    ybSelfFlag: 0
+    ybSelfFlag: 0,
+    note: val.note
   };
   if (xuanZhongJianYan.value.weiBianMa.indexOf(temp.orderCode) > -1) {
     xcMessage.error('请勿重复添加。')

+ 2 - 10
src/components/zhu-yuan-yi-sheng/jian-cha-shen-qing/aside/NewApplication.vue

@@ -19,7 +19,6 @@
 <script setup name='NewApplication'>
 import {ref} from "vue";
 import {
-  getCheckNewApplication,
   getTemplateGrouping,
   shanShuJianChaMuBan
 } from "@/api/zhu-yuan-yi-sheng/jian-yan-jian-cha-shen-qing";
@@ -41,7 +40,6 @@ const config = {value: 'code', label: 'name', children: 'children'}
 
 
 const chaZhaoLeiXing = ref(1)
-const newApplication = ref([])
 const templateData = ref([])
 
 
@@ -66,7 +64,8 @@ const nodeClick = (data) => {
     orderCode: data.code,
     orderName: data.name,
     orderType: data.classes,
-    isTheParentNode: '2'
+    isTheParentNode: '2',
+    note: data.note
   }
   rowClick(temp)
 }
@@ -81,13 +80,6 @@ const deleteTemplate = (val) => {
   }).catch(() => {
   })
 }
-
-onMounted(() => {
-  getCheckNewApplication().then((res) => {
-    newApplication.value = res
-  })
-})
-
 </script>
 
 <style scoped lang="scss">

+ 1 - 0
src/views/hospitalization/zhu-yuan-yi-sheng/jian-cha-jian-yan-shen-qing/JianChaShenQing.vue

@@ -270,6 +270,7 @@ const searchAdd = (data) => {
     execDeptName: data.execUnitName,
     orderCode: data.code,
     orderName: data.name,
+    note: data.note
   }
   addJcCheck(temp);
 }

+ 2 - 1
src/views/hospitalization/zhu-yuan-yi-sheng/jian-cha-jian-yan-shen-qing/JianYanShenQing.vue

@@ -185,7 +185,8 @@ const searchAdd = async (val) => {
     checkFlag: "0",
     jzFlag: 0,
     ybSelfFlag: 0,
-    classes: val.classes
+    classes: val.classes,
+    note: val.note
   }
   if (xuanZhongJianYan.value.weiBianMa.indexOf(temp.orderCode) > -1) {
     xcMessage.error('请勿重复添加。')

+ 13 - 1
src/views/hospitalization/zhu-yuan-yi-sheng/jian-cha-jian-yan-shen-qing/components/public/JianChaJianYanTable.vue

@@ -11,6 +11,7 @@ import {computed} from "vue";
 import store from "@/store";
 import XcComboGridV2 from "@/components/xiao-chan/combo-grid/XcComboGridV2.vue";
 import {useVModels} from "@vueuse/core";
+import {CyMessageBox} from "@/components/cy/message-box";
 
 const props = defineProps({
   data: {
@@ -105,6 +106,15 @@ const showStartTime = () => {
   return userInfo.value.deptCode === '1160000' || userInfo.value.deptCode === '3100000'
 }
 
+function explanationClick(value) {
+  CyMessageBox.confirm({
+    type: 'info',
+    title: '说明',
+    message: value.note,
+  })
+}
+
+
 onMounted(() => {
   watch(() => data.value.length, () => {
     if (data.value.length === 0) {
@@ -157,7 +167,7 @@ onMounted(() => {
 
   <el-table :data="data"
             :height="tableHeight">
-    <el-table-column label="操作" width="120" fixed="left">
+    <el-table-column label="操作" width="150" fixed="left">
       <template #default="scope">
         <el-button-group>
           <el-button icon="Delete" type="danger"
@@ -182,6 +192,8 @@ onMounted(() => {
             </el-table>
           </el-popover>
 
+          <el-button @click="explanationClick(scope.row)">说明</el-button>
+
         </el-button-group>
       </template>
     </el-table-column>