Skip to content

Commit

Permalink
feat: Add Login Index
Browse files Browse the repository at this point in the history
  • Loading branch information
xuxiaobo1010 committed Sep 8, 2022
1 parent 6a48bdc commit b156bca
Show file tree
Hide file tree
Showing 22 changed files with 1,393 additions and 47 deletions.
Binary file added public/assets/bg/bg.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/bg/bg_title.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/bg/bg_title1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/bg/bg_warning.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/bg/experience-back.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/bg/experience-box-bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/bg/experience-left-hover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/bg/experience-left.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/bg/head.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/bg/pageBg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/assets/images/Device/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
</noscript>

<div id="dgiot">
<div id="loader-wrapper">
<!-- <div id="loader-wrapper">
<div id="loader"></div>
<div class="loader-section section-left"></div>
<div class="loader-section section-right"></div>
Expand All @@ -67,7 +67,7 @@
当前版本v<%= VUE_APP_VERSION %>
</p>
</div>
</div>
</div> -->
</div>
<!-- 引入JS -->
<% for(var js of htmlWebpackPlugin.options.staticUrl.js) { %>
Expand Down
7 changes: 7 additions & 0 deletions src/api/MetaData/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ import {
query_object,
} from '@/api/Parse'

export async function queryMaterial(params) {
return request({
url: `/material`,
method: 'get',
params: params,
})
}
export async function queryMetaData(params) {
return request({
url: `/classes/MetaData`,
Expand Down
2 changes: 1 addition & 1 deletion src/store/modules/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const state = () => ({
language: getToken('language') || i18n,
theme: getToken('theme') || { ...defaultTheme },
tag: getToken('tag') || {},
treeFlag: true,
treeFlag: false,
extra: {
first: '',
transferRouteName: '',
Expand Down
2 changes: 2 additions & 0 deletions src/views/CloudFunction/lowcode/components/ViewEdit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
allow-create
clearable
default-first-option
:disabled="$route.query.id.length > 0"
filterable
style="width: 100%"
@change="changeClass"
Expand Down Expand Up @@ -70,6 +71,7 @@
allow-create
clearable
default-first-option
:disabled="$route.query.id.length > 0"
filterable
size="mini"
style="width: 100%"
Expand Down
4 changes: 2 additions & 2 deletions src/views/CloudFunction/lowcode/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
allow-create
clearable
default-first-option
:disabled="classDisable"
:disabled="$route.query.id.length > 0"
filterable
size="mini"
@change="changeClass"
Expand Down Expand Up @@ -54,7 +54,7 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item label="key">
<el-form-item v-show="false" label="key">
<el-select
v-model="queryForm.key"
allow-create
Expand Down
3 changes: 3 additions & 0 deletions src/views/CloudFunction/topo/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@
})
this.$dgiotBus.$off('nodeEdit')
this.$dgiotBus.$on('nodeEdit', async (node) => {
console.log('接收到编辑节点消息', node)
this.editNode = node
this.editFlag = true
// this.editNode.setAttrs({
Expand Down Expand Up @@ -522,6 +523,8 @@
decodeMqtt = JSON.parse(Base64.decode(Msg.payloadString))
}
// decodeMqtt = Msg.payloadString
// console.log('decodeMqtt.konva', canvas.stage)
// console.log(decodeMqtt)
// const Shape = decodeMqtt.konva
// const Text = canvas.stage.find('Text')
// console.log('text', Text)
Expand Down
Loading

0 comments on commit b156bca

Please sign in to comment.