diff --git a/acupuncture-前台/src/api/followupFile.js b/acupuncture-前台/src/api/followupFile.js
index ba1c7084..150b4795 100644
--- a/acupuncture-前台/src/api/followupFile.js
+++ b/acupuncture-前台/src/api/followupFile.js
@@ -1,5 +1,12 @@
import request from "@/utils/request";
-
+// 公共队列
+export function commonQueue(data) {
+ return request({
+ url: "/followup/commonQueue",
+ method: "post",
+ data: data,
+ });
+}
// 随访队列
export function followupQuery(data) {
return request({
diff --git a/acupuncture-前台/src/views/followFile/index.vue b/acupuncture-前台/src/views/followFile/index.vue
index cc515a66..99830a18 100644
--- a/acupuncture-前台/src/views/followFile/index.vue
+++ b/acupuncture-前台/src/views/followFile/index.vue
@@ -119,13 +119,24 @@
>
禁用
- 启用
+ 本院
+
+
+ 公共
+ 启用
+
+
@@ -247,6 +258,7 @@ import {
followupAdd,
followupUpd,
followupDel,
+ commonQueue
} from "@/api/followupFile";
export default {
name: "Notice",
@@ -338,11 +350,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'))
this.listDat = res.data.list;
+ commonQueue.forEach(i=>{
+ this.listDat.unshift(i)
+ })
this.total = res.data.total;
this.loading = false;
});
diff --git a/acupuncture-前台/src/views/followFile/subjects.vue b/acupuncture-前台/src/views/followFile/subjects.vue
index 30500142..f56fd7a9 100644
--- a/acupuncture-前台/src/views/followFile/subjects.vue
+++ b/acupuncture-前台/src/views/followFile/subjects.vue
@@ -47,8 +47,9 @@
max-height="600"
>
-
+
{
this.followupList = res.data.list;
+ let commonQueue = JSON.parse(localStorage.getItem('commonQueue'))
+ commonQueue.forEach(i=>{
+ this.followupList.unshift(i)
+ })
});
},
diff --git a/acupuncture-前台/src/views/login.vue b/acupuncture-前台/src/views/login.vue
index 5f898936..173684b5 100644
--- a/acupuncture-前台/src/views/login.vue
+++ b/acupuncture-前台/src/views/login.vue
@@ -1,251 +1,251 @@
-
-
- 针灸后台管理系统
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
![]()
-
-
- 记住密码
-
-
- 登 录
- 登 录 中...
-
-
- 立即注册
-
-
-
-
-
-
+
+
+ 针灸后台管理系统
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
![]()
+
+
+ 记住密码
+
+
+ 登 录
+ 登 录 中...
+
+
+ 立即注册
+
+
+
+
+
+
+ .login-code-img {
+ height: 38px;
+ }
+
\ No newline at end of file
diff --git a/acupuncture-前台/src/views/medicalFile/index.vue b/acupuncture-前台/src/views/medicalFile/index.vue
index 39deb42a..23a642b6 100644
--- a/acupuncture-前台/src/views/medicalFile/index.vue
+++ b/acupuncture-前台/src/views/medicalFile/index.vue
@@ -1062,7 +1062,7 @@
},
created() {
let idCard = this.$route.query.idCard
- this.queryParams.param.idCard = idCard || ''
+ this.queryParams.param.keywords = idCard || ''
this.getList();
this.getFollowupQuery();
},
@@ -1076,6 +1076,10 @@
},
}).then((res) => {
this.followupList = res.data.list;
+ let commonQueue = JSON.parse(localStorage.getItem('commonQueue'))
+ commonQueue.forEach(i=>{
+ this.followupList.unshift(i)
+ })
});
},
// 诊疗方案点击
diff --git a/acupuncture-前台/src/views/patientFile/index.vue b/acupuncture-前台/src/views/patientFile/index.vue
index 01a69fef..6b1d4ec8 100644
--- a/acupuncture-前台/src/views/patientFile/index.vue
+++ b/acupuncture-前台/src/views/patientFile/index.vue
@@ -299,7 +299,23 @@
required: true,
message: "手机号码不能为空",
trigger: "blur"
- }, ],
+ },{
+ // 自定义验证函数
+ validator: (rule, value, callback) => {
+ // 返回true表示校验通过,返回false表示不通过
+ // 过滤第一层,先判断输入为不为空,因为required: false,不是必填项,所以为空应该返回true
+ let regs = /^1[3-9]\d{9}$/;
+ if (!regs.test(this.form.phone)) {
+ return false
+ }else{
+ return true
+ }
+ },
+ message: '手机号码格式不正确',
+ // 触发器可以同时用blur和change
+ trigger: ['change','blur'],
+ }
+ ],
ethnicity: [{
required: true,
message: "民族不能为空",