feat: 修复销售机会详情点击推进记录后页面未更新的问题
| | |
| | | }).then((res) => { |
| | | if (res.code === 200) { |
| | | this.handleClose() |
| | | this.$emit('pushed',{ |
| | | id: this.commonConfig.id, |
| | | step: stepId |
| | | }) |
| | | } |
| | | }) |
| | | } |
| | |
| | | </div> |
| | | </div> |
| | | <!-- 推进 --> |
| | | <DetailAdvanceDialog v-if="advanceConfig.visible" :advance-config="advanceConfig" /> |
| | | <DetailAdvanceDialog v-if="advanceConfig.visible" :advance-config="advanceConfig" @pushed="updatePushData" /> |
| | | </el-drawer> |
| | | </div> |
| | | </template> |
| | |
| | | }, |
| | | mounted() {}, |
| | | methods: { |
| | | /** |
| | | * 更新推进记录 |
| | | */ |
| | | updatePushData(e){ |
| | | this.sale_active = e.step - 1 |
| | | }, |
| | | async getSaleStageList() { |
| | | await getSaleStageList().then((res) => { |
| | | this.stepsList = res.data.list |