Explorar o código

修改链接的服务器

zsw007 %!s(int64=3) %!d(string=hai) anos
pai
achega
db350d05b1

+ 1 - 1
src/api/utils.js

@@ -40,7 +40,7 @@ let width = '',//屏幕宽度
   addPart = null;//展开区域,这个展开的宽度应当是固定宽度了
   addPart = null;//展开区域,这个展开的宽度应当是固定宽度了
 /**
 /**
  * 
  * 
- * @param {事件对象} event 
+ * @param {事件对象} event
  * @param {被拖动的元素} dragModalWrap
  * @param {被拖动的元素} dragModalWrap
  * @param {可拖动的区域} dragModalTitle 
  * @param {可拖动的区域} dragModalTitle 
  */
  */

+ 2 - 1
src/components/icss/AddMedicinePrompt.vue

@@ -206,7 +206,7 @@ export default {
   },
   },
   created: function() {
   created: function() {
     const { isEdit, data, isCopy } = this.$route.params;   
     const { isEdit, data, isCopy } = this.$route.params;   
-    console.log(data)
+    console.log('静态数据???',data)
     if (isEdit || isCopy) {
     if (isEdit || isCopy) {
       this.showType = data.type; // 编辑页确认显示类型
       this.showType = data.type; // 编辑页确认显示类型
       this.isEdit = isEdit;
       this.isEdit = isEdit;
@@ -401,6 +401,7 @@ export default {
         this.form.prags.splice(i, 2, temp, it);
         this.form.prags.splice(i, 2, temp, it);
       }
       }
     },
     },
+    // 添加段落
     addParagraph(i) {
     addParagraph(i) {
       this.form.prags.splice(i + 1, 0, {
       this.form.prags.splice(i + 1, 0, {
         title: '',
         title: '',

+ 4 - 0
src/components/icss/MedicineInfoPg.vue

@@ -182,9 +182,13 @@ export default {
     reOrder(i) {
     reOrder(i) {
       this.$emit('reOrder', i, this.index);
       this.$emit('reOrder', i, this.index);
     },
     },
+    
+    // 添加段落
     addEmit() {
     addEmit() {
       this.$emit('add');
       this.$emit('add');
     },
     },
+
+    // 删除段落
     delEmit() {
     delEmit() {
       this.$emit('del', this.index);
       this.$emit('del', this.index);
     },
     },

+ 9 - 0
src/components/icss/sonhospital/SonHospital.vue

@@ -156,6 +156,8 @@ export default {
         }
         }
       });
       });
     },
     },
+
+    // 确定保存
     onSubmit() {
     onSubmit() {
       this.$refs.form.validate(valid => {
       this.$refs.form.validate(valid => {
         if (valid) {
         if (valid) {
@@ -168,6 +170,7 @@ export default {
             item.errorCurrent = false;
             item.errorCurrent = false;
           });
           });
           api.saveHospitalRelation(params).then(res => {
           api.saveHospitalRelation(params).then(res => {
+            console.log('添加的数据??', res);
             if (res.data.code === '0') {
             if (res.data.code === '0') {
               this.$message({
               this.$message({
                 showClose: true,
                 showClose: true,
@@ -229,6 +232,7 @@ export default {
       });
       });
     },
     },
 
 
+    // 添加
     add() {
     add() {
       this.form.hospitalRelationVOList.push({
       this.form.hospitalRelationVOList.push({
         name: '',
         name: '',
@@ -237,6 +241,8 @@ export default {
         errorCurrent: false
         errorCurrent: false
       });
       });
     },
     },
+
+    // 新增
     addIndex(i) {
     addIndex(i) {
       this.form.hospitalRelationVOList.splice(i + 1, 0, {
       this.form.hospitalRelationVOList.splice(i + 1, 0, {
         name: '',
         name: '',
@@ -244,10 +250,13 @@ export default {
         errorOther: false,
         errorOther: false,
         errorCurrent: false
         errorCurrent: false
       });
       });
+      // 延迟执行
       this.$nextTick(() => {
       this.$nextTick(() => {
         this.$refs.tableList.bodyWrapper.scrollTop += 55;
         this.$refs.tableList.bodyWrapper.scrollTop += 55;
       });
       });
     },
     },
+    
+    // 删除
     delIndex(i) {
     delIndex(i) {
       this.form.hospitalRelationVOList.splice(i, 1);
       this.form.hospitalRelationVOList.splice(i, 1);
     }
     }

+ 2 - 1
vue.config.js

@@ -1,7 +1,8 @@
 const path = require('path');
 const path = require('path');
 // const proxy_path = 'http://192.168.2.241:80';
 // const proxy_path = 'http://192.168.2.241:80';
 // const proxy_path = 'http://192.168.2.236:88';
 // const proxy_path = 'http://192.168.2.236:88';
-const proxy_path = 'http://192.168.2.236:6060';
+//const proxy_path = 'http://192.168.2.236:6060';
+const proxy_path = 'http://192.168.2.241:6060';
 // const proxy_path = 'http://192.168.3.101:5050';
 // const proxy_path = 'http://192.168.3.101:5050';
 // const proxy_path = 'http://192.168.3.117:5050';//周铁刚
 // const proxy_path = 'http://192.168.3.117:5050';//周铁刚
 // const proxy_path = 'http://192.168.3.113:5050'; //王峰
 // const proxy_path = 'http://192.168.3.113:5050'; //王峰