|
|
@@ -184,55 +184,62 @@
|
|
184
|
184
|
</div>
|
|
185
|
185
|
</el-dialog>
|
|
186
|
186
|
<!-- 门诊处理 -->
|
|
187
|
|
- <!-- <el-dialog :visible.sync="dialogStatus.dialog_ywzx_menchuli" title="处理">
|
|
188
|
|
- <el-form ref="appointmentForm" :model="appointmentForm" :rules="rules" label-width="100px">
|
|
|
187
|
+ <el-dialog :visible.sync="dialogStatus.dialog_ywzx_menchuli" title="处理">
|
|
|
188
|
+ <el-form ref="appointmentMenForm" :model="appointmentMenForm" :rules="rules" label-width="100px">
|
|
189
|
189
|
<el-form-item label="沟通情况" prop="F_gtqk">
|
|
190
|
|
- <el-radio-group v-model="appointmentForm.F_gtqk">
|
|
|
190
|
+ <el-radio-group v-model="appointmentMenForm.F_gtqk" @change="gtqkChange">
|
|
191
|
191
|
<el-radio label="0">住院</el-radio>
|
|
192
|
192
|
<el-radio label="1">离院</el-radio>
|
|
193
|
193
|
</el-radio-group>
|
|
194
|
194
|
</el-form-item>
|
|
195
|
|
- <el-form-item label="" v-show="appointmentForm.F_gtqk == '0'">
|
|
196
|
|
- <select-dept-tree :deptparam="mendeptidArr" v-model="appointmentForm.F_zyks" @post-deptid="getmenDeptid" />
|
|
|
195
|
+ <el-form-item label="" v-show="appointmentMenForm.F_gtqk == '0'">
|
|
|
196
|
+ <select-dept-tree :tishiy="tishiyu" :deptparam="mendeptidArr" v-model="appointmentMenForm.F_zyks" @post-deptid="getmenDeptid" />
|
|
197
|
197
|
</el-form-item>
|
|
198
|
198
|
<el-form-item label="处理结果" prop="cont">
|
|
199
|
|
- <el-input :autosize="{ minRows: 4, maxRows: 8 }" v-model="appointmentForm.cont" show-word-limit
|
|
|
199
|
+ <el-input :autosize="{ minRows: 4, maxRows: 8 }" v-model="appointmentMenForm.cont" show-word-limit
|
|
200
|
200
|
maxlength="100" type="textarea" />
|
|
201
|
201
|
</el-form-item>
|
|
202
|
202
|
</el-form>
|
|
203
|
203
|
<div slot="footer" class="dialog-footer">
|
|
204
|
204
|
<el-button @click="dialogStatus.dialog_ywzx_menchuli = false">取 消</el-button>
|
|
205
|
|
- <el-button type="primary" @click="submitForm('appointmentForm')">确 定</el-button>
|
|
|
205
|
+ <el-button type="primary" @click="submitForm('appointmentMenForm')">确 定</el-button>
|
|
206
|
206
|
</div>
|
|
207
|
|
- </el-dialog> -->
|
|
|
207
|
+ </el-dialog>
|
|
208
|
208
|
<!-- 会诊处理 -->
|
|
209
|
|
- <!-- <el-dialog :visible.sync="dialogStatus.dialog_ywzx_huichuli" title="处理">
|
|
210
|
|
- <el-form ref="appointmentForm" :model="appointmentForm" :rules="rules" label-width="100px">
|
|
|
209
|
+ <el-dialog :visible.sync="dialogStatus.dialog_ywzx_huichuli" title="处理">
|
|
|
210
|
+ <el-form ref="appointmentHuiForm" :model="appointmentHuiForm" :rules="rules" label-width="100px">
|
|
211
|
211
|
<el-form-item label="会诊情况" prop="F_hzqk">
|
|
212
|
|
- <el-radio-group v-model="appointmentForm.F_hzqk">
|
|
|
212
|
+ <el-radio-group v-model="appointmentHuiForm.F_hzqk">
|
|
213
|
213
|
<el-radio label="0">已会诊</el-radio>
|
|
214
|
214
|
<el-radio label="1">未会诊</el-radio>
|
|
215
|
215
|
</el-radio-group>
|
|
216
|
216
|
</el-form-item>
|
|
217
|
217
|
<el-form-item label="会诊类型" prop="F_hzlx">
|
|
218
|
|
- <el-radio-group v-model="appointmentForm.F_hzlx">
|
|
|
218
|
+ <el-radio-group v-model="appointmentHuiForm.F_hzlx">
|
|
219
|
219
|
<el-radio label="0">普通会诊</el-radio>
|
|
220
|
220
|
<el-radio label="1">急会诊</el-radio>
|
|
221
|
221
|
</el-radio-group>
|
|
222
|
222
|
</el-form-item>
|
|
223
|
223
|
<el-form-item label="会诊科室">
|
|
224
|
|
- <select-dept-tree :deptparam="huideptidArr" v-model="appointmentForm.F_zyks" @post-deptid="gethuiDeptid" />
|
|
|
224
|
+ <select-dept-tree :tishiy='tishiyuhui' :deptparam="huideptidArr" v-model="appointmentHuiForm.F_hzks" @post-deptid="gethuiDeptid" />
|
|
225
|
225
|
</el-form-item>
|
|
|
226
|
+ <el-form-item label="会诊专家">
|
|
|
227
|
+ <el-select v-model="appointmentHuiForm.F_hzzj" clearable filterable placeholder="请选择会诊专家"
|
|
|
228
|
+ style="width: 68%" @change="changeHuiRepairman">
|
|
|
229
|
+ <el-option v-for="item in huizhenrepairman" :key="item.usercode"
|
|
|
230
|
+ :label="item.username + '(' + item.count + ')'" :value="item.usercode" />
|
|
|
231
|
+ </el-select>
|
|
|
232
|
+ </el-form-item>
|
|
226
|
233
|
<el-form-item label="处理结果" prop="cont">
|
|
227
|
|
- <el-input :autosize="{ minRows: 4, maxRows: 8 }" v-model="appointmentForm.cont" show-word-limit
|
|
|
234
|
+ <el-input :autosize="{ minRows: 4, maxRows: 8 }" v-model="appointmentHuiForm.cont" show-word-limit
|
|
228
|
235
|
maxlength="100" type="textarea" />
|
|
229
|
236
|
</el-form-item>
|
|
230
|
237
|
</el-form>
|
|
231
|
238
|
<div slot="footer" class="dialog-footer">
|
|
232
|
239
|
<el-button @click="dialogStatus.dialog_ywzx_huichuli = false">取 消</el-button>
|
|
233
|
|
- <el-button type="primary" @click="submitForm('appointhuitForm')">确 定</el-button>
|
|
|
240
|
+ <el-button type="primary" @click="submitForm('appointmentHuiForm')">确 定</el-button>
|
|
234
|
241
|
</div>
|
|
235
|
|
- </el-dialog> -->
|
|
|
242
|
+ </el-dialog>
|
|
236
|
243
|
<!-- 确认耗材 -->
|
|
237
|
244
|
<el-dialog :visible.sync="dialogStatus.dialog_haocai" title="确认耗材">
|
|
238
|
245
|
<el-table :data="haocaiarr" border stripe>
|
|
|
@@ -822,6 +829,8 @@
|
|
822
|
829
|
reason5: "",
|
|
823
|
830
|
reasonarr1: [],
|
|
824
|
831
|
dialogStatus: {
|
|
|
832
|
+ dialog_ywzx_menchuli: false,
|
|
|
833
|
+ dialog_ywzx_huichuli: false,
|
|
825
|
834
|
dialog_schEdit: false,
|
|
826
|
835
|
dialog_dispatch_zhuanpai: false,
|
|
827
|
836
|
dialog_zhdd_zhipai: false,
|
|
|
@@ -994,6 +1003,23 @@
|
|
994
|
1003
|
communicate: "1",
|
|
995
|
1004
|
cont: "",
|
|
996
|
1005
|
},
|
|
|
1006
|
+ mendeptidArr:[],
|
|
|
1007
|
+ tishiyu:'请选择住院科室',
|
|
|
1008
|
+ appointmentMenForm:{
|
|
|
1009
|
+ F_gtqk:'0',
|
|
|
1010
|
+ F_zyks:'',
|
|
|
1011
|
+ cont:''
|
|
|
1012
|
+ },
|
|
|
1013
|
+ tishiyuhui:'请选择会诊科室',
|
|
|
1014
|
+ huideptidArr:[],
|
|
|
1015
|
+ huizhenrepairman:[],
|
|
|
1016
|
+ appointmentHuiForm:{
|
|
|
1017
|
+ F_hzqk:'0',
|
|
|
1018
|
+ F_hzlx:'0',
|
|
|
1019
|
+ F_hzks:'',
|
|
|
1020
|
+ F_hzzj:'',
|
|
|
1021
|
+ cont:''
|
|
|
1022
|
+ },
|
|
997
|
1023
|
consumablesForm: {
|
|
998
|
1024
|
confirmtype: "1",
|
|
999
|
1025
|
reason: "",
|
|
|
@@ -1790,6 +1816,25 @@
|
|
1790
|
1816
|
});
|
|
1791
|
1817
|
});
|
|
1792
|
1818
|
},
|
|
|
1819
|
+ gtqkChange(val){
|
|
|
1820
|
+ if(val == '1'){
|
|
|
1821
|
+ this.mendeptidArr = []
|
|
|
1822
|
+ this.appointmentMenForm.F_zyks = ''
|
|
|
1823
|
+ }
|
|
|
1824
|
+ },
|
|
|
1825
|
+ getmenDeptid(data){
|
|
|
1826
|
+ this.mendeptidArr = data;
|
|
|
1827
|
+ this.appointmentMenForm.F_zyks = data[data.length - 1];
|
|
|
1828
|
+ },
|
|
|
1829
|
+ gethuiDeptid(data){
|
|
|
1830
|
+ this.huideptidArr = data;
|
|
|
1831
|
+ this.appointmentHuiForm.F_hzks = data[data.length - 1];
|
|
|
1832
|
+ this.huizhenrepairman = []
|
|
|
1833
|
+ this.appointmentHuiForm.F_hzzj = ""
|
|
|
1834
|
+ if(this.appointmentHuiForm.F_hzks){
|
|
|
1835
|
+ this.getHuimen(this.appointmentHuiForm.F_hzks);
|
|
|
1836
|
+ }
|
|
|
1837
|
+ },
|
|
1793
|
1838
|
getDeptid(data) {
|
|
1794
|
1839
|
console.log(data);
|
|
1795
|
1840
|
this.deptidArr = data;
|
|
|
@@ -1849,6 +1894,17 @@
|
|
1849
|
1894
|
resolve();
|
|
1850
|
1895
|
});
|
|
1851
|
1896
|
},
|
|
|
1897
|
+ getHuimen(id) {
|
|
|
1898
|
+ return new Promise((resolve) => {
|
|
|
1899
|
+ const params = {
|
|
|
1900
|
+ deptid: id, // 字典管理的工单标识
|
|
|
1901
|
+ };
|
|
|
1902
|
+ getClassByDeptId(params).then((res) => {
|
|
|
1903
|
+ this.huizhenrepairman = res.rows;
|
|
|
1904
|
+ });
|
|
|
1905
|
+ resolve();
|
|
|
1906
|
+ });
|
|
|
1907
|
+ },
|
|
1852
|
1908
|
changeRepairman(data) {
|
|
1853
|
1909
|
this.transferForm.tousercode = data;
|
|
1854
|
1910
|
},
|
|
|
@@ -1858,6 +1914,9 @@
|
|
1858
|
1914
|
changedispatchRepairman(data) {
|
|
1859
|
1915
|
this.dispatchtransferForm.DealMan = data;
|
|
1860
|
1916
|
},
|
|
|
1917
|
+ changeHuiRepairman(data){
|
|
|
1918
|
+ this.appointmentHuiForm.F_hzzj = data;
|
|
|
1919
|
+ },
|
|
1861
|
1920
|
bigImg(url) {
|
|
1862
|
1921
|
this.dialogImgVisible = true;
|
|
1863
|
1922
|
this.imgrepairUrl = url;
|
|
|
@@ -2118,6 +2177,12 @@
|
|
2118
|
2177
|
case "appointmentForm":
|
|
2119
|
2178
|
this.postEvent = getDealWorkOrder;
|
|
2120
|
2179
|
break;
|
|
|
2180
|
+ case "appointmentMenForm":
|
|
|
2181
|
+ this.postEvent = getDealWorkOrder;
|
|
|
2182
|
+ break;
|
|
|
2183
|
+ case "appointmentHuiForm":
|
|
|
2184
|
+ this.postEvent = getDealWorkOrder;
|
|
|
2185
|
+ break;
|
|
2121
|
2186
|
case "consumablesForm":
|
|
2122
|
2187
|
this.postEvent = getHaocaiOrder;
|
|
2123
|
2188
|
break;
|
|
|
@@ -2181,6 +2246,18 @@
|
|
2181
|
2246
|
type: "success",
|
|
2182
|
2247
|
message: "操作成功!",
|
|
2183
|
2248
|
});
|
|
|
2249
|
+ if(this.optionName == 'ywzx_menchuli'){
|
|
|
2250
|
+ this.appointmentMenForm.F_gtqk = '0'
|
|
|
2251
|
+ this.appointmentMenForm.F_zyks = ''
|
|
|
2252
|
+ this.appointmentMenForm.cont = ''
|
|
|
2253
|
+ }
|
|
|
2254
|
+ if(this.optionName == 'ywzx_huichuli'){
|
|
|
2255
|
+ this.appointmentHuiForm.F_hzqk = '0'
|
|
|
2256
|
+ this.appointmentHuiForm.F_hzlx = '0'
|
|
|
2257
|
+ this.appointmentHuiForm.F_hzks = ''
|
|
|
2258
|
+ this.appointmentHuiForm.F_hzzj = ''
|
|
|
2259
|
+ this.appointmentHuiForm.cont = ''
|
|
|
2260
|
+ }
|
|
2184
|
2261
|
if (this.optionName == 'repairconfirm') {
|
|
2185
|
2262
|
this.consumablesConfirmForm.confirmtype = "1"
|
|
2186
|
2263
|
this.consumablesConfirmForm.Attitude = 0
|