diff --git a/src/api/unitconfig/patientConfiguration.js b/src/api/unitconfig/patientConfiguration.js
new file mode 100644
index 0000000..7d0a711
--- /dev/null
+++ b/src/api/unitconfig/patientConfiguration.js
@@ -0,0 +1,87 @@
+import request from '@/utils/request'
+
+// 查询患者就诊记录基本信息列表
+export function listVisitRecord(query) {
+ return request({
+ url: '/manage/patientInfo/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询患者就诊记录基本信息详细
+export function getVisitRecord(id) {
+ return request({
+ url: '/manage/visitRecord/' + id,
+ method: 'get'
+ })
+}
+
+// 新增患者就诊记录基本信息
+export function addVisitRecord(data) {
+ return request({
+ url: '/manage/visitRecord',
+ method: 'post',
+ data: data
+ })
+}
+
+// 保存修改患者就诊记录基本信息
+export function updateVisitRecord(data) {
+ return request({
+ url: '/manage/visitRecord',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除患者就诊记录基本信息
+export function delVisitRecord(id) {
+ return request({
+ url: '/manage/visitRecord/' + id,
+ method: 'delete'
+ })
+}
+
+// 查询患者就诊记录基本信息列表
+export function getList(query) {
+ return request({
+ url: '/manage/visitRecord/getList',
+ method: 'get',
+ params: query
+ })
+}
+
+//点击左侧获取
+export function visitRecordid(id) {
+ return request({
+ url: `/manage/visitRecord/${id}`,
+ method: 'get',
+ })
+}
+
+//主治医生
+export function usergetList(query) {
+ return request({
+ url: `/system/user/getList`,
+ method: 'get',
+ params: query
+ })
+}
+
+export function selectAgencyList(query) {
+ return request({
+ url: '/system/agency/selectAgencyList',
+ method: 'get',
+ params: query
+ })
+}
+
+//新增就诊记录
+export function saveRecord(data) {
+ return request({
+ url: '/manage/visitRecord/saveRecord',
+ method: 'post',
+ data: data
+ })
+}
\ No newline at end of file
diff --git a/src/views/manage/continueSigning/index.vue b/src/views/manage/continueSigning/index.vue
index e7fba3a..f003f4e 100644
--- a/src/views/manage/continueSigning/index.vue
+++ b/src/views/manage/continueSigning/index.vue
@@ -41,26 +41,54 @@
+
+
+
+
+
+
+
-
-
+
+
-
-
+
+
+
+
+ 年
+ 月
+ 日
+
+
-
+
+
至
-
+
-
+
+
+
+
+
+
+
+
@@ -109,10 +137,21 @@ export default {
name: "newSigning",
data() {
return {
- list: {},
signPackage: {
- packageName: undefined
+ packageName: undefined,
+ packagePrice: undefined,
+ serviceCycle: undefined,
+ serviceStartTime: undefined,
+ serviceEndTime: '',
},
+ pickerOptions: {
+ disabledDate: (time) => {
+ if (this.signPackage.serviceEndTime != "") {
+ return time.getTime() > new Date(this.signPackage.serviceEndTime).getTime();
+ }
+ },
+ },
+ list: {},
form: {
record: {
patientId: undefined,
@@ -127,7 +166,7 @@ export default {
informeds: []
},
rules: {
- packageName: [
+ packageId: [
{ required: true, message: '请选择服务包', trigger: 'change' }
],
devices: {
@@ -170,7 +209,13 @@ export default {
},
//续约
signupload() {
- this.$refs.upload.submit();
+ const files = this.$refs.upload.uploadFiles
+ if (files.length > 0) {
+ this.$refs.upload.submit();
+ } else {
+ this.uploadsave();
+ }
+ console.log(this.signPackage)
},
//文件上传完成
handleSuccess(response, file, fileList) {
@@ -179,7 +224,10 @@ export default {
this.form.informeds.push({
informedFilePath: e.response.imgUrl,
})
+ this.uploadsave();
})
+ },
+ uploadsave() {
this.form.signPackage = this.signPackage
addsign(this.form).then(res => {
this.$confirm('签约成功, 是否返回上一页?', '提示', {
diff --git a/src/views/manage/newSigning/index.vue b/src/views/manage/newSigning/index.vue
index 5919bee..6968681 100644
--- a/src/views/manage/newSigning/index.vue
+++ b/src/views/manage/newSigning/index.vue
@@ -29,12 +29,28 @@
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
@@ -96,7 +112,7 @@ export default {
informeds: []
},
rules: {
- packageName: [
+ packageId: [
{ required: true, message: '请选择服务包', trigger: 'change' }
],
devices: {
diff --git a/src/views/unitconfig/PatientConfigurationVisitRecords/index.vue b/src/views/unitconfig/PatientConfigurationVisitRecords/index.vue
new file mode 100644
index 0000000..b53a6ff
--- /dev/null
+++ b/src/views/unitconfig/PatientConfigurationVisitRecords/index.vue
@@ -0,0 +1,331 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/unitconfig/patientConfiguration/index.vue b/src/views/unitconfig/patientConfiguration/index.vue
new file mode 100644
index 0000000..f4fe2a4
--- /dev/null
+++ b/src/views/unitconfig/patientConfiguration/index.vue
@@ -0,0 +1,413 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 新增
+
+
+ 编辑
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.sex == 'MALE' ? '男' : '' }}
+ {{ scope.row.sex == 'FEMALE' ? '女' : '' }}
+
+
+
+
+
+
+ 编辑
+ 就诊记录
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+