From 228ea4565f396bc4249a2d12de7b0a3d4e442187 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com>
Date: Mon, 4 Mar 2024 16:47:22 +0800
Subject: [PATCH 1/8] =?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/manage/newSigning.js | 10 ++
src/api/manage/signRecord.js | 9 +
src/views/manage/blacklist/index.vue | 7 +-
src/views/manage/continueSigning/index.vue | 193 +++++++++++++++++++++
src/views/manage/newSigning/index.vue | 134 ++++++++++++--
src/views/manage/patientInfo/index.vue | 2 +-
src/views/manage/preHospitalized/index.vue | 2 +-
src/views/manage/signRecord/index.vue | 41 +++--
8 files changed, 366 insertions(+), 32 deletions(-)
create mode 100644 src/api/manage/newSigning.js
create mode 100644 src/views/manage/continueSigning/index.vue
diff --git a/src/api/manage/newSigning.js b/src/api/manage/newSigning.js
new file mode 100644
index 0000000..f706f96
--- /dev/null
+++ b/src/api/manage/newSigning.js
@@ -0,0 +1,10 @@
+import request from '@/utils/request'
+
+// 签约
+export function addsign(data) {
+ return request({
+ url: '/manage/signRecord/sign',
+ method: 'post',
+ data
+ })
+}
\ No newline at end of file
diff --git a/src/api/manage/signRecord.js b/src/api/manage/signRecord.js
index 65094a4..83b3fa1 100644
--- a/src/api/manage/signRecord.js
+++ b/src/api/manage/signRecord.js
@@ -42,3 +42,12 @@ export function delSignRecord(id) {
method: 'delete'
})
}
+
+//解约
+export function updateSignStatus(data) {
+ return request({
+ url: '/manage/signRecord/updateSignStatus',
+ method: 'post',
+ data: data
+ })
+}
\ No newline at end of file
diff --git a/src/views/manage/blacklist/index.vue b/src/views/manage/blacklist/index.vue
index 22a3e53..8d26afc 100644
--- a/src/views/manage/blacklist/index.vue
+++ b/src/views/manage/blacklist/index.vue
@@ -135,15 +135,14 @@
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 至
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 删除
+
+
+ 新增硬件
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/manage/newSigning/index.vue b/src/views/manage/newSigning/index.vue
index e396fd8..eb98c24 100644
--- a/src/views/manage/newSigning/index.vue
+++ b/src/views/manage/newSigning/index.vue
@@ -1,41 +1,133 @@
@@ -61,6 +153,18 @@ export default {
margin: 0 auto;
border-radius: 8px;
}
+
+ .btns {
+ position: absolute;
+ top: 30px;
+ right: 30px;
+ }
+
+ .addbtn {
+ margin-right: 100px;
+ float: right;
+ transform: translateY(-200%);
+ }
}
\ No newline at end of file
diff --git a/src/views/manage/patientInfo/index.vue b/src/views/manage/patientInfo/index.vue
index 41f0a2f..057350f 100644
--- a/src/views/manage/patientInfo/index.vue
+++ b/src/views/manage/patientInfo/index.vue
@@ -70,7 +70,7 @@
-->
-
+
diff --git a/src/views/manage/preHospitalized/index.vue b/src/views/manage/preHospitalized/index.vue
index b2bc84e..1ecfa27 100644
--- a/src/views/manage/preHospitalized/index.vue
+++ b/src/views/manage/preHospitalized/index.vue
@@ -89,7 +89,7 @@
-->
diff --git a/src/views/manage/signRecord/index.vue b/src/views/manage/signRecord/index.vue
index 568e8cf..d980203 100644
--- a/src/views/manage/signRecord/index.vue
+++ b/src/views/manage/signRecord/index.vue
@@ -4,7 +4,7 @@
-
+
-
+
@@ -164,12 +164,10 @@
签约
- 忽略
- 详情
取消签约
+ v-if="queryParams.serviceStatus == 'SERVICE_CENTER'">解约
续约
@@ -182,7 +180,7 @@
From cbe4a2af4521be2f3897f1d01a04ec3eca2db822 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com>
Date: Mon, 4 Mar 2024 16:56:25 +0800
Subject: [PATCH 2/8] =?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/manage/signRecord/index.vue | 25 ++++++++++++++++---------
1 file changed, 16 insertions(+), 9 deletions(-)
diff --git a/src/views/manage/signRecord/index.vue b/src/views/manage/signRecord/index.vue
index d980203..7287040 100644
--- a/src/views/manage/signRecord/index.vue
+++ b/src/views/manage/signRecord/index.vue
@@ -166,8 +166,7 @@
v-if="queryParams.serviceStatus == 'INTENTIONAL_SIGNING'">签约
详情
- 解约
+ 取消签约
续约
@@ -365,13 +364,21 @@ export default {
},
/** 解约按钮操作 */
handleDelete(row) {
- const ids = row.id || this.ids;
- this.$modal.confirm('是否确认解约?').then(function () {
- return delSignRecord(ids);
- }).then(() => {
- this.getList();
- this.$modal.msgSuccess("解约成功");
- }).catch(() => { });
+ // const ids = row.id || this.ids;
+ this.$prompt('原因', '取消签约', {
+ confirmButtonText: '确定',
+ cancelButtonText: '取消',
+ }).then(({ value }) => {
+ const query = {
+ id: row.id,
+ signStatus: 'SEPARATE_SIGN',
+ separateReason: value,
+ }
+ updateSignStatus(query).then(res => {
+ this.getList();
+ this.$modal.msgSuccess("取消签约成功");
+ })
+ })
},
/** 导出按钮操作 */
handleExport() {
From 40d684fe71d71b5fc5d5827468f10a0e0046c783 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=97=AB=E6=99=93=E8=8C=B9?= <1935832701@qq.com>
Date: Tue, 5 Mar 2024 11:07:56 +0800
Subject: [PATCH 3/8] =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E5=8C=85=E9=85=8D?=
=?UTF-8?q?=E7=BD=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/manage/servicewaycontent/index.vue | 157 ++++++++++++++-----
1 file changed, 119 insertions(+), 38 deletions(-)
diff --git a/src/views/manage/servicewaycontent/index.vue b/src/views/manage/servicewaycontent/index.vue
index e10c3e7..fa93e56 100644
--- a/src/views/manage/servicewaycontent/index.vue
+++ b/src/views/manage/servicewaycontent/index.vue
@@ -103,10 +103,10 @@
size="mini"
@click="handleAdd"
v-hasPermi="['manage:servicewaycontent:add']"
- >新增新增服务内容配置
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
数字
-
文本
-
-
-
-
-
-
-
住院
diff --git a/src/views/manage/continueSigning/index.vue b/src/views/manage/continueSigning/index.vue
index 18da1fd..c0cb9bb 100644
--- a/src/views/manage/continueSigning/index.vue
+++ b/src/views/manage/continueSigning/index.vue
@@ -1,69 +1,82 @@
-
+
+
{{ list.signTime }}
+
+
+ {{ list.packageName }}
+
+
意向签约
+
服务中
+
服务结束
+