|
@@ -1235,11 +1235,45 @@
|
1235
|
1235
|
v-on:dialog-cancle="innerDialogCancle"
|
1236
|
1236
|
></multi-select-box>
|
1237
|
1237
|
|
|
1238
|
+
|
|
1239
|
+ <el-dialog
|
|
1240
|
+ title="提示"
|
|
1241
|
+ :visible.sync="infoDialogVisible"
|
|
1242
|
+ width="30%">
|
|
1243
|
+ <span>
|
|
1244
|
+ <el-form>
|
|
1245
|
+ <el-row>
|
|
1246
|
+ <span>申请日期:</span>
|
|
1247
|
+ <span>
|
|
1248
|
+ <el-date-picker
|
|
1249
|
+ type="datetime"
|
|
1250
|
+ format="yyyy-MM-dd HH:mm"
|
|
1251
|
+ value-format="yyyy-MM-dd HH:mm"
|
|
1252
|
+ placeholder="选择时间"
|
|
1253
|
+ v-model="selected_date"
|
|
1254
|
+ ></el-date-picker>
|
|
1255
|
+ </span>
|
|
1256
|
+ </el-row>
|
|
1257
|
+ <el-row>
|
|
1258
|
+ <span>备注:</span>
|
|
1259
|
+ <span>
|
|
1260
|
+ <el-input v-model="remark" style="width:200px"></el-input>
|
|
1261
|
+ </span>
|
|
1262
|
+ </el-row>
|
|
1263
|
+ </el-form>
|
|
1264
|
+
|
|
1265
|
+ </span>
|
|
1266
|
+ <span slot="footer" class="dialog-footer">
|
|
1267
|
+ <el-button @click="infoDialogVisible = false">取 消</el-button>
|
|
1268
|
+ <el-button type="primary" @click="saveInformation">确 定</el-button>
|
|
1269
|
+ </span>
|
|
1270
|
+ </el-dialog>
|
|
1271
|
+
|
1238
|
1272
|
</div>
|
1239
|
1273
|
</template>
|
1240
|
1274
|
|
1241
|
1275
|
<script>
|
1242
|
|
- import { CreateGroupAdvice, GetSolution, postPrescription, postSoulution } from '@/api/dialysis'
|
|
1276
|
+ import { CreateGroupAdvice, GetSolution, postPrescription, postSoulution,saveInformation } from '@/api/dialysis'
|
1243
|
1277
|
import { getDataConfig } from '@/utils/data'
|
1244
|
1278
|
import { calculateAnticoagulantZL, uParseTime,replacementFlow } from '@/utils/tools'
|
1245
|
1279
|
import store from '@/store'
|
|
@@ -1675,6 +1709,7 @@
|
1675
|
1709
|
zongliang:"",
|
1676
|
1710
|
educationList:[],
|
1677
|
1711
|
value:"",
|
|
1712
|
+ infoDialogVisible:false
|
1678
|
1713
|
}
|
1679
|
1714
|
|
1680
|
1715
|
},
|
|
@@ -2092,6 +2127,9 @@ mu
|
2092
|
2127
|
postPrescription(ParamsQuery).then(response => {
|
2093
|
2128
|
if (response.data.state == 0) {
|
2094
|
2129
|
this.$message.error(response.data.msg)
|
|
2130
|
+ if(response.data.code == 600000008){
|
|
2131
|
+ this.infoDialogVisible = true
|
|
2132
|
+ }
|
2095
|
2133
|
this.isLoading = false
|
2096
|
2134
|
return false
|
2097
|
2135
|
} else {
|
|
@@ -2128,6 +2166,9 @@ mu
|
2128
|
2166
|
this.isLoading = false
|
2129
|
2167
|
} else {
|
2130
|
2168
|
this.isLoading = false
|
|
2169
|
+ if(resp.code == 600000008){
|
|
2170
|
+ this.infoDialogVisible = true
|
|
2171
|
+ }
|
2131
|
2172
|
}
|
2132
|
2173
|
}
|
2133
|
2174
|
)
|
|
@@ -2157,6 +2198,9 @@ mu
|
2157
|
2198
|
postSoulution(ParamsQuery).then(response => {
|
2158
|
2199
|
if (response.data.state == 0) {
|
2159
|
2200
|
this.$message.error(response.data.msg)
|
|
2201
|
+ if(response.data.code == 600000008){
|
|
2202
|
+ this.infoDialogVisible = true
|
|
2203
|
+ }
|
2160
|
2204
|
this.isLoading = false
|
2161
|
2205
|
return false
|
2162
|
2206
|
} else {
|
|
@@ -2200,6 +2244,9 @@ mu
|
2200
|
2244
|
this.isLoading = false
|
2201
|
2245
|
} else {
|
2202
|
2246
|
this.isLoading = false
|
|
2247
|
+ if(resp.code == 600000008){
|
|
2248
|
+ this.infoDialogVisible = true
|
|
2249
|
+ }
|
2203
|
2250
|
}
|
2204
|
2251
|
}
|
2205
|
2252
|
)
|
|
@@ -2249,6 +2296,9 @@ mu
|
2249
|
2296
|
postPrescription(ParamsQuery).then(response => {
|
2250
|
2297
|
if (response.data.state == 0) {
|
2251
|
2298
|
this.$message.error(response.data.msg)
|
|
2299
|
+ if(response.data.code == 600000008){
|
|
2300
|
+ this.infoDialogVisible = true
|
|
2301
|
+ }
|
2252
|
2302
|
return false
|
2253
|
2303
|
} else {
|
2254
|
2304
|
this.$notify({
|
|
@@ -2284,6 +2334,9 @@ mu
|
2284
|
2334
|
postSoulution(ParamsQuery).then(response => {
|
2285
|
2335
|
if (response.data.state == 0) {
|
2286
|
2336
|
this.$message.error(response.data.msg)
|
|
2337
|
+ if(response.data.code == 600000008){
|
|
2338
|
+ this.infoDialogVisible = true
|
|
2339
|
+ }
|
2287
|
2340
|
return false
|
2288
|
2341
|
} else {
|
2289
|
2342
|
this.$notify({
|
|
@@ -2754,6 +2807,9 @@ mu
|
2754
|
2807
|
postPrescription(ParamsQuery).then(response => {
|
2755
|
2808
|
if (response.data.state == 0) {
|
2756
|
2809
|
this.$message.error(response.data.msg)
|
|
2810
|
+ if(response.data.code == 600000008){
|
|
2811
|
+ this.infoDialogVisible = true
|
|
2812
|
+ }
|
2757
|
2813
|
return false
|
2758
|
2814
|
} else {
|
2759
|
2815
|
this.$notify({
|
|
@@ -2797,6 +2853,9 @@ mu
|
2797
|
2853
|
postPrescription(ParamsQuery).then(response => {
|
2798
|
2854
|
if (response.data.state == 0) {
|
2799
|
2855
|
this.$message.error(response.data.msg)
|
|
2856
|
+ if(response.data.code == 600000008){
|
|
2857
|
+ this.infoDialogVisible = true
|
|
2858
|
+ }
|
2800
|
2859
|
return false
|
2801
|
2860
|
} else {
|
2802
|
2861
|
this.$notify({
|
|
@@ -2846,6 +2905,9 @@ mu
|
2846
|
2905
|
postPrescription(ParamsQuery).then(response => {
|
2847
|
2906
|
if (response.data.state == 0) {
|
2848
|
2907
|
this.$message.error(response.data.msg)
|
|
2908
|
+ if(response.data.code == 600000008){
|
|
2909
|
+ this.infoDialogVisible = true
|
|
2910
|
+ }
|
2849
|
2911
|
return false
|
2850
|
2912
|
} else {
|
2851
|
2913
|
this.$notify({
|
|
@@ -2880,6 +2942,9 @@ mu
|
2880
|
2942
|
// this.doctorAdvices = resp.data.advices
|
2881
|
2943
|
this.$emit('advice')
|
2882
|
2944
|
} else {
|
|
2945
|
+ if(resp.code == 600000008){
|
|
2946
|
+ this.infoDialogVisible = true
|
|
2947
|
+ }
|
2883
|
2948
|
}
|
2884
|
2949
|
}
|
2885
|
2950
|
)
|
|
@@ -2918,6 +2983,9 @@ mu
|
2918
|
2983
|
postPrescription(ParamsQuery).then(response => {
|
2919
|
2984
|
if (response.data.state == 0) {
|
2920
|
2985
|
this.$message.error(response.data.msg)
|
|
2986
|
+ if(response.data.code == 600000008){
|
|
2987
|
+ this.infoDialogVisible = true
|
|
2988
|
+ }
|
2921
|
2989
|
return false
|
2922
|
2990
|
} else {
|
2923
|
2991
|
this.$notify({
|
|
@@ -2961,6 +3029,9 @@ mu
|
2961
|
3029
|
postPrescription(ParamsQuery).then(response => {
|
2962
|
3030
|
if (response.data.state == 0) {
|
2963
|
3031
|
this.$message.error(response.data.msg)
|
|
3032
|
+ if(response.data.code == 600000008){
|
|
3033
|
+ this.infoDialogVisible = true
|
|
3034
|
+ }
|
2964
|
3035
|
return false
|
2965
|
3036
|
} else {
|
2966
|
3037
|
this.$notify({
|
|
@@ -3004,6 +3075,9 @@ mu
|
3004
|
3075
|
postPrescription(ParamsQuery).then(response => {
|
3005
|
3076
|
if (response.data.state == 0) {
|
3006
|
3077
|
this.$message.error(response.data.msg)
|
|
3078
|
+ if(response.data.code == 600000008){
|
|
3079
|
+ this.infoDialogVisible = true
|
|
3080
|
+ }
|
3007
|
3081
|
return false
|
3008
|
3082
|
} else {
|
3009
|
3083
|
this.$notify({
|
|
@@ -3053,6 +3127,9 @@ mu
|
3053
|
3127
|
postPrescription(ParamsQuery).then(response => {
|
3054
|
3128
|
if (response.data.state == 0) {
|
3055
|
3129
|
this.$message.error(response.data.msg)
|
|
3130
|
+ if(response.data.code == 600000008){
|
|
3131
|
+ this.infoDialogVisible = true
|
|
3132
|
+ }
|
3056
|
3133
|
return false
|
3057
|
3134
|
} else {
|
3058
|
3135
|
this.$notify({
|
|
@@ -3092,6 +3169,9 @@ mu
|
3092
|
3169
|
// this.doctorAdvices = resp.data.advices
|
3093
|
3170
|
this.$emit('advice')
|
3094
|
3171
|
} else {
|
|
3172
|
+ if(resp.code == 600000008){
|
|
3173
|
+ this.infoDialogVisible = true
|
|
3174
|
+ }
|
3095
|
3175
|
}
|
3096
|
3176
|
})
|
3097
|
3177
|
|
|
@@ -3125,6 +3205,9 @@ mu
|
3125
|
3205
|
postPrescription(ParamsQuery).then(response => {
|
3126
|
3206
|
if (response.data.state == 0) {
|
3127
|
3207
|
this.$message.error(response.data.msg)
|
|
3208
|
+ if(response.data.code == 600000008){
|
|
3209
|
+ this.infoDialogVisible = true
|
|
3210
|
+ }
|
3128
|
3211
|
return false
|
3129
|
3212
|
} else {
|
3130
|
3213
|
this.$notify({
|
|
@@ -3172,6 +3255,9 @@ mu
|
3172
|
3255
|
postPrescription(ParamsQuery).then(response => {
|
3173
|
3256
|
if (response.data.state == 0) {
|
3174
|
3257
|
this.$message.error(response.data.msg)
|
|
3258
|
+ if(response.data.code == 600000008){
|
|
3259
|
+ this.infoDialogVisible = true
|
|
3260
|
+ }
|
3175
|
3261
|
return false
|
3176
|
3262
|
} else {
|
3177
|
3263
|
this.$notify({
|
|
@@ -3262,6 +3348,9 @@ mu
|
3262
|
3348
|
postSoulution(ParamsQuery).then(response => {
|
3263
|
3349
|
if (response.data.state == 0) {
|
3264
|
3350
|
this.$message.error(response.data.msg)
|
|
3351
|
+ if(response.data.code == 600000008){
|
|
3352
|
+ this.infoDialogVisible = true
|
|
3353
|
+ }
|
3265
|
3354
|
return false
|
3266
|
3355
|
} else {
|
3267
|
3356
|
this.$notify({
|
|
@@ -3312,6 +3401,9 @@ mu
|
3312
|
3401
|
postSoulution(ParamsQuery).then(response => {
|
3313
|
3402
|
if (response.data.state == 0) {
|
3314
|
3403
|
this.$message.error(response.data.msg)
|
|
3404
|
+ if(response.data.code == 600000008){
|
|
3405
|
+ this.infoDialogVisible = true
|
|
3406
|
+ }
|
3315
|
3407
|
return false
|
3316
|
3408
|
} else {
|
3317
|
3409
|
this.$notify({
|
|
@@ -3367,6 +3459,9 @@ mu
|
3367
|
3459
|
postPrescription(ParamsQuery).then(response => {
|
3368
|
3460
|
if (response.data.state == 0) {
|
3369
|
3461
|
this.$message.error(response.data.msg)
|
|
3462
|
+ if(response.data.code == 600000008){
|
|
3463
|
+ this.infoDialogVisible = true
|
|
3464
|
+ }
|
3370
|
3465
|
return false
|
3371
|
3466
|
} else {
|
3372
|
3467
|
this.$notify({
|
|
@@ -3401,6 +3496,9 @@ mu
|
3401
|
3496
|
// this.doctorAdvices = resp.data.advices
|
3402
|
3497
|
this.$emit('advice')
|
3403
|
3498
|
} else {
|
|
3499
|
+ if(resp.code == 600000008){
|
|
3500
|
+ this.infoDialogVisible = true
|
|
3501
|
+ }
|
3404
|
3502
|
}
|
3405
|
3503
|
}
|
3406
|
3504
|
)
|
|
@@ -3435,6 +3533,9 @@ mu
|
3435
|
3533
|
postSoulution(ParamsQuery).then(response => {
|
3436
|
3534
|
if (response.data.state == 0) {
|
3437
|
3535
|
this.$message.error(response.data.msg)
|
|
3536
|
+ if(response.data.code == 600000008){
|
|
3537
|
+ this.infoDialogVisible = true
|
|
3538
|
+ }
|
3438
|
3539
|
return false
|
3439
|
3540
|
} else {
|
3440
|
3541
|
this.$notify({
|
|
@@ -3482,6 +3583,9 @@ mu
|
3482
|
3583
|
postSoulution(ParamsQuery).then(response => {
|
3483
|
3584
|
if (response.data.state == 0) {
|
3484
|
3585
|
this.$message.error(response.data.msg)
|
|
3586
|
+ if(response.data.code == 600000008){
|
|
3587
|
+ this.infoDialogVisible = true
|
|
3588
|
+ }
|
3485
|
3589
|
return false
|
3486
|
3590
|
} else {
|
3487
|
3591
|
this.$notify({
|
|
@@ -3531,6 +3635,9 @@ mu
|
3531
|
3635
|
postSoulution(ParamsQuery).then(response => {
|
3532
|
3636
|
if (response.data.state == 0) {
|
3533
|
3637
|
this.$message.error(response.data.msg)
|
|
3638
|
+ if(response.data.code == 600000008){
|
|
3639
|
+ this.infoDialogVisible = true
|
|
3640
|
+ }
|
3534
|
3641
|
return false
|
3535
|
3642
|
} else {
|
3536
|
3643
|
this.$notify({
|
|
@@ -3583,6 +3690,9 @@ mu
|
3583
|
3690
|
postSoulution(ParamsQuery).then(response => {
|
3584
|
3691
|
if (response.data.state == 0) {
|
3585
|
3692
|
this.$message.error(response.data.msg)
|
|
3693
|
+ if(response.data.code == 600000008){
|
|
3694
|
+ this.infoDialogVisible = true
|
|
3695
|
+ }
|
3586
|
3696
|
return false
|
3587
|
3697
|
} else {
|
3588
|
3698
|
this.$notify({
|
|
@@ -3621,6 +3731,9 @@ mu
|
3621
|
3731
|
// this.doctorAdvices = resp.data.advices
|
3622
|
3732
|
this.$emit('advice')
|
3623
|
3733
|
} else {
|
|
3734
|
+ if(resp.code == 600000008){
|
|
3735
|
+ this.infoDialogVisible = true
|
|
3736
|
+ }
|
3624
|
3737
|
}
|
3625
|
3738
|
})
|
3626
|
3739
|
const prescription_resp = response.data.data.prescription
|
|
@@ -3660,6 +3773,9 @@ mu
|
3660
|
3773
|
postSoulution(ParamsQuery).then(response => {
|
3661
|
3774
|
if (response.data.state == 0) {
|
3662
|
3775
|
this.$message.error(response.data.msg)
|
|
3776
|
+ if(response.data.code == 600000008){
|
|
3777
|
+ this.infoDialogVisible = true
|
|
3778
|
+ }
|
3663
|
3779
|
return false
|
3664
|
3780
|
} else {
|
3665
|
3781
|
this.$notify({
|
|
@@ -3707,6 +3823,9 @@ mu
|
3707
|
3823
|
postSoulution(ParamsQuery).then(response => {
|
3708
|
3824
|
if (response.data.state == 0) {
|
3709
|
3825
|
this.$message.error(response.data.msg)
|
|
3826
|
+ if(response.data.code == 600000008){
|
|
3827
|
+ this.infoDialogVisible = true
|
|
3828
|
+ }
|
3710
|
3829
|
return false
|
3711
|
3830
|
} else {
|
3712
|
3831
|
this.$notify({
|