|
|
@@ -60,6 +60,12 @@ export const auditFlags = ref([
|
|
|
{code: 4, name: '全部'},
|
|
|
])
|
|
|
|
|
|
+/**
|
|
|
+ *
|
|
|
+ * @param qkjb 切口级别
|
|
|
+ * @param yhqk 愈合级别
|
|
|
+ * @returns {string} 返回信息
|
|
|
+ */
|
|
|
export function qieKouName(qkjb, yhqk) {
|
|
|
let code = qkjb + '/' + yhqk
|
|
|
let name = ''
|
|
|
@@ -71,12 +77,24 @@ export function qieKouName(qkjb, yhqk) {
|
|
|
return name
|
|
|
}
|
|
|
|
|
|
+/**
|
|
|
+ *
|
|
|
+ * @type {ToRef<*[]>} 麻醉数组
|
|
|
+ */
|
|
|
export const maZuiFangShis = ref([])
|
|
|
|
|
|
+/**
|
|
|
+ * 远程获取麻醉方式
|
|
|
+ */
|
|
|
maZuiFangShi().then((res) => {
|
|
|
maZuiFangShis.value = res
|
|
|
})
|
|
|
|
|
|
+/**
|
|
|
+ * 麻醉的名字
|
|
|
+ * @param val code
|
|
|
+ * @returns {string} 名称
|
|
|
+ */
|
|
|
export function maZuiName(val) {
|
|
|
let name = '未知'
|
|
|
maZuiFangShis.value.forEach(item => {
|
|
|
@@ -87,7 +105,12 @@ export function maZuiName(val) {
|
|
|
return name
|
|
|
}
|
|
|
|
|
|
-
|
|
|
+/**
|
|
|
+ * 医生默认可以默认选择的信息
|
|
|
+ * @param arr 数组
|
|
|
+ * @param notNode 不需要的 code
|
|
|
+ * @returns {*[]} 返回科室
|
|
|
+ */
|
|
|
export function xianZhongChuQu(arr, notNode) {
|
|
|
let data = []
|
|
|
arr.forEach(item => {
|