{"version":3,"sources":["webpack:///./src/mixins/att.ts","webpack:///./src/views/query/workFlow.vue?551b","webpack:///./src/mixins/fetch_mixin.ts","webpack:///./src/views/query/workFlow.vue?6518","webpack:///./src/views/query/workFlow.vue","webpack:///./src/views/query/workFlow.vue?ef8c","webpack:///./src/views/query/workFlow.vue?84ca"],"names":["att_mixins","formItem","source","database","textarea","backup","text","idc","table","assigned","delay","tp","row","name","isquery","ip","add","username","password","port","id","wordList","page_number","current","find","picker","user","valve","query","department","computer_room","connection_name","table_data","testResults","validate_gen","loading","is_open","group_list","group_props","edit_password","savePassLoading","this","components","fetch_mixins","fetchData","base","a","get","$config","url","then","res","data","x","notice","catch","error","err_notice","put","concat","highlight","render","_vm","_h","$createElement","_c","_self","staticClass","_v","_s","stepData","title","describe","attrs","slot","ref","stepRules","on","fetchSource","model","value","callback","$$v","$set","expression","_l","i","key","_e","minRows","maxRows","staticStyle","handleSubmit","item","staticRenderFns","export_list","sessionStorage","getItem","stepList1","required","message","trigger","export","is_validate","$refs","validate","valid","post","$router","push","err","status","fetchIDC","fetchQueryStatus","fetch_mixin","component"],"mappings":"iOAGqBA,EAArB,6D,+DAEI,EAAAC,SAAW,CACPC,OAAQ,GACRC,SAAU,GACVC,SAAU,GACVC,OAAQ,EACRC,KAAM,GACNC,IAAK,GACLC,MAAO,GACPC,SAAU,GACVC,MAAO,KACPC,GAAI,EACJC,IAAK,EACLC,KAAM,GACNC,QAAS,EACTC,GAAI,GACJC,IAAK,GACLC,SAAU,GACVC,SAAU,GACVC,KAAM,GACNC,GAAI,GAER,EAAAC,SAAuB,GAEvB,EAAAC,YAAc,EACd,EAAAC,QAAU,EACV,EAAAC,KAAO,CACHC,OAAQ,GACRC,KAAM,GACNC,OAAO,GAEX,EAAAC,MAAQ,CACJF,KAAM,GACNG,WAAY,GACZF,OAAO,EACPV,SAAU,GACVa,cAAe,GACfC,gBAAiB,IAGrB,EAAAC,WAAa,GAGb,EAAAC,YAAc,GAEd,EAAAC,cAAe,EA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Content":["import {Component, Vue} from \"vue-property-decorator\";\n\n@Component({components: {}})\nexport default class att_mixins extends Vue {\n $config: any;\n formItem = {\n source: '',\n database: '',\n textarea: '',\n backup: 1,\n text: '',\n idc: '',\n table: '',\n assigned: '',\n delay: null,\n tp: 0,\n row: 1,\n name: '',\n isquery: 2,\n ip: '',\n add: '',\n username: '',\n password: '',\n port: '',\n id: 0\n };\n wordList: Array = [];\n\n page_number = 1;\n current = 1;\n find = {\n picker: [],\n user: '',\n valve: false\n };\n query = {\n user: '',\n department: '',\n valve: false,\n username: '',\n computer_room: '',\n connection_name: ''\n };\n\n table_data = [];\n\n //order\n testResults = [] as any;\n // order button disable\n validate_gen = true;\n // spin loading\n loading = false;\n\n // own-space\n is_open = false;\n group_list = [];\n group_props = [];\n edit_password = false;\n savePassLoading = false; // 保存更改密码loading按钮状态\n\n\n cancel_password() {\n this.edit_password = false\n }\n}\n","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./workFlow.vue?vue&type=style&index=0&lang=less&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./workFlow.vue?vue&type=style&index=0&lang=less&\"","import {Component, Mixins} from \"vue-property-decorator\";\nimport att_mixins from \"@/mixins/att\";\nimport axios from \"axios\";\nimport att from \"@/mixins/att\";\n\n@Component({components: {}})\nexport default class fetch_mixins extends Mixins(att) {\n fetchData:any = {\n idc: [],\n source: [],\n base: [],\n table: [],\n assigned: []\n };\n\n\n fetchSource(idc: string) {\n if (idc) {\n axios.get(`${this.$config.url}/fetch/source/${idc}/dml`)\n .then(res => {\n if (res.data.x === 'dml') {\n this.fetchData.source = res.data.source;\n this.fetchData.assigned = res.data.assigned\n } else {\n this.$config.notice('非法劫持参数!')\n }\n })\n .catch(error => {\n this.$config.err_notice(this,error)\n })\n }\n }\n\n fetchBase(source: string) {\n if (source) {\n axios.get(`${this.$config.url}/fetch/base/${source}`)\n .then(res => {\n this.fetchData.base = res.data;\n })\n .catch(error => {\n this.$config.err_notice(this,error)\n })\n }\n }\n\n fetchIDC() {\n axios.get(`${this.$config.url}/fetch/idc`)\n .then(res => {\n this.fetchData.idc = res.data;\n })\n .catch(error => {\n this.$config.err_notice(this,error)\n })\n }\n\n fetchTable() {\n if (this.formItem.database) {\n axios.put(`${this.$config.url}/fetch/table`, {\n 'source': this.formItem.source,\n 'base': this.formItem.database\n })\n .then(res => {\n this.fetchData.table = res.data.table;\n this.wordList = this.$config.concat(this.wordList, res.data.highlight);\n }).catch(error => {\n this.$config.err_notice(this,error)\n })\n }\n }\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('Row',[_c('Card',[_c('div',{staticClass:\"step-header-con\"},[_c('h3',[_vm._v(_vm._s(_vm.stepData.title))]),_c('h5',[_vm._v(_vm._s(_vm.stepData.describe))])]),_c('p',{staticClass:\"step-content\"}),_c('Row',[_c('i-col',{attrs:{\"span\":\"8\"}},[_c('Alert',{attrs:{\"type\":\"warning\",\"show-icon\":\"\"}},[_vm._v(\"\\n 注意事项:\\n \"),_c('span',{attrs:{\"slot\":\"desc\"},slot:\"desc\"},[_vm._v(\"\\n 1.必须填写查询说明\\n \"),_c('br'),_vm._v(\"\\n 2.根据查询条件预估所需的查询时间\\n \"),_c('br'),_vm._v(\"\\n 3.所有提交的查询语句均会进行审计记录\\n \"),_c('br'),_vm._v(\"\\n 4.仅支持查询语句,不可使用非查询语句\\n \"),_c('br'),_vm._v(\"\\n 5.已限制最大limit数,如自己输入的limit数大于平台配置的最大limit数则以平台配置的Limit数为准\\n \")])])],1),_c('i-col',{attrs:{\"span\":\"12\"}},[_c('Form',{ref:\"formItem\",attrs:{\"model\":_vm.formItem,\"rules\":_vm.stepRules,\"label-width\":150}},[_c('FormItem',{attrs:{\"label\":\"环境:\",\"prop\":\"idc\"}},[_c('Select',{on:{\"on-change\":_vm.fetchSource},model:{value:(_vm.formItem.idc),callback:function ($$v) {_vm.$set(_vm.formItem, \"idc\", $$v)},expression:\"formItem.idc\"}},_vm._l((_vm.fetchData.idc),function(i){return _c('Option',{key:i,attrs:{\"value\":i}},[_vm._v(_vm._s(i))])}),1)],1),_c('FormItem',{attrs:{\"label\":\"审核人:\",\"prop\":\"assigned\"}},[_c('Select',{attrs:{\"filterable\":\"\"},model:{value:(_vm.formItem.assigned),callback:function ($$v) {_vm.$set(_vm.formItem, \"assigned\", $$v)},expression:\"formItem.assigned\"}},_vm._l((_vm.fetchData.assigned),function(i){return _c('Option',{key:i,attrs:{\"value\":i}},[_vm._v(_vm._s(i))])}),1)],1),(_vm.export_list)?_c('FormItem',{attrs:{\"label\":\"是否需要导出数据:\",\"prop\":\"export\"}},[_c('RadioGroup',{model:{value:(_vm.formItem.export),callback:function ($$v) {_vm.$set(_vm.formItem, \"export\", $$v)},expression:\"formItem.export\"}},[_c('Radio',{attrs:{\"label\":1}},[_vm._v(\"是\")]),_c('Radio',{attrs:{\"label\":0}},[_vm._v(\"否\")])],1)],1):_vm._e(),_c('FormItem',{attrs:{\"label\":\"查询说明:\",\"prop\":\"text\"}},[_c('Input',{attrs:{\"type\":\"textarea\",\"autosize\":{minRows: 4,maxRows: 8},\"placeholder\":\"请填写查询说明\"},model:{value:(_vm.formItem.text),callback:function ($$v) {_vm.$set(_vm.formItem, \"text\", $$v)},expression:\"formItem.text\"}})],1),_c('FormItem',{attrs:{\"label\":\"\"}},[_c('Button',{staticStyle:{\"width\":\"100px\"},attrs:{\"type\":\"primary\"},on:{\"click\":_vm.handleSubmit}},[_vm._v(\"提交\")])],1)],1)],1)],1),_c('Steps',{staticStyle:{\"margin-left\":\"10%\"}},_vm._l((_vm.stepList1),function(item){return _c('Step',{key:item.title,attrs:{\"title\":item.title,\"content\":item.describe}})}),1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport axios from 'axios'\nimport fetch_mixins from \"@/mixins/fetch_mixin\";\nimport {Component,Mixins} from \"vue-property-decorator\";\n\n@Component({components: {}})\nexport default class work_flow extends Mixins(fetch_mixins) {\n $config: any;\n export_list = false;\n stepData = {\n title: 'Yearning SQL查询系统',\n describe: `欢迎你! ${sessionStorage.getItem('user')}`\n };\n stepList1 = [\n {\n title: '提交',\n describe: '提交查询申请'\n },\n {\n title: '审核',\n describe: '等待审核结果'\n },\n {\n title: '查询',\n describe: '审核完毕,进入查询页面'\n }\n ];\n stepRules = {\n text: [\n {required: true, message: '请填写查询说明', trigger: 'blur'}\n ],\n idc: [{\n required: true,\n message: '环境地址不得为空',\n trigger: 'change'\n }],\n source: [{\n required: true,\n message: '连接名不得为空',\n trigger: 'change'\n }],\n assigned: [{\n required: true,\n message: '审核人不得为空',\n trigger: 'change'\n }]\n };\n item = {};\n formItem:any = {\n text: '',\n idc: '',\n export: 0,\n assigned: '',\n source:''\n };\n\n fetchSource(idc: string) {\n if (idc) {\n axios.get(`${this.$config.url}/fetch/source/${idc}/query`)\n .then(res => {\n if (res.data.x === 'query') {\n this.fetchData.assigned = res.data.assigned\n } else {\n this.$config.notice('非法劫持参数!')\n }\n })\n .catch(error => {\n this.$config.err_notice(this,error)\n })\n }\n }\n\n handleSubmit() {\n let is_validate:any = this.$refs['formItem'];\n is_validate.validate((valid: boolean) => {\n if (valid) {\n axios.post(`${this.$config.url}/query/refer`, {\n 'idc': this.formItem.idc,\n 'source': this.formItem.source,\n 'export': this.formItem.export,\n 'assigned': this.formItem.assigned,\n 'text': this.formItem.text\n })\n .then(() => {\n this.$router.push({\n name: 'query_apply'\n })\n })\n .catch(err => {\n this.$config.err_notice(this,err)\n })\n }\n })\n }\n\n fetchQueryStatus() {\n axios.put(`${this.$config.url}/query/status`)\n .then(res => {\n if (res.data.status === 1) {\n this.$router.push({\n name: 'query_page'\n })\n } else if (res.data.status === 2) {\n this.$router.push({\n name: 'query_apply'\n })\n } else {\n this.fetchIDC();\n this.export_list = res.data.export;\n }\n })\n }\n\n mounted() {\n this.fetchQueryStatus();\n }\n\n}\n","import mod from \"-!../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./workFlow.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./workFlow.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./workFlow.vue?vue&type=template&id=4d72fd14&\"\nimport script from \"./workFlow.vue?vue&type=script&lang=ts&\"\nexport * from \"./workFlow.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./workFlow.vue?vue&type=style&index=0&lang=less&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}