|
@@ -32,7 +32,11 @@
|
32
|
32
|
>
|
33
|
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
|
40
|
<el-option
|
37
|
41
|
v-for="(item,index) in getDictionaryDataConfig('system','tube_color')"
|
38
|
42
|
:key="index"
|
|
@@ -139,8 +143,7 @@
|
139
|
143
|
import { uParseTime } from '@/utils/tools'
|
140
|
144
|
import SignPrint from '../dialysis/signPrint'
|
141
|
145
|
import JsBarcode from 'jsbarcode'
|
142
|
|
- import { getDictionaryDataConfig} from "@/utils/data";
|
143
|
|
-
|
|
146
|
+ import { getDictionaryDataConfig } from '@/utils/data'
|
144
|
147
|
// import NewStatementPrint from './newStatementPrint'
|
145
|
148
|
const moment = require('moment')
|
146
|
149
|
export default {
|
|
@@ -151,7 +154,7 @@
|
151
|
154
|
},
|
152
|
155
|
data() {
|
153
|
156
|
return {
|
154
|
|
- tube_color:0,
|
|
157
|
+ tube_color:"0",
|
155
|
158
|
current_ctime: 0,
|
156
|
159
|
current_number: '',
|
157
|
160
|
current_project_name: '',
|
|
@@ -182,6 +185,10 @@
|
182
|
185
|
}
|
183
|
186
|
},
|
184
|
187
|
methods: {
|
|
188
|
+ getDictionaryDataConfig(module, filed_name) {
|
|
189
|
+ return getDictionaryDataConfig(module, filed_name)
|
|
190
|
+
|
|
191
|
+ },
|
185
|
192
|
printAction: function() {
|
186
|
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
|
194
|
printJS({
|
|
@@ -240,6 +247,10 @@
|
240
|
247
|
this.page = 1
|
241
|
248
|
this.limit = 10
|
242
|
249
|
this.getList()
|
|
250
|
+ },changeItemTwo(){
|
|
251
|
+ this.page = 1
|
|
252
|
+ this.limit = 10
|
|
253
|
+ this.getList()
|
243
|
254
|
},
|
244
|
255
|
changeItem() {
|
245
|
256
|
this.page = 1
|