| | |
| | | <!-- 清单详情 --> |
| | | <CloseButton v-show="show" @close="closeEdit"> |
| | | <el-button |
| | | v-if="!isInternal" |
| | | class="push-btn" |
| | | :type="clueData.cuploaded ? 'success' : 'danger'" |
| | | @click="pushCheck" |
| | |
| | | import clueTaskApi from '@/api/clue/clueTaskApi'; |
| | | |
| | | export default { |
| | | inject: { |
| | | // 是否是内部线索相关操作 |
| | | isInternal: { |
| | | default: false |
| | | } |
| | | }, |
| | | components: { |
| | | ClueReportClue, |
| | | ClueReportConclusion, |
| | |
| | | |
| | | getClueTask() { |
| | | clueTaskApi |
| | | .fetchClueTask({ clueId: this.clueData.cid }) |
| | | .fetchClueTask({ |
| | | clueId: this.clueData.cid, |
| | | internalTask: this.isInternal |
| | | }) |
| | | .then((res) => { |
| | | this.isCreateMode = res.data.length == 0; |
| | | if (res.data.length > 0) { |