wgl 4 lat temu
rodzic
commit
cb547897f7

+ 1 - 1
config/project.js

@@ -1 +1 @@
-exports.name = 'pension'
+exports.name = 'business'

+ 1 - 1
src/projects/business/views/Common/Health/Cert.vue

@@ -19,7 +19,7 @@
 						<li class="mui-table-view-cell mui-media mui-col-xs-12">
 							<div class="vongi-jkz-list">
 								<div class="fyy-statistics-body">
-									<h2>{{detail.name}}<span :style="'color:'+statusTitleColor">{{statusName}}</span></h2>
+									<h2>{{detail.name}}<span :style="'color:'+statusTitleColor+';border-color:'+statusTitleColor">{{statusName}}</span></h2>
 									<a class="mui-navigate-right" @click="showGreenCode">
 										<span class="mui-icon iconfont icon-erweima1" :style="'color: '+statusTitleColor+';'"></span>
 									</a>

+ 5 - 2
src/projects/pension/views/Master/Drug/Add.vue

@@ -153,8 +153,11 @@
 				}];
 				picker.setData(data);
 				var _this = this;
-				picker.pickers[0].setSelectedIndex(parseInt(_this.subForm.nextDays));
-				picker.pickers[1].setSelectedIndex(parseInt(_this.subForm.medicationFrequency) - 1);
+				if (_this.subForm.medicationFrequency) {
+					picker.pickers[0].setSelectedIndex(parseInt(_this.subForm.nextDays));
+					picker.pickers[1].setSelectedIndex(parseInt(_this.subForm.medicationFrequency) - 1);
+				}
+
 				picker.show(function(selectItems) {
 					_this.subForm.nextDays = selectItems[0].value;
 					_this.subForm.medicationFrequency = selectItems[1].value;

+ 15 - 0
src/projects/pension/views/Master/Drug/Home.vue

@@ -248,12 +248,27 @@
 					mui.toast(error);
 				})
 			},
+			//获取日历计划信息
+			getMedicationCalendar() {
+				this.isLoading = true;
+				API_Drug.medicationCalendar().then(response => {
+					this.isLoading = false;
+
+					//this.list = response.list;
+
+				}).catch(error => {
+					this.isLoading = false;
+					mui.toast(error);
+				})
+			},
 			asynCallBack() {
 
 			},
 		},
 		mounted() {
 			console.log(this.weekDayList)
+			//获取日历计划信息
+			this.getMedicationCalendar()
 			//获取计划信息
 			this.getMedicationList();
 		},