| | |
| | | } |
| | | }; |
| | | return { |
| | | |
| | | fromSqlflag: false, |
| | | filedsOption: [], |
| | | condOption: [], |
| | |
| | | this.signGetPublicKey(); |
| | | }, |
| | | methods: { |
| | | getAttachTable() { |
| | | |
| | | }, |
| | | setRestMetaData() { |
| | | this.fromQueryMeta.name = ""; |
| | | this.listMetaData.name = this.fromQueryMeta.name; |
| | |
| | | }, |
| | | //重置 |
| | | setQuerAllTablesRefresh() { |
| | | this.formInline = { |
| | | fileName: "",//高级搜索 |
| | | dataType: "type2", //数据类型 |
| | | category: [], //查询类别, |
| | | item: [], |
| | | depcode: this.depOption[0].code, |
| | | depName: this.depOption[0].name, |
| | | keywords: '', |
| | | } |
| | | // this.formInline = { |
| | | // fileName: "",//高级搜索 |
| | | // dataType: "type2", //数据类型 |
| | | // category: [], //查询类别, |
| | | // item: [], |
| | | // depcode: null, //单位, |
| | | // depName: null,//单位, |
| | | // keywords: '', |
| | | // } |
| | | this.formInline.fileName = "";//高级搜索 |
| | | this.formInline.category = [];//高级搜索 |
| | | this.formInline.item = [];//高级搜索 |
| | | this.formInline.depcode = null;//高级搜索 |
| | | this.formInline.depName = null;//高级搜索 |
| | | this.formInline.keywords = "";//高级搜索 |
| | | this.getAllTabesData(); |
| | | }, |
| | | handleSelectionChange() { |
| | |
| | | return this.$message.error('单位列表获取失败'); |
| | | } |
| | | this.depOption = this.treeData(data.result); |
| | | this.formInline.depcode = this.depOption[0].code |
| | | this.formInline.depName = this.depOption[0].name; |
| | | // this.formInline.depcode = this.depOption[0].code |
| | | // this.formInline.depName = this.depOption[0].name; |
| | | this.getAllTabesData(); |
| | | }, |
| | | //树列表生成 |