diff --git a/acupuncture-前台/src/views/followFile/index.vue b/acupuncture-前台/src/views/followFile/index.vue index 50643b89..4f5bcdf2 100644 --- a/acupuncture-前台/src/views/followFile/index.vue +++ b/acupuncture-前台/src/views/followFile/index.vue @@ -70,7 +70,7 @@ align="center" prop="name" min-width="130" - fixed + fixed /> - - - + + + + + - - - 修改 删除 @@ -247,12 +242,12 @@ - - - - - - + + + + + + 启用 @@ -288,7 +283,7 @@ import { followupAdd, followupUpd, followupDel, - commonQueue + commonQueue, } from "@/api/followupFile"; export default { name: "Notice", @@ -299,33 +294,34 @@ export default { openCron: false, // 传入的表达式 expression: "", - idCardType: [{ - label: "身份证", - value: 0, - }, - { - label: "护照或外国人永居证", - value: 1, - }, - { - label: "港澳居民来往内地通行", - value: 2, - }, - { - label: "台湾居民来往大陆通行证", - value: 3, - }, - { - label: "其他", - value: 4, - }, + idCardType: [ + { + label: "身份证", + value: 0, + }, + { + label: "护照或外国人永居证", + value: 1, + }, + { + label: "港澳居民来往内地通行", + value: 2, + }, + { + label: "台湾居民来往大陆通行证", + value: 3, + }, + { + label: "其他", + value: 4, + }, ], idCardTypeValue: { - 0: "身份证", - 1: "护照或外国人永居证", - 2: "港澳居民来往内地通行", - 3: "台湾居民来往大陆通行证", - 4: "其他", + 0: "身份证", + 1: "护照或外国人永居证", + 2: "港澳居民来往内地通行", + 3: "台湾居民来往大陆通行证", + 4: "其他", }, loading: false, // 遮罩层 ids: [], // 选中数组 @@ -363,18 +359,18 @@ export default { frequency: [ { required: true, message: "随访频次不能为空", trigger: "blur" }, ], - followupMonth: [ - { required: true, message: "总月数不能为空", trigger: "blur" }, - ], - followWindowAdys: [ - { required: true, message: "窗口期不能为空", trigger: "blur" }, - ], - remindTime: [ - { required: true, message: "临近提醒时间不能为空", trigger: "blur" }, - ], - frequency: [ - { required: true, message: "随访频次不能为空", trigger: "blur" }, - ], + followupMonth: [ + { required: true, message: "总月数不能为空", trigger: "blur" }, + ], + followWindowAdys: [ + { required: true, message: "窗口期不能为空", trigger: "blur" }, + ], + remindTime: [ + { required: true, message: "临近提醒时间不能为空", trigger: "blur" }, + ], + frequency: [ + { required: true, message: "随访频次不能为空", trigger: "blur" }, + ], status: [{ required: true, message: "状态不能为空", trigger: "blur" }], }, }; @@ -392,16 +388,16 @@ export default { crontabFill(value) { this.form.frequency = value; }, - + /** 查询公告列表 */ getList() { this.loading = true; followupQuery(this.queryParams).then((res) => { - let commonQueue = JSON.parse(localStorage.getItem('commonQueue')) + let commonQueue = JSON.parse(localStorage.getItem("commonQueue")); this.listDat = res.data.list; - commonQueue?.forEach(i=>{ - this.listDat.unshift(i) - }) + commonQueue?.forEach((i) => { + this.listDat.unshift(i); + }); this.total = res.data.total; this.loading = false; }); diff --git a/acupuncture-后台/src/views/followFile/index.vue b/acupuncture-后台/src/views/followFile/index.vue index 76d3f5cd..e10fbf52 100644 --- a/acupuncture-后台/src/views/followFile/index.vue +++ b/acupuncture-后台/src/views/followFile/index.vue @@ -70,7 +70,7 @@ align="center" prop="name" min-width="130" - fixed + fixed /> - - - - - - - - - + + + + + + + + @@ -248,12 +239,12 @@ - - - - - - + + + + + + 启用 @@ -289,7 +280,7 @@ import { followupAdd, followupUpd, followupDel, - commonQueue + commonQueue, } from "@/api/followupFile"; export default { name: "Notice", @@ -300,33 +291,34 @@ export default { openCron: false, // 传入的表达式 expression: "", - idCardType: [{ - label: "身份证", - value: 0, - }, - { - label: "护照或外国人永居证", - value: 1, - }, - { - label: "港澳居民来往内地通行", - value: 2, - }, - { - label: "台湾居民来往大陆通行证", - value: 3, - }, - { - label: "其他", - value: 4, - }, + idCardType: [ + { + label: "身份证", + value: 0, + }, + { + label: "护照或外国人永居证", + value: 1, + }, + { + label: "港澳居民来往内地通行", + value: 2, + }, + { + label: "台湾居民来往大陆通行证", + value: 3, + }, + { + label: "其他", + value: 4, + }, ], idCardTypeValue: { - 0: "身份证", - 1: "护照或外国人永居证", - 2: "港澳居民来往内地通行", - 3: "台湾居民来往大陆通行证", - 4: "其他", + 0: "身份证", + 1: "护照或外国人永居证", + 2: "港澳居民来往内地通行", + 3: "台湾居民来往大陆通行证", + 4: "其他", }, loading: false, // 遮罩层 ids: [], // 选中数组 @@ -364,18 +356,18 @@ export default { frequency: [ { required: true, message: "随访频次不能为空", trigger: "blur" }, ], - followupMonth: [ - { required: true, message: "总月数不能为空", trigger: "blur" }, - ], - followWindowAdys: [ - { required: true, message: "窗口期不能为空", trigger: "blur" }, - ], - remindTime: [ - { required: true, message: "临近提醒时间不能为空", trigger: "blur" }, - ], - frequency: [ - { required: true, message: "随访频次不能为空", trigger: "blur" }, - ], + followupMonth: [ + { required: true, message: "总月数不能为空", trigger: "blur" }, + ], + followWindowAdys: [ + { required: true, message: "窗口期不能为空", trigger: "blur" }, + ], + remindTime: [ + { required: true, message: "临近提醒时间不能为空", trigger: "blur" }, + ], + frequency: [ + { required: true, message: "随访频次不能为空", trigger: "blur" }, + ], status: [{ required: true, message: "状态不能为空", trigger: "blur" }], }, }; @@ -393,7 +385,7 @@ export default { crontabFill(value) { this.form.frequency = value; }, - + /** 查询公告列表 */ getList() { this.loading = true;