|
@@ -1,138 +1,80 @@
|
|
|
<template>
|
|
|
- <div class="jiancha-toubu">
|
|
|
- <el-date-picker
|
|
|
- v-model="dateRange"
|
|
|
- :shortcuts="shortcuts"
|
|
|
- end-placeholder="申请结束"
|
|
|
- placeholder="选择日期"
|
|
|
- range-separator="至"
|
|
|
- size="small"
|
|
|
- start-placeholder="申请开始"
|
|
|
- style="width: 220px"
|
|
|
- type="daterange"/>
|
|
|
- <el-button icon="Search" type="primary" @click="dianJiChaXunHuanZheJianCha">查询</el-button>
|
|
|
- <el-divider direction="vertical"></el-divider>
|
|
|
- <el-button icon="Check" type="success" @click="saveData">保存</el-button>
|
|
|
- <el-button icon="Check" type="primary" @click="saveTemplate"
|
|
|
- :disabled="addCheckList.length ===0">存为模板
|
|
|
- </el-button>
|
|
|
- 搜索:
|
|
|
- <xc-combo-grid :query-data-func="getJcItem" @rowClick="searchAdd">
|
|
|
- <el-table-column label="编码" prop="code"/>
|
|
|
- <el-table-column width="240" label="名称" prop="name"/>
|
|
|
- <el-table-column label="执行科室" prop="execUnitName"/>
|
|
|
- </xc-combo-grid>
|
|
|
+ <div class="jiancha-toubu">
|
|
|
+ <el-date-picker
|
|
|
+ v-model="dateRange"
|
|
|
+ :shortcuts="shortcuts"
|
|
|
+ end-placeholder="申请结束"
|
|
|
+ placeholder="选择日期"
|
|
|
+ range-separator="至"
|
|
|
+ size="small"
|
|
|
+ start-placeholder="申请开始"
|
|
|
+ style="width: 220px"
|
|
|
+ type="daterange"/>
|
|
|
+ <el-button icon="Search" type="primary" @click="dianJiChaXunHuanZheJianCha">查询</el-button>
|
|
|
+ <el-divider direction="vertical"></el-divider>
|
|
|
+ <el-button icon="Check" type="success" @click="saveData">保存</el-button>
|
|
|
+ <el-button icon="Check" type="primary" @click="saveTemplate"
|
|
|
+ :disabled="addCheckList.length ===0">存为模板
|
|
|
+ </el-button>
|
|
|
+ 搜索:
|
|
|
+ <xc-combo-grid :query-data-func="getJcItem" @rowClick="searchAdd">
|
|
|
+ <el-table-column label="编码" prop="code"/>
|
|
|
+ <el-table-column width="240" label="名称" prop="name"/>
|
|
|
+ <el-table-column label="执行科室" prop="execUnitName"/>
|
|
|
+ </xc-combo-grid>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div style="display: flex;">
|
|
|
+ <div style="max-width: 440px;min-width: 440px;overflow: auto;">
|
|
|
+ <div style="overflow: auto">
|
|
|
+ <el-tabs v-model="asideTabs">
|
|
|
+ <el-tab-pane :name="0" label="新增">
|
|
|
+ <new-application/>
|
|
|
+ </el-tab-pane>
|
|
|
+ <el-tab-pane :name="1" label="历史记录">
|
|
|
+ <check-application-history :data="jianChaShuJu"
|
|
|
+ :returnData="dianJiaJianChaXiangQing"/>
|
|
|
+ </el-tab-pane>
|
|
|
+ </el-tabs>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
|
|
|
- <div style="display: flex;">
|
|
|
- <div style="max-width: 440px;min-width: 440px;overflow: auto;">
|
|
|
- <div style="overflow: auto">
|
|
|
- <el-tabs v-model="asideTabs">
|
|
|
- <el-tab-pane :name="0" label="新增">
|
|
|
- <new-application/>
|
|
|
- </el-tab-pane>
|
|
|
- <el-tab-pane :name="1" label="历史记录">
|
|
|
- <check-application-history :data="jianChaShuJu"
|
|
|
- :returnData="dianJiaJianChaXiangQing"/>
|
|
|
- </el-tab-pane>
|
|
|
- </el-tabs>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-
|
|
|
- <div>
|
|
|
- <el-tabs v-model="mainTabs">
|
|
|
- <el-tab-pane :name="0" label="检查申请单">
|
|
|
- <print-check-v2 ref="daYingJianChaRef"/>
|
|
|
- </el-tab-pane>
|
|
|
- <el-tab-pane :name="1" label="检查结果">
|
|
|
- <jian-cha-jie-guo ref="jianChaJieGuoRef" :pat-info="huanZheXinXi"/>
|
|
|
- </el-tab-pane>
|
|
|
- <el-tab-pane :name="3" label="编辑数据">
|
|
|
- <div :style="{width: getWindowSize.w - (170 + 440) + 'px'}">
|
|
|
- <xc-table :local-data="addCheckList"
|
|
|
- :default-expand-all="false"
|
|
|
- :final-height="getWindowSize.h - (yzHeaderSize + 90)">
|
|
|
- <el-table-column label="操作" width="90" fixed="left">
|
|
|
- <template #default="scope">
|
|
|
- <el-button-group>
|
|
|
- <el-button type="primary" icon="Edit" title="编辑"
|
|
|
- @click="openTheEditPopUpWindow(scope.$index)"/>
|
|
|
- <el-button type="danger" icon="Delete" title="删除"
|
|
|
- @click="deleteRequest(scope.$index)"/>
|
|
|
- </el-button-group>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column label="编码" prop="orderCode" width="60"></el-table-column>
|
|
|
- <el-table-column label="名称" prop="orderName" width="220"
|
|
|
- show-overflow-tooltip></el-table-column>
|
|
|
- <el-table-column label="诊断" prop="diagText" width="120"
|
|
|
- show-overflow-tooltip></el-table-column>
|
|
|
- <el-table-column label="病史摘要" prop="reqComment" show-overflow-tooltip></el-table-column>
|
|
|
- <el-table-column label="体征信息" prop="reqTzComment"
|
|
|
- show-overflow-tooltip></el-table-column>
|
|
|
- <el-table-column label="相关辅检结果" prop="reqOtherResult"
|
|
|
- show-overflow-tooltip></el-table-column>
|
|
|
- <el-table-column label="检查时间" prop="startTime" width="130"/>
|
|
|
- <el-table-column label="执行科室" prop="execDeptName" width="110"></el-table-column>
|
|
|
- <el-table-column label="急诊" width="40">
|
|
|
- <template #default="{row}">
|
|
|
- <span v-if="row.jzFlag === 1">
|
|
|
- √
|
|
|
- </span>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column label="自费" width="40">
|
|
|
- <template #default="{row}">
|
|
|
- <span v-if="row.ybSelfFlag === 1">
|
|
|
- √
|
|
|
- </span>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- </xc-table>
|
|
|
- </div>
|
|
|
- </el-tab-pane>
|
|
|
- </el-tabs>
|
|
|
- </div>
|
|
|
-
|
|
|
+ <div>
|
|
|
+ <el-tabs v-model="mainTabs">
|
|
|
+ <el-tab-pane :name="0" label="检查申请单">
|
|
|
+ <print-check-table ref="daYingJianChaRef" show-print/>
|
|
|
+ </el-tab-pane>
|
|
|
+ <el-tab-pane :name="1" label="检查结果">
|
|
|
+ <jian-cha-jie-guo ref="jianChaJieGuoRef" :pat-info="huanZheXinXi"/>
|
|
|
+ </el-tab-pane>
|
|
|
+ <el-tab-pane :name="3" label="编辑数据">
|
|
|
+ <div :style="{width: getWindowSize.w - (170 + 440) + 'px'}">
|
|
|
+ <jian-cha-jian-yan-table is-check :data="addCheckList"
|
|
|
+ :public-data="extraInformation"
|
|
|
+ @del-click="deleteRequest"/>
|
|
|
+ </div>
|
|
|
+ </el-tab-pane>
|
|
|
+ </el-tabs>
|
|
|
</div>
|
|
|
-
|
|
|
-
|
|
|
- <xc-dialog-v2 v-model="editor.dialog" title="检查编辑">
|
|
|
- <inspection-requisition :data="editor.data"
|
|
|
- :diagnosis="diagnosis"
|
|
|
- :search-diagnostics="searchDiagnostics"/>
|
|
|
-
|
|
|
- <template #footer>
|
|
|
- {{ (editor.index + 1) + '/' + addCheckList.length }}
|
|
|
- <el-button-group>
|
|
|
- <el-button @click="openTheEditPopUpWindow(editor.index-1)" :disabled="editor.index === 0">
|
|
|
- 上一个
|
|
|
- </el-button>
|
|
|
- <el-button @click="openTheEditPopUpWindow(editor.index+1)"
|
|
|
- :disabled="editor.index === addCheckList.length - 1">下一个
|
|
|
- </el-button>
|
|
|
- </el-button-group>
|
|
|
- <el-button type="primary" @click="fillData(editor.index,editor.data)">确认</el-button>
|
|
|
- </template>
|
|
|
- </xc-dialog-v2>
|
|
|
- <save-template-inspection ref="saveTemplateRef"/>
|
|
|
+ </div>
|
|
|
+ <save-template-inspection ref="saveTemplateRef"/>
|
|
|
</template>
|
|
|
|
|
|
<script setup name="JianChaShenQing">
|
|
|
import {
|
|
|
- addJcCheck,
|
|
|
- addCheckList, cuoWuXinXi,
|
|
|
- huanZheXinXi,
|
|
|
- youWuXuanZheHuanZhe, yzHeaderSize
|
|
|
+ addJcCheck,
|
|
|
+ addCheckList, cuoWuXinXi,
|
|
|
+ huanZheXinXi,
|
|
|
+ youWuXuanZheHuanZhe, yzHeaderSize
|
|
|
} from '@/views/hospitalization/zhu-yuan-yi-sheng/public-js/zhu-yuan-yi-sheng'
|
|
|
import {computed, ref, watch} from 'vue'
|
|
|
import {
|
|
|
- baoCunJianYanJianCha,
|
|
|
- diagnosisInOurHospital, getJcItem,
|
|
|
- huoQuJianChaShenQing,
|
|
|
- huoQuJianYanJianChaMing,
|
|
|
- huoQuShengQingXiangQing,
|
|
|
- queryCheckTextResults,
|
|
|
+ baoCunJianYanJianCha,
|
|
|
+ diagnosisInOurHospital, getJcItem,
|
|
|
+ huoQuJianChaShenQing,
|
|
|
+ huoQuJianYanJianChaMing,
|
|
|
+ huoQuShengQingXiangQing,
|
|
|
+ queryCheckTextResults,
|
|
|
} from '@/api/zhu-yuan-yi-sheng/jian-yan-jian-cha-shen-qing'
|
|
|
import store from '@/store'
|
|
|
import {getDateRangeFormatDate} from '@/utils/date'
|
|
@@ -140,23 +82,21 @@ import {shortcuts} from '@/data/shortcuts'
|
|
|
import {ElMessageBox} from 'element-plus'
|
|
|
import CheckApplicationHistory from "@/components/zhu-yuan-yi-sheng/jian-cha-shen-qing/aside/CheckApplicationHistory";
|
|
|
import NewApplication from "@/components/zhu-yuan-yi-sheng/jian-cha-shen-qing/aside/NewApplication";
|
|
|
-import InspectionRequisition
|
|
|
- from "@/views/hospitalization/zhu-yuan-yi-sheng/jian-cha-jian-yan-shen-qing/InspectionRequisition";
|
|
|
import SaveTemplateInspection
|
|
|
- from "@/views/hospitalization/zhu-yuan-yi-sheng/jian-cha-jian-yan-shen-qing/SaveTemplateInspection";
|
|
|
+ from "@/views/hospitalization/zhu-yuan-yi-sheng/jian-cha-jian-yan-shen-qing/SaveTemplateInspection";
|
|
|
import {BizException, ExceptionEnum} from "@/utils/BizException";
|
|
|
import {yaoPinXiangMuPiPeiYiBao} from "@/api/public-api";
|
|
|
-import {stringNotBlank} from "@/utils/blank-utils";
|
|
|
+import {stringIsBlank, stringNotBlank} from "@/utils/blank-utils";
|
|
|
import JianChaJieGuo from "@/components/zhu-yuan-yi-sheng/jian-cha-shen-qing/da-ying/JianChaJieGuo.vue";
|
|
|
-import XcTable from "@/components/xiao-chan/xc-table/XcTable.vue";
|
|
|
-import XcDialogV2 from "@/components/xiao-chan/dialog/XcDialogV2.vue";
|
|
|
import XcComboGrid from "@/components/xiao-chan/combo-grid/XcComboGrid.vue";
|
|
|
-import PrintCheckV2 from "@/components/zhu-yuan-yi-sheng/jian-cha-shen-qing/da-ying/PrintCheckV2.vue";
|
|
|
import {getWindowSize} from "@/utils/window-size";
|
|
|
+import JianChaJianYanTable
|
|
|
+ from "@/views/hospitalization/zhu-yuan-yi-sheng/jian-cha-jian-yan-shen-qing/components/public/JianChaJianYanTable.vue";
|
|
|
+import PrintCheckTable from "@/components/zhu-yuan-yi-sheng/jian-cha-shen-qing/da-ying/PrintCheckTable.vue";
|
|
|
|
|
|
|
|
|
const windowSize = computed(() => {
|
|
|
- return store.state.app.windowSize
|
|
|
+ return store.state.app.windowSize
|
|
|
})
|
|
|
|
|
|
|
|
@@ -175,17 +115,17 @@ const jianChaJieGuoRef = ref()
|
|
|
* @param total
|
|
|
*/
|
|
|
const dianJiChaXunHuanZheJianCha = () => {
|
|
|
- let {startTime, endTime} = getDateRangeFormatDate(dateRange.value)
|
|
|
- let param = {
|
|
|
- patNo: huanZheXinXi.value.inpatientNo,
|
|
|
- times: huanZheXinXi.value.admissTimes,
|
|
|
- orderName: orderName.value,
|
|
|
- startTime: startTime,
|
|
|
- endTime: endTime,
|
|
|
- }
|
|
|
- huoQuJianChaShenQing(param).then((res) => {
|
|
|
- jianChaShuJu.value = res
|
|
|
- })
|
|
|
+ let {startTime, endTime} = getDateRangeFormatDate(dateRange.value)
|
|
|
+ let param = {
|
|
|
+ patNo: huanZheXinXi.value.inpatientNo,
|
|
|
+ times: huanZheXinXi.value.admissTimes,
|
|
|
+ orderName: orderName.value,
|
|
|
+ startTime: startTime,
|
|
|
+ endTime: endTime,
|
|
|
+ }
|
|
|
+ huoQuJianChaShenQing(param).then((res) => {
|
|
|
+ jianChaShuJu.value = res
|
|
|
+ })
|
|
|
}
|
|
|
|
|
|
|
|
@@ -194,21 +134,21 @@ const dianJiChaXunHuanZheJianCha = () => {
|
|
|
* @param row 行数据
|
|
|
*/
|
|
|
const dianJiaJianChaXiangQing = (row) => {
|
|
|
- huoQuShengQingXiangQing(row.reqNo).then((res) => {
|
|
|
- daYingJianChaRef.value.fillData(res)
|
|
|
- mainTabs.value = 0
|
|
|
+ huoQuShengQingXiangQing(row.reqNo).then((res) => {
|
|
|
+ daYingJianChaRef.value.fillData(res)
|
|
|
+ mainTabs.value = 0
|
|
|
+ })
|
|
|
+
|
|
|
+ queryCheckTextResults(row.inpatientNo, row.reqNo).then((res) => {
|
|
|
+ res.row = row
|
|
|
+ jianChaJieGuoRef.value.fillData(res).then(() => {
|
|
|
+ mainTabs.value = 1
|
|
|
})
|
|
|
-
|
|
|
- queryCheckTextResults(row.inpatientNo, row.reqNo).then((res) => {
|
|
|
- res.row = row
|
|
|
- jianChaJieGuoRef.value.fillData(res).then(() => {
|
|
|
- mainTabs.value = 1
|
|
|
- })
|
|
|
- }).catch((e) => {
|
|
|
- jianChaJieGuoRef.value.fillData({
|
|
|
- record: {}, row: {}
|
|
|
- })
|
|
|
+ }).catch((e) => {
|
|
|
+ jianChaJieGuoRef.value.fillData({
|
|
|
+ record: {}, row: {}
|
|
|
})
|
|
|
+ })
|
|
|
|
|
|
|
|
|
}
|
|
@@ -217,121 +157,127 @@ const dianJiaJianChaXiangQing = (row) => {
|
|
|
// 搜索临床诊断
|
|
|
const diagnosis = ref([])
|
|
|
const searchDiagnostics = (val) => {
|
|
|
- diagnosisInOurHospital(val).then((res) => {
|
|
|
- diagnosis.value = res
|
|
|
- })
|
|
|
+ diagnosisInOurHospital(val).then((res) => {
|
|
|
+ diagnosis.value = res
|
|
|
+ })
|
|
|
}
|
|
|
|
|
|
// 保存模板
|
|
|
const saveTemplateRef = ref()
|
|
|
const saveTemplate = () => {
|
|
|
- saveTemplateRef.value.openOrClose()
|
|
|
+ saveTemplateRef.value.openOrClose()
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+let extraInformation = $ref({})
|
|
|
+
|
|
|
// 保存数据
|
|
|
const saveData = () => {
|
|
|
- if (youWuXuanZheHuanZhe()) return
|
|
|
- if (addCheckList.value.length === 0) {
|
|
|
- BizException(ExceptionEnum.LOGICAL_ERROR, '请先选择数据')
|
|
|
+
|
|
|
+ if (youWuXuanZheHuanZhe()) return
|
|
|
+
|
|
|
+ function error() {
|
|
|
+ if (stringNotBlank(huanZheXinXi.value.inpatientNo)) {
|
|
|
+ BizException(ExceptionEnum.LOGICAL_ERROR, "病史摘要、体征信息、相关辅检结果、临床诊断,不能为空。")
|
|
|
}
|
|
|
- let listCode = []
|
|
|
- addCheckList.value.forEach((item) => {
|
|
|
- listCode.push(item.orderCode + '-00')
|
|
|
- })
|
|
|
- yaoPinXiangMuPiPeiYiBao(listCode).then((res) => {
|
|
|
- if (stringNotBlank(res)) {
|
|
|
- cuoWuXinXi.value = res
|
|
|
- ElMessageBox.confirm(res, '提示', {
|
|
|
- type: 'warning',
|
|
|
- dangerouslyUseHTMLString: true,
|
|
|
- confirmButtonText: '继续录入'
|
|
|
- })
|
|
|
- .then(() => {
|
|
|
- baoCunShuJu()
|
|
|
- })
|
|
|
- .catch(() => {
|
|
|
- })
|
|
|
- } else {
|
|
|
+ }
|
|
|
+
|
|
|
+ if (stringIsBlank(extraInformation.reqComment)) {
|
|
|
+ error()
|
|
|
+ }
|
|
|
+ if (stringIsBlank(extraInformation.reqTzComment)) {
|
|
|
+ error()
|
|
|
+ }
|
|
|
+ if (stringIsBlank(extraInformation.reqOtherResult)) {
|
|
|
+ error();
|
|
|
+ }
|
|
|
+ if (stringIsBlank(extraInformation.diagCode)) {
|
|
|
+ error()
|
|
|
+ }
|
|
|
+
|
|
|
+ for (let i = 0, len = addCheckList.value.length; i < len; i++) {
|
|
|
+ let item = addCheckList.value[i]
|
|
|
+ item.reqComment = extraInformation.reqComment
|
|
|
+ item.reqTzComment = extraInformation.reqTzComment
|
|
|
+ item.reqOtherResult = extraInformation.reqOtherResult
|
|
|
+ item.diagCode = extraInformation.diagCode
|
|
|
+ item.diagText = extraInformation.diagText;
|
|
|
+ }
|
|
|
+
|
|
|
+ if (addCheckList.value.length === 0) {
|
|
|
+ BizException(ExceptionEnum.LOGICAL_ERROR, '请先选择数据')
|
|
|
+ }
|
|
|
+ let listCode = []
|
|
|
+ addCheckList.value.forEach((item) => {
|
|
|
+ listCode.push(item.orderCode + '-00')
|
|
|
+ })
|
|
|
+ yaoPinXiangMuPiPeiYiBao(listCode).then((res) => {
|
|
|
+ if (stringNotBlank(res)) {
|
|
|
+ cuoWuXinXi.value = res
|
|
|
+ ElMessageBox.confirm(res, '提示', {
|
|
|
+ type: 'warning',
|
|
|
+ dangerouslyUseHTMLString: true,
|
|
|
+ confirmButtonText: '继续录入'
|
|
|
+ })
|
|
|
+ .then(() => {
|
|
|
baoCunShuJu()
|
|
|
- }
|
|
|
- })
|
|
|
+ })
|
|
|
+ .catch(() => {
|
|
|
+ })
|
|
|
+ } else {
|
|
|
+ baoCunShuJu()
|
|
|
+ }
|
|
|
+ })
|
|
|
}
|
|
|
|
|
|
function baoCunShuJu() {
|
|
|
- ElMessageBox.confirm('确定要保存这些数据吗?', '提示', {
|
|
|
- type: 'warning',
|
|
|
- }).then(() => {
|
|
|
- let data = huanZheXinXi.value
|
|
|
- data.list = addCheckList.value
|
|
|
- data.reqType = 3
|
|
|
- baoCunJianYanJianCha(data)
|
|
|
- .then((res) => {
|
|
|
- addCheckList.value = []
|
|
|
- dianJiChaXunHuanZheJianCha()
|
|
|
- mainTabs.value = 0
|
|
|
- asideTabs.value = 1
|
|
|
- })
|
|
|
- }).catch(() => {
|
|
|
- })
|
|
|
+ ElMessageBox.confirm('确定要保存这些数据吗?', '提示', {
|
|
|
+ type: 'warning',
|
|
|
+ }).then(() => {
|
|
|
+ let data = huanZheXinXi.value
|
|
|
+ data.list = addCheckList.value
|
|
|
+ data.reqType = 3
|
|
|
+ baoCunJianYanJianCha(data)
|
|
|
+ .then((res) => {
|
|
|
+ addCheckList.value = []
|
|
|
+ dianJiChaXunHuanZheJianCha()
|
|
|
+ mainTabs.value = 0
|
|
|
+ asideTabs.value = 1
|
|
|
+ extraInformation = {}
|
|
|
+ })
|
|
|
+ }).catch(() => {
|
|
|
+ })
|
|
|
}
|
|
|
|
|
|
// 查询患者的检查项目名称
|
|
|
const querySearchAsync = (val, cb) => {
|
|
|
- if (youWuXuanZheHuanZhe()) return
|
|
|
- huoQuJianYanJianChaMing(val, huanZheXinXi.value.inpatientNo, huanZheXinXi.value.admissTimes, huanZheXinXi.value.bedNo, '3').then((res) => {
|
|
|
- cb(res)
|
|
|
- })
|
|
|
+ if (youWuXuanZheHuanZhe()) return
|
|
|
+ huoQuJianYanJianChaMing(val, huanZheXinXi.value.inpatientNo, huanZheXinXi.value.admissTimes, huanZheXinXi.value.bedNo, '3').then((res) => {
|
|
|
+ cb(res)
|
|
|
+ })
|
|
|
}
|
|
|
|
|
|
-// 编辑器弹窗
|
|
|
-const editor = ref({
|
|
|
- dialog: false,
|
|
|
- data: {},
|
|
|
- index: -1
|
|
|
-})
|
|
|
-const openTheEditPopUpWindow = (index) => {
|
|
|
- editor.value.index = index
|
|
|
- editor.value.dialog = true
|
|
|
- editor.value.data = addCheckList.value[index]
|
|
|
-}
|
|
|
const deleteRequest = (index) => {
|
|
|
- addCheckList.value.splice(index, 1)
|
|
|
+ addCheckList.value.splice(index, 1)
|
|
|
}
|
|
|
|
|
|
const searchAdd = (data) => {
|
|
|
- let temp = {
|
|
|
- execDept: data.execUnit,
|
|
|
- execDeptName: data.execUnitName,
|
|
|
- orderCode: data.code,
|
|
|
- orderName: data.name,
|
|
|
- }
|
|
|
- addJcCheck(temp)
|
|
|
+ let temp = {
|
|
|
+ execDept: data.execUnit,
|
|
|
+ execDeptName: data.execUnitName,
|
|
|
+ orderCode: data.code,
|
|
|
+ orderName: data.name,
|
|
|
+ }
|
|
|
+ addJcCheck(temp)
|
|
|
}
|
|
|
|
|
|
|
|
|
-const fillData = (i, data) => {
|
|
|
- addCheckList.value.forEach((item, index) => {
|
|
|
- if (index !== i) {
|
|
|
- item.jzFlag = data.jzFlag
|
|
|
- item.ybSelfFlag = data.ybSelfFlag
|
|
|
-
|
|
|
- item.diagCode = data.diagCode
|
|
|
- item.diagText = data.diagText
|
|
|
-
|
|
|
- item.reqComment = data.reqComment
|
|
|
- item.reqTzComment = data.reqTzComment
|
|
|
- item.reqOtherResult = data.reqOtherResult
|
|
|
- }
|
|
|
- })
|
|
|
- editor.value.dialog = false
|
|
|
-}
|
|
|
-
|
|
|
watch(
|
|
|
() => huanZheXinXi.value,
|
|
|
() => {
|
|
|
- dianJiChaXunHuanZheJianCha()
|
|
|
+ dianJiChaXunHuanZheJianCha()
|
|
|
}, {
|
|
|
- immediate: true
|
|
|
+ immediate: true
|
|
|
}
|
|
|
)
|
|
|
|
|
@@ -339,11 +285,6 @@ watch(
|
|
|
</script>
|
|
|
|
|
|
<style scoped lang="scss">
|
|
|
-.jiancha-toubu {
|
|
|
- //display: flex;
|
|
|
- //align-content: center;
|
|
|
-}
|
|
|
-
|
|
|
:deep(.el-table .success-row) {
|
|
|
background: rgba(71, 123, 220, 0.69);
|
|
|
}
|