|
|
@@ -0,0 +1,465 @@
|
|
|
+<template>
|
|
|
+ <a-card :bordered="false">
|
|
|
+ <!-- 查询区域 -->
|
|
|
+ <div class="table-page-search-wrapper">
|
|
|
+ <a-form layout="inline" @keyup.enter.native="searchQuery">
|
|
|
+ <a-row :gutter="24">
|
|
|
+ </a-row>
|
|
|
+ </a-form>
|
|
|
+ </div>
|
|
|
+ <!-- 查询区域-END -->
|
|
|
+
|
|
|
+ <!-- 操作按钮区域 -->
|
|
|
+ <div class="table-operator">
|
|
|
+ <a-button @click="handleAdd" type="primary" icon="plus">新增</a-button>
|
|
|
+ <a-button type="primary" icon="download" @click="handleExportXls('operation')">导出</a-button>
|
|
|
+ <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">
|
|
|
+ <a-button type="primary" icon="import">导入</a-button>
|
|
|
+ </a-upload>
|
|
|
+ <!-- 高级查询区域 -->
|
|
|
+ <j-super-query :fieldList="superFieldList" ref="superQueryModal" @handleSuperQuery="handleSuperQuery"></j-super-query>
|
|
|
+ <a-dropdown v-if="selectedRowKeys.length > 0">
|
|
|
+ <a-menu slot="overlay">
|
|
|
+ <a-menu-item key="1" @click="batchDel"><a-icon type="delete"/>删除</a-menu-item>
|
|
|
+ </a-menu>
|
|
|
+ <a-button style="margin-left: 8px"> 批量操作 <a-icon type="down" /></a-button>
|
|
|
+ </a-dropdown>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <!-- table区域-begin -->
|
|
|
+ <div>
|
|
|
+ <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
|
|
|
+ <i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>项
|
|
|
+ <a style="margin-left: 24px" @click="onClearSelected">清空</a>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <a-table
|
|
|
+ ref="table"
|
|
|
+ size="middle"
|
|
|
+ :scroll="{x:true}"
|
|
|
+ bordered
|
|
|
+ rowKey="id"
|
|
|
+ :columns="columns"
|
|
|
+ :dataSource="dataSource"
|
|
|
+ :pagination="ipagination"
|
|
|
+ :loading="loading"
|
|
|
+ :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
|
|
|
+ class="j-table-force-nowrap"
|
|
|
+ @change="handleTableChange">
|
|
|
+
|
|
|
+ <template slot="htmlSlot" slot-scope="text">
|
|
|
+ <div v-html="text"></div>
|
|
|
+ </template>
|
|
|
+ <template slot="imgSlot" slot-scope="text,record">
|
|
|
+ <span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span>
|
|
|
+ <img v-else :src="getImgView(text)" :preview="record.id" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/>
|
|
|
+ </template>
|
|
|
+ <template slot="fileSlot" slot-scope="text">
|
|
|
+ <span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>
|
|
|
+ <a-button
|
|
|
+ v-else
|
|
|
+ :ghost="true"
|
|
|
+ type="primary"
|
|
|
+ icon="download"
|
|
|
+ size="small"
|
|
|
+ @click="downloadFile(text)">
|
|
|
+ 下载
|
|
|
+ </a-button>
|
|
|
+ </template>
|
|
|
+
|
|
|
+ <span slot="action" slot-scope="text, record">
|
|
|
+ <a @click="handleEdit(record)">编辑</a>
|
|
|
+
|
|
|
+ <a-divider type="vertical" />
|
|
|
+ <a-dropdown>
|
|
|
+ <a class="ant-dropdown-link">更多 <a-icon type="down" /></a>
|
|
|
+ <a-menu slot="overlay">
|
|
|
+ <a-menu-item>
|
|
|
+ <a @click="handleDetail(record)">详情</a>
|
|
|
+ </a-menu-item>
|
|
|
+ <a-menu-item>
|
|
|
+ <a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
|
|
|
+ <a>删除</a>
|
|
|
+ </a-popconfirm>
|
|
|
+ </a-menu-item>
|
|
|
+ </a-menu>
|
|
|
+ </a-dropdown>
|
|
|
+ </span>
|
|
|
+
|
|
|
+ </a-table>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <operation-modal ref="modalForm" @ok="modalFormOk"></operation-modal>
|
|
|
+ </a-card>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+
|
|
|
+ import '@/assets/less/TableExpand.less'
|
|
|
+ import { mixinDevice } from '@/utils/mixin'
|
|
|
+ import { JeecgListMixin } from '@/mixins/JeecgListMixin'
|
|
|
+ import OperationModal from './modules/OperationModal'
|
|
|
+
|
|
|
+ export default {
|
|
|
+ name: 'OperationList',
|
|
|
+ mixins:[JeecgListMixin, mixinDevice],
|
|
|
+ components: {
|
|
|
+ OperationModal
|
|
|
+ },
|
|
|
+ data () {
|
|
|
+ return {
|
|
|
+ description: 'operation管理页面',
|
|
|
+ // 表头
|
|
|
+ columns: [
|
|
|
+ {
|
|
|
+ title: '#',
|
|
|
+ dataIndex: '',
|
|
|
+ key:'rowIndex',
|
|
|
+ width:60,
|
|
|
+ align:"center",
|
|
|
+ customRender:function (t,r,index) {
|
|
|
+ return parseInt(index)+1;
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'结算单据号;',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'hisid'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'就诊类型;1 住院 、2 门诊',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'treatmentType'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'手术编号;手术编号,外部系统唯一主键',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'operationNo'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'手术编码;患者住院期间实施的手术/操作在特定编码体系中的代码,参照手术/操作的分类代码ICD9-CM',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'operationCode'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'个人编号',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'patientId'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'患者姓名',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'patientName'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'患者性别',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'patientGender'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'操作名称;患者住院期间实施的手术/操作名称',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'operationName'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'手术开始时间;格式为yyyy-MM-dd HH:mm:ss',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'operationStartTime',
|
|
|
+ customRender:function (text) {
|
|
|
+ return !text?"":(text.length>10?text.substr(0,10):text)
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'手术结束时间;格式为yyyy-MM-dd HH:mm:ss',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'operationEndTime',
|
|
|
+ customRender:function (text) {
|
|
|
+ return !text?"":(text.length>10?text.substr(0,10):text)
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'手术医生编号',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'operationDocNo'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'手术医生姓名',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'operationDocName'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'手术科室编号',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'operationDeptNo'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'手术科室名称',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'operationDeptName'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'手术来源;0 本院手术 1 非本院手术',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'operationSource'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'手术医嘱时间;手术医嘱时间,手术医嘱创建时间,格式为yyyy-MM-dd HH:mm:ss',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'operationOrderTime',
|
|
|
+ customRender:function (text) {
|
|
|
+ return !text?"":(text.length>10?text.substr(0,10):text)
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'手术室编号',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'operationRoomNo'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'手术部位代码;参照CV5201.23 手术/操作体表部位代码',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'operationSiteCode'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'术前诊断编码',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'operationDiagCode'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'术前诊断名称',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'operationDiagName'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'术后诊断编码',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'sufDiagCode'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'术后诊断名称',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'sufDiagName'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'手术类型;1 一般 2 抢救 3 术中及抢救 9 其他 默认一般',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'operationType'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'手术等级',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'operationLevel'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'是否二次手术;0:否1:是',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'reoperation'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'切口愈合等级代码;参照CV5501.14 手术切口愈合等级代码',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'incisionHealingCode'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'手术切口类型;值:Ⅰ,Ⅱ,Ⅲ,Ⅳ',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'incisionType'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'是否有植入物;0 否 1 是,只能填入0或者1',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'isImplant'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'植入物标识',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'implantNo'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'植入物名称',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'implantName'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'手术一助唯一编号',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'firstDocNo'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'手术一助姓名',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'firstDocName'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'手术二助唯一编号',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'secondDocNo'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'手术二助姓名',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'secondDocName'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'手术三助唯一编号',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'thirdDocNo'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'手术三助姓名',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'thirdDocName'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'指导医生编号',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'directDocNo'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'指导医生姓名',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'directDocName'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'麻醉方式名称',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'anesthesiaTypeName'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'麻醉医生编号',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'anesthesiaDocNo'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'麻醉医生姓名',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'anesthesiaDocName'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'麻醉开始时间;格式为yyyy-MM-dd HH:mm:ss',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'anesthesiaStartTime',
|
|
|
+ customRender:function (text) {
|
|
|
+ return !text?"":(text.length>10?text.substr(0,10):text)
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'麻醉结束时间;格式为yyyy-MM-dd HH:mm:ss',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'anesthesiaEndTime',
|
|
|
+ customRender:function (text) {
|
|
|
+ return !text?"":(text.length>10?text.substr(0,10):text)
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'术前抗菌药物给药时间;格式为yyyy-MM-dd HH:mm:ss',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'antibacterialTime',
|
|
|
+ customRender:function (text) {
|
|
|
+ return !text?"":(text.length>10?text.substr(0,10):text)
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'术前首次预防用药时机',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'premedicationTimePoint'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'术中给药情况;0:未追加1:已追加',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'intraoperativeDosing'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'手术费用',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'amount'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '操作',
|
|
|
+ dataIndex: 'action',
|
|
|
+ align:"center",
|
|
|
+ fixed:"right",
|
|
|
+ width:147,
|
|
|
+ scopedSlots: { customRender: 'action' }
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ url: {
|
|
|
+ list: "/medical/operation/list",
|
|
|
+ delete: "/medical/operation/delete",
|
|
|
+ deleteBatch: "/medical/operation/deleteBatch",
|
|
|
+ exportXlsUrl: "/medical/operation/exportXls",
|
|
|
+ importExcelUrl: "medical/operation/importExcel",
|
|
|
+
|
|
|
+ },
|
|
|
+ dictOptions:{},
|
|
|
+ superFieldList:[],
|
|
|
+ }
|
|
|
+ },
|
|
|
+ created() {
|
|
|
+ this.getSuperFieldList();
|
|
|
+ },
|
|
|
+ computed: {
|
|
|
+ importExcelUrl: function(){
|
|
|
+ return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
|
|
|
+ },
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ initDictConfig(){
|
|
|
+ },
|
|
|
+ getSuperFieldList(){
|
|
|
+ let fieldList=[];
|
|
|
+ fieldList.push({type:'string',value:'hisid',text:'结算单据号;'})
|
|
|
+ fieldList.push({type:'string',value:'treatmentType',text:'就诊类型;1 住院 、2 门诊'})
|
|
|
+ fieldList.push({type:'string',value:'operationNo',text:'手术编号;手术编号,外部系统唯一主键'})
|
|
|
+ fieldList.push({type:'string',value:'operationCode',text:'手术编码;患者住院期间实施的手术/操作在特定编码体系中的代码,参照手术/操作的分类代码ICD9-CM'})
|
|
|
+ fieldList.push({type:'string',value:'patientId',text:'个人编号'})
|
|
|
+ fieldList.push({type:'string',value:'patientName',text:'患者姓名'})
|
|
|
+ fieldList.push({type:'string',value:'patientGender',text:'患者性别'})
|
|
|
+ fieldList.push({type:'string',value:'operationName',text:'操作名称;患者住院期间实施的手术/操作名称'})
|
|
|
+ fieldList.push({type:'date',value:'operationStartTime',text:'手术开始时间;格式为yyyy-MM-dd HH:mm:ss'})
|
|
|
+ fieldList.push({type:'date',value:'operationEndTime',text:'手术结束时间;格式为yyyy-MM-dd HH:mm:ss'})
|
|
|
+ fieldList.push({type:'string',value:'operationDocNo',text:'手术医生编号'})
|
|
|
+ fieldList.push({type:'string',value:'operationDocName',text:'手术医生姓名'})
|
|
|
+ fieldList.push({type:'string',value:'operationDeptNo',text:'手术科室编号'})
|
|
|
+ fieldList.push({type:'string',value:'operationDeptName',text:'手术科室名称'})
|
|
|
+ fieldList.push({type:'int',value:'operationSource',text:'手术来源;0 本院手术 1 非本院手术'})
|
|
|
+ fieldList.push({type:'date',value:'operationOrderTime',text:'手术医嘱时间;手术医嘱时间,手术医嘱创建时间,格式为yyyy-MM-dd HH:mm:ss'})
|
|
|
+ fieldList.push({type:'string',value:'operationRoomNo',text:'手术室编号'})
|
|
|
+ fieldList.push({type:'string',value:'operationSiteCode',text:'手术部位代码;参照CV5201.23 手术/操作体表部位代码'})
|
|
|
+ fieldList.push({type:'string',value:'operationDiagCode',text:'术前诊断编码'})
|
|
|
+ fieldList.push({type:'string',value:'operationDiagName',text:'术前诊断名称'})
|
|
|
+ fieldList.push({type:'string',value:'sufDiagCode',text:'术后诊断编码'})
|
|
|
+ fieldList.push({type:'string',value:'sufDiagName',text:'术后诊断名称'})
|
|
|
+ fieldList.push({type:'int',value:'operationType',text:'手术类型;1 一般 2 抢救 3 术中及抢救 9 其他 默认一般'})
|
|
|
+ fieldList.push({type:'int',value:'operationLevel',text:'手术等级'})
|
|
|
+ fieldList.push({type:'int',value:'reoperation',text:'是否二次手术;0:否1:是'})
|
|
|
+ fieldList.push({type:'string',value:'incisionHealingCode',text:'切口愈合等级代码;参照CV5501.14 手术切口愈合等级代码'})
|
|
|
+ fieldList.push({type:'string',value:'incisionType',text:'手术切口类型;值:Ⅰ,Ⅱ,Ⅲ,Ⅳ'})
|
|
|
+ fieldList.push({type:'int',value:'isImplant',text:'是否有植入物;0 否 1 是,只能填入0或者1'})
|
|
|
+ fieldList.push({type:'string',value:'implantNo',text:'植入物标识'})
|
|
|
+ fieldList.push({type:'string',value:'implantName',text:'植入物名称'})
|
|
|
+ fieldList.push({type:'string',value:'firstDocNo',text:'手术一助唯一编号'})
|
|
|
+ fieldList.push({type:'string',value:'firstDocName',text:'手术一助姓名'})
|
|
|
+ fieldList.push({type:'string',value:'secondDocNo',text:'手术二助唯一编号'})
|
|
|
+ fieldList.push({type:'string',value:'secondDocName',text:'手术二助姓名'})
|
|
|
+ fieldList.push({type:'string',value:'thirdDocNo',text:'手术三助唯一编号'})
|
|
|
+ fieldList.push({type:'string',value:'thirdDocName',text:'手术三助姓名'})
|
|
|
+ fieldList.push({type:'string',value:'directDocNo',text:'指导医生编号'})
|
|
|
+ fieldList.push({type:'string',value:'directDocName',text:'指导医生姓名'})
|
|
|
+ fieldList.push({type:'string',value:'anesthesiaTypeName',text:'麻醉方式名称'})
|
|
|
+ fieldList.push({type:'string',value:'anesthesiaDocNo',text:'麻醉医生编号'})
|
|
|
+ fieldList.push({type:'string',value:'anesthesiaDocName',text:'麻醉医生姓名'})
|
|
|
+ fieldList.push({type:'date',value:'anesthesiaStartTime',text:'麻醉开始时间;格式为yyyy-MM-dd HH:mm:ss'})
|
|
|
+ fieldList.push({type:'date',value:'anesthesiaEndTime',text:'麻醉结束时间;格式为yyyy-MM-dd HH:mm:ss'})
|
|
|
+ fieldList.push({type:'date',value:'antibacterialTime',text:'术前抗菌药物给药时间;格式为yyyy-MM-dd HH:mm:ss'})
|
|
|
+ fieldList.push({type:'int',value:'premedicationTimePoint',text:'术前首次预防用药时机'})
|
|
|
+ fieldList.push({type:'int',value:'intraoperativeDosing',text:'术中给药情况;0:未追加1:已追加'})
|
|
|
+ fieldList.push({type:'number',value:'amount',text:'手术费用'})
|
|
|
+ this.superFieldList = fieldList
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+</script>
|
|
|
+<style scoped>
|
|
|
+ @import '~@assets/less/common.less';
|
|
|
+</style>
|