|
@@ -1098,6 +1098,35 @@ function configWorkspaceModal() {
|
|
|
$("#configWorkspaceModal").modal("show");
|
|
|
}
|
|
|
|
|
|
+/**
|
|
|
+ * 打开配置页面
|
|
|
+ */
|
|
|
+function jumpToFy() {
|
|
|
+//console.log("val()",$("#clinicDeptNo").val())
|
|
|
+ if (currentPatientInfo.patientId) {
|
|
|
+
|
|
|
+ let data = {
|
|
|
+ "healthNo":"",
|
|
|
+ "patientNo":currentPatientInfo.patientId,
|
|
|
+ "hospitalNo":"",
|
|
|
+ "outpatientNo":"",
|
|
|
+ "name":currentPatientInfo.name,
|
|
|
+ "cardType":"01",
|
|
|
+ "cardNo":currentPatientInfo.socialNo?currentPatientInfo.socialNo:"",
|
|
|
+ "birthday":"",
|
|
|
+ "age":"",
|
|
|
+ "tel":currentPatientInfo.phoneNo?currentPatientInfo.phoneNo:"",
|
|
|
+ "workOrgan":"",
|
|
|
+ "lmp":""
|
|
|
+ }
|
|
|
+ const utf8Bytes = encodeURIComponent(JSON.stringify(data)).replace(/%([0-9A-F]{2})/g, (_, hex) => {
|
|
|
+ return String.fromCharCode(parseInt(hex, 16));
|
|
|
+ });
|
|
|
+ let url = "http://58.33.165.250:20011/mchis-web/?token=321322199206140414&module=M102&data=" + btoa(utf8Bytes);
|
|
|
+ window.open(url, "_blank");
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
/**
|
|
|
* 初始化用药天数下拉选
|
|
|
*/
|