mirror of
https://gitee.com/dromara/dbswitch.git
synced 2025-08-29 08:54:00 +00:00
2 lines
42 KiB
JavaScript
2 lines
42 KiB
JavaScript
webpackJsonp([0],{"+v/H":function(A,e,t){A.exports=t.p+"static/img/DM.24360ff.png"},"0j3w":function(A,e,t){A.exports=t.p+"static/img/DB2.043214d.png"},"99nn":function(A,e,t){A.exports=t.p+"static/img/MariaDB.f6fc721.png"},"9EtZ":function(A,e){A.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAD4AAAA+CAYAAABzwahEAAAAAXNSR0IArs4c6QAABbBJREFUaEPtWztyHDcQfSAd+giuMlnlVLQO4IDKHNonoFjlO7g2khitQt+AVK47iL4BTSXOvIdwaC5cPUSve7FAf2Zmly5Rmy13BsDrz3uNBpjwTD/pmeLGF+DPzfNP4vGXy3yegYs1cEIGPwYu7xZpdUjjHxw4gV4DH2uQR8Cru0W6PRT4gwM/W+a/UDwtQWbg9tMivfosgb9c5pM1QMCbnyPg9FAh/7/xOFnifpEOtp6DTcQuPlvmNwDeNlz+9n6Rrj6rUCdCA7DiMP5+ma8z8JpB1vn9Yplff1qkm30aYe8eZw8n4OaPRbpkMMUY9HVjEPoiWH9VmH4vMrc34ERkD8B1AkizQ4wt0oHAk8bPLnN7AV68dl1kayt3CVQCTqT3KbQT8EZ6uCgA6/3N3Pk/O3DLW6TjCbhtAL+ui5gC/oLIMBo1Fj/MCvzFMn/UQrt4lojtsiavUtjseFaCJz6YK+9nAS7zmbzTC0tm81ahQsAzsOpVbyJ9yJmTQ38ycFl7W/V2K8xrfdeqN5H3tLmZpPuTgMvQ9uywzpY5t8K8kjEV0FyhPwq4DO1an3ukwvmtedQKdzm2JNExoR8GHgltuVCODq0e1zigZdApod8EXpeYPCl7rbBrqLCgMLeig43aSwcF/CB5PdZv4dkCXm8gSDtl7tLvGTiP7ptFmJvNBo0ANW2u11YpDb+64Y8NcOHNrfEtL1mFAv3OIezZdkbDXeGUoabo7QIl8N6DmNog8IR5nU6WNG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9fB4BjYoSOMT4pQwcJa0xr9XDOfO1UW82cDzyU3n+HeYOzLZKOA0QSlahpYQlaoRKYkssPUszc3/wTR27tHApy7+qd//AvypPXDo+f8FMMXyeyUZV70AAAAASUVORK5CYII="},"B/7G":function(A,e,t){A.exports=t.p+"static/img/PostgreSql.341cc3b.png"},CRDd:function(A,e,t){A.exports=t.p+"static/img/ElasticSearch.d997f90.png"},Cdx3:function(A,e,t){var a=t("sB3e"),s=t("lktj");t("uqUo")("keys",function(){return function(A){return s(a(A))}})},H8Ud:function(A,e,t){A.exports=t.p+"static/img/Hive.0ebf8c6.png"},JVBT:function(A,e){A.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALEAAAA+CAYAAABkz/rIAAAAAXNSR0IArs4c6QAACoZJREFUeF7tnc9rXUUUx89LQFwp0oqIaNuluFYEF6Z/hiC02TfQjeu2S3dCum9c6dK/wKar6l+gIta0urPBIriy6ZPvSya9b975OXfuu/cm90FJIfPmx5nPnPmeM3NvZjR9JguM3AKzkfd/6v5kARoaxPeFObnaw1xdJ6JbRLRHRF8T0UEPfZiadFhgSBBfJqLfmT4DniuOsdQqgn7cI6KtRoXoA2C+U6uRqZ56FpggfmlLwHuNiG4r5gXM20S0X28KBlcTFi/skH8w9kEuYi/EmOCut9M+PTFkgwZvPqHJK3dtkz4Ih4zCTpR/sHD7kHWmDTwQY4IxsLYeCJDin/RJ2zjnAdC29gFMJUBx0sE02kmBsyoxzhTE+QS3XYkI2po60wuLpxw8owV6sx6PdPC0izJnDeYzAbE2wdhOSvXgUCCOSocIzLBPyY7gbSOV03a0aF15eTgaSU5EHEW0H8V2y+WEpEtTh9pkCvqGOE2OF4AUyFwK6OV1eeUubRmFr1b5YgfJQQwDaRONAKgkSu3S8JqciOpeDsSo/Oga5i5tWQvKaD3VIEbDkiZqeuOSbbNLw0sQR6WDtUBLFkTbgJiDoUtbRuGrVb4qxOiUZaRoIIU6uwrqUnDV1FRoSzr944wezf+mjI1XmtROyVnzUwus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tzai3cqNJoJSeiT3tonesLYg08KWDlPLtqyBFD3EZOWLaNwiqVL4bYCuai2wbqw5arfbhccbrDrH0vXRrKy1jgeSGWdqSmDYbuiTFWTVaVAFczUOxETlhe2BPMRQ3DtenJfHDteMDzQiwB2rTBGCCW5rREUtSsy+KkyBNbl3RKwbI6WxNiD3geiL2ppDFArL1OLHK1VtulvTGSxULz90UQWy+Z66Kj6HQtiCXwOK1rBXbeF7WMAWLryNgDsgawlSWKgNsKYisAaxMIWIOoBbEXPMsTW5kNj6GtSH3djydZr9iV3qqf7rhwacRkhy4kJuoOeWIrmEOF1qRYoGq/rwGxdCghLT7NE0eS+WPwxMn2VryDcghaIRutB2RTnV06txDE1uBKAoAI1DUgRnvNpzrShEhPBVtyAgZsZk0kbzMmiK2biZE5Q9muYqTUDzfEfQVzTYPVgjjVme6/an+a1oIYdaW7z/gJiLnPmCBOY7KeefTA3DXAITlhBXNd6Z0uIfZMggdiTz1jgziBjLvcms7Vxt6lhPDEGyuP7MMTY0DcC0K6ijpzA9X2xB74zjPEyT6e5ymbtvS+K8Rjf08Zt5xoDihfnV2l1CaI+SdQYJd17Hy5/VMQh/lPnho/m69RaL503QNgjTJhiHOY8ae42vzp28gg+vDESCnmj0XB00QnK+1k+XglDZ3Kce3jd1386d7IXAypbDHEQxrE1JfzbQHp2cuVN8WfbzNNox+tBbo8uBitUaaOj8sC/wNYZeRsE3SnjQAAAABJRU5ErkJggg=="},Jehh:function(A,e,t){A.exports=t.p+"static/img/MySQL.754e01e.png"},"L/zY":function(A,e,t){A.exports=t.p+"static/img/GBase8A.bb35a8e.png"},MzXq:function(A,e){A.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAADACAMAAAB/Pny7AAAAk1BMVEX///8zfo36vwAkeYmfv8a91Nn6vQAse4r6uwD6/Pz///3//vry9/jt9PUfdoY7g5H//PPb5ulFiJbK29/+9Nr6wyP83Y4McYKzzNFhlqJWkZ7+78uUt79yoq3i7O59qLL/++z70F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BQNFE2AZVWNElQoHCG91NljxBgREJsorW2dXGRTD0F3sUsBg03eqDhgG263R7HXiuTLf5nOFVL2n9fmYSoeCyciOswirAdfTO3XGRUEzQgAaAju+br5LI1Z45Ks25jm6kbOxaK+c1IhqU9BrhGY+i476/O1+yQ3nuCoVhVE123UoXQvKyDA9CoecFv0LQIazIAs5lcs9vu4oEkiOLfOsJPhtBsfqQAu91mn41ENQDrsxNAxUkvSYtdJLN8LHF74oCtK6KFawE9YKdA15r97/IaEm697ytc7627g/KeagJAp6msXZokgPjsnUAADAKWwX+hKCZeBqyCLKQNpD0q4lk3QmSzSYJBpR+NRHE6vsrRo0aNWrUqFGjRo0a9a/pP86pwDsqOHfYAAAAAElFTkSuQmCC"},PAFV:function(A,e,t){A.exports=t.p+"static/img/Sybase.e602f61.png"},V5bU:function(A,e,t){var a={"./ClickHouse.png":"j/vS","./DB2.png":"0j3w","./DM.png":"+v/H","./Doris.png":"yJva","./ElasticSearch.png":"CRDd","./GBase8A.png":"L/zY","./Greenplum.png":"tsro","./HighGo.png":"JVBT","./Hive.png":"H8Ud","./KingBase.png":"YWKZ","./MariaDB.png":"99nn","./MongoDB.png":"fjLZ","./MySQL.png":"Jehh","./OceanBase.png":"f0LV","./OpenGauss.png":"lg4k","./Oracle.png":"ah5d","./Oscar.png":"oJD9","./PostgreSql.png":"B/7G","./SqlServer.png":"v6sC","./Sqlite3.png":"XXFI","./StarRocks.png":"MzXq","./Sybase.png":"PAFV","./TDengine.png":"9EtZ"};function s(A){return t(r(A))}function r(A){var e=a[A];if(!(e+1))throw new Error("Cannot find module '"+A+"'.");return e}s.keys=function(){return Object.keys(a)},s.resolve=r,A.exports=s,s.id="V5bU"},XXFI:function(A,e,t){A.exports=t.p+"static/img/Sqlite3.4a3f63b.png"},YWKZ:function(A,e,t){A.exports=t.p+"static/img/KingBase.2a246b0.png"},ah5d:function(A,e,t){A.exports=t.p+"static/img/Oracle.11f64f4.png"},f0LV:function(A,e,t){A.exports=t.p+"static/img/OceanBase.c41baff.png"},fZjL:function(A,e,t){A.exports={default:t("jFbC"),__esModule:!0}},fjLZ:function(A,e,t){A.exports=t.p+"static/img/MongoDB.f71eded.png"},gk9X:function(A,e){},"j/vS":function(A,e){A.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABDwAAAPDCAYAAABfCRuhAAAACXBIWXMAABCbAAAQmwF0iZxLAAAZWklEQVR4nOzbsW0UURhG0TdohMgcshlFTAHYlbE0QEsYYlaiBbINjSBw5KEJZp+4nFPBF/66em95+fZ2H5R9XLbrefYIjrFfTucxxofZOzjUw7JdH2eP4Bj75fQ4xng/ewfHWbbrMnsDx9kvJ3d0mzsa/nGvZg8AAAAA+NsEDwAAACBH8AAAAAByBA8AAAAgR/AAAAAAcgQPAAAAIEfwAAAAAHIEDwAAACBH8AAAAAByBA8AAAAgR/AAAAAAcgQPAAAAIEfwAAAAAHIEDwAAACBH8AAAAAByBA8AAAAgR/AAAAAAcgQPAAAAIEfwAAAAAHIEDwAAACBH8AAAAAByBA8AAAAgR/AAAAAAcgQPAAAAIEfwAAAAAHIEDwAAACBH8AAAAAByBA8AAAAgR/AAAAAAcgQPAAAAIEfwAAAAAHIEDwAAACBH8AAAAAByBA8AAAAgR/AAAAAAcgQPAAAAIEfwAAAAAHIEDwAAACBH8AAAAAByBA8AAAAgR/AAAAAAcgQPAAAAIEfwAAAAAHIEDwAAACBH8AAAAAByBA8AAAAgR/AAAAAAcgQPAAAAIEfwAAAAAHIEDwAAACBH8AAAAAByBA8AAAAgR/AAAAAAcgQPAAAAIEfwAAAAAHIEDwAAACBH8AAAAAByBA8AAAAgR/AAAAAAcgQPAAAAIEfwAAAAAHIEDwAAACBH8AAAAAByBA8AAAAgR/AAAAAAcgQPAAAAIEfwAAAAAHIEDwAAACBH8AAAAAByBA8AAAAgR/AAAAAAcgQPAAAAIEfwAAAAAHIEDwAAACBH8AAAAAByBA8AAAAgR/AAAAAAcgQPAAAAIEfwAAAAAHIEDwAAACBH8AAAAA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AACAHMEDAAAAyBE8AAAAgBzBAwAAAMgRPAAAAIAcwQMAAADIETwAAACAHMEDAAAAyBE8AAAAgBzBAwAAAMgRPAAAAIAcwQMAAADIETwAAACAHMEDAAAAyBE8AAAAgBzBAwAAAMgRPAAAAIAcwQMAAADIETwAAACAHMEDAAAAyBE8AAAAgBzBAwAAAMgRPAAAAIAcwQMAAIA/7dhBCcBQDETBHOrfUx18CZFQCRXxCYFlRsG7hMBCHIMHAAAAEMfgAQAAAMQxeAAAAABxDB4AAABAnKeq3u0IRvV2AKO63HC6bzuAUWc7ALjiB2fr7QDgzg+PMzEkxVOg9gAAAABJRU5ErkJggg=="},jFbC:function(A,e,t){t("Cdx3"),A.exports=t("FeBl").Object.keys},jwQa:function(A,e){},kdZn:function(A,e,t){"use strict";var a=t("mvHQ"),s=t.n(a),r=t("fZjL"),o=t.n(r),n={props:{isReadOnly:{type:Boolean,default:!1}},data:function(){return{selectedType:"MYSQL",selectedTypeName:"MySQL",selectedId:0,connectionDrivers:[],databaseTypeDetail:{},dataform:{id:0,diver:"",name:"",type:"",driver:"",version:"",address:"",port:"",databaseName:"",username:"",password:"",sample:"",url:"",templateUrl:""},rules:{name:[{required:!0,message:"数据源名称不能为空",trigger:"blur"}],type:[{required:!0,message:"数据库类型必须选择",trigger:"change"}],version:[{required:!0,message:"驱动版本必须选择",trigger:"change"}],address:[{required:!0,message:"连接地址不能为空",trigger:"change"}],port:[{required:!0,message:"连接端口号不能为空",trigger:"change"}],databaseName:[{required:!0,message:"数据库名不能为空",trigger:"change"}],url:[{required:!0,message:"Jdbc URL必须提供",trigger:"blur"}],username:[{required:!0,message:"用户名不能为空",trigger:"blur"}],password:[{required:!0,message:"密码不能为空",trigger:"blur"}]}}},methods:{loadDatabaseTypeDetail:function(){var A=this;this.$http({method:"GET",url:"/dbswitch/admin/api/v1/connection/type/"+this.selectedType}).then(function(e){0===e.data.code?(A.databaseTypeDetail=e.data.data,(!A.selectedId||A.selectedId<=0)&&(A.selectedTypeName=A.databaseTypeDetail.name,A.dataform.driver=A.databaseTypeDetail.driver,A.dataform.url=A.databaseTypeDetail.sample),A.dataform.templateUrl=A.databaseTypeDetail.url.replace("[\\?{params}]","")):alert("加载任务列表失败:"+e.data.message)})},loadConnectionDetail:function(){var A=this;this.$http.get("/dbswitch/admin/api/v1/connection/get/"+this.selectedId).then(function(e){if(0===e.data.code){var t=e.data.data;A.selectedType=t.type,A.selectedTypeName=t.typeName,A.dataform.id=t.id,A.dataform.name=t.name,A.dataform.type=t.type,A.dataform.version=t.version,A.dataform.driver=t.driver,A.dataform.address=t.address,A.dataform.port=t.port,A.dataform.databaseName=t.databaseName,A.dataform.username=t.username,A.dataform.password=t.password,A.dataform.url=t.url,A.selectedType=t.type,A.loadDatabaseTypeDetail(),A.selectChangedDriverVersion()}else A.$message.error("查询连接详情失败,"+e.data.message)})},selectChangedDriverVersion:function(){var A=this;this.selectedType&&!this.isReadOnly&&(this.connectionDrivers=[],this.$http.get("/dbswitch/admin/api/v1/connection/"+this.selectedType+"/drivers").then(function(e){0===e.data.code?A.connectionDrivers=e.data.data:(A.connectionDrivers=[],A.$message.error("查询数据库可用的驱动版本失败,"+e.data.message))}))},changeUrl:function(){var A=this.dataform.url.split("?"),e=this.dataform.templateUrl,t=!1;if(o()(this.dataform.address).length>0){var a=this.dataform.address;e=e.replaceAll("{host}",a),t=!0}if(o()(this.dataform.port).length>0){var s=this.dataform.port;e=e.replaceAll("{port}",s),t=!0}if(o()(this.dataform.databaseName).length>0){var r=this.dataform.databaseName;e=(e=e.replaceAll("{database}",r)).replaceAll("{file}",r),t=!0}t?o()(A).length>1?this.dataform.url=e+"?"+A[1]:this.dataform.url=e:o()(A).length>1?this.dataform.url=this.selectedTypeSample.split("?")[0]+"?"+A[1]:this.dataform.url=this.selectedTypeSample},isShowDatabaseName:function(){var A=!0;return"ELASTICSEARCH"===this.selectedType&&(A=!1),A},isShowUrlAndPort:function(){var A=!0;return"SQLITE3"===this.selectedType&&(A=!1),A},startTest:function(){var A=this;this.$http({method:"POST",headers:{"Content-Type":"application/json"},url:"/dbswitch/admin/api/v1/connection/preTest",data:s()({name:this.dataform.name,type:this.selectedType,version:this.dataform.version,driver:this.dataform.driver,url:this.dataform.url,username:this.dataform.username,password:this.dataform.password})}).then(function(e){0===e.data.code?A.$message({message:"测试连接成功!",type:"success"}):A.$message.error("测试连接失败!")})},createDataSource:function(){var A=this;if(this.connectionDrivers.length>0)for(var e=0;e<this.connectionDrivers.length;e++)if(this.connectionDrivers[e].driverVersion==this.dataform.version){this.connectionDrivers[e].driverClass;break}this.$refs.dataform.validate(function(e){e?A.$http({method:"POST",headers:{"Content-Type":"application/json"},url:"/dbswitch/admin/api/v1/connection/create",data:s()({name:A.dataform.name,type:A.selectedType,version:A.dataform.version,driver:A.dataform.driver,address:A.dataform.address,port:A.dataform.port,databaseName:A.dataform.databaseName,characterEncoding:"",url:A.dataform.url,username:A.dataform.username,password:A.dataform.password})}).then(function(e){0===e.data.code?(A.$message({message:"添加连接信息成功!",type:"success"}),A.$router.push("/connection/list")):A.$message.error("添加连接信息失败:"+e.data.message)}):A.$message.error("请检查输入")})},updateDataSource:function(){var A=this;this.$refs.dataform.validate(function(e){e?A.$http({method:"POST",headers:{"Content-Type":"application/json"},url:"/dbswitch/admin/api/v1/connection/update",data:s()({id:A.dataform.id,name:A.dataform.name,type:A.dataform.type,version:A.dataform.version,driver:A.dataform.driver,address:A.dataform.address,port:A.dataform.port,databaseName:A.dataform.databaseName,characterEncoding:"",url:A.dataform.url,username:A.dataform.username,password:A.dataform.password})}).then(function(e){0===e.data.code?(A.$message({message:"修改连接信息成功!",type:"success"}),A.$router.push("/connection/list")):A.$message.error("修改连接信息失败:"+e.data.message)}):(alert("请检查输入"),A.$message.error("请检查输入"))})},cancel:function(){this.$router.push("/connection/list")}},created:function(){this.selectedType=this.$route.query.type,this.selectedId=this.$route.query.id,this.selectedId&&this.selectedId>0?this.loadConnectionDetail():(this.loadDatabaseTypeDetail(),this.selectChangedDriverVersion())}},l={render:function(){var A=this,e=A.$createElement,a=A._self._c||e;return a("el-card",[a("el-header",{staticStyle:{height:"80px"}},[a("div",{staticStyle:{display:"inline-block",float:"left"}},[a("el-image",{staticStyle:{width:"60px",height:"60px"},attrs:{src:t("V5bU")("./"+this.selectedTypeName+".png")}})],1),A._v(" "),a("h3",{staticClass:"h-title",staticStyle:{"font-family":"楷体","margin-left":"60px"}},[A._v(A._s(this.selectedTypeName))])]),A._v(" "),a("el-main",[a("el-form",{ref:"dataform",attrs:{rules:A.rules,model:A.dataform,"label-width":"120px","label-position":"right",size:"medium","status-icon":""}},[a("div",{staticClass:"f1"},[a("el-form-item",{staticStyle:{width:"40%"},attrs:{prop:"name",label:"数据源名称"}},[a("el-input",{attrs:{placeholder:"请输入数据源名称",readonly:A.isReadOnly,"auto-complete":"off"},model:{value:A.dataform.name,callback:function(e){A.$set(A.dataform,"name",e)},expression:"dataform.name"}}),A._v(" "),A.isReadOnly?A._e():a("label",{staticClass:"tips-style"},[A._v("数据源名称不能包含 &、<、>、\"、'、(、) ,长度为1~200字符")])],1),A._v(" "),a("el-form-item",{attrs:{required:!0,label:"数据库类型"}},[a("label",[A._v(A._s(this.selectedTypeName))])]),A._v(" "),a("el-form-item",{attrs:{prop:"version",label:"驱动版本"}},[a("el-select",{attrs:{readonly:A.isReadOnly,placeholder:"请选择驱动版本"},model:{value:A.dataform.version,callback:function(e){A.$set(A.dataform,"version",e)},expression:"dataform.version"}},A._l(this.connectionDrivers,function(A,e){return a("el-option",{key:e,attrs:{label:A.driverVersion,value:A.driverVersion}})}),1)],1),A._v(" "),A.isShowUrlAndPort()?a("el-form-item",{attrs:{prop:"address",label:"连接地址"}},[a("el-input",{staticStyle:{width:"30%"},attrs:{"auto-complete":"off",readonly:A.isReadOnly,placeholder:"请输入地址"},on:{blur:function(e){return A.changeUrl()}},model:{value:A.dataform.address,callback:function(e){A.$set(A.dataform,"address",e)},expression:"dataform.address"}}),A._v("\n :\n "),a("el-input",{staticStyle:{width:"10%"},attrs:{"auto-complete":"off",readonly:A.isReadOnly,placeholder:"端口"},on:{blur:function(e){return A.changeUrl()}},model:{value:A.dataform.port,callback:function(e){A.$set(A.dataform,"port",e)},expression:"dataform.port"}})],1):A._e(),A._v(" "),A.isShowDatabaseName()?a("el-form-item",{staticStyle:{width:"24%"},attrs:{prop:"databaseName",label:"数据库名"}},[a("el-input",{attrs:{"auto-complete":"off",readonly:A.isReadOnly,placeholder:"请输入数据库名"},on:{blur:function(e){return A.changeUrl()}},model:{value:A.dataform.databaseName,callback:function(e){A.$set(A.dataform,"databaseName",e)},expression:"dataform.databaseName"}})],1):A._e(),A._v(" "),a("el-form-item",{staticStyle:{width:"24%"},attrs:{label:"用户名",prop:"username"}},[a("el-input",{attrs:{readonly:A.isReadOnly,"auto-complete":"off"},model:{value:A.dataform.username,callback:function(e){A.$set(A.dataform,"username",e)},expression:"dataform.username"}})],1),A._v(" "),a("el-form-item",{staticStyle:{width:"24%"},attrs:{label:"密码",prop:"password"}},[a("el-input",{attrs:{type:"password",readonly:A.isReadOnly,"auto-complete":"off"},model:{value:A.dataform.password,callback:function(e){A.$set(A.dataform,"password",e)},expression:"dataform.password"}})],1),A._v(" "),a("el-form-item",{staticStyle:{width:"85%"},attrs:{label:"JDBC连接串","label-width":"120px",prop:"url"}},[a("el-input",{attrs:{type:"textarea",rows:6,spellcheck:!1,placeholder:"请输入",readonly:A.isReadOnly,"auto-complete":"off"},model:{value:A.dataform.url,callback:function(e){A.$set(A.dataform,"url",e)},expression:"dataform.url"}}),A._v(" "),A.isReadOnly?A._e():a("label",{staticClass:"tips-style"},[A._v("JDBC连接串(因数据库连接方式,连接参数差异较大所以需要手动拼接好),以便测试连接。")])],1)],1)])],1),A._v(" "),a("el-footer",[a("el-row",{staticStyle:{"text-align":"center"}},[a("el-button",{staticClass:"startTest",attrs:{type:"success"},on:{click:A.startTest}},[A._v("测试")]),A._v(" "),this.isReadOnly||this.selectedId&&!(this.selectedId<=0)?A._e():a("el-button",{staticClass:"createDataSource",attrs:{type:"primary"},on:{click:A.createDataSource}},[A._v("创建")]),A._v(" "),!this.isReadOnly&&this.selectedId&&this.selectedId>0?a("el-button",{staticClass:"updateDataSource",attrs:{type:"primary"},on:{click:A.updateDataSource}},[A._v("更新")]):A._e(),A._v(" "),a("el-button",{staticClass:"cancel",on:{click:A.cancel}},[A._v("取消")])],1)],1)],1)},staticRenderFns:[]};var i=t("VU/8")(n,l,!1,function(A){t("jwQa")},"data-v-51b046ca",null);e.a=i.exports},lg4k:function(A,e,t){A.exports=t.p+"static/img/OpenGauss.1b56649.png"},mvHQ:function(A,e,t){A.exports={default:t("qkKv"),__esModule:!0}},"na+p":function(A,e,t){"use strict";var a={props:{infoform:{type:Object,default:{id:0,name:"--",description:"--",scheduleMode:"MANUAL",cronExpression:"",sourceConnectionId:0,sourceTypeName:"MySQL",sourceSchema:"",runStatus:"",tableType:"TABLE",includeOrExclude:"",sourceTables:[],tableNameMapper:[],columnNameMapper:[],tableNameCase:"NONE",columnNameCase:"NONE",targetConnectionId:0,targetTypeName:"MySQL",targetDropTable:!0,targetOnlyCreate:!1,autoSyncMode:2,targetSchema:"",batchSize:5e3,channelSize:100,targetSyncOption:"INSERT_UPDATE_DELETE",beforeSqlScripts:"",afterSqlScripts:""}}},data:function(){return{}},methods:{tableRowClassName:function(A){A.row;var e=A.rowIndex;return 1===e?"warning-row":3===e?"success-row":""}}},s={render:function(){var A=this,e=A.$createElement,a=A._self._c||e;return a("div",{staticStyle:{"margin-top":"15px"}},[a("el-card",{staticClass:"box-card"},[a("el-row",{staticClass:"row-gutter"},[a("el-col",{attrs:{span:2}},[a("label",{staticClass:"key-text"},[A._v("任务名称")])]),A._v(" "),a("el-col",{attrs:{span:10}},[a("label",{staticClass:"value-text"},[A._v(A._s(A.infoform.name))])]),A._v(" "),a("el-col",{attrs:{span:2}},[a("label",{staticClass:"key-text"},[A._v("任务类型")])]),A._v(" "),a("el-col",{attrs:{span:10}},[a("label",{staticClass:"value-text"},[A._v("\n 普通任务\n ")])])],1),A._v(" "),a("el-row",{staticClass:"row-gutter"},[a("el-col",{attrs:{span:2}},[a("label",{staticClass:"key-text"},[A._v("集成模式")])]),A._v(" "),a("el-col",{attrs:{span:10}},[a("label",{staticClass:"value-text"},["MANUAL"==A.infoform.scheduleMode?a("span",[A._v("\n 手动\n ")]):A._e(),A._v(" "),"SYSTEM_SCHEDULED"==A.infoform.scheduleMode?a("span",[A._v("\n 定时\n ")]):A._e()])]),A._v(" "),a("el-col",{attrs:{span:2}},[a("label",{staticClass:"key-text"},[A._v("调度计划")])]),A._v(" "),a("el-col",{attrs:{span:10}},[a("label",{staticClass:"value-text"},["MANUAL"==A.infoform.scheduleMode?a("span",[A._v("\n --\n ")]):A._e(),A._v(" "),"SYSTEM_SCHEDULED"==A.infoform.scheduleMode?a("span",[A._v("\n "+A._s(A.infoform.cronExpression)+"\n ")]):A._e()])])],1),A._v(" "),a("el-row",{staticClass:"row-gutter"},[a("el-col",{attrs:{span:2}},[a("label",{staticClass:"key-text"},[A._v("描述")])]),A._v(" "),a("el-col",{attrs:{span:22}},[a("label",{staticClass:"value-text"},[A._v(A._s(A.infoform.description))])])],1)],1),A._v(" "),a("div",{staticClass:"common-box"},[a("div",{staticClass:"datainfo"},[a("div",{staticClass:"source"},[a("div",{staticClass:"head"},[a("div",{staticClass:"head-img"},[a("el-image",{staticStyle:{width:"60px",height:"60px"},attrs:{src:t("V5bU")("./"+A.infoform.sourceTypeName+".png")}})],1),A._v(" "),a("div",{staticClass:"head-text"},[a("div",{staticClass:"title"},[A._v(A._s(A.infoform.sourceConnectionName))]),A._v(" "),a("div",{staticClass:"sub-title"},[A._v("源端数据源")])])]),A._v(" "),a("div",{staticClass:"body"},[a("el-row",{staticClass:"row-gutter"},[a("el-col",{attrs:{span:8}},[a("label",{staticClass:"key-text"},[A._v("源端schema")])]),A._v(" "),a("el-col",{attrs:{span:16}},[a("label",{staticClass:"value-text"},[A._v(A._s(A.infoform.sourceSchema))])])],1),A._v(" "),a("el-row",{staticClass:"row-gutter"},[a("el-col",{attrs:{span:8}},[a("label",{staticClass:"key-text"},[A._v("源端表类型")])]),A._v(" "),a("el-col",{attrs:{span:16}},[a("label",{staticClass:"value-text"},[A._v(A._s(A.infoform.tableType))])])],1),A._v(" "),a("el-row",{staticClass:"row-gutter"},[a("el-col",{attrs:{span:8}},[a("label",{staticClass:"key-text"},[A._v("源端表选择方式")])]),A._v(" "),a("el-col",{attrs:{span:16}},[a("label",{staticClass:"value-text"},[A._v(A._s("INCLUDE"===A.infoform.includeOrExclude?"包含表":"排除表"))])])],1),A._v(" "),a("el-row",{staticClass:"row-gutter"},[a("el-col",{attrs:{span:8}},[a("label",{staticClass:"key-text"},[A._v("源端表名列表")])]),A._v(" "),a("el-col",{attrs:{span:16}},[a("div",{staticClass:"table-name-list"},[a("ul",A._l(A.infoform.sourceTables,function(e,t){return a("li",{key:t},[A._v(A._s(e))])}),0)])])],1)],1)]),A._v(" "),a("div",{staticClass:"target"},[a("div",{staticClass:"head"},[a("div",{staticClass:"head-img"},[a("el-image",{staticStyle:{width:"60px",height:"60px"},attrs:{src:t("V5bU")("./"+A.infoform.targetTypeName+".png")}})],1),A._v(" "),a("div",{staticClass:"head-text"},[a("div",{staticClass:"title"},[A._v(A._s(A.infoform.targetConnectionName))]),A._v(" "),a("div",{staticClass:"sub-title"},[A._v("目标端数据源")])])]),A._v(" "),a("div",{staticClass:"body"},[a("el-row",{staticClass:"row-gutter"},[a("el-col",{attrs:{span:8}},[a("label",{staticClass:"key-text"},[A._v("目地端schema")])]),A._v(" "),a("el-col",{attrs:{span:16}},[a("label",{staticClass:"value-text"},[A._v(A._s(A.infoform.targetSchema))])])],1),A._v(" "),a("el-row",{staticClass:"row-gutter"},[a("el-col",{attrs:{span:8}},[a("label",{staticClass:"key-text"},[A._v("自动同步模式")])]),A._v(" "),a("el-col",{attrs:{span:16}},[2==A.infoform.autoSyncMode?a("span",{staticClass:"value-text"},[A._v("\n 目标端建表并同步数据\n ")]):A._e(),A._v(" "),1==A.infoform.autoSyncMode?a("span",{staticClass:"value-text"},[A._v("\n 目标端只创建物理表\n ")]):A._e(),A._v(" "),0==A.infoform.autoSyncMode?a("span",{staticClass:"value-text"},[A._v("\n 目标端只同步表里数据\n ")]):A._e()])],1),A._v(" "),a("el-row",{staticClass:"row-gutter"},[a("el-col",{attrs:{span:8}},[a("label",{staticClass:"key-text"},[A._v("建表字段自增")])]),A._v(" "),a("el-col",{attrs:{span:16}},[0!==A.infoform.autoSyncMode?a("label",{staticClass:"value-text"},[A._v(A._s(A.infoform.targetAutoIncrement)+"\n ")]):A._e()])],1),A._v(" "),a("el-row",{staticClass:"row-gutter"},[a("el-col",{attrs:{span:8}},[a("label",{staticClass:"key-text"},[A._v("表名转换方法")])]),A._v(" "),a("el-col",{attrs:{span:16}},[0!==A.infoform.autoSyncMode?a("label",{staticClass:"value-text"},["NONE"==A.infoform.tableNameCase?a("span",[A._v("\n 无转换\n ")]):A._e(),A._v(" "),"UPPER"==A.infoform.tableNameCase?a("span",[A._v("\n 转大写\n ")]):A._e(),A._v(" "),"LOWER"==A.infoform.tableNameCase?a("span",[A._v("\n 转小写\n ")]):A._e(),A._v(" "),"CAMEL"==A.infoform.tableNameCase?a("span",[A._v("\n 下划线转驼峰\n ")]):A._e(),A._v(" "),"SNAKE"==A.infoform.tableNameCase?a("span",[A._v("\n 驼峰转下换线\n ")]):A._e()]):A._e()])],1),A._v(" "),a("el-row",{staticClass:"row-gutter"},[a("el-col",{attrs:{span:8}},[a("label",{staticClass:"key-text"},[A._v("列名转换方法")])]),A._v(" "),a("el-col",{attrs:{span:16}},[0!==A.infoform.autoSyncMode?a("label",{staticClass:"value-text"},["NONE"==A.infoform.columnNameCase?a("span",[A._v("\n 无转换\n ")]):A._e(),A._v(" "),"UPPER"==A.infoform.columnNameCase?a("span",[A._v("\n 转大写\n ")]):A._e(),A._v(" "),"LOWER"==A.infoform.columnNameCase?a("span",[A._v("\n 转小写\n ")]):A._e(),A._v(" "),"CAMEL"==A.infoform.columnNameCase?a("span",[A._v("\n 下划线转驼峰\n ")]):A._e(),A._v(" "),"SNAKE"==A.infoform.columnNameCase?a("span",[A._v("\n 驼峰转下换线\n ")]):A._e()]):A._e()])],1),A._v(" "),a("el-row",{staticClass:"row-gutter"},[a("el-col",{attrs:{span:8}},[a("label",{staticClass:"key-text"},[A._v("数据批次大小")])]),A._v(" "),a("el-col",{attrs:{span:16}},[1!==A.infoform.autoSyncMode?a("label",{staticClass:"value-text"},[A._v(A._s(A.infoform.batchSize)+"\n ")]):A._e()])],1),A._v(" "),a("el-row",{staticClass:"row-gutter"},[a("el-col",{attrs:{span:8}},[a("label",{staticClass:"key-text"},[A._v("通道队列大小")])]),A._v(" "),a("el-col",{attrs:{span:16}},[1!==A.infoform.autoSyncMode?a("label",{staticClass:"value-text"},[A._v(A._s(A.infoform.channelSize)+"\n ")]):A._e()])],1),A._v(" "),a("el-row",{staticClass:"row-gutter"},[a("el-col",{attrs:{span:8}},[a("label",{staticClass:"key-text"},[A._v("同步操作方法")])]),A._v(" "),a("el-col",{attrs:{span:16}},[1!==A.infoform.autoSyncMode?a("label",{staticClass:"value-text"},[A._v(A._s(A.infoform.targetSyncOption)+"\n ")]):A._e()])],1),A._v(" "),a("el-row",{staticClass:"row-gutter"},[a("el-col",{attrs:{span:8}},[a("label",{staticClass:"key-text"},[A._v("同步前置执行SQL脚本")])]),A._v(" "),a("el-col",{attrs:{span:16}},[1!==A.infoform.autoSyncMode?a("label",{staticClass:"value-text"},[a("span",{directives:[{name:"show",rawName:"v-show",value:!A.infoform.beforeSqlScripts||0==A.infoform.beforeSqlScripts.length,expression:"!infoform.beforeSqlScripts || infoform.beforeSqlScripts.length==0"}]},[A._v("[SQL脚本内容为空]")]),A._v(" "),a("span",{directives:[{name:"show",rawName:"v-show",value:A.infoform.beforeSqlScripts&&A.infoform.beforeSqlScripts.length>0,expression:"infoform.beforeSqlScripts && infoform.beforeSqlScripts.length>0"}]},[A._v(A._s(A.infoform.beforeSqlScripts))])]):A._e()])],1),A._v(" "),a("el-row",{staticClass:"row-gutter"},[a("el-col",{attrs:{span:8}},[a("label",{staticClass:"key-text"},[A._v("同步后置执行SQL脚本")])]),A._v(" "),a("el-col",{attrs:{span:16}},[1!==A.infoform.autoSyncMode?a("label",{staticClass:"value-text"},[a("span",{directives:[{name:"show",rawName:"v-show",value:!A.infoform.afterSqlScripts||0==A.infoform.afterSqlScripts.length,expression:"!infoform.afterSqlScripts || infoform.afterSqlScripts.length==0"}]},[A._v("[SQL脚本内容为空]")]),A._v(" "),a("span",{directives:[{name:"show",rawName:"v-show",value:A.infoform.afterSqlScripts&&A.infoform.afterSqlScripts.length>0,expression:"infoform.afterSqlScripts && infoform.afterSqlScripts.length>0"}]},[A._v(A._s(A.infoform.afterSqlScripts))])]):A._e()])],1)],1)])]),A._v(" "),a("div",{staticClass:"mapper"},[a("div",{staticClass:"table-left"},[a("div",[A._v("表名映射规则")]),A._v(" "),a("div",[a("el-table",{staticStyle:{width:"100%"},attrs:{data:A.infoform.tableNameMapper,"row-class-name":A.tableRowClassName}},[a("el-table-column",{attrs:{prop:"fromPattern",label:"表名匹配的正则名"}}),A._v(" "),a("el-table-column",{attrs:{prop:"toValue",label:"替换的目标值"}})],1)],1)]),A._v(" "),a("div",{staticClass:"table-right"},[a("div",[A._v("字段名映射规则")]),A._v(" "),a("div",[a("el-table",{staticStyle:{width:"100%"},attrs:{data:A.infoform.columnNameMapper,"row-class-name":A.tableRowClassName}},[a("el-table-column",{attrs:{prop:"fromPattern",label:"表名匹配的正则名"}}),A._v(" "),a("el-table-column",{attrs:{prop:"toValue",label:"替换的目标值"}})],1)],1)])])])],1)},staticRenderFns:[]};var r=t("VU/8")(a,s,!1,function(A){t("gk9X")},"data-v-0b077a5c",null);e.a=r.exports},oJD9:function(A,e,t){A.exports=t.p+"static/img/Oscar.f4340f5.png"},qkKv:function(A,e,t){var a=t("FeBl"),s=a.JSON||(a.JSON={stringify:JSON.stringify});A.exports=function(A){return s.stringify.apply(s,arguments)}},tsro:function(A,e,t){A.exports=t.p+"static/img/Greenplum.4b0457a.png"},uqUo:function(A,e,t){var a=t("kM2E"),s=t("FeBl"),r=t("S82l");A.exports=function(A,e){var t=(s.Object||{})[A]||Object[A],o={};o[A]=e(t),a(a.S+a.F*r(function(){t(1)}),"Object",o)}},v6sC:function(A,e,t){A.exports=t.p+"static/img/SqlServer.f5151a5.png"},yJva:function(A,e,t){A.exports=t.p+"static/img/Doris.d50e21e.png"}});
|
||
//# sourceMappingURL=0.f6fb71bfc35a65544e6a.js.map
|