mirror of
https://gitee.com/dromara/dbswitch.git
synced 2025-10-15 06:10:23 +00:00
修正POM内容
This commit is contained in:
@@ -50,7 +50,7 @@ const constantRouter = new Router({
|
||||
},
|
||||
{
|
||||
path: '/task',
|
||||
name: '数据接入',
|
||||
name: '迁移任务',
|
||||
icon: "el-icon-s-tools",
|
||||
component: () => import('@/views/task/index'),
|
||||
children: [
|
||||
|
@@ -88,7 +88,7 @@
|
||||
</li>
|
||||
<li>StarRocks
|
||||
</li>
|
||||
<li>Doris
|
||||
<li>Apache Doris
|
||||
</li>
|
||||
<li>MongoDB(只支持数据加载写入,不支持变化量同步)
|
||||
</li>
|
||||
|
@@ -19,18 +19,6 @@
|
||||
size="medium"
|
||||
status-icon>
|
||||
<div class="f1">
|
||||
|
||||
<el-form-item label="支持版本">
|
||||
<span v-for="(o, index) of connectionDriver"
|
||||
:key="index"
|
||||
:offset="1">
|
||||
{{ o.driverVersion }}
|
||||
<span v-if="index !== connectionDriver.length-1">
|
||||
、
|
||||
</span>
|
||||
</span>
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item prop="name"
|
||||
label="数据源名称"
|
||||
style="width:40%">
|
||||
@@ -57,16 +45,6 @@
|
||||
<!-- <label>utf8、utf8mb4</label>-->
|
||||
<!-- </el-form-item>-->
|
||||
|
||||
</div>
|
||||
<div class="f1">
|
||||
<el-form-item label="连接模式">
|
||||
<el-radio-group v-model="createform.mode">
|
||||
<el-radio :label=0>默认</el-radio>
|
||||
<el-radio :disabled="true"
|
||||
:label=1>专业</el-radio>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item v-if="isShowUrlAndPort()"
|
||||
prop="address"
|
||||
label="连接地址">
|
||||
@@ -99,7 +77,7 @@
|
||||
placeholder="请选择编码格式">
|
||||
<el-option label="utf8"
|
||||
value="utf8"></el-option>
|
||||
<!-- <el-option label="utf8mb4" value="utf8mb4"></el-option>-->
|
||||
<!-- <el-option label="utf8mb4" value="utf8mb4"></el-option>-->
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
|
||||
@@ -121,12 +99,6 @@
|
||||
label-width="120px"
|
||||
prop="url"
|
||||
style="width:85%">
|
||||
<el-tooltip placement="top">
|
||||
<i class="el-icon-question">样例:</i>
|
||||
<div slot="content">
|
||||
{{ this.selectedDataSource.sample }}
|
||||
</div>
|
||||
</el-tooltip>
|
||||
<el-input type="textarea"
|
||||
:rows="6"
|
||||
:spellcheck="false"
|
||||
@@ -167,7 +139,6 @@ export default {
|
||||
name: "",
|
||||
type: "",
|
||||
version: "",
|
||||
mode: 0,
|
||||
address: "",
|
||||
port: "",
|
||||
databaseName: "",
|
||||
@@ -380,7 +351,6 @@ export default {
|
||||
type: this.selectedDataSource.type,
|
||||
version: this.createform.version,
|
||||
driver: driverClass,
|
||||
mode: 0,
|
||||
address: this.createform.address,
|
||||
port: this.createform.port,
|
||||
databaseName: this.createform.databaseName,
|
||||
|
@@ -18,12 +18,6 @@
|
||||
status-icon>
|
||||
<div class="f1">
|
||||
|
||||
<el-form-item label="支持版本">
|
||||
<span>
|
||||
{{ this.dataSourceInfo.version }}
|
||||
</span>
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item prop="name"
|
||||
label="数据源名称"
|
||||
style="width:40%">
|
||||
@@ -49,16 +43,6 @@
|
||||
<label>{{dataSourceInfo.characterEncoding}}</label>
|
||||
</el-form-item>
|
||||
|
||||
</div>
|
||||
<div class="f1">
|
||||
<el-form-item label="连接模式">
|
||||
<el-radio-group v-model="dataSourceInfo.mode">
|
||||
<el-radio :label=0>默认</el-radio>
|
||||
<el-radio :disabled="true"
|
||||
:label=1>专业</el-radio>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item prop="address"
|
||||
label="连接地址">
|
||||
<el-input :readonly=true
|
||||
@@ -148,7 +132,6 @@ export default {
|
||||
typeName: "",
|
||||
version: "",
|
||||
driver: "",
|
||||
mode: 0,
|
||||
address: "",
|
||||
port: "",
|
||||
databaseName: "",
|
||||
@@ -167,7 +150,6 @@ export default {
|
||||
},
|
||||
created () {
|
||||
this.dataSourceInfo = this.$route.query;
|
||||
this.dataSourceInfo.mode = parseInt(this.dataSourceInfo.mode)
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
@@ -20,17 +20,6 @@
|
||||
status-icon>
|
||||
<div class="f1">
|
||||
|
||||
<el-form-item label="支持版本">
|
||||
<span v-for="(o, index) of connectionDriver"
|
||||
:key="index"
|
||||
:offset="1">
|
||||
{{ o.driverVersion }}
|
||||
<span v-if="index !== connectionDriver.length-1">
|
||||
、
|
||||
</span>
|
||||
</span>
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item prop="name"
|
||||
label="数据源名称"
|
||||
style="width:40%">
|
||||
@@ -57,16 +46,6 @@
|
||||
<!-- <label>utf8、utf8mb4</label>-->
|
||||
<!-- </el-form-item>-->
|
||||
|
||||
</div>
|
||||
<div class="f1">
|
||||
<el-form-item label="连接模式">
|
||||
<el-radio-group v-model="updateform.mode">
|
||||
<el-radio :label=0>默认</el-radio>
|
||||
<el-radio :disabled="true"
|
||||
:label=1>专业</el-radio>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item v-if="isShowUrlAndPort()"
|
||||
prop="address"
|
||||
label="连接地址">
|
||||
@@ -121,12 +100,6 @@
|
||||
label-width="120px"
|
||||
prop="url"
|
||||
style="width:85%">
|
||||
<el-tooltip placement="top">
|
||||
<i class="el-icon-question">样例:</i>
|
||||
<div slot="content">
|
||||
{{ this.selectedDataSource.sample }}
|
||||
</div>
|
||||
</el-tooltip>
|
||||
<el-input type="textarea"
|
||||
:rows="6"
|
||||
:spellcheck="false"
|
||||
|
@@ -14,9 +14,6 @@
|
||||
plain
|
||||
@click="batchStop()">停用</el-button>
|
||||
<span style="color:#e9e9f3;"> | </span>
|
||||
<el-button size="mini"
|
||||
plain
|
||||
@click="batchImport()">导入</el-button>
|
||||
<el-button size="mini"
|
||||
:disabled=isSelected
|
||||
plain
|
||||
@@ -343,12 +340,6 @@ export default {
|
||||
}
|
||||
});
|
||||
},
|
||||
batchImport () {
|
||||
this.$message({
|
||||
message: '功能暂未开放,敬请期待!',
|
||||
center: true
|
||||
});
|
||||
},
|
||||
downloadFile: function (resp) {
|
||||
const headers = resp.headers;
|
||||
const contentType = headers['content-type'];
|
||||
|
Reference in New Issue
Block a user