瀏覽代碼

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

see999 3 年之前
父節點
當前提交
e8f36830d0

+ 1 - 2
src/api/dialysis.js 查看文件

157
 }
157
 }
158
 
158
 
159
 export function postSoulution(params) {
159
 export function postSoulution(params) {
160
-  console.log("params",params)
160
+  console.log('params', params)
161
   return request({
161
   return request({
162
     url: '/api/dialysis/soulution',
162
     url: '/api/dialysis/soulution',
163
     method: 'Post',
163
     method: 'Post',
242
 }
242
 }
243
 
243
 
244
 export function CreateGroupAdvice(id, groupno, advices) {
244
 export function CreateGroupAdvice(id, groupno, advices) {
245
- 
246
   return request({
245
   return request({
247
     url: '/api/advice_remind/create?id=' + id + '&groupno=' + groupno,
246
     url: '/api/advice_remind/create?id=' + id + '&groupno=' + groupno,
248
     method: 'post',
247
     method: 'post',

+ 10 - 2
src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue 查看文件

297
           </template>
297
           </template>
298
         </el-table-column>
298
         </el-table-column>
299
       </el-table>
299
       </el-table>
300
+
301
+
300
       <el-table
302
       <el-table
301
         v-else
303
         v-else
302
         :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }"
304
         :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }"
1161
         this.groupSelectRow = row
1163
         this.groupSelectRow = row
1162
       }
1164
       }
1163
       ,
1165
       ,
1164
-      openDeleteGroupAdvice() {
1166
+      openDeleteGroupAdvice(val) {
1167
+        console.log("val2323233232",this.groupSelectRow)
1165
         if (this.groupSelectRow === null) {
1168
         if (this.groupSelectRow === null) {
1166
           this.$message.error('未选择要删除的医嘱内容')
1169
           this.$message.error('未选择要删除的医嘱内容')
1167
           return
1170
           return
1168
         }
1171
         }
1172
+        if(this.groupSelectRow.execution_state == 1){
1173
+           this.$message.error("已执行的医嘱无法删除!")
1174
+           return
1175
+        }
1169
         this.DeleteGroupAdvice(this.groupSelectRow.groupno)
1176
         this.DeleteGroupAdvice(this.groupSelectRow.groupno)
1170
 
1177
 
1171
         // this.$confirm('确认删除些条医嘱内容?', '删除医嘱内容', {
1178
         // this.$confirm('确认删除些条医嘱内容?', '删除医嘱内容', {
1549
       ,
1556
       ,
1550
 
1557
 
1551
       openEditGroupAdvice() {
1558
       openEditGroupAdvice() {
1559
+        console.log("医嘱泪奔23332233223",this.groupSelectRow)
1552
         if (this.groupSelectRow === null) {
1560
         if (this.groupSelectRow === null) {
1553
           this.$message.error('未选择要修改的医嘱内容')
1561
           this.$message.error('未选择要修改的医嘱内容')
1554
           return
1562
           return
2134
       cellMouseEnter: function(row, column, event) {
2142
       cellMouseEnter: function(row, column, event) {
2135
         console.log("数据是",row)
2143
         console.log("数据是",row)
2136
         this.currentRow = row
2144
         this.currentRow = row
2137
-        // this.groupSelectRow = row
2145
+        this.groupSelectRow = row
2138
         // this.sameRowArr.forEach((arr, i) => {
2146
         // this.sameRowArr.forEach((arr, i) => {
2139
         //   if (arr.indexOf(row.index) != -1) {
2147
         //   if (arr.indexOf(row.index) != -1) {
2140
         //     this.hoverOrderArr = arr
2148
         //     this.hoverOrderArr = arr

+ 23 - 13
src/xt_pages/user/dialysisSolution.vue 查看文件

900
         epo:"",
900
         epo:"",
901
         epo_count:"",
901
         epo_count:"",
902
         max_ultrafiltration_rate:"",
902
         max_ultrafiltration_rate:"",
903
-
903
+   
904
       },
904
       },
905
       childPlan: {
905
       childPlan: {
906
         mode: '',
906
         mode: '',
1586
       this.addPlan.hemodialysis_machine = row.hemodialysis_machine + ''
1586
       this.addPlan.hemodialysis_machine = row.hemodialysis_machine + ''
1587
       this.addPlan.perfusion_apparatus = row.perfusion_apparatus + ''
1587
       this.addPlan.perfusion_apparatus = row.perfusion_apparatus + ''
1588
       this.addPlan.max_ultrafiltration_rate = row.max_ultrafiltration_rate
1588
       this.addPlan.max_ultrafiltration_rate = row.max_ultrafiltration_rate
1589
+
1590
+      // this.addPlan.oxygen_uptake = row.oxygen_uptake
1591
+      // this.addPlan.hemodialysis_pipelines = row.hemodialysis_pipelines
1592
+      // this.addPlan.hemodialysis_pipelines_count = row.hemodialysis_pipelines_count
1593
+      // this.addPlan.puncture_needle = row.puncture_needle
1594
+      // this.addPlan.puncture_needle_count = row.puncture_needle_count
1595
+      // this.addPlan.epo = row.epo
1596
+      // this.addPlan.epo_count = row.epo_count
1589
       if(row.blood_flow_volume!="" || row.blood_flow_volume!=undefined){
1597
       if(row.blood_flow_volume!="" || row.blood_flow_volume!=undefined){
1590
         this.addPlan.blood_flow_volume = row.blood_flow_volume.toString()
1598
         this.addPlan.blood_flow_volume = row.blood_flow_volume.toString()
1591
       }
1599
       }
1658
     
1666
     
1659
       this.addPlan.remark = row.remark
1667
       this.addPlan.remark = row.remark
1660
 
1668
 
1661
-      // this.addPlan.hemodialysis_pipelines  = row.hemodialysis_pipelines
1669
+      this.addPlan.hemodialysis_pipelines  = row.hemodialysis_pipelines
1662
 
1670
 
1663
-      // if(row.hemodialysis_pipelines_count!="" || row.hemodialysis_pipelines_count!=undefined){
1664
-      //   this.addPlan.hemodialysis_pipelines_count  = row.hemodialysis_pipelines_count.toString()
1665
-      // }
1671
+      if(row.hemodialysis_pipelines_count!="" || row.hemodialysis_pipelines_count!=undefined){
1672
+        this.addPlan.hemodialysis_pipelines_count  = row.hemodialysis_pipelines_count.toString()
1673
+      }
1666
      
1674
      
1667
-      // this.addPlan.puncture_needle  = row.puncture_needle
1675
+      this.addPlan.puncture_needle  = row.puncture_needle
1668
 
1676
 
1669
-      // if(row.puncture_needle_count!=null || row.puncture_needle_count!=undefined){
1670
-      //   this.addPlan.puncture_needle_count = row.puncture_needle_count.toString()
1671
-      // }
1677
+      if(row.puncture_needle_count!=null || row.puncture_needle_count!=undefined){
1678
+        this.addPlan.puncture_needle_count = row.puncture_needle_count.toString()
1679
+      }
1672
      
1680
      
1673
-      // this.addPlan.epo  = row.epo
1681
+      this.addPlan.epo  = row.epo
1674
 
1682
 
1675
-      // if(row.epo_count!="" || row.epo_count!=undefined){
1676
-      //   this.addPlan.epo_count  = row.epo_count.toString()
1677
-      // }
1683
+      if(row.epo_count!="" || row.epo_count!=undefined){
1684
+        this.addPlan.epo_count  = row.epo_count.toString()
1685
+      }
1678
     
1686
     
1679
       if(row.dialyzer_perfusion_apparatus!="" ||  row.dialyzer_perfusion_apparatus!=undefined){
1687
       if(row.dialyzer_perfusion_apparatus!="" ||  row.dialyzer_perfusion_apparatus!=undefined){
1680
          this.addPlan.dialyzer_perfusion_apparatus = row.dialyzer_perfusion_apparatus.toString()
1688
          this.addPlan.dialyzer_perfusion_apparatus = row.dialyzer_perfusion_apparatus.toString()
1693
       this.dialysis_dialyszers = row.dialysis_dialyszers
1701
       this.dialysis_dialyszers = row.dialysis_dialyszers
1694
       this.addPlan.oxygen_uptake = row.oxygen_uptake
1702
       this.addPlan.oxygen_uptake = row.oxygen_uptake
1695
       this.addPlan.max_ultrafiltration_rate = row.max_ultrafiltration_rate
1703
       this.addPlan.max_ultrafiltration_rate = row.max_ultrafiltration_rate
1704
+      this.addPlan.oxygen_flow = row.oxygen_flow
1705
+      this.addPlan.oxygen_time = row.oxygen_time
1696
       if(row.oxygen_uptake == 1){
1706
       if(row.oxygen_uptake == 1){
1697
         this.oxygenShow = true
1707
         this.oxygenShow = true
1698
       }
1708
       }