Skip to content

Commit

Permalink
Merge pull request #42 from ZhouYixun/dev
Browse files Browse the repository at this point in the history
v1.1.0
  • Loading branch information
ZhouYixun authored Nov 3, 2021
2 parents 2fbfe87 + f760630 commit ee9d5c5
Show file tree
Hide file tree
Showing 15 changed files with 4,694 additions and 1,966 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
</p>
<p align="center">
<a href="#">
<img src="https://img.shields.io/badge/release-v1.0.0-orange">
<img src="https://img.shields.io/badge/release-v1.1.0-orange">
</a>
<a href="#">
<img src="https://img.shields.io/badge/vue-3.2.14-success">
</a>
<a href="#">
<img src="https://img.shields.io/badge/elementPlus-1.1.0/beta.20-success">
<img src="https://img.shields.io/badge/elementPlus-1.1.0/beta.24-success">
</a>
</p>
<p align="center">
Expand Down
4 changes: 2 additions & 2 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
</p>
<p align="center">
<a href="#">
<img src="https://img.shields.io/badge/release-v1.0.0-orange">
<img src="https://img.shields.io/badge/release-v1.1.0-orange">
</a>
<a href="#">
<img src="https://img.shields.io/badge/vue-3.2.14-success">
</a>
<a href="#">
<img src="https://img.shields.io/badge/elementPlus-1.1.0/beta.20-success">
<img src="https://img.shields.io/badge/elementPlus-1.1.0/beta.24-success">
</a>
</p>
<p align="center">
Expand Down
5,689 changes: 3,984 additions & 1,705 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@element-plus/icons": "0.0.11",
"axios": "^0.21.4",
"echarts": "^5.2.1",
"element-plus": "^1.1.0-beta.20",
"element-plus": "^1.1.0-beta.24",
"moment": "^2.29.1",
"rollup-plugin-copy": "^3.4.0",
"vue": "^3.2.14",
Expand Down
19 changes: 19 additions & 0 deletions src/assets/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -283,4 +283,23 @@ body,

.project-table-expand .el-form-item {
display: flex;
}

.remote-tab {
border: 1px solid #EBEEF5 !important;
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1)
}

.remote-tab .el-tabs__item{
border-bottom: 1px solid #EBEEF5 !important;
padding: 0 15px;
}

.remote-tab .el-tabs__content{
padding: 15px;
border-left: 1px solid #EBEEF5;
}

.remote-tab .el-tabs__header{
margin-right: 0px!important;
}
Binary file added src/assets/img/LGE.jpg
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 src/assets/img/You.jpg
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 src/assets/img/chrome.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
62 changes: 31 additions & 31 deletions src/components/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ onMounted(() => {
</div>
<div class="flex-center">

<el-menu :background-color="store.state.menuBack" :text-color="store.state.menuText"
<el-menu :ellipsis="false" :background-color="store.state.menuBack" :text-color="store.state.menuText"
:active-text-color="store.state.menuActiveText" mode="horizontal" class="el-menu-horizontal-demo font"
:default-active="route.path">
<el-menu-item :index="route.params.projectId? '/Home/' + route.params.projectId + '/Devices':'/Index/Devices'"
Expand Down Expand Up @@ -166,37 +166,37 @@ onMounted(() => {
<el-menu-item index="1-1" @click="dialogUserInfo = true">我的信息</el-menu-item>
<el-menu-item index="1-2" @click="dialogChangePwd = true">修改密码</el-menu-item>
<el-menu-item index="1-3" @click="logout"> 注销</el-menu-item>
</el-sub-menu>
<el-sub-menu index="2">
<template #title
><span
class="flex-center font title"
><img
style="margin-right: 5px"
width="20"
:src="logo"
/>关于Sonic</span
>
</template
>
<el-menu-item index="2-1"
@click="goToUrl('http://zhouyixun.gitee.io/sonic-official-website/#/Home')"
>Sonic官方网站
</el-menu-item
>
<el-menu-item index="2-2"
@click="goToUrl('https://github.com/ZhouYixun/sonic-server/releases/tag/release')"
>版本更新记录
<el-badge
value="New"
style="margin: 0 0 5px 5px"
></el-badge
<el-sub-menu index="2">
<template #title
><span
class="flex-center font title"
><img
style="margin-right: 5px"
width="20"
:src="logo"
/>关于Sonic</span
>
</template
>
</el-menu-item>
<el-menu-item index="2-3"
@click="goToUrl(axios.defaults.baseURL.substring(0,axios.defaults.baseURL.length-4)+'/doc.html')">
REST API
</el-menu-item>
<el-menu-item index="2-1"
@click="goToUrl('http://zhouyixun.gitee.io/sonic-official-website/#/Home')"
>Sonic官方网站
</el-menu-item
>
<el-menu-item index="2-2"
@click="goToUrl('http://zhouyixun.gitee.io/sonic-official-website/#/Version')"
>版本更新记录
<el-badge
value="New"
style="margin: 0 0 5px 5px"
></el-badge
>
</el-menu-item>
<el-menu-item index="2-3"
@click="goToUrl(axios.defaults.baseURL.substring(0,axios.defaults.baseURL.length-4)+'/doc.html')">
REST API
</el-menu-item>
</el-sub-menu>
</el-sub-menu>
</el-menu>
</div>
Expand Down
7 changes: 4 additions & 3 deletions src/components/ProjectUpdate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const project = ref({
id: null,
projectName: "",
projectDes: "",
robotType: 1,
robotToken: "",
robotSecret: "",
projectImg: ""
Expand All @@ -34,10 +35,10 @@ const getImg = (name) => {
}
return result;
}
const robotType = ref(1)
const robotList = [{name: "钉钉群机器人", value: 1, img: "DingTalk"}
, {name: "企业微信机器人(即将开放)", value: 2, img: "WeChat", disabled: true},
{name: "飞书群机器人(即将开放)", value: 3, img: "FeiShu", disabled: true}]
{name: "飞书群机器人", value: 3, img: "FeiShu"},
{name: "友空间机器人(即将开放)", value: 4, img: "You", disabled: true}]
const beforeAvatarUpload = (file) => {
if (file.name.endsWith(".jpg") || file.name.endsWith(".png")) {
return true;
Expand Down Expand Up @@ -147,7 +148,7 @@ onMounted(() => {
<el-form-item label="机器人类型">
<el-select
style="width: 100%"
v-model="robotType"
v-model="project.robotType"
placeholder="请选择机器人类型"
>
<el-option
Expand Down
1 change: 1 addition & 0 deletions src/components/StepLog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ const getTag = (status) => {
:z-index="5000"
fit="contain"
style="width: 100px; height: 100%; margin-top: 10px"
hide-on-click-modal
:src="scope.row.log"
:preview-src-list="[
scope.row.log,
Expand Down
14 changes: 0 additions & 14 deletions src/components/StepUpdate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -608,20 +608,6 @@ onMounted(() => {
</div>

<div v-if="step.stepType === 'install'">
<el-form-item
prop="content"
label="应用包名"
:rules="{
required: true,
message: '包名不能为空',
trigger: 'blur',
}"
>
<el-input
v-model="step.content"
placeholder="请输入应用包名"
></el-input>
</el-form-item>
<el-form-item
prop="text"
label="安装路径"
Expand Down
Loading

0 comments on commit ee9d5c5

Please sign in to comment.