소스 검색

Merge branch 'master' of http://git.shengws.com/csx/Vue_New

XMLWAN 5 년 전
부모
커밋
ca8a587464

+ 2 - 1
src/xt_pages/data/printTemplate.vue 파일 보기

222
               this.radio = template_id.toString();
222
               this.radio = template_id.toString();
223
               this.tempRadio = template_id.toString();
223
               this.tempRadio = template_id.toString();
224
               // 同步
224
               // 同步
225
+              console.log(response.data.data.fileds)
225
               this.loading = false;
226
               this.loading = false;
226
-               // store.dispatch("updateAllFiledConfigList", response.data.data.fileds).then(() => {});
227
+               store.dispatch("updateAllFiledConfigList", response.data.data.fileds).then(() => {});
227
               this.$message({
228
               this.$message({
228
                 type: "success",
229
                 type: "success",
229
                 message: "切换成功"
230
                 message: "切换成功"

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2451 - 2452
src/xt_pages/dialysis/template/dialysisPrintOrderNine.vue


+ 7 - 0
src/xt_pages/user/components/PatientDetail.vue 파일 보기

391
           </el-radio-group>
391
           </el-radio-group>
392
         </el-form-item>
392
         </el-form-item>
393
       </el-col>
393
       </el-col>
394
+        <el-col :span="6" >
395
+          <el-form-item label="系统前透析次数 : " prop="first_dialysis_hospital">
396
+            <el-input v-model="form.user_sys_before_count" disabled></el-input>
397
+          </el-form-item>
398
+        </el-col>
394
       <el-col :span="6">
399
       <el-col :span="6">
395
         <el-form-item label="首次诊治日期 : "  >
400
         <el-form-item label="首次诊治日期 : "  >
396
             <el-date-picker v-model="form.first_treatment_date" type="date" disabled format="yyyy-MM-dd" value-format="yyyy-MM-dd"></el-date-picker>
401
             <el-date-picker v-model="form.first_treatment_date" type="date" disabled format="yyyy-MM-dd" value-format="yyyy-MM-dd"></el-date-picker>
812
             // this.form.record_date = patietInfo.is_infectious
817
             // this.form.record_date = patietInfo.is_infectious
813
             this.form.response_result = patietInfo.response_result
818
             this.form.response_result = patietInfo.response_result
814
             this.form.remind_cycle = patietInfo.remind_cycle
819
             this.form.remind_cycle = patietInfo.remind_cycle
820
+            this.form.user_sys_before_count = patietInfo.user_sys_before_count
821
+
815
             this.infections = response.data.data.infections
822
             this.infections = response.data.data.infections
816
             this.form.formItem = this.infections
823
             this.form.formItem = this.infections
817
             if (this.infections != null) {
824
             if (this.infections != null) {

+ 11 - 1
src/xt_pages/user/components/PatientForm.vue 파일 보기

587
               </el-form-item>
587
               </el-form-item>
588
             </el-col>
588
             </el-col>
589
 
589
 
590
+
591
+            <el-col :span="6" :style="isEdit?'width:360px':''">
592
+                <el-form-item label="系统前透析次数 : " prop="user_sys_before_count">
593
+                  <el-input v-model="form.user_sys_before_count"></el-input>
594
+              </el-form-item>
595
+            </el-col>
596
+
597
+
590
             <el-col :span="6" :style="isEdit?'width:360px':''">
598
             <el-col :span="6" :style="isEdit?'width:360px':''">
591
               <el-form-item label="首次诊治时间 : ">
599
               <el-form-item label="首次诊治时间 : ">
592
                 <el-date-picker
600
                 <el-date-picker
747
   dialysis_age: "",
755
   dialysis_age: "",
748
   expense_kind: "",
756
   expense_kind: "",
749
   contact_name: "",
757
   contact_name: "",
758
+  user_sys_before_count:"",
750
 
759
 
751
   formItem: [
760
   formItem: [
752
     {
761
     {
1220
                   this.$refs[formName].resetFields();
1229
                   this.$refs[formName].resetFields();
1221
                   this.$store.dispatch("SetSubscibePatients");
1230
                   this.$store.dispatch("SetSubscibePatients");
1222
                   var sub = this.$store.getters.xt_user.subscibe;
1231
                   var sub = this.$store.getters.xt_user.subscibe;
1223
-                  console.log(sub);
1224
                   if (action !== "renew") {
1232
                   if (action !== "renew") {
1225
                     this.$router.back(-1);
1233
                     this.$router.back(-1);
1226
                   }
1234
                   }
1387
             this.form.homeAddress = patietInfo.home_address;
1395
             this.form.homeAddress = patietInfo.home_address;
1388
             this.form.work = patietInfo.work_unit;
1396
             this.form.work = patietInfo.work_unit;
1389
             this.form.unit_address = patietInfo.unit_address;
1397
             this.form.unit_address = patietInfo.unit_address;
1398
+            this.form.user_sys_before_count = patietInfo.user_sys_before_count;
1399
+
1390
 
1400
 
1391
             if (patietInfo.profession > 0) {
1401
             if (patietInfo.profession > 0) {
1392
               this.form.profession = patietInfo.profession;
1402
               this.form.profession = patietInfo.profession;

+ 19 - 11
src/xt_pages/user/patient.vue 파일 보기

15
 	    <label class="title"><span class="name">日期查询</span> : </label>
15
 	    <label class="title"><span class="name">日期查询</span> : </label>
16
        <el-date-picker size="small" v-model="listQuery.start_time"  prefix-icon="el-icon-date" @change="changeTime" :editable="false" style="width: 196px;" type="date" placeholder="选择日期时间" align="right"   format="yyyy-MM-dd" value-format="yyyy-MM-dd" > </el-date-picker>
16
        <el-date-picker size="small" v-model="listQuery.start_time"  prefix-icon="el-icon-date" @change="changeTime" :editable="false" style="width: 196px;" type="date" placeholder="选择日期时间" align="right"   format="yyyy-MM-dd" value-format="yyyy-MM-dd" > </el-date-picker>
17
        <span class="cellLine"> - </span>
17
        <span class="cellLine"> - </span>
18
-       <el-date-picker size="small" v-model="listQuery.end_time"  prefix-icon="el-icon-date" @change="changeTime" :editable="false" style="width: 196px;" type="date" placeholder="选择日期时间" align="right"   format="yyyy-MM-dd" value-format="yyyy-MM-dd"> </el-date-picker>       
18
+       <el-date-picker size="small" v-model="listQuery.end_time"  prefix-icon="el-icon-date" @change="changeTime" :editable="false" style="width: 196px;" type="date" placeholder="选择日期时间" align="right"   format="yyyy-MM-dd" value-format="yyyy-MM-dd"> </el-date-picker>
19
     </div>
19
     </div>
20
     <div class="cell clearfix">
20
     <div class="cell clearfix">
21
 	    <label class="title"><span class="name">排班班次</span> : </label>
21
 	    <label class="title"><span class="name">排班班次</span> : </label>
95
         </el-table-column> -->
95
         </el-table-column> -->
96
         <el-table-column align="center" label="全选" width="60px" type="selection" ></el-table-column>
96
         <el-table-column align="center" label="全选" width="60px" type="selection" ></el-table-column>
97
         <el-table-column type="index" label="序号" width="60px" align="center"></el-table-column>
97
         <el-table-column type="index" label="序号" width="60px" align="center"></el-table-column>
98
-        <el-table-column  label="透析号" min-width="80" property="dialysis_no" align="center"></el-table-column>         
98
+        <el-table-column  label="透析号" min-width="80" property="dialysis_no" align="center"></el-table-column>
99
         <el-table-column  label="住院号" min-width="80"  property="admission_number" align="center"> </el-table-column>
99
         <el-table-column  label="住院号" min-width="80"  property="admission_number" align="center"> </el-table-column>
100
-        <el-table-column property="name" label="姓名" min-width="80" align="center"> 
100
+        <el-table-column property="name" label="姓名" min-width="80" align="center">
101
           <template slot-scope="scope" >
101
           <template slot-scope="scope" >
102
             <router-link :to="'/patients/edit/'+scope.row.id" style="color:#409eff" >{{scope.row.name}}</router-link>
102
             <router-link :to="'/patients/edit/'+scope.row.id" style="color:#409eff" >{{scope.row.name}}</router-link>
103
           </template>
103
           </template>
116
             <span v-else>未知</span>
116
             <span v-else>未知</span>
117
           </template>
117
           </template>
118
         </el-table-column>
118
         </el-table-column>
119
-        <el-table-column property="total_dialysis" label="透析次数" min-width="94" align="center"> </el-table-column>
119
+        <el-table-column property="total_dialysis" label="透析次数" min-width="94" align="center">
120
+          <template slot-scope="scope" >
121
+            <span>{{getCount(scope.row)}}</span>
122
+          </template>
123
+        </el-table-column>
120
         <el-table-column min-width="150" label="二维码" align="center">
124
         <el-table-column min-width="150" label="二维码" align="center">
121
           <template slot-scope="scope"  type="text">
125
           <template slot-scope="scope"  type="text">
122
             <a style="color:#409eff"  v-if="scope.row.binding_state==1" @click="openWechatBindDialog">已绑定</a>
126
             <a style="color:#409eff"  v-if="scope.row.binding_state==1" @click="openWechatBindDialog">已绑定</a>
129
         </template>
133
         </template>
130
         </el-table-column>
134
         </el-table-column>
131
       </el-table>
135
       </el-table>
132
-      
136
+
133
       <!-- <pagi-nation title="分页"></pagi-nation> -->
137
       <!-- <pagi-nation title="分页"></pagi-nation> -->
134
-      
138
+
135
       <el-pagination
139
       <el-pagination
136
         @size-change="handleSizeChange"
140
         @size-change="handleSizeChange"
137
         @current-change="handleCurrentChange"
141
         @current-change="handleCurrentChange"
143
         layout="total, sizes, prev, pager, next, jumper"
147
         layout="total, sizes, prev, pager, next, jumper"
144
         :total="total">
148
         :total="total">
145
       </el-pagination>
149
       </el-pagination>
146
-      
150
+
147
 
151
 
148
       <el-dialog
152
       <el-dialog
149
       title="微信绑定"
153
       title="微信绑定"
157
       </span>
161
       </span>
158
     </el-dialog>
162
     </el-dialog>
159
 
163
 
160
-    </div> 
161
-    
164
+    </div>
165
+
162
 </template>
166
 </template>
163
 
167
 
164
 
168
 
282
     this.reimbursement_ways = this.$store.getters.reimbursement_ways;
286
     this.reimbursement_ways = this.$store.getters.reimbursement_ways;
283
   },
287
   },
284
   methods: {
288
   methods: {
289
+    getCount(row){
290
+      console.log(row)
291
+      return row.total_dialysis + row.user_sys_before_count
292
+    },
285
     openWechatBindDialog(){
293
     openWechatBindDialog(){
286
       this.bindWechatDialog = true;
294
       this.bindWechatDialog = true;
287
     },
295
     },
320
       this.sourceID = sourceID;
328
       this.sourceID = sourceID;
321
       this.lapsetoType = lapseto;
329
       this.lapsetoType = lapseto;
322
       this.listQuery.source = sourceID;
330
       this.listQuery.source = sourceID;
323
-      this.listQuery.lapseto = lapseto; 
331
+      this.listQuery.lapseto = lapseto;
324
       this.getList();
332
       this.getList();
325
     },
333
     },
326
     changeTime(){
334
     changeTime(){
345
         }
353
         }
346
       });
354
       });
347
     },
355
     },
348
-    
356
+
349
   //  components:{
357
   //  components:{
350
   //    pagiNation
358
   //    pagiNation
351
   //  }
359
   //  }

+ 7 - 1
src/xt_pages/user/patients.vue 파일 보기

265
           </template>
265
           </template>
266
         </el-table-column>
266
         </el-table-column>
267
         <el-table-column
267
         <el-table-column
268
-          property="total_dialysis"
269
           label="透析次数"
268
           label="透析次数"
270
           min-width="94"
269
           min-width="94"
271
           align="center"
270
           align="center"
272
         >
271
         >
272
+          <template slot-scope="scope" >
273
+            <span>{{getCount(scope.row)}}</span>
274
+          </template>
273
         </el-table-column>
275
         </el-table-column>
274
         <!-- <el-table-column min-width="150" label="二维码" align="center">
276
         <!-- <el-table-column min-width="150" label="二维码" align="center">
275
         <template slot-scope="scope"  type="text">
277
         <template slot-scope="scope"  type="text">
574
   },
576
   },
575
 
577
 
576
   methods: {
578
   methods: {
579
+    getCount(row){
580
+      console.log(row)
581
+      return row.total_dialysis + row.user_sys_before_count
582
+    },
577
     EditLapseto() {
583
     EditLapseto() {
578
       if (this.lapsetoForm.lapseto_time == "") {
584
       if (this.lapsetoForm.lapseto_time == "") {
579
         this.$message.error("请选择时间");
585
         this.$message.error("请选择时间");