XMLWAN před 4 roky
rodič
revize
c46e932124

+ 1 - 0
build/webpack.base.conf.js Zobrazit soubor

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

+ 2 - 0
src/api/patient.js Zobrazit soubor

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

+ 2 - 1
src/xt_pages/user/courseOfDisease.vue Zobrazit soubor

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

+ 1 - 1
static/neditor/neditor.all.js Zobrazit soubor

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