瀏覽代碼

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

see999 4 年之前
父節點
當前提交
0a1b95ad20
共有 6 個文件被更改,包括 11 次插入7 次删除
  1. 1 0
      build/webpack.base.conf.js
  2. 3 3
      package-lock.json
  3. 2 2
      package.json
  4. 2 0
      src/api/patient.js
  5. 2 1
      src/xt_pages/user/courseOfDisease.vue
  6. 1 1
      static/neditor/neditor.all.js

+ 1 - 0
build/webpack.base.conf.js 查看文件

@@ -36,6 +36,7 @@ module.exports = {
36 36
     alias: {
37 37
       'vue$': 'vue/dist/vue.esm.js',
38 38
       '@': resolve('src'),
39
+      'vendor': path.resolve(__dirname, '../src/vendor'),
39 40
     }
40 41
   },
41 42
   module: {

+ 3 - 3
package-lock.json 查看文件

@@ -4407,9 +4407,9 @@
4407 4407
       }
4408 4408
     },
4409 4409
     "file-saver": {
4410
-      "version": "1.3.3",
4411
-      "resolved": "https://registry.npmjs.org/file-saver/-/file-saver-1.3.3.tgz",
4412
-      "integrity": "sha1-zdTETTqiZOrC9o7BZbx5HDSvEjI="
4410
+      "version": "1.3.8",
4411
+      "resolved": "https://registry.npmjs.org/file-saver/-/file-saver-1.3.8.tgz",
4412
+      "integrity": "sha512-spKHSBQIxxS81N/O21WmuXA2F6wppUCsutpzenOeZzOCCJ5gEfcbqJP983IrpLXzYmXnMUa6J03SubcNPdKrlg=="
4413 4413
     },
4414 4414
     "filename-regex": {
4415 4415
       "version": "2.0.1",

+ 2 - 2
package.json 查看文件

@@ -48,7 +48,7 @@
48 48
     "dropzone": "5.2.0",
49 49
     "echarts": "3.8.5",
50 50
     "element-ui": "^2.13.2",
51
-    "file-saver": "^1.3.3",
51
+    "file-saver": "^1.3.8",
52 52
     "font-awesome": "4.7.0",
53 53
     "js-cookie": "2.2.0",
54 54
     "jsonlint": "1.6.3",
@@ -113,7 +113,7 @@
113 113
     "rimraf": "2.6.2",
114 114
     "sass-loader": "^6.0.7",
115 115
     "sass-resources-loader": "^1.3.4",
116
-    "script-loader": "0.7.2",
116
+    "script-loader": "^0.7.2",
117 117
     "semver": "5.4.1",
118 118
     "shelljs": "0.7.8",
119 119
     "svg-sprite-loader": "3.5.2",

+ 2 - 0
src/api/patient.js 查看文件

@@ -158,12 +158,14 @@ export function getCourseOfDiseaseRecords(patient_id, start_time_ymd, end_time_y
158 158
 }
159 159
 
160 160
 export function createCourseOfDiseaseRecord(patient_id, content, record_time, title) {
161
+  
161 162
   var params = {
162 163
     patient_id: patient_id,
163 164
     content: content,
164 165
     record_time: record_time,
165 166
     title: title
166 167
   }
168
+  console.log("params222222",params)
167 169
   return request({
168 170
     url: '/api/patient/course/create',
169 171
     method: 'post',

+ 2 - 1
src/xt_pages/user/courseOfDisease.vue 查看文件

@@ -107,7 +107,8 @@
107 107
                 <editor ref="editor"
108 108
                         id="editors"
109 109
                         style="width: 600px"
110
-                        v-bind:r_content="new_content">
110
+                        v-bind:r_content="new_content"
111
+                        >
111 112
                 </editor>
112 113
               </keep-alive>
113 114
             </div>

+ 1 - 1
static/neditor/neditor.all.js 查看文件

@@ -32134,7 +32134,7 @@ UE.ui = baidu.editor.ui = {};
32134 32134
       function setCount(editor, ui) {
32135 32135
         editor.setOpt({
32136 32136
           wordCount: true,
32137
-          maximumWords: 10000,
32137
+          maximumWords: 100000,
32138 32138
           wordCountMsg:
32139 32139
             editor.options.wordCountMsg || editor.getLang("wordCountMsg"),
32140 32140
           wordOverFlowMsg: