diff --git a/src/api/dataSource/source.js b/src/api/dataSource/source.js index 305768a..f3fc14a 100644 --- a/src/api/dataSource/source.js +++ b/src/api/dataSource/source.js @@ -5,7 +5,7 @@ import data from '@/views/system/dict/data.vue' export function listSource(query) { return request({ url: '/source/source/list', - method: 'get', + method: 'post', params: query }) } diff --git a/src/api/rule/maintenance.js b/src/api/rule/maintenance.js index ac67a5c..68f6c79 100644 --- a/src/api/rule/maintenance.js +++ b/src/api/rule/maintenance.js @@ -96,3 +96,11 @@ export function statusOnOff(data){ data }) } + +export function versionsUpd(data){ + return request({ + url: '/rule/versions/versionsUpd', + method: 'post', + data + }) +} diff --git a/src/components/Encoding/index.vue b/src/components/Encoding/index.vue index 5d10c0d..6696fc1 100644 --- a/src/components/Encoding/index.vue +++ b/src/components/Encoding/index.vue @@ -1,6 +1,6 @@ @@ -40,6 +40,15 @@ export default { type: Boolean } }, + watch:{ + 'code':{ + handler(val){ + if (val != null){ + console.log(this.$emit('input',val)) + } + } + } + }, name: "Encoding", data() { return { diff --git a/src/views/ruleengine/engineVersion/index.vue b/src/views/ruleengine/engineVersion/index.vue index c9f44e3..66a10a4 100644 --- a/src/views/ruleengine/engineVersion/index.vue +++ b/src/views/ruleengine/engineVersion/index.vue @@ -46,7 +46,7 @@ 规则详情 - 测试规则 + 测试规则 {{ruleEngineVersion.isActivate !== 'no-activate' ? "禁用" : "激活"}}规则 @@ -162,7 +162,7 @@ + :direction="'rtl'"> @@ -188,60 +188,60 @@ - - - -
- 选择数据接入 -
- - - -
-
- - -
- 选择资产结构 -
- - - -
-
- - -
- 选择资产模型 -
- - - {{dataModeMap[_dataModel.name]}} - - -
-
- - 测试 - - -
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +