| | |
| | | </el-select> |
| | | </el-form-item> |
| | | |
| | | <el-row> |
| | | <!-- <el-row> |
| | | <el-col :span="20" |
| | | ><el-form-item label="适用科室" prop="region"> |
| | | <el-select |
| | |
| | | </el-option> |
| | | </el-select> </el-form-item |
| | | ></el-col> |
| | | </el-row> |
| | | </el-row> --> |
| | | <el-form-item label="结束语" prop="conclusion"> |
| | | <el-input |
| | | style="width: 55vw; line-height: 80px" |
| | |
| | | }); |
| | | this.tempDetpRelevanceslist = []; |
| | | this.tempbelongWards = []; |
| | | if (this.queryParamsdept.tempid) { |
| | | depthospgetsonlist(this.queryParamsdept).then((res) => { |
| | | if (res.code == 200) { |
| | | let arr = res.rows; |
| | | arr.forEach((item) => { |
| | | if (item.deptType == 1) { |
| | | this.deptlist.push(item); |
| | | this.tempDetpRelevanceslist.push(item.deptCode); |
| | | } else if (item.deptType == 2) { |
| | | this.hosplist.push(item); |
| | | this.tempbelongWards.push(item.deptCode); |
| | | } |
| | | }); |
| | | } |
| | | }); |
| | | } |
| | | // if (this.queryParamsdept.tempid) { |
| | | // depthospgetsonlist(this.queryParamsdept).then((res) => { |
| | | // if (res.code == 200) { |
| | | // let arr = res.rows; |
| | | // arr.forEach((item) => { |
| | | // if (item.deptType == 1) { |
| | | // this.deptlist.push(item); |
| | | // this.tempDetpRelevanceslist.push(item.deptCode); |
| | | // } else if (item.deptType == 2) { |
| | | // this.hosplist.push(item); |
| | | // this.tempbelongWards.push(item.deptCode); |
| | | // } |
| | | // }); |
| | | // } |
| | | // }); |
| | | // } |
| | | }, |
| | | // 获取科室树 |
| | | getDeptTree() { |
| | |
| | | @keyup.enter.native="handleQuery" |
| | | /> |
| | | </el-form-item> |
| | | <!-- <el-form-item label="患者范围" prop="tagId"> |
| | | <el-form-item label="患者范围" prop="tagId"> |
| | | <el-select |
| | | v-model="filtrqueryParams.searchscope" |
| | | placeholder="请选择患者范围" |
| | |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> --> |
| | | </el-form-item> |
| | | |
| | | <el-form-item> |
| | | <el-button |
| | |
| | | </el-form-item> |
| | | </el-form> |
| | | <el-table v-loading="filtrloading" :data="filtruserList" height="660"> |
| | | <el-table-column type="selection" width="50" align="center" /> |
| | | <!-- <el-table-column type="selection" width="50" align="center" /> --> |
| | | <el-table-column |
| | | fixed |
| | | label="姓名" |
| | |
| | | </el-table> |
| | | |
| | | <pagination |
| | | v-show="total > 0" |
| | | :total="total" |
| | | v-show="filtrtotal > 0" |
| | | :total="filtrtotal" |
| | | :page.sync="filtrqueryParams.pageNum" |
| | | :limit.sync="filtrqueryParams.pageSize" |
| | | @pagination="getList" |
| | | @pagination="distribute" |
| | | /> |
| | | </el-col> |
| | | </el-row> |
| | |
| | | notrequiredFlag: 0, |
| | | pageNum: 1, |
| | | pageSize: 10, |
| | | allhosp: 0, |
| | | }, |
| | | //导入进度 |
| | | dractive: 1, |
| | |
| | | queryParams: { |
| | | pageNum: 1, |
| | | pageSize: 10, |
| | | allhosp: "1", |
| | | allhosp: 0, |
| | | notrequiredFlag: 1, |
| | | idcardno: undefined, |
| | | name: undefined, |
| | |
| | | // 查询参数 |
| | | queryParams: { |
| | | pageNum: 1, |
| | | allhosp: "1", |
| | | allhosp: "0", |
| | | pageSize: 10, |
| | | searchscope: 2, |
| | | notrequiredFlag: 0, |
| | |
| | | /** 重置按钮操作 */ |
| | | resetQuery() { |
| | | this.dateRange = []; |
| | | (this.queryParams = { |
| | | this.queryParams = { |
| | | pageNum: 1, |
| | | allhosp: "1", |
| | | allhosp: "0", |
| | | pageSize: 10, |
| | | searchscope: 2, |
| | | }), |
| | | }; |
| | | this.handleQuery(); |
| | | }, |
| | | // 多选框选中数据 |
| | |
| | | {{ userform.sex == 1 ? "男" : "女" }} |
| | | </div> |
| | | <div style="margin-left: 10px" class="text-title"> |
| | | {{ userform.age }}岁 |
| | | <span v-if="userform.age" |
| | | >{{ userform.age }}{{ userform.ageUnit }}</span |
| | | ><span v-if="userform.age2" |
| | | >{{ userform.age2 }}{{ userform.ageUnit2 }}</span |
| | | > |
| | | </div> |
| | | <div style="margin-left: 10px" class="text-title"> |
| | | {{ userform.birthdate }} |
| | |
| | | this.cardlist[2].value = response.rows[0].ysf; |
| | | this.ycvalue = response.rows[0].yc; |
| | | this.cardlist[3].value = response.rows[0].fssb; |
| | | this.cardlist[4].value = response.rows[0].dfs; |
| | | this.cardlist[4].value = response.rows[0].dsf; |
| | | // this.cardlist[5].value = response.rows[0].yfs2; |
| | | this.yfsvalue = response.rows[0].yfs; |
| | | } |
| | |
| | | this.cardlist[2].value = response.rows[0].ysf; |
| | | this.ycvalue = response.rows[0].yc; |
| | | this.cardlist[3].value = response.rows[0].fssb; |
| | | this.cardlist[4].value = response.rows[0].dfs; |
| | | this.cardlist[4].value = response.rows[0].dsf; |
| | | // this.cardlist[5].value = response.rows[0].yfs2; |
| | | this.yfsvalue = response.rows[0].yfs; |
| | | } |
| | |
| | | this.cardlist[2].value = response.rows[0].ysf; |
| | | this.ycvalue = response.rows[0].yc; |
| | | this.cardlist[3].value = response.rows[0].fssb; |
| | | this.cardlist[4].value = response.rows[0].dfs; |
| | | this.cardlist[4].value = response.rows[0].dsf; |
| | | // this.cardlist[5].value = response.rows[0].yfs2; |
| | | this.yfsvalue = response.rows[0].yfs; |
| | | } |
| | |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-row> |
| | | <!-- <el-row> |
| | | <el-col :span="20" |
| | | ><el-form-item label="适用科室" prop="region"> |
| | | <el-select |
| | |
| | | </el-option> |
| | | </el-select> </el-form-item |
| | | ></el-col> |
| | | </el-row> |
| | | </el-row> --> |
| | | <el-row> |
| | | <el-col :span="12" |
| | | ><el-form-item label="开场白" prop="revisitBefore"> |
| | |
| | | }, |
| | | // 获取表单数据 |
| | | getvFollowup() { |
| | | console.log(this.id,'id'); |
| | | |
| | | if (this.id) { |
| | | getvFollowup({ id: this.id }).then((res) => { |
| | | if (res.code == 200) { |
| | |
| | | this.tempDetpRelevanceslist = []; |
| | | this.tempbelongWards = []; |
| | | |
| | | if (this.id) { |
| | | depthospgetsonlist(this.queryParamsdept).then((res) => { |
| | | if (res.code == 200) { |
| | | let arr = res.rows; |
| | | console.log(arr, "arr"); |
| | | // if (this.id) { |
| | | // depthospgetsonlist(this.queryParamsdept).then((res) => { |
| | | // if (res.code == 200) { |
| | | // let arr = res.rows; |
| | | // console.log(arr, "arr"); |
| | | |
| | | arr.forEach((item) => { |
| | | if (item.deptType == 1) { |
| | | console.log(this.deptlist, "11"); |
| | | this.deptlist.push(item); |
| | | console.log("22"); |
| | | this.tempDetpRelevanceslist.push(item.deptCode); |
| | | } else if (item.deptType == 2) { |
| | | this.hosplist.push(item); |
| | | this.tempbelongWards.push(item.deptCode); |
| | | console.log("33"); |
| | | } |
| | | }); |
| | | } |
| | | }); |
| | | } |
| | | // arr.forEach((item) => { |
| | | // if (item.deptType == 1) { |
| | | // console.log(this.deptlist, "11"); |
| | | // this.deptlist.push(item); |
| | | // console.log("22"); |
| | | // this.tempDetpRelevanceslist.push(item.deptCode); |
| | | // } else if (item.deptType == 2) { |
| | | // this.hosplist.push(item); |
| | | // this.tempbelongWards.push(item.deptCode); |
| | | // console.log("33"); |
| | | // } |
| | | // }); |
| | | // } |
| | | // }); |
| | | // } |
| | | |
| | | // 疾病 |
| | | getillnesslist({ |
| | |
| | | // 科室处理 |
| | | Departmenttreatment() { |
| | | this.$modal.loading("正在修正保存数据,请稍候..."); |
| | | this.tempDetpRelevanceslist.forEach((item) => { |
| | | let result = this.deptlist.some((obj) => obj.deptCode == item); |
| | | // this.tempDetpRelevanceslist.forEach((item) => { |
| | | // let result = this.deptlist.some((obj) => obj.deptCode == item); |
| | | |
| | | if (!result) { |
| | | this.tempDetpRelevanceslistform.push({ |
| | | deptType: 1, |
| | | longTemp: this.ruleForm.longTemp, |
| | | deptCode: item, |
| | | tempid: this.id, |
| | | type: 2, |
| | | }); |
| | | } |
| | | }); |
| | | this.tempbelongWards.forEach((item) => { |
| | | let result = this.hosplist.some((obj) => obj.deptCode == item); |
| | | if (!result) { |
| | | this.tempbelongWardsform.push({ |
| | | deptType: 2, |
| | | longTemp: this.ruleForm.longTemp, |
| | | deptCode: item, |
| | | tempid: this.id, |
| | | type: 2, |
| | | // 1 : 问卷模板库id、11:问卷任务模板库id;2 :语音问卷库id、21:语音任务模板库id,3 : 宣教模板库id,33:宣教任务模板库id |
| | | }); |
| | | } |
| | | }); |
| | | // if (!result) { |
| | | // this.tempDetpRelevanceslistform.push({ |
| | | // deptType: 1, |
| | | // longTemp: this.ruleForm.longTemp, |
| | | // deptCode: item, |
| | | // tempid: this.id, |
| | | // type: 2, |
| | | // }); |
| | | // } |
| | | // }); |
| | | // this.tempbelongWards.forEach((item) => { |
| | | // let result = this.hosplist.some((obj) => obj.deptCode == item); |
| | | // if (!result) { |
| | | // this.tempbelongWardsform.push({ |
| | | // deptType: 2, |
| | | // longTemp: this.ruleForm.longTemp, |
| | | // deptCode: item, |
| | | // tempid: this.id, |
| | | // type: 2, |
| | | // // 1 : 问卷模板库id、11:问卷任务模板库id;2 :语音问卷库id、21:语音任务模板库id,3 : 宣教模板库id,33:宣教任务模板库id |
| | | // }); |
| | | // } |
| | | // }); |
| | | setTimeout(() => { |
| | | this.submitForm(); |
| | | }, 1000); |
| | |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-row> |
| | | <!-- <el-row> |
| | | <el-col :span="20" |
| | | ><el-form-item label="适用科室" prop="region"> |
| | | <el-select |
| | |
| | | </el-option> |
| | | </el-select> </el-form-item |
| | | ></el-col> |
| | | </el-row> |
| | | </el-row> --> |
| | | <el-row> |
| | | <el-col :span="12" |
| | | ><el-form-item label="开场白" prop="revisitBefore"> |
| | |
| | | this.tempDetpRelevanceslist = []; |
| | | this.tempbelongWards = []; |
| | | |
| | | if (this.id) { |
| | | depthospgetsonlist(this.queryParamsdept).then((res) => { |
| | | if (res.code == 200) { |
| | | let arr = res.rows; |
| | | console.log(arr, "arr"); |
| | | // if (this.id) { |
| | | // depthospgetsonlist(this.queryParamsdept).then((res) => { |
| | | // if (res.code == 200) { |
| | | // let arr = res.rows; |
| | | // console.log(arr, "arr"); |
| | | |
| | | arr.forEach((item) => { |
| | | if (item.deptType == 1) { |
| | | console.log(this.deptlist, "11"); |
| | | this.deptlist.push(item); |
| | | console.log("22"); |
| | | this.tempDetpRelevanceslist.push(item.deptCode); |
| | | } else if (item.deptType == 2) { |
| | | this.hosplist.push(item); |
| | | this.tempbelongWards.push(item.deptCode); |
| | | console.log("33"); |
| | | } |
| | | }); |
| | | } |
| | | }); |
| | | } |
| | | // arr.forEach((item) => { |
| | | // if (item.deptType == 1) { |
| | | // console.log(this.deptlist, "11"); |
| | | // this.deptlist.push(item); |
| | | // console.log("22"); |
| | | // this.tempDetpRelevanceslist.push(item.deptCode); |
| | | // } else if (item.deptType == 2) { |
| | | // this.hosplist.push(item); |
| | | // this.tempbelongWards.push(item.deptCode); |
| | | // console.log("33"); |
| | | // } |
| | | // }); |
| | | // } |
| | | // }); |
| | | // } |
| | | |
| | | // 疾病 |
| | | getillnesslist({ |
| | |
| | | // detail: https://cli.vuejs.org/config/#devserver-proxy |
| | | [process.env.VUE_APP_BASE_API]: { |
| | | // target: `http://192.168.168.60:8095`, |
| | | target: `http://192.168.144.34:8095`, |
| | | // target: `http://192.168.144.34:8095`, |
| | | // target: `http://192.168.100.100:8095`, |
| | | // target:`http://localhost:8095`, |
| | | target:`http://localhost:8095`, |
| | | changeOrigin: true, |
| | | pathRewrite: { |
| | | ['^' + process.env.VUE_APP_BASE_API]: '' |