|
@@ -69,6 +69,10 @@
|
|
|
</el-tag>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
+ <div slot='footer' style="text-align: right">
|
|
|
+ <el-button type="primary" size="mini" @click='winSave()'>保存</el-button>
|
|
|
+ <el-button @click='winClose' size="mini">取消</el-button>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
@@ -464,6 +468,12 @@ export default {
|
|
|
this.$refs['dataSourceForm'].validate(valid => {
|
|
|
if (valid) {
|
|
|
// this.initDataSourceForm()
|
|
|
+ this.driverList = [];
|
|
|
+ this.driverList.push({
|
|
|
+ 'clsId': this.dataSourceForm.clsId,
|
|
|
+ 'description': this.dataSourceForm.driverDescribe,
|
|
|
+ 'progId': this.dataSourceForm.progId
|
|
|
+ })
|
|
|
this.configVisible = true
|
|
|
}
|
|
|
})
|
|
@@ -504,6 +514,7 @@ export default {
|
|
|
this.showMsg('保存成功!', true)
|
|
|
this.handleConfigClose()
|
|
|
this.handleClose()
|
|
|
+ this.getAllDataSource()
|
|
|
}
|
|
|
})
|
|
|
|
|
@@ -552,6 +563,12 @@ export default {
|
|
|
this.$refs['dataSourceForm'].resetFields()
|
|
|
this.datasourceDialogVisible = false
|
|
|
},
|
|
|
+ winClose(){
|
|
|
+ this.datasourceDialogVisible = false
|
|
|
+ },
|
|
|
+ winSave(){
|
|
|
+ //只修改名称和备注
|
|
|
+ },
|
|
|
/** 配置弹出层关闭事件 */
|
|
|
handleConfigClose() {
|
|
|
// this.initDataSourceForm()
|