imeik-bizui 2.0.8 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -303,7 +303,11 @@ export default {
303
303
  this.$set(this.formConfig.formItems[index].attrs, 'disabled', false)
304
304
  }
305
305
  }
306
- this.$nextTick(() => {
306
+ if (this.isView) {
307
+ const newData = JSON.parse(JSON.stringify(this.formConfig.formItems[index]))
308
+ newData.type = 'ImInput'
309
+ this.$set(this.formConfig.formItems, index, newData)
310
+ } else {
307
311
  getTagManageList({ tagModel: 'APPLY', tagCode: 'al-fxssqxmbh' }).then((res) => {
308
312
  if (res.code === 200) {
309
313
  Axios.get(res.data[0].tagValueUrl).then((subRes) => {
@@ -326,7 +330,7 @@ export default {
326
330
  this.$message.error(res.msg)
327
331
  }
328
332
  })
329
- })
333
+ }
330
334
  },
331
335
  propChange(data) {
332
336
  // 写入负责人姓名
@@ -204,7 +204,8 @@ export default {
204
204
  'remote-method': this.getExpertsList
205
205
  },
206
206
  scenarioLoading: false,
207
- doctorLoading: false
207
+ doctorLoading: false,
208
+ costFeeList: []
208
209
  }
209
210
  },
210
211
  computed: {
@@ -456,7 +457,7 @@ export default {
456
457
  console.log('getSceneList', data.doctorExpertType)
457
458
  if (data.doctorLevel) {
458
459
  this.scenarioLoading = true
459
- getExpertServiceFee({ expertRoleCode: data.doctorLevel, doctorExpertType: data.doctorExpertType }).then((res) => {
460
+ getExpertServiceFee({ expertRoleCode: data.doctorLevel, doctorExpertType: data.doctorExpertType, doctorNumber: data.doctorNumber }).then((res) => {
460
461
  this.scenarioLoading = false
461
462
  if (res.code === 200) {
462
463
  const list = JSON.parse(res.data).sceneList
@@ -466,7 +467,7 @@ export default {
466
467
  value: item.sceneAndIdentity,
467
468
  standardAmount: item.standardAmount
468
469
  }))
469
-
470
+ this.costFeeList = JSON.parse(res.data).costFeeList
470
471
  this.$set(data, 'scenarioList', list)
471
472
  this.$set(data, 'shenfenList', shenfenList)
472
473
  }
@@ -476,6 +477,11 @@ export default {
476
477
  handleChangeIdentity(val, row) {
477
478
  const sceneInfo = row.shenfenList_new.find((item) => item.value === val)
478
479
  this.$set(row, 'standardAmount', sceneInfo.standardAmount)
480
+ this.costFeeList.forEach(item => {
481
+ if (item.sceneAndIdentity === row.doctorServiceSceneName + '_' + row.identity) {
482
+ this.$set(row, 'costFee', item.costFee)
483
+ }
484
+ })
479
485
  },
480
486
  // 修改专家回调
481
487
  changedoctorName(row, type) {