重点监管内容

duhanyu
吕天方 1 year ago
parent 5102021fcb
commit b581bf297e

@ -3,7 +3,7 @@
* @Author: kery.chen * @Author: kery.chen
* @Description: 总体概览左侧 * @Description: 总体概览左侧
* @Date: 2021-11-30 11:08:50 * @Date: 2021-11-30 11:08:50
* @LastEditTime: 2023-10-24 17:15:12 * @LastEditTime: 2023-10-25 10:51:25
* @FilePath : \\tcingiocpro\\src\\views\\privateOrder\\ecosphere\\components\\componentLeft.vue * @FilePath : \\tcingiocpro\\src\\views\\privateOrder\\ecosphere\\components\\componentLeft.vue
--> -->
<template> <template>
@ -335,7 +335,7 @@
ref="fileDoc" ref="fileDoc"
class="file-content" class="file-content"
> >
<iframe style="height: 200%; width: 100%" :src="docxUrl" v-if="!isdevelopment"></iframe> <iframe style="height: 200%; width: 100%" :src="`https://api.idocv.com/view/url?url=${docxUrl}`" v-if="!isdevelopment"></iframe>
</div> </div>
<div <div
v-if="fileExtension === 'pdf'" v-if="fileExtension === 'pdf'"
@ -899,7 +899,7 @@ export default {
value: "enterpriseType", value: "enterpriseType",
// dictType: "tc_enter_type", // dictType: "tc_enter_type",
}, },
{ name: "重点领域监管内容", value: "jgObgj" }, { name: "重点监管内容", value: "jgObgj" },
{ name: "法律法规令禁止的有关行为", value: "jzxw" }, { name: "法律法规令禁止的有关行为", value: "jzxw" },
{ name: "主要监管部门", value: "jgDep" }, { name: "主要监管部门", value: "jgDep" },
{ name: "主要依据", value: "zyyj" }, { name: "主要依据", value: "zyyj" },
@ -1161,18 +1161,25 @@ export default {
this.fileExtension === "docx" || this.fileExtension === "docx" ||
this.fileExtension === "doc" this.fileExtension === "doc"
) { ) {
// const blob = new Blob([row[""]]);
// console.log(blob,'blob')
// this.dialogDetails = true;
// docx.renderAsync(blob, this.$refs.fileDoc);
// axios({ // axios({
// method: "get", // method: "get",
// responseType: "blob", // // responseType: "blob", //
// url: process.env.VUE_APP_BASE_API2 + row[""], // url: process.env.VUE_APP_BASE_API2 + row[""],
// }).then(({ data }) => { // }).then(({ data }) => {
// if (data) { // if (data) {
// console.log(data,'data')
// this.dialogDetails = true; // this.dialogDetails = true;
// this.$nextTick(() => { // this.$nextTick(() => {
// docx.renderAsync(data, this.$refs.fileDoc); // // docx.renderAsync(data, this.$refs.fileDoc); //
// }); // });
// } // }
// }); // });
this.docxUrl = row['材料路径']; this.docxUrl = row['材料路径'];
this.dialogDetails = true; this.dialogDetails = true;
} }

Loading…
Cancel
Save