| | |
| | | |
| | | </div> |
| | | </el-dialog> |
| | | |
| | | <el-dialog |
| | | title="数据申请" |
| | | :visible.sync="dialogInsertVisible" |
| | | width="30%" |
| | | top="35vh" |
| | | :modal="false" |
| | | :before-close="handleInsertClose" |
| | | > |
| | | <div style="width: 100%; max-height: 450px; overflow-y: auto"> |
| | | <el-form |
| | | ref="form" |
| | | :model="ruleForm" |
| | | label-width="100px" |
| | | > |
| | | <el-form-item label="审核单位"> |
| | | <div> |
| | | <ul> |
| | | <li v-for="item in ruleForm.depid"> |
| | | {{ item.name }} |
| | | </li> |
| | | </ul> |
| | | </div> |
| | | </el-form-item> |
| | | <el-form-item label="表名"> |
| | | <div> |
| | | <ul> |
| | | <li v-for="item in ruleForm.tabs"> |
| | | {{ item.tabDesc }} |
| | | </li> |
| | | </ul> |
| | | </div> |
| | | </el-form-item> |
| | | <el-form-item label="条件"> |
| | | <el-input |
| | | :title="ruleForm.wkt" |
| | | v-model="ruleForm.wkt" |
| | | disabled |
| | | ></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="描述"> |
| | | <el-input |
| | | type="textarea" |
| | | placeholder="请输入内容" |
| | | v-model="ruleForm.descr" |
| | | maxlength="50" |
| | | show-word-limit |
| | | > |
| | | </el-input> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button |
| | | class="primary" |
| | | size="small" |
| | | @click="getInsertDown" |
| | | >{{ |
| | | $t("common.confirm") |
| | | }}</el-button> |
| | | <el-button |
| | | type="info" |
| | | size="small" |
| | | @click="closeInsertDown" |
| | | >{{ |
| | | $t("common.cancel") |
| | | }}</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog |
| | | :title="$t('common.passworld')" |
| | | :visible.sync="dialogVisible1" |
| | | width="30%" |
| | | top="35vh" |
| | | :modal="false" |
| | | :before-close="handleCloseDown1" |
| | | > |
| | | <el-form |
| | | :model="codeForm" |
| | | :rules="rules" |
| | | ref="codeForm" |
| | | label-width="100px" |
| | | class="codeForm" |
| | | > |
| | | <el-form-item |
| | | :label="$t('common.passworld')" |
| | | prop="password" |
| | | > |
| | | <el-input |
| | | type="password" |
| | | v-model="codeForm.password" |
| | | show-password |
| | | ></el-input> |
| | | </el-form-item> |
| | | <el-form-item |
| | | :label="$t('common.SPassword')" |
| | | prop="repassword" |
| | | > |
| | | <el-input |
| | | type="password" |
| | | v-model="codeForm.repassword" |
| | | show-password |
| | | ></el-input> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button |
| | | class="primary" |
| | | size="small" |
| | | @click="downloadx('codeForm')" |
| | | >{{ $t("common.confirm") }}</el-button> |
| | | <el-button |
| | | type="info" |
| | | size="small" |
| | | @click="closeDownx('codeForm')" |
| | | >{{ |
| | | $t("common.cancel") |
| | | }}</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | </el-dialog> |
| | | <iframe |
| | | id="downFrame" |
| | | src="" |
| | |
| | | } |
| | | }; |
| | | return { |
| | | |
| | | fromfile: { file: '' }, |
| | | fromSqlflag: false, |
| | | filedsOption: [], |
| | |
| | | src: '' |
| | | }, |
| | | checkedDataType: [], |
| | | ruleForm: { |
| | | depname: [], |
| | | tabs: [], |
| | | pwd: null, |
| | | repwd: null, |
| | | wkt: null, |
| | | descr: null, |
| | | }, |
| | | dialogInsertVisible: false, |
| | | dialogVisible1: false, |
| | | }; |
| | | }, |
| | | |
| | |
| | | this.getCategorySelectData(); |
| | | this.getItemSelectData(); |
| | | this.signGetPublicKey(); |
| | | this.$bus.$on("setDialogInsertVisible", (res) => { |
| | | if (res == true) { |
| | | this.dialogVisible1 = true; |
| | | } else { |
| | | this.setDialogInsertVisible(res); |
| | | } |
| | | }) |
| | | }, |
| | | methods: { |
| | | handleCloseDown1() { |
| | | this.$confirm("确认关闭?") |
| | | .then(_ => { |
| | | this.closeDownx(); |
| | | }) |
| | | .catch(_ => { }) |
| | | }, |
| | | downloadx() { |
| | | this.$bus.$emit("setInsertDown", this.codeForm) |
| | | this.closeDownx(); |
| | | }, |
| | | closeDownx() { |
| | | this.dialogVisible1 = false; |
| | | this.codeForm = { |
| | | password: '', |
| | | repassword: '', |
| | | } |
| | | }, |
| | | getInsertDown() { |
| | | this.dialogInsertVisible = false; |
| | | this.dialogVisible1 = true; |
| | | // |
| | | }, |
| | | |
| | | closeInsertDown() { |
| | | this.ruleForm = { |
| | | depname: [], |
| | | tabs: [], |
| | | pwd: null, |
| | | repwd: null, |
| | | wkt: null, |
| | | descr: null, |
| | | } |
| | | this.dialogInsertVisible = false |
| | | }, |
| | | handleInsertClose() { |
| | | this.$confirm("确认关闭?") |
| | | .then(_ => { |
| | | this.closeInsertDown() |
| | | }) |
| | | .catch(_ => { }) |
| | | }, |
| | | setDialogInsertVisible(res) { |
| | | this.ruleForm = res; |
| | | this.dialogInsertVisible = true; |
| | | }, |
| | | copyText(row, column, cell, event) { |
| | | // 双击复制 |
| | | let save = function (e) { |
| | |
| | | this.metaDataTable1 = [data.result]; |
| | | }, |
| | | getSpaceMapVisibale() { |
| | | sgworld.Creator.SimpleGraphic.clear(); |
| | | for (var i in this.$store.state.queryInfo) { |
| | | sgworld.Viewer.entities.remove(this.$store.state.queryInfo[i]); |
| | | if (window.sgworld) { |
| | | window.sgworld.Creator.SimpleGraphic.clear(); |
| | | for (var i in this.$store.state.queryInfo) { |
| | | window.sgworld.Viewer.entities.remove(this.$store.state.queryInfo[i]); |
| | | } |
| | | } |
| | | |
| | | this.$store.state.queryInfo = []; |
| | | if (this.$store.state.primitLayer != null) { |
| | | sgworld.Viewer.entities.remove(this.$store.state.primitLayer); |