diff --git a/src/api/dataoverview.js b/src/api/dataoverview.js index c2650d81f1bd37b3d89f4822bd34c2471e802def..0860573398552d9f83ed2272efbcc7d425dc1c3c 100644 --- a/src/api/dataoverview.js +++ b/src/api/dataoverview.js @@ -5,7 +5,7 @@ import request from "@/utils/request" // 累计上报 export function getPatientPage(params = {}) { return request({ - url: "/disease-data/data/patient/page", + url: "/disease-data/data/report/page", method: "get", params, }) diff --git a/src/api/screeningAudit.js b/src/api/screeningAudit.js new file mode 100644 index 0000000000000000000000000000000000000000..2f0acdd5bce83d1200d1764ee09db96e76e75146 --- /dev/null +++ b/src/api/screeningAudit.js @@ -0,0 +1,63 @@ +import request from "@/utils/request" + +/** + * 筛查审核 + * + * */ +///////////////筛查质控///////////////////// +//筛查已审核列表 +export function getScreeningCheck(params = {}) { + return request({ + url: "/disease-data/dataCheck/screening/check", + method: "get", + params, + }) +} +//筛查待审核列表 +export function getScreeningUncheck(params = {}) { + return request({ + url: "/disease-data/dataCheck/screening/unCheck", + method: "get", + params, + }) +} + +//筛查病例待审核(用户) +export function getScreeningUser(id) { + return request({ + url: `/disease-data/dataCheck/screening/unCheck/detail/${id}`, + method: "get", + }) +} +//筛查病例审核 +export function putScreeningCheck(data = {}) { + return request({ + url: "/disease-data/dataCheck/screening/uncheck", + method: "put", + data, + }) +} +// 获取意见标签 +export function getSysCheckNote() { + return request({ + url: "/disease-data/sysCheckNote", + method: "get", + }) +} +// 删除意见标签 +export function saveSysCheckNote(data = {}) { + return request({ + url: "/disease-data/sysCheckNote", + method: "post", + data, + }) +} + +// //修改筛查病例审核意见 +// export function putFollowCheckAdvice(data = {}) { +// return request({ +// url: "/disease-data/dataCheck/follow/check/advice", +// method: "put", +// data, +// }) +// } diff --git a/src/components/FormComponents/CustomForm/FormItemSelf.vue b/src/components/FormComponents/CustomForm/FormItemSelf.vue index c4ae25cf830ba203b7f7d37e22086c389224cc86..5ac32f246e8a7c3d1303b842300f9c76e272cc1b 100644 --- a/src/components/FormComponents/CustomForm/FormItemSelf.vue +++ b/src/components/FormComponents/CustomForm/FormItemSelf.vue @@ -53,7 +53,7 @@ @@ -279,7 +279,7 @@ @change="handleChange" > -
+
"", + }, getPatientId: { type: Function, default: () => {}, @@ -447,7 +449,6 @@ export default { columns: Array, columnIndex: Number, group: Array, - type: String, }, data() { return { @@ -486,20 +487,39 @@ export default { this.timerangeReset() this.numberReset() this.checkboxReset() + //! 处理医联体名称,新增直接请求,其他等union_id后再请求 if (this.item.prop == "union_id") { - this.getMedicalunionList() + this.unionList = [] + // this.getMedicalunionList() + if (this.$route.path == "/screening/add") { + this.getMedicalunionList() + } else { + this.$watch( + () => this.form[this.item.prop], + (newVal, oldVal) => { + // console.log("----------有值----------") + this.getMedicalunionList() + // 做点什么 + } + ) + } } }, mounted() { this.showFormItem() }, + beforeDestroy() { + this.$watch( + () => this.form[this.item.prop], + (newVal, oldVal) => {} + ) + }, methods: { // 获取医联体列表 getMedicalunionList() { getMedicalunionList().then((res) => { - console.log(res) if (res.code == 1) { - this.unionList = res.data + this.unionList = [...res.data] } else { this.unionList = [] } @@ -705,13 +725,16 @@ export default { targetItem = group.find((_) => _.prop === key) } if (!targetItem) return - const values = dyMap[key] let display = false + + const values = dyMap[key] + if (Array.isArray(val)) { display = values.filter((v) => val.includes(v)).length > 0 } else { - display = values.includes(val) + display = values.includes(val + "") } + //! 胃上皮瘤变(高级别)胃癌和进展性胃癌控制显隐+自定义规则 if ( prop == "early_gastric_cancer" || @@ -734,7 +757,7 @@ export default { : (flag = false) } } - console.log(flag, targetItem) + // console.log(flag, targetItem) display = flag if (display) { targetItem.rules = [ @@ -764,7 +787,7 @@ export default { this.$set(this.form, "$_hidden" + targetItem.prop, !display) }, 200) } else { - // ! 设置每个表单中每项显隐的rules + // ! 设置每个表单中每项的rules if (!filterArr.includes(targetItem.prop)) { if (targetItem.rules && Boolean(display)) { @@ -788,18 +811,18 @@ export default { } } - // !设置大表单里的每个小表单显隐rules + // !设置大表单里的每个小表单rules if (targetItem.prop == "1669874397313_56690") { + console.log(display) // !只能写死,当前情况下,定义一个字段用来缓存是否回显,根据val // if (val == 0) { // this.showChildren = false - targetItem.column.forEach((e, index) => { // 去除esd报告 if (e.prop == "esd_path") { return } - console.log(e.label, ":", e.rules) + // console.log(e.label, ":", e.rules) if (e.rules && val == 0) { targetItem.column[index].rules = [] } else if (e.rules && val == 1) { diff --git a/src/components/FormComponents/CustomForm/FormItemText.vue b/src/components/FormComponents/CustomForm/FormItemText.vue index 5a69d21a291f466223f00be56972c69cf7d311d8..e83bb9540afb9c0389d3ac8de86f766f4f288f6d 100644 --- a/src/components/FormComponents/CustomForm/FormItemText.vue +++ b/src/components/FormComponents/CustomForm/FormItemText.vue @@ -78,7 +78,7 @@ export default { watch: { unionList(v) { if (v.length > 0 && this.form[this.item.prop]) { - console.log() + // console.log("获取到了医联体列表", this.form[this.item.prop]) this.unionName = v.filter( (e) => e.unionNo == this.form[this.item.prop] )[0].unionName diff --git a/src/components/FormComponents/CustomForm/index.vue b/src/components/FormComponents/CustomForm/index.vue index ffb722a6399f543ab0d0162bfe1e58ed5b781739..28004970b9213994704cdbab92c4ee5feb6f5fde 100644 --- a/src/components/FormComponents/CustomForm/index.vue +++ b/src/components/FormComponents/CustomForm/index.vue @@ -177,6 +177,7 @@ export default { watch: { formEdit: { handler() { + // console.log("configforms:", this.formEdit) this.initfields(this.formEdit) }, }, diff --git a/src/components/Upload/index.vue b/src/components/Upload/index.vue index 10bb6dfc82ccdc65ce61e071d2a87ee032b90402..0e60118dc0750887ae0961959b798dc8d927d20f 100644 --- a/src/components/Upload/index.vue +++ b/src/components/Upload/index.vue @@ -124,7 +124,7 @@ export default { watch: { value: { handler(newValue, oldValue) { - console.log(this.value) + // console.log(this.value) if (newValue === oldValue) return this.fileList = newValue.map((_) => { return { diff --git a/src/utils/request.js b/src/utils/request.js index 0d97eed349ced2d9818d010bb5725b427b1f60f4..805f1541621ed19eaee666820882afe8990862e1 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -126,7 +126,7 @@ service.interceptors.response.use( store.dispatch("user/resetAccessToken").then(() => { // location.reload() router.push({ - path: "/login", + path: "/home", }) }) return Promise.reject(error) diff --git a/src/views/Home/index.vue b/src/views/Home/index.vue index 779eee41ea29bd77da43add8a4068b7f20263942..9afb607f1fd1cd98a3b3e578bf6fbaa35e90179f 100644 --- a/src/views/Home/index.vue +++ b/src/views/Home/index.vue @@ -6,21 +6,21 @@
- +
  • - {{ item.title }} + {{ item.articleTitle }}
    - {{ item.date }} + {{ item.createTime }}
@@ -43,7 +43,7 @@ :label="e.title" :name="e.title" > -
    +
    • @@ -192,6 +192,7 @@ @@ -236,7 +490,8 @@ export default { font-size: 14px; font-family: AlibabaPuHuiTiM; color: #333333; - box-shadow: 0px 2px 0px 0px rgba(0, 0, 0, 0.1); + // box-shadow: 0px -1px 0px 0px rgba(0, 0, 0, 0.1); + border-top: 1px solid rgba(0, 0, 0, 0.1); display: flex; .btn_group { margin-left: 24px; @@ -266,7 +521,8 @@ export default { .btn { margin-top: 20px; .el-button { - width: 100px; + // width: 100px; + border-radius: 5px; height: 32px; } } @@ -274,7 +530,7 @@ export default { width: 100%; text-align: left; } -.reson { +.reason { margin-top: 20px; } .showTips { @@ -287,9 +543,75 @@ export default { margin-left: 20px; } .table-content { - height: calc(100vh - 260px); - overflow: auto; + // height: calc(100vh - 260px); + // overflow: auto; padding-top: 20px; padding-bottom: 20px; } +.empty { + width: 100%; + height: 15px; + background: #f6f8f9; +} +.left-back { + position: absolute; + padding: 7px 5px; + top: 10px; + font-size: 20px; + text-align: left; + cursor: pointer; +} +.labelPlace { + .labelList { + display: flex; + flex-wrap: wrap; + .listItem { + cursor: pointer; + max-width: 200px; + white-space: nowrap; + display: block; + overflow: hidden; + text-overflow: ellipsis; + padding: 8px 12px; + border: 1px solid rgba(78, 104, 255, 0.06); + background: rgba(78, 104, 255, 0.06); + border-radius: 2px; + margin: 0 12px 12px 0; + font-size: 14px; + font-family: PingFangSC-Regular, PingFang SC; + color: #353a45; + user-select: none; + } + .active { + background: rgba(78, 104, 255, 0.1); + color: #4e68ff; + border-radius: 2px; + border: 1px solid #4e68ff; + } + } + .labelEdit { + font-size: 14px; + text-align: right; + span { + cursor: pointer; + } + user-select: none; + font-family: PingFangSC-Medium, PingFang SC; + color: rgba(78, 120, 255); + text-decoration: underline; + &:active { + color: rgba(78, 50, 255); + } + } +} +.edit_reasonList { + li { + display: flex; + margin-bottom: 16px; + .el-button { + margin-left: 12px; + font-size: 14px; + } + } +} diff --git a/src/views/audit-qualitycontrol/index.vue b/src/views/audit-qualitycontrol/index.vue index d949236aad43a0ad6bdc800d6562c791a728cc5a..94e9714d3a010b11d921d04f59f07326fa37823c 100644 --- a/src/views/audit-qualitycontrol/index.vue +++ b/src/views/audit-qualitycontrol/index.vue @@ -36,20 +36,22 @@