Browse Source

新功能

test_user 2 years ago
parent
commit
fdf1e80a03

+ 1 - 2
src/xt_pages/outpatientCharges/summary.vue View File

121
                       <el-button slot="reference" style="margin:0 10px;" type="primary" size="small">打印</el-button>
121
                       <el-button slot="reference" style="margin:0 10px;" type="primary" size="small">打印</el-button>
122
 
122
 
123
                     </el-popover> -->
123
                     </el-popover> -->
124
-          <el-button size="small" type="primary" @click="batch_print_settlte"
125
-          >批量打印结算单
124
+          <el-button v-if="$store.getters.xt_user.org_id == 0" size="small" type="primary" @click="batch_print_settlte">批量打印结算单
126
           </el-button>
125
           </el-button>
127
           <el-button size="small" type="primary" @click="export_detail"
126
           <el-button size="small" type="primary" @click="export_detail"
128
           >报表下载
127
           >报表下载

+ 15 - 4
src/xt_pages/outpatientTool/labelPrint.vue View File

32
                     >
32
                     >
33
                     </el-date-picker>
33
                     </el-date-picker>
34
 
34
 
35
-                    <el-select v-model="tube_color" style="width:160px;" placeholder="请选择">
35
+                    <el-select v-model="tube_color" style="width:160px;" placeholder="请选择" @change="changeItemTwo">
36
+                      <el-option
37
+                        label="全部"
38
+                        value="0">
39
+                      </el-option>
36
                       <el-option
40
                       <el-option
37
                         v-for="(item,index) in getDictionaryDataConfig('system','tube_color')"
41
                         v-for="(item,index) in getDictionaryDataConfig('system','tube_color')"
38
                         :key="index"
42
                         :key="index"
139
   import { uParseTime } from '@/utils/tools'
143
   import { uParseTime } from '@/utils/tools'
140
   import SignPrint from '../dialysis/signPrint'
144
   import SignPrint from '../dialysis/signPrint'
141
   import JsBarcode from 'jsbarcode'
145
   import JsBarcode from 'jsbarcode'
142
-  import { getDictionaryDataConfig} from "@/utils/data";
143
-
146
+  import { getDictionaryDataConfig } from '@/utils/data'
144
   // import NewStatementPrint from './newStatementPrint'
147
   // import NewStatementPrint from './newStatementPrint'
145
   const moment = require('moment')
148
   const moment = require('moment')
146
   export default {
149
   export default {
151
     },
154
     },
152
     data() {
155
     data() {
153
       return {
156
       return {
154
-        tube_color:0,
157
+        tube_color:"0",
155
         current_ctime: 0,
158
         current_ctime: 0,
156
         current_number: '',
159
         current_number: '',
157
         current_project_name: '',
160
         current_project_name: '',
182
       }
185
       }
183
     },
186
     },
184
     methods: {
187
     methods: {
188
+      getDictionaryDataConfig(module, filed_name) {
189
+        return getDictionaryDataConfig(module, filed_name)
190
+
191
+      },
185
       printAction: function() {
192
       printAction: function() {
186
         const style = '@media print { .sign{width:960px;margin: 0 auto;text-align: center;border-collapse: collapse;}.order_title_panl {text-align: center;.main_title {font-size: 18px;line-height: 40px;font-weight: 500;}}.dialysisTable tr{padding: 10px 0;}.dialysisTable th {color: #000;padding: 0;margin: 0;height: 30px;}.dialysisTable tr td {padding: 12px 0;}.subadvice_content {text-align: left;padding-left: 25px !important;padding-right: 5px !important;}.advice_content {text-align: left;padding-left: 5px !important;padding-right: 5px !important;padding: 15px 5px !important;} }'
193
         const style = '@media print { .sign{width:960px;margin: 0 auto;text-align: center;border-collapse: collapse;}.order_title_panl {text-align: center;.main_title {font-size: 18px;line-height: 40px;font-weight: 500;}}.dialysisTable tr{padding: 10px 0;}.dialysisTable th {color: #000;padding: 0;margin: 0;height: 30px;}.dialysisTable tr td {padding: 12px 0;}.subadvice_content {text-align: left;padding-left: 25px !important;padding-right: 5px !important;}.advice_content {text-align: left;padding-left: 5px !important;padding-right: 5px !important;padding: 15px 5px !important;} }'
187
         printJS({
194
         printJS({
240
         this.page = 1
247
         this.page = 1
241
         this.limit = 10
248
         this.limit = 10
242
         this.getList()
249
         this.getList()
250
+      },changeItemTwo(){
251
+        this.page = 1
252
+        this.limit = 10
253
+        this.getList()
243
       },
254
       },
244
       changeItem() {
255
       changeItem() {
245
         this.page = 1
256
         this.page = 1