|
@@ -9,16 +9,6 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col v-if="tableForm.algorithmtype == 0" :span="24">
|
|
|
- <el-form-item prop="preconditions" label="执行条件">
|
|
|
- <el-input size="small" type="textarea" v-model="tableForm.preconditions"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="24">
|
|
|
- <el-form-item prop="algorithmname" label="算法名称">
|
|
|
- <el-input size="small" v-model="tableForm.algorithmname" placeholder="请输入" />
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
<el-col :span="24">
|
|
|
<el-form-item prop="algorithmtype" label="算法类型">
|
|
|
<el-select size="small" v-model="tableForm.algorithmtype" @change="changeSelect('algorithmtype',tableForm.algorithmtype)" placeholder="请选择">
|
|
@@ -26,6 +16,11 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+ <el-col :span="24">
|
|
|
+ <el-form-item prop="algorithmname" label="算法名称">
|
|
|
+ <el-input size="small" v-model="tableForm.algorithmname" placeholder="请输入" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
<el-col v-if="formatData(tableForm.algorithmtype) == 'java' || formatData(tableForm.algorithmtype) == 'db' || formatData(tableForm.algorithmtype) == 'kafka'" :span="24">
|
|
|
<el-form-item prop="algorithmsourcelibraryid" label="算法模版">
|
|
|
<el-select size="small" v-model="tableForm.algorithmsourcelibraryid" placeholder="请选择">
|
|
@@ -34,7 +29,7 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col v-if="formatData(tableForm.algorithmtype) == 'java' || formatData(tableForm.algorithmtype) == 'db' || formatData(tableForm.algorithmtype) == 'kafka'" :span="24">
|
|
|
- <el-form-item prop="datasourceid" label="数据源编号">
|
|
|
+ <el-form-item prop="datasourceid" label="数据源">
|
|
|
<el-select size="small" v-model="tableForm.datasourceid" placeholder="请选择">
|
|
|
<el-option v-for="(item,index) in selectSource" :key="index" :label="item.datasourcedescribe" :value="item.datasourceid"></el-option>
|
|
|
</el-select>
|
|
@@ -50,14 +45,19 @@
|
|
|
<el-input size="small" v-model="tableForm.executionorder"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+ <el-col :span="24">
|
|
|
+ <el-form-item prop="algorithmdescription" label="算法说明">
|
|
|
+ <el-input size="small" v-model="tableForm.algorithmdescription"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
<el-col :span="24">
|
|
|
<el-form-item prop="computingexpression" label="计算表达式">
|
|
|
<el-input size="small" type="textarea" v-model="tableForm.computingexpression"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="24">
|
|
|
- <el-form-item prop="algorithmdescription" label="算法说明">
|
|
|
- <el-input size="small" v-model="tableForm.algorithmdescription"></el-input>
|
|
|
+ <el-col v-if="tableForm.algorithmtype == 0" :span="24">
|
|
|
+ <el-form-item prop="preconditions" label="执行条件">
|
|
|
+ <el-input size="small" type="textarea" v-model="tableForm.preconditions"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|