| | |
| | | |
| | | <script> |
| | | import { |
| | | setToken, |
| | | setRefreshToken, |
| | | removeToken, |
| | | removeRefreshToken, |
| | | } from "@/util/auth"; |
| | | import { |
| | | getList, |
| | | remove, |
| | | update, |
| | |
| | | }, |
| | | }, |
| | | }, |
| | | // created() { |
| | | // const token = this.$route.query.token |
| | | // if (token) { |
| | | // setToken(token) |
| | | // } |
| | | // }, |
| | | computed: { |
| | | ...mapGetters(["permission", "userInfo"]), |
| | | permissionList() { |
| | |
| | | 上报附件 |
| | | </div> |
| | | <div class="yh-pic-list"> |
| | | <div class="pic-item" v-for="pic in item.imageUrlsList"> |
| | | |
| | | <div v-if="type === 1" class="pic-item" v-for="pic in item.imageUrlsList"> |
| | | <el-image style="width: 100px; height: 100px" :src="pic" :fit="fit" |
| | | :preview-src-list="item.imageUrlsList"></el-image> |
| | | </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> |
| | | </div> |
| | | </div> |
| | |
| | | ], |
| | | }, |
| | | data: [], |
| | | type: '', |
| | | |
| | | auditBasePopup: false, |
| | | questionTypeList: [], |
| | |
| | | |
| | | |
| | | methods: { |
| | | |
| | | 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.rowDetail.qTypeList[index].isShowQList = !this.rowDetail.qTypeList[index].isShowQList |
| | |
| | | }, |
| | | |
| | | getDetail(rowData) { |
| | | console.log("*************rowData**************" + JSON.stringify(rowData.type)) |
| | | this.type = rowData.type |
| | | this.getPatrolGroupTree({ |
| | | type: 2, |
| | | childType: rowData.noExplosionCategory |
| | |
| | | isShowQList: true |
| | | }) |
| | | }) |
| | | // console.log("999999999999999999999999" + JSON.stringify(newArr)) |
| | | |
| | | row.qTypeList = newArr |
| | | } |
| | | // 九小类型转换 |