|
@@ -17,7 +17,18 @@
|
|
|
<div class="innerContainer leftPane" v-drag>
|
|
|
<h2 class="Pangetitle darg-div el-col">
|
|
|
<span class="pange_text">全域土地综合整治专题 </span>
|
|
|
- <i class="document el-icon-document" @click="drawer = !drawer"></i>
|
|
|
+
|
|
|
+ <el-dropdown @command="download">
|
|
|
+ <span class="document el-icon-document"> </span>
|
|
|
+ <el-dropdown-menu slot="dropdown">
|
|
|
+ <el-dropdown-item
|
|
|
+ v-for="file in filelist"
|
|
|
+ :key="file"
|
|
|
+ :command="file"
|
|
|
+ >{{ file.slice(19) }}
|
|
|
+ </el-dropdown-item>
|
|
|
+ </el-dropdown-menu>
|
|
|
+ </el-dropdown>
|
|
|
<div class="region">
|
|
|
<!-- clearable -->
|
|
|
<el-cascader
|
|
@@ -112,13 +123,16 @@
|
|
|
<!-- <iframe
|
|
|
v-if="drawer"
|
|
|
type="module"
|
|
|
- :srcdoc="require('@/../static/data/aa.html')"
|
|
|
+ :srcdoc="htmlContent"
|
|
|
style="width: 100%; height: 100%; position: absolute"
|
|
|
></iframe> -->
|
|
|
+ <!-- <div v-if="drawer" v-html="htmlContent"></div> -->
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
+// import htmlContent from "@/../static/data/aa.html";
|
|
|
+import { QueryOne } from "@/api/cockpitNew";
|
|
|
import Organize from "./components/organize.vue";
|
|
|
import Sdgk from "./components/sdgk.vue";
|
|
|
import Qhdb from "./components/qhdb.vue";
|
|
@@ -146,6 +160,8 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ // htmlContent: htmlContent,
|
|
|
+ filelist: [],
|
|
|
loading: false,
|
|
|
drawer: false,
|
|
|
xzqh: "",
|
|
@@ -180,7 +196,7 @@ export default {
|
|
|
store.setCockpitDate(sessionStorage.getItem("cockpitDate").split(","));
|
|
|
},
|
|
|
mounted() {
|
|
|
- this.xzqh = store.state.cockpit_region.id;
|
|
|
+ this.xzqh = "460202"; //store.state.cockpit_region.id;
|
|
|
this.regionChange();
|
|
|
this.bus.$on("handleView", this.handleView);
|
|
|
},
|
|
@@ -188,6 +204,23 @@ export default {
|
|
|
changeData(name, updata) {
|
|
|
this[name] = updata;
|
|
|
},
|
|
|
+ async getssfa() {
|
|
|
+ let res = await QueryOne({
|
|
|
+ jscType: "qytuzz_sdzl_sdmb_ssfa",
|
|
|
+ id: this.xzqh,
|
|
|
+ });
|
|
|
+ console.log(res.data);
|
|
|
+ this.filelist = res.data.zzwafile.split(",");
|
|
|
+ },
|
|
|
+ handleClick() {},
|
|
|
+ download(file) {
|
|
|
+ console.log(file, "aa");
|
|
|
+ // window.open(this.$props.scjgObj.fxbg); //this.$props.scjgObj.task.fxbg
|
|
|
+ window.open(
|
|
|
+ ` ${window.axiosURI}/analyse/fzss/ShowReport?filePath=${file}`,
|
|
|
+ "_blank"
|
|
|
+ );
|
|
|
+ },
|
|
|
goContrast(dbdata) {
|
|
|
this.$refs.sdgk.sourcesshow(false);
|
|
|
this.iscontrast = true;
|
|
@@ -207,6 +240,7 @@ export default {
|
|
|
regionChange() {
|
|
|
this.onClick(this.activeIndex);
|
|
|
this.$refs.detailModal.closeInster();
|
|
|
+ this.getssfa();
|
|
|
},
|
|
|
cockpit() {
|
|
|
//驾驶舱矢量数据点选查询
|
|
@@ -305,9 +339,6 @@ export default {
|
|
|
.newContainer {
|
|
|
top: 40px !important;
|
|
|
}
|
|
|
-.el-select-dropdown {
|
|
|
- background-color: rgba(4, 28, 50, 1) !important;
|
|
|
-}
|
|
|
</style>
|
|
|
<style lang="scss">
|
|
|
.LandConsolidation {
|
|
@@ -372,5 +403,17 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+.el-dropdown-menu,
|
|
|
+.el-select-dropdown {
|
|
|
+ background-color: rgba(4, 28, 50, 1) !important;
|
|
|
+ border: 1px solid rgba(15, 122, 200, 0.4) !important;
|
|
|
+}
|
|
|
+.el-dropdown-menu__item {
|
|
|
+ color: #fff !important;
|
|
|
+}
|
|
|
+.el-dropdown-menu__item:focus,
|
|
|
+.el-dropdown-menu__item:not(.is-disabled):hover {
|
|
|
+ background-color: rgba(255, 255, 255, 0.35) !important;
|
|
|
+}
|
|
|
@import "../complianceAnalysis/ghzc.scss";
|
|
|
</style>
|