+
{{
scope.row.isAudit == "Y"
? "已审核"
: dddw(
- dict.completeFlag,
- "id",
- scope.row.completeFlag,
- "displayName"
- )
+ dict.completeFlag,
+ "id",
+ scope.row.completeFlag,
+ "displayName"
+ )
}}
@@ -49,26 +83,37 @@
}}
-
+
-
+
-
+
{{ scope.row[dragCol[index].prop] == "Y" ? "是" : "否" }}
-
+
{{
scope.row.customerOrgParentName
? scope.row.customerOrgParentName
@@ -86,10 +131,12 @@
}}
-
+
{{
dddw(
dict.medicalPackage,
@@ -99,10 +146,12 @@
)
}}
-
+
{{
dddw(
dict.customerOrgGroupAll,
@@ -127,8 +176,8 @@
{{
scope.row[dragCol[index].prop]
? moment(scope.row[dragCol[index].prop]).format(
- "yyyy-MM-DD"
- )
+ "yyyy-MM-DD"
+ )
: ""
}}
@@ -168,7 +217,7 @@
{{
scope.row[dragCol[index].prop] ==
- scope.row["customerOrgParentName"]
+ scope.row["customerOrgParentName"]
? ""
: scope.row[dragCol[index].prop]
}}
@@ -210,10 +259,12 @@
- 共:{{ loadOpts.totalCount }} 条记录,当前显示:{{
- tableData.length
- }}
- 条。
+ 共:{{ loadOpts.totalCount }} 条记录,当前显示:{{
+ tableData.length
+ }}
+ 条。
@@ -226,23 +277,53 @@
-
-
导入青藏数据
+
+ 导入青藏数据
- 人员登记
+ 人员登记
-
-
批量正式登记
+
+ 批量正式登记
-
-
批量转预登记
+
+ 批量转预登记
- 编辑
+ 编辑
- 删除
+ 删除
-
-
批量调整分组
+
+ 批量调整分组
-
-
批量调整项目
+
+ 批量调整项目
-
-
指引单打印
+
+ 指引单打印
-
-
指引单预览
+
+ 指引单预览
-
-
人员检验检查条码
+
+ 人员检验检查条码
-
-
+
+
人员信息导出
- 设计列排序
+ 设计列排序
-
+ -->
-
+
-
+
-
+
{{
@@ -320,90 +461,183 @@
-
+
-
+
-
+
-
+
-
-
+
+
-
+
-
+
-
+
-
-
+
+
-
+
-
+
@@ -441,7 +675,7 @@ import PatientRegisterEditDoctorBatch from "./PatientRegisterEditDoctorBatch.vue
import ImportOrgData from "./ImportOrgData.vue";
import LocalConfig from "../../components/common/LocalConfig.vue";
import Queue from "../../components/queue/Queue.vue";
-
+import { UTable, UTableColumn } from 'umy-ui';
export default {
components: {
PatientRegisterEdit,
@@ -455,6 +689,8 @@ export default {
ImportOrgData,
Queue,
DownloadExcel: JsonExcel,
+ UTable,
+ UTableColumn
},
data() {
return {
@@ -620,7 +856,7 @@ export default {
},
},
LocalConfigInit: {},
- tableName: ""//导出人员列表表名
+ tableName:""//导出人员列表表名
};
},
@@ -1300,7 +1536,7 @@ export default {
if (
this.loadOpts.skipCount != 0 &&
this.loadOpts.skipCount * this.loadOpts.maxResultCount >=
- this.loadOpts.totalCount
+ this.loadOpts.totalCount
)
return;
// console.log('getPrList', this.loadOpts)
@@ -1463,17 +1699,8 @@ export default {
this.tableData = [];
}
}
- if (curLoad.length > 0) {
- if (this.patientRegister.query.isSeries == "Y") {
- // 已存在原来的数据中,则不再加载
- let lfind = arrayExistObj(this.tableData, 'id', curLoad[0].id)
- if (lfind == -1) this.tableData = this.tableData.concat(curLoad)
-
- } else {
- this.tableData = this.tableData.concat(curLoad);
- }
- }
+ this.tableData = this.tableData.concat(curLoad);
// else {
// // 懒加载 ,原数据集不用清空
// oldCount = this.tableData.length
@@ -1496,7 +1723,7 @@ export default {
if (scroll.judgeFlse) {
if (
(Number(this.loadOpts.skipCount) + 1) *
- Number(this.loadOpts.maxResultCount) >=
+ Number(this.loadOpts.maxResultCount) >=
Number(this.loadOpts.totalCount)
) {
return;
@@ -2121,7 +2348,8 @@ export default {
this.jsonFields[e.label] = e.prop;
});
let tableDatas=deepCopy(this.tableData)
- tableDatas.forEach(e=>{
+ tableDatas.forEach((e,index)=>{
+ if(index)e.sn=index+1
if(e.completeFlag)e.completeFlag=e.isAudit == "Y"? "已审核": dddw(this.dict.completeFlag,"id",e.completeFlag,"displayName")
if(e.guidePrintTimes)e.guidePrintTimes=e.guidePrintTimes > 0?'打印':''
if(e.isLock)e.isLock=e.isLock=='Y'?'锁住':''
@@ -2131,23 +2359,23 @@ export default {
}else if(e.medicalPackageId !== this.dict.personOrgId &&e.customerOrgId !== this.dict.personOrgId){
e.groupPack=dddw(this.dict.customerOrgGroupAll,"id",e.customerOrgGroupId,"displayName")
}
- if (e.nationId) e.nationId = dddw(this.dict.nation, "id", e.nationId, "displayName")
- if (e.idNo) e.idNo = e.idNo + '&'
- if (e.birthDate) e.birthDate = moment(e.birthDate).format("yyyy-MM-DD")
- if (e.maritalStatusId) e.maritalStatusId = dddw(this.dict.maritalStatus, "id", e.maritalStatusId, "displayName")
- if (e.medicalTypeId) e.medicalTypeId = dddw(this.dict.medicalType, "id", e.medicalTypeId, "displayName")
- if (e.personnelTypeId) e.personnelTypeId = dddw(this.dict.personnelType, "id", e.personnelTypeId, "displayName")
- if (e.isVip) e.isVip = e.isVip == "Y" ? "是" : "否"
- if (e.isUpload) e.isUpload = e.isUpload == "Y" ? "是" : "否"
- if (e.qztlType) e.qztlType = dddw(this.dict.qztlType, "id", e.qztlType, "displayName")
- if (e.qztlIsMain) e.qztlIsMain = e.qztlIsMain == "Y" ? "是" : "否"
- if (e.qztlIsCy) e.qztlIsCy = e.qztlIsCy == "Y" ? "是" : "否"
- if (e.qztlIsCw) e.qztlIsCw = e.qztlIsCw == "Y" ? "是" : "否"
- if (e.qztlIsGt) e.qztlIsGt = e.qztlIsGt == "Y" ? "是" : "否"
- if (e.qztlIsWh) e.qztlIsWh = e.qztlIsWh == "Y" ? "是" : "否"
- if (e.qztlIsFj) e.qztlIsFj = e.qztlIsFj == "Y" ? "是" : "否"
+ if(e.nationId)e.nationId=dddw(this.dict.nation,"id",e.nationId,"displayName")
+ if(e.idNo)e.idNo=e.idNo+'&'
+ if(e.birthDate)e.birthDate=moment(e.birthDate).format("yyyy-MM-DD")
+ if(e.maritalStatusId)e.maritalStatusId=dddw(this.dict.maritalStatus,"id",e.maritalStatusId,"displayName")
+ if(e.medicalTypeId)e.medicalTypeId=dddw(this.dict.medicalType,"id",e.medicalTypeId,"displayName")
+ if(e.personnelTypeId)e.personnelTypeId=dddw(this.dict.personnelType,"id",e.personnelTypeId,"displayName")
+ if(e.isVip)e.isVip=e.isVip == "Y" ? "是" : "否"
+ if(e.isUpload)e.isUpload=e.isUpload == "Y" ? "是" : "否"
+ if(e.qztlType)e.qztlType=dddw(this.dict.qztlType,"id",e.qztlType,"displayName")
+ if(e.qztlIsMain)e.qztlIsMain=e.qztlIsMain == "Y" ? "是" : "否"
+ if(e.qztlIsCy)e.qztlIsCy=e.qztlIsCy == "Y" ? "是" : "否"
+ if(e.qztlIsCw)e.qztlIsCw=e.qztlIsCw == "Y" ? "是" : "否"
+ if(e.qztlIsGt)e.qztlIsGt=e.qztlIsGt == "Y" ? "是" : "否"
+ if(e.qztlIsWh)e.qztlIsWh=e.qztlIsWh == "Y" ? "是" : "否"
+ if(e.qztlIsFj)e.qztlIsFj=e.qztlIsFj == "Y" ? "是" : "否"
})
- this.tableName = '人员登记列表' + moment(new Date()).format('yyyyMMDDHHmmss') + '.xls'
+ this.tableName='人员登记列表'+moment(new Date()).format('yyyyMMDDHHmmss')+'.xls'
return tableDatas;
// const columns = this.$refs.info.getColumns(); // 获取列信息
// const data = this.$refs.info.getData(); // 获取数据
diff --git a/src/main.js b/src/main.js
index e6af2c6..27f0171 100644
--- a/src/main.js
+++ b/src/main.js
@@ -3,20 +3,17 @@ import App from "./App.vue";
import router from "./router";
import store from "./store";
import ElementUI from "element-ui";
-import "element-ui/lib/theme-chalk/index.css";
import axios from "axios";
import JsonExcel from "vue-json-excel"; //vue全局导入导出excel
import Print from "vue-print-nb";
import Meta from 'vue-meta'
import Contextmenu from 'vue-contextmenujs' //'vue-contextmenu'
import "./assets/css/global_font.css";
-import UmyUi from 'umy-ui'
-//import 'umy-ui/lib/theme-chalk/index.css'; // 引入样式
-
+import 'umy-ui/lib/theme-chalk/index.css'; // 引入样式
+import "element-ui/lib/theme-chalk/index.css";
-Vue.use(UmyUi);
Vue.use(Contextmenu);
Vue.use(Meta);
Vue.use(ElementUI);