diff --git a/src/api/property/asDisplay.js b/src/api/property/asDisplay.js index e16425d..38c5b41 100644 --- a/src/api/property/asDisplay.js +++ b/src/api/property/asDisplay.js @@ -7,12 +7,4 @@ export function getExtractDataTableNameList() { }) } -export function findTableValueList(basicId,dataId,tableName) { - return request({ - url: '/property/dataSource/findTableValueList?basicId='+basicId+"&dataId="+dataId+"&tableName="+tableName, - method: 'post', - data: data - }) -} - diff --git a/src/api/property/asauth.js b/src/api/property/asauth.js index ac7e6f2..7f56a58 100644 --- a/src/api/property/asauth.js +++ b/src/api/property/asauth.js @@ -1,9 +1,42 @@ import request from '@/utils/request' -export function getConnectList(data) { + +export function getExtractDataTableNameList() { return request({ - url: '/property/connect/selectConnect', + url: '/property/dataRunName/extractDataTableName', method: 'post', - data: data + }) +} + +export function addDeptAssetAuthorization(data) { + return request({ + url: '/property/dataRunName/addDeptAssetAuthorization', + method: 'post', + data:data + }) +} + +export function delDeptAssetAuthorization(data) { + return request({ + url: '/property/dataRunName/delDeptAssetAuthorization', + method: 'post', + data:data + }) +} + +export function addUserAssetAuthorization(data) { + return request({ + url: '/property/dataRunName/addUserAssetAuthorization', + method: 'post', + data:data + }) +} + + +export function delUserAssetAuthorization(data) { + return request({ + url: '/property/dataRunName/delUserAssetAuthorization', + method: 'post', + data:data }) } diff --git a/src/api/property/astr.js b/src/api/property/astr.js index 7a69bbb..c2dc1cd 100644 --- a/src/api/property/astr.js +++ b/src/api/property/astr.js @@ -6,17 +6,3 @@ export function getExtractDataTableNameList() { method: 'post', }) } - -export function findTableValue(dataId,name) { - return request({ - url: '/property/dataRunName/findTableValue?dataId='+dataId+"&tableName="+name, - method: 'post', - }) -} - -export function selectBasicList() { - return request({ - url: '/property/dataRunName/selectBasicList', - method: 'post', - }) -} diff --git a/src/api/property/property.js b/src/api/property/property.js index 95b5b53..9b0a876 100644 --- a/src/api/property/property.js +++ b/src/api/property/property.js @@ -48,10 +48,3 @@ export function selectHandleClick(data) { }) } -export function extractDataName(data) { - return request({ - url: '/property/dataRunName/extractDataName', - method: 'post', - data: data - }) -} diff --git a/src/views/property/asDisplay/index.vue b/src/views/property/asDisplay/index.vue index d18c24f..42d6a15 100644 --- a/src/views/property/asDisplay/index.vue +++ b/src/views/property/asDisplay/index.vue @@ -38,7 +38,7 @@ - + @@ -51,13 +51,13 @@ - - + - {{ DataValue.type }} + {{ DataValue.dataMapping}} - {{ DataValue.value }} + {{ DataValue.dataValue }} @@ -65,15 +65,15 @@ @@ -82,11 +82,10 @@ label="type"> - @@ -142,24 +141,12 @@ export default { }, handleNodeClick(data){ - console.log("...."+data) this.tableBasic=data console.log(this.tableBasic) - dataNum=this.tableBasic.tableFie.length - // findStructureByTableId(data.id).then((res)=>{ - // this.tableStructure=res.data - // }) - - findTableValueList(data.id,data.dataId,data.tableName).then(res=>{ - this.assetShowList=res.data; - this.DataValue=res.data; - }) - - console.log("-----"+this.DataValue); - console.log("...."+data.basicId) - - - } + this.dataNum=data.tableFie.length + this.tableStructure=data.tableFie + console.log(this.tableStructure) + }, }, //生命周期 - 创建完成(可以访问当前this实例)", created() { diff --git a/src/views/property/asauth/index.vue b/src/views/property/asauth/index.vue index 4825611..d26fcaa 100644 --- a/src/views/property/asauth/index.vue +++ b/src/views/property/asauth/index.vue @@ -1,118 +1,183 @@ -