-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5a65626
commit 811ebc9
Showing
4 changed files
with
184 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
// <!-- | ||
// * @Author: h7ml | ||
// * @Date: 2022-3-30 19:11:20 | ||
// * @LastEditors: | ||
// * @LastEditTime: 2022-3-30 19:11:20 | ||
// * @Description: MetaData api | ||
// * @FilePath: src\api\MetaData\index.js | ||
// * @DocumentLink: https://docs.parseplatform.org/dotnet/guide/#push-MetaDatas | ||
// --> | ||
|
||
import request from '@/utils/request/request' | ||
import { | ||
create_object, | ||
del_object, | ||
get_object, | ||
update_object, | ||
query_object, | ||
} from '@/api/Parse' | ||
|
||
export async function queryRoleTree() { | ||
return request({ | ||
url: `/roletree`, | ||
method: 'get', | ||
// params: params, | ||
}) | ||
// return query_object('MetaData', params) | ||
} | ||
//iotapi/classes/Dict | ||
export async function queryDictTemp(params) { | ||
return request({ | ||
url: `/classes/Dict`, | ||
method: 'get', | ||
params: params, | ||
}) | ||
// return query_object('MetaData', params) | ||
} | ||
|
||
// export async function getMetaData(ObjectId) { | ||
// return get_object('MetaData', ObjectId) | ||
// } | ||
|
||
// export async function delMetaData(ObjectId) { | ||
// return del_object('MetaData', ObjectId) | ||
// } | ||
|
||
// export async function putMetaData(ObjectId, params) { | ||
// return update_object('MetaData', ObjectId, params) | ||
// } | ||
|
||
export async function postRole(params) { | ||
return request({ | ||
url: `/role`, | ||
method: 'post', | ||
data: params, | ||
}) | ||
// return create_object('role', params) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<!-- | ||
* @Author: dgiot-fe <dgiot@foxmail.com> | ||
* @Date: 2022-03-30 09:37:57 | ||
* @LastEditors: 9:37 | ||
* @LastEditTime: 2022-03-30 09:37:57 | ||
* @Description: | ||
* @FilePath: src\views\CloudOc\Ftechnology\index.vue | ||
* @DocumentLink: https://dev.iotn2n.com | ||
* @github: https://github.com/dgiot/dgiot-dashboard.git | ||
* @name: index | ||
--> | ||
<template> | ||
<div class="detail-container"> | ||
<div class="detail">建模详情</div> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: 'Detail', | ||
components: {}, | ||
props: {}, | ||
data() { | ||
return {} | ||
}, | ||
computed: {}, | ||
watch: {}, | ||
created() {}, | ||
mounted() {}, | ||
destroyed() {}, | ||
methods: {}, | ||
} | ||
</script> | ||
|
||
<style lang="scss" scoped> | ||
.detail-container { | ||
width: 100%; | ||
height: 100%; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters