XMLWAN 4 years ago
parent
commit
c46e932124

+ 1 - 0
build/webpack.base.conf.js View File

@@ -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: {

+ 2 - 0
src/api/patient.js View File

@@ -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 View File

@@ -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 View File

@@ -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: