MrShi
2024-11-19 56edbd80963acea41d9b9737bb9264f57a6e4ae2
company/src/components/enterprise/OperaDispatchUnitWindow.vue
@@ -23,7 +23,7 @@
                <div class="list_item_input">
                    <div class="list_item_input_label"><span>*</span>保险方案</div>
                    <div class="list_item_input_val">
                        <el-select v-model="item.solutionId" @change="changeTypeWork($event, index)" placeholder="请选择">
                        <el-select v-model="item.solutionId" filterable @change="changeTypeWork($event, index)" placeholder="请选择">
                            <el-option
                                v-for="item in insuranceScheme"
                                :key="item.id"
@@ -260,6 +260,17 @@
    },
    // 切换方案
    changeTypeWork(id, index) {
      this.form.saveDuSolutionDTOList[index].saveDuWorkTypeDTOList = [
        {
          videoUrl: '',
          workTypeId: '',
          workTypeName: '',
          file: {
            videourl: '',
            videourlfull: ''
          }
        }
      ]
      findListByDTO({ queryType: 0, id })
        .then(res => {
          this.form.saveDuSolutionDTOList[index].typeWork = res