| | |
| | | <audit-base ref="auditBase" @handleSubmit="submitAudit"></audit-base> |
| | | </el-dialog> |
| | | |
| | | <el-dialog :visible.sync="visibleWord" append-to-body destroy-on-close title="审核" width="50%" |
| | | custom-class="flow-design-dialog" :before-close="handleCloseWord"> |
| | | <word ref="word"></word> |
| | | </el-dialog> |
| | | |
| | | |
| | | <el-drawer title="无诈申请" :visible.sync="isDetail" :append-to-body="true" size="40%" direction="rtl"> |
| | | <div class="title"> |
| | |
| | | </div> |
| | | |
| | | <div v-if="type === 2" style="line-height: 100px;" v-for="pic in item.imageUrlsList"> |
| | | <el-button @click="downloadFile(item.imageUrls)" type="primary">下载</el-button> |
| | | <el-button @click="lookFile(item.imageUrls)" type="primary">查看附件</el-button> |
| | | </div> |
| | | |
| | | <div v-if="type === 2" style="line-height: 100px;" v-for="pic in item.imageUrlsList"> |
| | | <el-button @click="downloadFile(item.imageUrls)" type="primary">下载附件</el-button> |
| | | </div> |
| | | |
| | | </div> |
| | |
| | | } from "@/api/task/task" |
| | | |
| | | import auditBase from './components/auditBase' |
| | | import word from '../../components/offce/word' |
| | | import { |
| | | mapGetters |
| | | } from "vuex" |
| | |
| | | }], |
| | | }, |
| | | visible: false, |
| | | visibleWord: false, |
| | | taskType: 0, |
| | | curRow: {}, |
| | | roleBox: false, |
| | |
| | | |
| | | components: { |
| | | auditBase, |
| | | word, |
| | | campusReporting, |
| | | hotelReporting, |
| | | labelReporting, |
| | |
| | | this.srcList.push(img) |
| | | }, |
| | | |
| | | lookFile(url) { |
| | | this.visibleWord = true |
| | | this.$refs.word.initWord(url) |
| | | }, |
| | | |
| | | downloadFile(url) { |
| | | window.location.href = url |
| | | // window.open(url); |
| | | // const link = document.createElement('a'); |
| | | // link.href = url; |
| | | // link.download = ""; |
| | | // link.target = "_blank"; // 可选,如果希望在新窗口中下载文件,请取消注释此行 |
| | | // link.click(); |
| | | }, |
| | | // 点击展开收缩 |
| | | flodQL(index) { |
| | |
| | | this.cancelAudit() |
| | | }, |
| | | |
| | | handleCloseWord() { |
| | | this.visibleWord = false |
| | | }, |
| | | |
| | | // 取消审核 |
| | | cancelAudit() { |
| | | this.visible = false |