+
+
-
-
- 制定随访计划
-
-
- 新增随访记录
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ upBaseInfo.label }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -236,13 +138,13 @@ import {
deepCopy, setPrStatusColor
} from "../../utlis/proFunc";
-
-import FollowPlan from "../../components/follow/FollowPlan.vue";
-
+import FollowCritical from "./FollowCritical.vue";
+import PhoneFollowUp from "./PhoneFollowUp.vue";
+import SmsSend from "./SmsSend.vue";
export default {
components: {
- FollowPlan,
+ FollowCritical,PhoneFollowUp, SmsSend
},
data() {
return {
@@ -735,207 +637,13 @@ export default {
// }
},
- // 导入企业(青藏公司)数据
- btnImportOrgData() {
-
- //
- this.dataTransOpts.plus.ImportOrgData++
- this.dialogWin.ImportOrgData = true
-
- },
-
- //体检次数 相关操作
- btnAdd() {
- if (!this.peisid || this.peisid == 'null') {
- this.$message.warning({ showClose: true, message: "该用户未选归属体检中心,不能执行此操作!" });
- return
- }
-
- let customerOrgId = this.patientRegister.query.customerOrgId;
- if (!customerOrgId) {
- this.$message.warning({ showClose: true, message: "请选择单位或个人" });
- return;
- }
-
- // this.patientRegister.patientRegisterRdInit.customerOrgId = customerOrgId
- // this.setForm(this.patientRegister.patientRegisterRdInit)
- // this.patientRegister.patientRegisterAbs = [];
- // this.patientRegister.patientRegisterRd.id = ''
- // this.dialogWin.PatientRegisterEdit = true;
- // this.editTimes++; //触发表单窗口,数据更新
- // this.getPatientRegisterAbs();
-
- this.dataTransOpts.tableS.patient_register.id = ''
- this.dialogWin.PatientRegisterEdit = true;
- this.dataTransOpts.plus.clearPatientRegisterQuery++ //触发清空人员登记界面的查询条件
- setTimeout(() => {
- this.dataTransOpts.refresh.patient_register.S++ //触发人员信息刷新
- }, 10);
-
- },
-
- //批量正式登记
- btnAddBatch(completeFlag) {
- let patientRegisterIds = []
- //取消勾选,换成选择的方式 start
- // this.multipleSelection = [];
- // this.tableData.forEach((e) => {
- // if (e.choosed && e.completeFlag == '0') {
- // this.multipleSelection.push(e);
- // patientRegisterIds.push(e.id)
- // }
- // });
- //取消勾选,换成选择的方式 end
-
-
- if (this.multipleSelection.length < 1) {
- this.$message.info({ showClose: true, message: "请勾选要操作的记录!" });
- return;
- }
-
- this.multipleSelection.forEach(e => {
- switch (completeFlag) {
- case '0':
- if (e.completeFlag == '1') patientRegisterIds.push(e.id)
- break;
- case '1':
- if (e.completeFlag == '0') patientRegisterIds.push(e.id)
- break;
- }
- });
-
- if (patientRegisterIds.length == 0) {
- this.$message.info({ showClose: true, message: "没有可操作的数据!" });
- return;
- }
- let body = { completeFlag, patientRegisterIds }
- postapi('/api/app/patientregister/updatepatientregistercompleteflagormedicalstartdate', body)
- .then(res => {
- if (res.code != -1) {
- // console.log('操作成功!')
- patientRegisterIds.forEach(e => {
- let lfind = arrayExistObj(this.tableData, 'id', e)
- if (lfind > -1) this.tableData[lfind].completeFlag = completeFlag
- });
- }
- })
- .catch(err => {
- this.$message.error({ showClose: true, message: `操作失败 ${err}` });
- });
- },
-
- // 单个编辑
- btnEdit() {
- // if (!this.patientRegister.patientRegisterRd.id) {
- if (!this.dataTransOpts.tableS.patient_register.id) {
- this.$message.warning({ showClose: true, message: "请选择要操作的记录" });
- return;
- }
- //// console.log(this.patientRegister.patientRegisterRd,this.tableData)
-
- // 触发数据刷新
- this.dataTransOpts.refresh.patient_register.S++ //触发人员信息刷新(会同时刷新组合项目)
- this.dataTransOpts.plus.clearPatientRegisterQuery++ //触发清空人员登记界面的查询条件
-
- this.dialogWin.PatientRegisterEdit = true;
-
- },
-
- //新增或编辑后选中记录
- async close_dialogWin_PatientRegisterEdit() {
- // 如果 dataTransOpts.tableS.patient_register.id 为空(未增加),则不做处理
- let id = this.dataTransOpts.tableS.patient_register.id
- if (!id) {
- id = this.tableDataCurrentRow.id
- }
- if (!id) return
- this.dataTransOpts.tableS.patient_register.id = id
+
- let res = await postapi('/api/app/patientregister/getlistinfilter', { patientRegisterNo: this.dataTransOpts.tableS.patient_register.patientRegisterNo })
- if (res.code != 1) return
- let currentRow = res.data.items[0]
+
- // this.tableData.forEach(e => {
- // e.choosed = false
- // });
- let lfind = arrayExistObj(this.tableData, 'id', this.dataTransOpts.tableS.patient_register.id)
- if (lfind > -1) {
- objCopy(currentRow, this.tableData[lfind])
- } else {
- lfind = this.tableData.length
- currentRow.index = lfind
- currentRow.choosed = true
- this.tableData.push(currentRow)
- }
-
- // 刷新 register_check_asbitem 表记录
- if (lfind > -1) {
- this.dataTransOpts.refresh.register_check_asbitem.M++
- }
- },
-
- //拍照
- openCamera() {
- if (!this.patientRegister.patientRegisterId) {
- this.$message.warning({ showClose: true, message: "请选择要操作的记录" });
- return;
- }
- this.patientRegister.cameraVisble = true;
- },
-
- //删除(可批量删除)
- // /api/app/patient-register/many?PatientRegisterIds=3a0c2cac-f44c-f407-9504-c1fc5e80a159&PatientRegisterIds=3a0c2cb3-d10c-ed70-db6a-b835e75ce641
- btnDel() {
-
- //选中(取消勾选)start -------------------------
- // this.multipleSelection = []
- // this.tableData.forEach(e => {
- // if (e.choosed) {
- // this.multipleSelection.push(deepCopy(e))
- // }
- // })
- //选中(取消勾选) end -------------------------
-
- if (this.multipleSelection.length < 1) {
- this.$message.warning({ showClose: true, message: "请先勾选要操作的记录" });
- return;
- }
-
- let patientRegisterIds = [];
- for (let i = 0; i < this.multipleSelection.length; i++) {
- patientRegisterIds.push(this.multipleSelection[i]["id"]);
- }
-
- this.$confirm("此操作将永久删除该记录, 是否继续?", "提示", {
- confirmButtonText: "是",
- cancelButtonText: "否",
- type: "warning",
- })
- .then(() => {
- //// console.log('{patientRegisterIds}',{patientRegisterIds})
- return postapi('/api/app/patient-register/delete-many', {
- patientRegisterIds,
- });
- })
- .then((res) => {
- if (res.code != -1) {
- // console.log("操作成功");
- this.dataTransOpts.tableS.patient_register.id = ''
- setTimeout(() => {
- this.dataTransOpts.refresh.register_check_asbitem.M++
- }, 10);
- arrayReduce(this.tableData, this.multipleSelection, 'id=id') //清除列表记录
- // this.setForm(this.patientRegister.patientRegisterRdInit)
- // this.getPatientRegisterAbs();
- }
- })
- .catch((err) => {
- if (err == "cancel") {
- this.$message.info({ showClose: true, message: "已取消操作" });
- }
- });
- },
+
+
//查询
async Query() {
@@ -1102,10 +810,7 @@ export default {
},
- close_dialogWin_upBaseInfo() {
- this.upBaseInfo.visble = false
- this.close_dialogWin_PatientRegisterEdit()
- },
+
btnUpBaseInfo() {
let body = {
patientRegisterId: this.upBaseInfo.patientRegisterId,
diff --git a/src/components/follow/FollowPlan.vue b/src/components/follow/FollowPlan.vue
deleted file mode 100644
index 0071875..0000000
--- a/src/components/follow/FollowPlan.vue
+++ /dev/null
@@ -1,237 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.asbitemName }}
-
-
-
-
-
-
-
- {{ moment(scope.row.creationTime).format("yyyy-MM-DD") }}
-
-
-
-
-
- {{ moment(scope.row.creationTime).format("yyyy-MM-DD") }}
-
-
-
-
-
-
-
diff --git a/src/components/follow/PhoneFollowUp.vue b/src/components/follow/PhoneFollowUp.vue
new file mode 100644
index 0000000..6156246
--- /dev/null
+++ b/src/components/follow/PhoneFollowUp.vue
@@ -0,0 +1,142 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ moment(scope.row.creationTime).format("yyyy-MM-DD") }}
+
+
+
+
+
+ {{ moment(scope.row.creationTime).format("yyyy-MM-DD") }}
+
+
+
+
+
+
+
+ 新增随访
+
+
+ 编辑随访
+
+
+ 删除随访
+
+
+
+
+
+
diff --git a/src/components/follow/SmsSend.vue b/src/components/follow/SmsSend.vue
new file mode 100644
index 0000000..65b26f9
--- /dev/null
+++ b/src/components/follow/SmsSend.vue
@@ -0,0 +1,147 @@
+
+
+
+
+
+
+
+
+
+ {{ scope.row.smsTypeId }}
+
+
+
+
+
+
+
+
+
+
+
+ {{ moment(scope.row.creationTime).format("yyyy-MM-DD") }}
+
+
+
+
+
+ {{ moment(scope.row.creationTime).format("yyyy-MM-DD") }}
+
+
+
+
+
+
+ 新增随访
+
+
+ 编辑随访
+
+
+ 删除随访
+
+
+
+
+
+