|
@@ -223,6 +223,10 @@ export default {
|
223
|
223
|
type: String,
|
224
|
224
|
default: ''
|
225
|
225
|
},
|
|
226
|
+ diagnosisManageName: {
|
|
227
|
+ type: String,
|
|
228
|
+ default: ''
|
|
229
|
+ },
|
226
|
230
|
lookDetail: {
|
227
|
231
|
type: Object,
|
228
|
232
|
default: {}
|
|
@@ -340,6 +344,13 @@ export default {
|
340
|
344
|
})
|
341
|
345
|
if (res.code !== 200) return this.$message.error(res.msg)
|
342
|
346
|
this.diagnosisNameOptions = res.rows
|
|
347
|
+ if(this.diagnosisNameOptions.findIndex(item => item.diagnosisName === this.diagnosisManageName) === -1){
|
|
348
|
+ this.diagnosisNameOptions.unshift({
|
|
349
|
+ diagnosisName: this.diagnosisManageName,
|
|
350
|
+ id: this.ruleForm.diagnosisManageId
|
|
351
|
+ })
|
|
352
|
+ this.total = res.total + 1
|
|
353
|
+ }
|
343
|
354
|
this.total = res.total
|
344
|
355
|
},
|
345
|
356
|
/** 查询科室下拉树结构 */
|