| | |
| | | </el-form-item> |
| | | </el-form> |
| | | </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> |
| | | |
| | | <iframe |
| | | id="Iframe1" |
| | | src="" |
| | |
| | | } |
| | | }, |
| | | methods: { |
| | | getInsertDown() { |
| | | this.dialogInsertVisible = false |
| | | this.dialogVisible = true |
| | | getInsertDown(res) { |
| | | |
| | | // this.dialogInsertVisible = false |
| | | // this.dialogVisible = true |
| | | this.codeForm = res; |
| | | this.download(); |
| | | }, |
| | | handleInsertClose() { |
| | | this.$confirm("确认关闭?") |
| | |
| | | |
| | | if (data.result.length == 0 || data.result == null) { |
| | | this.insertFlag = 1 |
| | | this.dialogVisible = true |
| | | // this.dialogVisible = true |
| | | this.$bus.$emit("setDialogInsertVisible", true) |
| | | } else { |
| | | this.insertFlag = 2 |
| | | var std = [] |
| | |
| | | this.ruleForm.depname = std |
| | | this.ruleForm.wkt = decr(this.listdata.wkt) |
| | | this.ruleForm.tabs = this.option |
| | | this.dialogInsertVisible = true |
| | | // this.dialogInsertVisible = true |
| | | this.$bus.$emit("setDialogInsertVisible", this.ruleForm) |
| | | } |
| | | }, |
| | | async signGetPublicKey() { |
| | |
| | | this.setTableAll() |
| | | } |
| | | }) |
| | | this.$bus.$on("setInsertDown", res => { |
| | | this.getInsertDown(res) |
| | | }) |
| | | }, |
| | | destroyed() { |
| | | this.$store.state.propertiesFlag = null |