pengjun 2 years ago
parent
commit
1cebafe004
  1. 2
      public/sysConfig.json
  2. 6
      src/components/doctorCheck/RegisterCheckEdit.vue
  3. 362
      src/components/patientRegister/PatientLis.vue
  4. 120
      src/components/patientRegister/PatientLisRequest.vue
  5. 45
      src/components/patientRegister/PatientRegisterEdit.vue
  6. 6
      src/components/sumDoctorCheck/SumPREdit.vue
  7. 3
      src/store/index.js
  8. 2
      src/views/Home.vue

2
public/sysConfig.json

@ -1,3 +1,3 @@
{
"apiurl": "http://140.143.162.39:9529"
"apiurl": "http://10.1.12.140:9529"
}

6
src/components/doctorCheck/RegisterCheckEdit.vue

@ -5,7 +5,7 @@
<span class="query">检查医生</span>
<el-select v-model="doctorCheck.RegisterCheckEdit.checkDoctorId" filterable clearable placeholder="请选择"
style="width: 80px" size="small">
<el-option v-for="item in users" :key="item.id" :label="item.userName" :value="item.id" />
<el-option v-for="item in users" :key="item.id" :label="item.surname" :value="item.id" />
</el-select>
</div>
<div>
@ -63,9 +63,9 @@ export default {
methods: {
//
dictInit() {
getapi('/api/identity/users/getlist')
getapi('/api/identity/users/getlist?SkipCount=0&MaxResultCount=1000')
.then(res => {
if (res.code != -1) {
if (res.code > -1) {
this.users = res.data.items
}
})

362
src/components/patientRegister/PatientLis.vue

@ -2,12 +2,12 @@
<div>
<!--组件主体-->
<div style="display: flex">
<div :style="'width:' + (window.pageWidth - 200 - 145) + 'px;'">
<div :style="'width:' + (window.pageWidth - 200 - 35) + 'px;'">
<div>
<el-table @body-scrolling="load" :data="tableData" border highlight-current-row
:height="window.pageHeight < 600 ? 238 : Math.floor((window.pageHeight - 243) * 2 / 3)" @row-click="rowClick"
size="small" row-key="id" @selection-change="handleSelectionChange" ref="info" id="info"
:row-class-name="handleRowClassName">
<el-table @body-scrolling="load" :data="tableData" border
:height="window.pageHeight < 600 ? 210 : Math.floor(((window.pageHeight - 250) * 3) / 5)"
highlight-current-row @row-click="rowClick" size="small" row-key="id"
@selection-change="handleSelectionChange" ref="info" id="info" :row-class-name="handleRowClassName">
<!-- 取消勾选改为选中
<el-table-column type="selection" width="40" show-overflow-tooltip/>
:height="window.pageHeight < 600 ? 202 : Math.floor(((window.pageHeight - 302) * 2) / 3)"
@ -108,47 +108,11 @@
<!-- 给合项目 基本信息 -->
<el-tabs v-model="tabChoosed" style="margin-top: -22px;">
<!-- 给合项目 -->
<el-tab-pane label="预览" name="1">
<embed :src="lisLabel" type="application/pdf" width="100%" :style="`margin-top: ${-LocalConfig.lisLabel.MarginTop}px;`"
:height="(window.pageHeight < 600 ? 119 : Math.floor((window.pageHeight - 243) / 3)) + Number(LocalConfig.lisLabel.MarginTop)" />
<el-tab-pane label="检验条码" name="1">
<PatientLisRequest />
</el-tab-pane>
</el-tabs>
</div>
<div style="margin-left: 5px;">
<div v-show="checkPagePriv(pagePriv.privs, '全选')" class="listBtn">
<el-button type="success" class="commonbutton" @click="btnChooseAll(1)">全选</el-button>
</div>
<div v-show="checkPagePriv(pagePriv.privs, '取消全选')" class="listBtn">
<el-button type="success" class="commonbutton" @click="btnChooseAll(0)">取消全选</el-button>
</div>
<div v-show="checkPagePriv(pagePriv.privs, '预览设置')" class="listBtn">
<el-button type="primary" class="commonbutton" @click="btnPrintPre">预览设置</el-button>
</div>
<div v-show="checkPagePriv(pagePriv.privs, '打印')" class="listBtn">
<el-button type="danger" class="commonbutton" @click="btnPrint">打印</el-button>
</div>
<div v-show="checkPagePriv(pagePriv.privs, '发送申请')" class="listBtn">
<el-button type="" class="commonbutton" @click="btnSendLis">发送申请</el-button>
</div>
<div v-show="checkPagePriv(pagePriv.privs, '撤消申请')" class="listBtn">
<el-button type="" class="commonbutton" @click="btnUndoLis">撤消申请</el-button>
</div>
<div style="margin-top: 5px;">
<el-image style="width: 110px; height: 115px;" :src="peoplePhoto">
<div slot="placeholder" class="image-slot">
加载中<span class="dot">...</span>
</div>
</el-image>
</div>
</div>
</div>
<!--组件弹窗-->
<div>
<!-- 通用进度条 -->
<el-dialog title="数据处理中……" :visible.sync="elProgress.display" width="600px" height="400" :show-close="false"
:close-on-click-modal="false" :append-to-body="true">
<ElProgressOCX />
</el-dialog>
</div>
</div>
</template>
@ -156,10 +120,9 @@
import moment from "moment";
import { mapState, mapActions } from "vuex";
import { getapi, postapi, putapi, deletapi } from "@/api/api";
import { photoParse } from "../../utlis/proApi"
import Sortable from "sortablejs";
import FileSaver from 'file-saver';
import html2canvas from 'html2canvas';
import {
getPagePriv, checkPagePriv,
@ -168,13 +131,11 @@ import {
} from "../../utlis/proFunc";
import ElProgressOCX from "../../components/report/ElProgressOCX.vue";
import PatientLisRequest from "./PatientLisRequest.vue";
export default {
components: {
ElProgressOCX,
PatientLisRequest,
},
data() {
return {
@ -192,6 +153,7 @@ export default {
multipleSelection: [], //
tabChoosed: "1",
rClickRow: null, //
rClickColumn: null, //
@ -208,14 +170,7 @@ export default {
{ label: "姓名", prop: "patientName", minWidth: 80, align: "center" },
{ label: "性别", prop: "sexId", minWidth: 55, align: "center" },
{ label: "年龄", prop: "age", minWidth: 55, align: "center" },
{ label: "颜色", prop: "lisrequest", minWidth: 120, align: "center" },
{ label: "容器", prop: "lisrequest", minWidth: 120, align: "center" },
{ label: "项目分组", prop: "lisrequest", minWidth: 120, align: "center" },
{ label: "申请项目", prop: "lisrequest", minWidth: 120, align: "center" },
{ label: "检验码号", prop: "lisrequest", minWidth: 120, align: "center" },
{ label: "人员条码号", prop: "patientRegisterNo", minWidth: 150, align: "center" },
{ label: "条码号", prop: "patientRegisterNo", minWidth: 150, align: "center" },
{ label: "档案号", prop: "patientNo", minWidth: 100, align: "center" },
{ label: "体检次数", prop: "medicalTimes", minWidth: 80, align: "center" },
{ label: "分组/套餐", prop: "groupPack", minWidth: 150, align: "center" },
@ -248,17 +203,6 @@ export default {
maxResultCount: 100,
},
loadOptsInit: {},
oneClick: 0, // 1
DbClick: 0, // 1
printPre: 0,
lisLabel: '', // data:application/pdf;base64,
LocalConfig: {
lisLabel: {
MarginTop: 56, // px
}
}
};
},
@ -268,17 +212,10 @@ export default {
if (userPriv) this.pagePriv.privs = deepCopy(getPagePriv(this.pagePriv.routeUrlorPageName))
this.loadOptsInit = Object.assign({}, this.loadOpts)
let LocalConfig = window.localStorage.getItem("LocalConfig") || null
try {
this.LocalConfig = JSON.parse(LocalConfig) || this.LocalConfig
} catch (error) {
console.log('window.localStorage.getItem("LocalConfig")', error)
}
},
//
mounted() {
//
this.headerCols = deepCopy(this.dropCol)
this.dropCol = this.columnDrop(this.dropCol);
@ -297,18 +234,6 @@ export default {
"patientRegister",
"customerOrg",
]),
//
peoplePhoto() {
return photoParse(this.tableDataCurrentRow.photo)
},
//
tableHeight() {
let fixHeight = this.window.pageHeight < 600 ? 600 : this.window.pageHeight
return Math.floor((fixHeight - 243) * 2 / 3)
}
},
methods: {
moment, dddw, deepCopy, checkPagePriv,
@ -325,26 +250,6 @@ export default {
}
},
//
btnChooseAll(type) {
if (type == 1) {
//
this.tableData.forEach(e => {
e.choosed = true;
e.highLightBg = "selected";
});
this.multipleSelection = deepCopy(this.tableData)
} else {
this.tableData.forEach(e => {
e.choosed = false;
e.highLightBg = "";
});
this.multipleSelection = []
this.$refs['info'].setCurrentRow();
}
},
//
rowSelected(rows) {
rows.forEach((e) => {
@ -356,8 +261,6 @@ export default {
setData(this, item, v)
},
handleSelectionChange(rows) {
//this.multipleSelection = rows;
//console.log('this.multipleSelection',this.multipleSelection)
@ -376,89 +279,8 @@ export default {
//
rowClick(row) {
/*
if (this.oneClick == 0) {
this.oneClick = 1;
} else {
this.DbClick = 1;
}
//
if (this.DbClick == 1) { //id
this.rowClickRetrieve(row)
return;
}
setTimeout(() => { //300ms
if (this.oneClick == 1 && this.DbClick == 0) this.rowClickRetrieve(row)
}, 300)
*/
this.rowClickRetrieve(row)
},
rowClickRetrieve(row) {
this.oneClick = 0;
this.DbClick = 0;
// shift
if (this.window.shift) {
//
this.tableData.forEach((e, index) => {
e.choosed = false;
e.index = index;
});
if (this.startPoint == -1) {
this.tableData[row.index].choosed = true;
this.startPoint = row.index;
} else {
if (this.startPoint > row.index) {
for (let i = row.index; i <= this.startPoint; i++) {
this.tableData[i].choosed = true;
}
} else if (this.startPoint <= row.index) {
for (let i = this.startPoint; i <= row.index; i++) {
this.tableData[i].choosed = true;
}
}
}
} else if (this.window.ctrl) { // ctrl
this.tableData[row.index].choosed = true;
if (this.startPoint == -1) {
this.startPoint = row.index;
}
} else {
// ctrl shift
//
console.log("清除所有选择");
this.tableData.forEach((e, index) => {
e.choosed = false;
e.index = index;
});
console.log(this.tableData, row.index);
console.log(this.tableData[row.index].choosed);
this.tableData[row.index].choosed = true;
this.startPoint = row.index;
}
//
console.log('row.index <= this.startPoint', row.index, this.startPoint)
let lfind = -1
for (let i = 0; i < this.tableData.length; i++) {
if (this.tableData[i].choosed) {
lfind = i
break
}
}
if (lfind > -1) {
//
this.dataTransOpts.tableS.patient_register.id = this.tableData[lfind].id
this.tableDataCurrentRow = deepCopy(this.tableData[lfind])
//
if (this.$peisAPI) this.lisPrint(this.dataTransOpts.tableS.patient_register.id, "0002", "Y", "Y")
}
this.dataTransOpts.tableS.patient_register = deepCopy(row)
this.dataTransOpts.refresh.lis_request.M++ //
},
//
@ -468,7 +290,7 @@ export default {
this.tableDataCurrentRow = {} //
this.tableData = []
setTimeout(() => {
this.dataTransOpts.refresh.register_check_asbitem.M++ //
this.dataTransOpts.refresh.lis_request.M++ //
}, 10);
this.loadOpts = Object.assign(this.loadOpts, this.loadOptsInit)
@ -481,7 +303,6 @@ export default {
await this.getPrList()
},
//
async getPrList() {
@ -524,12 +345,8 @@ export default {
this.patientRegister.query.startDate &&
this.patientRegister.query.endDate
) {
body.startDate = moment(this.patientRegister.query.startDate).format(
"yyyy-MM-DD"
);
body.endDate = moment(this.patientRegister.query.endDate).format(
"yyyy-MM-DD"
);
body.startDate = moment(this.patientRegister.query.startDate).format("yyyy-MM-DD");
body.endDate = moment(this.patientRegister.query.endDate).format("yyyy-MM-DD");
if (body.startDate > body.endDate) {
this.$message.warning({ showClose: true, message: "起始日期不能大于截止日期,数据校验不通过!" });
return;
@ -550,11 +367,11 @@ export default {
patientRegisterNo: this.patientRegister.query.patientRegisterNo,
};
console.log("/api/app/LisRequest/GetListInFilter", body);
// /api/app/patientregister/getlistinfilter
console.log("/api/app/patientregister/getlistinfilter", body);
postapi("/api/app/patientregister/getlistinfilter", body)
.then(res => {
if (res.code != -1) {
if (res.code > -1) {
//
this.loadOpts.totalCount = res.data.totalCount
let curLoad = res.data.items
@ -602,28 +419,6 @@ export default {
})
},
//
btnPrintPre() {
},
//
btnPrint() {
},
//
btnSendLis() {
console.log('btnSendLis')
},
//
btnUndoLis() {
console.log('btnUndoLis')
},
//
async lisRequest(prId) {
let isPrintLisRequest = false;
@ -645,7 +440,6 @@ export default {
return;
}
if (res.code > -1) {
// this.$message.info("");
isPrintLisRequest = true;
}
@ -673,7 +467,7 @@ export default {
},
//
lisPrint(prId, ReportCode, isPreview, IsUploadPdf) {
lisPrint(prId, ReportCode, isPreview) {
if (!this.$peisAPI) {
this.$message.info({ showClose: true, message: "此功能,需要在壳客户端才可运行!" });
return;
@ -685,7 +479,7 @@ export default {
ReportCode,
token,
isBuildImage: 'N',
IsUploadPdf,
IsUploadPdf: 'N',
preViewCanPrint: "N",
Parameters: [
{ Name: "printer", Value: user },
@ -695,13 +489,29 @@ export default {
};
if (isPreview) {
/*
postapi(
`/api/app/printreport/getlisrequestreport?PatientRegisterId=${prId}`
)
.then((res) => {
if (res.code != -1) {
toOutShell.ReportTable = { lisRequest: res.data };
console.log(
"JSON.stringify(toOutShell)",
JSON.stringify(toOutShell)
);
return this.$peisAPI.printPre(JSON.stringify(toOutShell));
}
})
.catch((err) => {
this.$message.warning(err);
});
*/
this.$peisAPI.printPre(JSON.stringify(toOutShell))
.then(res => {
let lres = JSON.parse(res)
if (lres.code < 0) {
console.log('this.$peisAPI.printPre', res)
if (JSON.parse(res).code < 0) {
this.$message.warning({ showClose: true, message: JSON.parse(res).message });
} else if (IsUploadPdf == 'Y') {
this.lisLabel = 'data:application/pdf;base64,' + lres.data
}
})
.catch((err) => {
@ -710,7 +520,39 @@ export default {
});
} else {
/*
postapi(
`/api/app/printreport/getlisrequestreport?PatientRegisterId=${prId}`
)
.then((res) => {
if (res.code != -1) {
toOutShell.ReportTable = { lisRequest: res.data };
console.log(
"JSON.stringify(toOutShell)",
JSON.stringify(toOutShell)
);
return this.$peisAPI.print(JSON.stringify(toOutShell));
}
})
.then((res) => {
//console.log("res", res);
if (JSON.parse(res).code >= 0) {
// /api/app/lisrequest/updatelisrequestisprint
// {
// "operateType": 0, 1.PatientRegisterId 2.LisRequestId
// "patientRegisterId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
// "lisRequestId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
// }
return postapi("/api/app/lisrequest/updatelisrequestisprint", {
operateType: 1,
patientRegisterId: prId,
});
}
})
.catch((err) => {
this.$message.warning(err);
});
*/
this.$peisAPI.print(JSON.stringify(toOutShell))
.then(res => {
if (JSON.parse(res).code < 0) {
@ -737,7 +579,7 @@ export default {
//pacs
pacsPrint(prId, ReportCode, isPreview) {
if (!this.$peisAPI) {
this.$message.info("此功能,需要在壳客户端才可运行!");
this.$message.info({ showClose: true, message: "此功能,需要在壳客户端才可运行!" });
return;
}
let token = window.sessionStorage.getItem("token");
@ -756,6 +598,24 @@ export default {
};
if (isPreview) {
/*
postapi(
`/api/app/printreport/getpacsnoreport?PatientRegisterId=${prId}`
)
.then((res) => {
if (res.code != -1) {
toOutShell.ReportTable = { lisRequest: res.data };
console.log(
"JSON.stringify(toOutShell)",
JSON.stringify(toOutShell)
);
return this.$peisAPI.printPre(JSON.stringify(toOutShell));
}
})
.catch((err) => {
this.$message.warning(err);
});
*/
this.$peisAPI.printPre(JSON.stringify(toOutShell))
.then(res => {
if (JSON.parse(res).code < 0) {
@ -767,6 +627,38 @@ export default {
this.$message.warning({ showClose: true, message: `${err}` });
});
} else {
/*
postapi(
`/api/app/printreport/getpacsnoreport?PatientRegisterId=${prId}`
)
.then((res) => {
if (res.code != -1) {
toOutShell.ReportTable = { lisRequest: res.data };
console.log(
"JSON.stringify(toOutShell)",
JSON.stringify(toOutShell)
);
return this.$peisAPI.print(JSON.stringify(toOutShell));
}
})
.then((res) => {
if (JSON.parse(res).code >= 0) {
// /api/app/lisrequest/updatelisrequestisprint
// {
// "operateType": 0, 1.PatientRegisterId 2.LisRequestId
// "patientRegisterId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
// "lisRequestId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
// }
return postapi("/api/app/lisrequest/updatelisrequestisprint", {
operateType: 1,
patientRegisterId: prId,
});
}
})
.catch((err) => {
this.$message.warning(err);
});
*/
this.$peisAPI.print(JSON.stringify(toOutShell))
.then(res => {
if (JSON.parse(res).code < 0) {

120
src/components/patientRegister/PatientLisRequest.vue

@ -0,0 +1,120 @@
<template>
<div>
<el-table :data="dataTransOpts.tableM.lis_request" border
:height="window.pageHeight < 600 ? 140 : Math.floor((window.pageHeight - 250) *2/ 5)" size="small"
highlight-current-row >
<el-table-column label="序号" width="50" align="center">
<template slot-scope="scope">
<div>
{{ scope.$index + 1 }}
</div>
</template>
</el-table-column>
<el-table-column prop="asbitemName" label="已选组合项目" width="120" />
<el-table-column prop="standardPrice" label="标准价" align="center" />
<el-table-column prop="discount" label="折扣" align="center" />
<el-table-column prop="amount" label="数量" width="50" align="center" />
<el-table-column prop="chargePrice" label="价格" align="center" />
<el-table-column prop="payTypeFlag" label="支付方式" align="center">
<template slot-scope="scope">
<div>{{ dddw(dict.payType, "id", scope.row.payTypeFlag, "displayName") }}</div>
</template>
</el-table-column>
<el-table-column prop="isCharge" label="收费" min-width="50" align="center">
<template slot-scope="scope">
<el-checkbox :value="scope.row.isCharge == 'Y'" align="center" />
</template>
</el-table-column>
<el-table-column prop="checkCompleteFlag" label="状态" min-width="50" align="center">
<template slot-scope="scope">
<div>
{{
dddw(
dict.checkCompleteFlag,
"id",
scope.row.checkCompleteFlag,
"displayName"
)
}}
</div>
</template>
</el-table-column>
<el-table-column prop="isLock" label="锁" min-width="50" align="center">
<template slot-scope="scope">
<el-checkbox :value="scope.row.isLock == 'Y'" align="center" />
</template>
</el-table-column>
<el-table-column prop="creatorName" label="登记人" min-width="70" align="center" />
<el-table-column prop="creationTime" label="登记日期" min-width="90" align="center">
<template slot-scope="scope">
<div>{{ moment(scope.row.creationTime).format("yyyy-MM-DD") }}</div>
</template>
</el-table-column>
</el-table>
</div>
</template>
<script>
import moment from "moment";
import { mapState } from "vuex";
import { dddw } from "../../utlis/proFunc";
import { getapi, postapi, putapi, deletapi } from "../../api/api";
export default {
components: {},
data() {
return {};
},
created() {
},
updated() {
},
//
mounted() { },
computed: {
...mapState(["window", "dataTransOpts", "dict", "patientRegister"]),
},
methods: {
dddw, moment,
//
retrieve_lis_request(patientRegisterId) {
this.dataTransOpts.tableM.lis_request = []
if (!patientRegisterId) return
// console.log(`/api/app/registerasbitem/getlistinpatientregisterid?PatientRegisterId=${id}`, res)
postapi('/api/app/printreport/GetLisRequestReportByPatientRegisterId',{patientRegisterId})
.then(res => {
if (res.code > -1) {
this.dataTransOpts.tableM.lis_request = res.data
}
})
},
},
//
watch: {
//ID
"dataTransOpts.refresh.lis_request.M": {
// immediate:true,
handler(newVal, oldVal) {
console.log(`watch 人员登记 newVal:${newVal} oldVal:${oldVal} registerCheckId: ${this.dataTransOpts.tableS.patient_register.id}`);
this.retrieve_lis_request(this.dataTransOpts.tableS.patient_register.id)
}
},
}
};
</script>
<style scoped>
@import "../../assets/css/global.css";
.box {
display: flex;
}
</style>

45
src/components/patientRegister/PatientRegisterEdit.vue

@ -217,11 +217,11 @@
<el-form-item label="单位体检次数" prop="isVip" label-width="110px">
<el-select :class="form.customerOrgId == dict.personOrgId ? '' : 'enterToTab'"
v-model="form.customerOrgRegisterId" placeholder="次数" size="small"
:disabled="form.customerOrgId == dict.personOrgId"
:disabled="form.customerOrgId == dict.personOrgId || form.completeFlag == '3' "
:style="'width:' + Math.floor((window.pageWidth - 654) / 4.8) + 'px;'" @change="changeMedicalTimes"
value-key="id">
<el-option v-for="item in customerOrgRegisterList" :key="item.id" :label="item.medicalTimes"
:value="item.id" />
:value="item.id" :disabled="item.isComplete == 'Y'" />
</el-select>
</el-form-item>
</el-col>
@ -934,16 +934,13 @@ export default {
//
getapi(`/api/app/customerorgregister/getlistincustomerorgid?CustomerOrgId=${customerOrgParentId}`)
.then(res => {
if (res.code != - 1) {
if (res.code > - 1) {
console.log('获取单位体检次数', this.form.customerOrgRegisterId, res.data)
if (this.form.customerOrgRegisterId) {
let lfind = arrayExistObj(res.data, "id", this.form.customerOrgRegisterId)
if (lfind == -1) this.form.customerOrgRegisterId = ''
}
this.customerOrgRegisterList = res.data
if (!this.form.customerOrgRegisterId) {
this.customerOrgRegisterList = arrayFilter(res.data, 'isComplete', 'N') //
if (this.customerOrgRegisterList.length > 0) {
this.form.customerOrgRegisterId = this.customerOrgRegisterList[this.customerOrgRegisterList.length - 1].id
let customerOrgRegisterList = arrayFilter(res.data, 'isComplete', 'N') //
if (customerOrgRegisterList.length > 0) {
this.form.customerOrgRegisterId = customerOrgRegisterList[customerOrgRegisterList.length - 1].id
}
}
if (this.form.customerOrgRegisterId) return getapi(`/api/app/customerorggroup/getlistinfilter?CustomerOrgRegisterId=${this.form.customerOrgRegisterId}`) //
@ -983,29 +980,7 @@ export default {
})
},
//
// async getCustomerOrgRegisterList() {
// this.customerOrgRegisterList = []
// if (this.form.customerOrgId == this.dict.personOrgId) {
// this.form.customerOrgRegisterId = null
// return
// }
// try {
// let res = await getapi(`/api/app/customer-org/parent/${this.form.customerOrgId}`);
// let res1 = await getapi(`/api/app/customerorgregister/getlistincustomerorgid?CustomerOrgId=${res.data}`);
// this.customerOrgRegisterList = arrayFilter(res1.data, 'isComplete', 'N')
// // ()
// // if (this.customerOrgRegisterList.length > 0) {
// // this.form.customerOrgRegisterId = this.customerOrgRegisterList[this.customerOrgRegisterList.length - 1].id
// // //this.changeCustomerOrgGroupId()
// // this.changeMedicalTimes()
// // }
// } catch (error) {
// console.log(error)
// }
// },
//
changeMedicalTimes() {
@ -1887,9 +1862,9 @@ export default {
//ID
"dataTransOpts.refresh.patient_register.S": {
// immediate: true,
handler(newVal, oldVal) {
async handler(newVal, oldVal) {
console.log(`watch 人员登记 newVal:${newVal} oldVal:${oldVal} registerCheckId: ${this.dataTransOpts.tableS.patient_register.id}`);
if (newVal != oldVal) this.initFormData(this.dataTransOpts.tableS.patient_register.id)
if (newVal != oldVal) await this.initFormData(this.dataTransOpts.tableS.patient_register.id)
}
},

6
src/components/sumDoctorCheck/SumPREdit.vue

@ -14,7 +14,7 @@
<el-select v-model="dataTransOpts.tableS.patient_register.summaryDoctorId" filterable clearable
:disabled="dataTransOpts.tableS.patient_register.completeFlag == '3' ? true : false" placeholder="请选择" style="width: 80px"
size="small">
<el-option v-for="item in users" :key="item.id" :label="item.userName" :value="item.id" />
<el-option v-for="item in users" :key="item.id" :label="item.surname" :value="item.id" />
</el-select>
</div>
<div>
@ -84,9 +84,9 @@ export default {
//
dictInit() {
//
getapi('/api/identity/users/getlist')
getapi('/api/identity/users/getlist?SkipCount=0&MaxResultCount=1000')
.then(res => {
if (res.code != -1) {
if (res.code > -1) {
this.users = res.data.items
}
})

3
src/store/index.js

@ -307,6 +307,7 @@ export default new Vuex.Store({
customer_org_group_detail: { S: 0, M: 0 }, // 单位分组包含的组合项目明细
charge: { S: 0, M: 0 }, // 收费
menu_info: { S: 0, M: 0 }, // 菜单与页面
lis_request: { S: 0, M: 0 }, // 检验申请(条码)
patient_register: { S: 0, M: 0 }, // 体检人员记录
register_check_asbitem: { S: 0, M: 0, D: 0 }, // 体检人员登记的项目(合并前)
register_check: { S: 0, M: 0 }, // 体检人员登记的项目(合并后)
@ -329,6 +330,7 @@ export default new Vuex.Store({
customer_org_group_detail: { id: '' }, // 单位分组包含的组合项目明细
charge: { id: '' }, // 收费
menu_info: { id: '' }, // 菜单与页面
lis_request: { id: '' }, // 检验申请(条码)
patient_register: { id: '', patientRegisterNo: ''}, // 体检人员记录
register_check_asbitem: { id: '' }, // 体检人员登记的项目(合并前)
register_check: { id: '' }, // 体检人员登记的项目(合并后)
@ -349,6 +351,7 @@ export default new Vuex.Store({
customer_org_group_detail: [], // 单位分组包含的组合项目明细
charge: [], // 收费
menu_info: [], // 菜单与页面
lis_request: [], // 检验申请(条码)
patient_register: [], // 体检人员记录
register_check_asbitem: [], // 体检人员登记的项目(合并前)
register_check: [], // 体检人员登记的项目(合并后)

2
src/views/Home.vue

@ -343,7 +343,7 @@ export default {
this.$message.info("此功能,需要在壳客户端才可运行!");
return;
}
this.$peisAPI.clientConfigShow();
this.$peisAPI.toggleDevTools();
},
//

Loading…
Cancel
Save