mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-12 11:19:56 +00:00
perf: 客户端下载按钮,仪表盘不显示
This commit is contained in:
parent
d2f20128bb
commit
6df906aa24
1
public/images/common/uploading.svg
Normal file
1
public/images/common/uploading.svg
Normal file
@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="16" height="16" viewBox="0 0 16 16"><defs><clipPath id="master_svg0_141_2749"><rect x="0" y="16" width="16" height="16" rx="0"/></clipPath></defs><g transform="matrix(1,0,0,-1,0,32)" clip-path="url(#master_svg0_141_2749)"><g transform="matrix(-1,2.2348338291067193e-8,-2.2348338291067193e-8,-1,27.00000065927598,58.99999969829743)"><line x1="13.5" y1="28.75" x2="24.5" y2="28.75" fill-opacity="0" stroke-opacity="1" stroke="#FFFFFF" fill="none" stroke-width="1.5" stroke-linecap="ROUND" stroke-linejoin="round"/></g><g transform="matrix(1,0,0,-1,0,57)"><path d="M13.4814,33.24704Q13.4957,33.25946,13.5091,33.27293Q13.5225,33.286410000000004,13.5348,33.30086Q13.5471,33.31531,13.5582,33.33065Q13.5694,33.34598,13.5794,33.36213Q13.5894,33.37827,13.5981,33.39512Q13.6068,33.41197,13.6142,33.42944Q13.6217,33.4469,13.6277,33.46488Q13.6338,33.48286,13.6385,33.50125Q13.6432,33.51963,13.6465,33.53832Q13.6498,33.55701,13.6517,33.5759Q13.6535,33.59478,13.654,33.613749999999996Q13.6544,33.63273,13.6534,33.65168Q13.6524,33.67063,13.6499,33.68944Q13.6475,33.70826,13.6436,33.72684Q13.6397,33.74542,13.6345,33.76365Q13.6292,33.78189,13.6226,33.79967Q13.6159,33.81745,13.608,33.83468Q13.6,33.8519,13.5908,33.86848Q13.5815,33.88505,13.5711,33.90088Q13.5606,33.91671,13.549,33.93169Q13.5373,33.94668,13.5246,33.96074Q13.5118,33.97481,13.4981,33.98786Q13.4843,34.00092,13.4696,34.01289Q13.4549,34.02487,13.4393,34.03569Q13.4237,34.04651,13.4073,34.056129999999996Q13.391,34.06574,13.3739,34.07408Q13.3569,34.08242,13.3392,34.08945Q13.3216,34.09648,13.3035,34.10215Q13.2854,34.107820000000004,13.2669,34.1121Q13.2484,34.11639,13.2297,34.11926Q13.2109,34.12212,13.192,34.12356Q13.1731,34.125,13.1541,34.125L2.84592,34.125Q2.82695,34.125,2.80802,34.12356Q2.7891,34.12212,2.77034,34.11926Q2.75158,34.11639,2.7331,34.1121Q2.71461,34.107820000000004,2.6965,34.10215Q2.67839,34.09648,2.66076,34.08945Q2.64313,34.08242,2.62609,34.07408Q2.60905,34.06574,2.59268,34.056129999999996Q2.57632,34.04651,2.56073,34.03569Q2.54515,34.02487,2.53042,34.01289Q2.5157,34.00092,2.50193,33.98786Q2.4881599999999997,33.97481,2.4754199999999997,33.96074Q2.46267,33.94668,2.4510300000000003,33.93169Q2.43939,33.91671,2.4289199999999997,33.90088Q2.41845,33.88505,2.40921,33.86848Q2.3999699999999997,33.8519,2.39201,33.83468Q2.3840500000000002,33.81745,2.37742,33.79967Q2.37079,33.78189,2.3655299999999997,33.76365Q2.36027,33.74542,2.3564,33.72684Q2.3525400000000003,33.70826,2.35009,33.68944Q2.34765,33.67063,2.34663,33.65168Q2.3456200000000003,33.63273,2.34605,33.613749999999996Q2.3464799999999997,33.59478,2.3483400000000003,33.5759Q2.3502,33.55701,2.35349,33.53832Q2.35678,33.51963,2.3614800000000002,33.50125Q2.36618,33.48286,2.37225,33.46488Q2.37833,33.44691,2.38575,33.42944Q2.39317,33.41197,2.4019,33.39512Q2.4106199999999998,33.37827,2.4206000000000003,33.36213Q2.43058,33.34598,2.44175,33.33065Q2.4529199999999998,33.31531,2.46522,33.30086Q2.47753,33.286410000000004,2.4908900000000003,33.27293Q2.50425,33.25946,2.5186,33.24704L7.67267,28.783473Q7.70648,28.754193,7.74495,28.731378Q7.78342,28.708564,7.82533,28.692939Q7.86724,28.677314,7.91126,28.669376Q7.95527,28.661438,8,28.661438Q8.044730000000001,28.661438,8.08874,28.669376Q8.132760000000001,28.677314,8.174669999999999,28.692939Q8.21658,28.708564,8.25505,28.731378Q8.293520000000001,28.754193,8.32733,28.783473L13.4814,33.24704Z" fill="#FFFFFF" fill-opacity="1"/></g><g><path d="M5.5 18C5.5 17.447715250169207 5.947715250169207 17 6.5 17L9.5 17C10.052284749830793 17 10.5 17.447715250169207 10.5 18L10.5 23C10.5 23 10.5 23 10.5 23L5.5 23C5.5 23 5.5 23 5.5 23Z" fill="#FFFFFF" fill-opacity="1"/></g></g></svg>
|
||||||
|
After Width: | Height: | Size: 3.7 KiB |
@ -95,6 +95,9 @@ export default {
|
|||||||
if (show) {
|
if (show) {
|
||||||
this.updateBottomShow = true
|
this.updateBottomShow = true
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
downloadUrl(val){
|
||||||
|
this.$store.state.clientDownloadUrl = val
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -108,7 +111,7 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
showDown() {
|
showDown() {
|
||||||
return !this.$isEEUiApp && !this.windowTouch && ['login', 'index', 'manage-dashboard'].includes(this.$route.name)
|
return !this.$isEEUiApp && !this.windowTouch && ['login', 'index'].includes(this.$route.name)
|
||||||
},
|
},
|
||||||
|
|
||||||
showPrivacy() {
|
showPrivacy() {
|
||||||
|
|||||||
@ -125,6 +125,18 @@
|
|||||||
</Scrollbar>
|
</Scrollbar>
|
||||||
<div class="manage-box-new-group">
|
<div class="manage-box-new-group">
|
||||||
<ul>
|
<ul>
|
||||||
|
<li>
|
||||||
|
<Tooltip v-if="clientDownloadUrl && !$Electron" :content="$L('客户端下载')" placement="right" transfer :delay="300">
|
||||||
|
<a class="client-download common-right-bottom-link" :href="clientDownloadUrl" target="_blank">
|
||||||
|
<Icon type="md-download"/>
|
||||||
|
</a>
|
||||||
|
</Tooltip>
|
||||||
|
<Tooltip v-else-if="!!clientNewVersion && $Electron" :content="$L('更新客户端')" placement="right" transfer :delay="300">
|
||||||
|
<div class="client-update" @click="settingRoute('version')">
|
||||||
|
<img :src="$A.apiUrl(`../images/common/uploading.svg`)">
|
||||||
|
</div>
|
||||||
|
</Tooltip>
|
||||||
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<Tooltip :content="$L('新建项目') + ' ('+mateName+'+B)'" placement="right" transfer :delay="300">
|
<Tooltip :content="$L('新建项目') + ' ('+mateName+'+B)'" placement="right" transfer :delay="300">
|
||||||
<i class="taskfont" @click="onAddShow"></i>
|
<i class="taskfont" @click="onAddShow"></i>
|
||||||
@ -398,6 +410,7 @@ export default {
|
|||||||
'wsMsg',
|
'wsMsg',
|
||||||
|
|
||||||
'clientNewVersion',
|
'clientNewVersion',
|
||||||
|
'clientDownloadUrl',
|
||||||
'cacheTaskBrowse',
|
'cacheTaskBrowse',
|
||||||
|
|
||||||
'dialogIns',
|
'dialogIns',
|
||||||
|
|||||||
1
resources/assets/js/store/state.js
vendored
1
resources/assets/js/store/state.js
vendored
@ -182,6 +182,7 @@ export default {
|
|||||||
|
|
||||||
// 客户端新版本号
|
// 客户端新版本号
|
||||||
clientNewVersion: null,
|
clientNewVersion: null,
|
||||||
|
clientDownloadUrl: null,
|
||||||
|
|
||||||
// 预览图片
|
// 预览图片
|
||||||
previewImageIndex: 0,
|
previewImageIndex: 0,
|
||||||
|
|||||||
19
resources/assets/sass/pages/page-manage.scss
vendored
19
resources/assets/sass/pages/page-manage.scss
vendored
@ -268,6 +268,25 @@
|
|||||||
color: #8FCE78;
|
color: #8FCE78;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.client-download .ivu-icon-md-download,.client-update{
|
||||||
|
font-size: 20px;
|
||||||
|
padding: 6px;
|
||||||
|
cursor: pointer;
|
||||||
|
border-radius: 8px;
|
||||||
|
background-color: #8FCE78;
|
||||||
|
color: #ffffff;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
.client-update{
|
||||||
|
width: 32px;
|
||||||
|
height: 32px;
|
||||||
|
line-height: 38px;
|
||||||
|
padding: 0px;
|
||||||
|
img{
|
||||||
|
line-height: 0;
|
||||||
|
width: 18px;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.manage-box-new {
|
.manage-box-new {
|
||||||
|
|||||||
@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="16" height="16" viewBox="0 0 16 16"><defs><clipPath id="master_svg0_141_2749"><rect x="0" y="16" width="16" height="16" rx="0"/></clipPath></defs><g transform="matrix(1,0,0,-1,0,32)" clip-path="url(#master_svg0_141_2749)"><g transform="matrix(-1,2.2348338291067193e-8,-2.2348338291067193e-8,-1,27.00000065927598,58.99999969829743)"><line x1="13.5" y1="28.75" x2="24.5" y2="28.75" fill-opacity="0" stroke-opacity="1" stroke="#FFFFFF" fill="none" stroke-width="1.5" stroke-linecap="ROUND" stroke-linejoin="round"/></g><g transform="matrix(1,0,0,-1,0,57)"><path d="M13.4814,33.24704Q13.4957,33.25946,13.5091,33.27293Q13.5225,33.286410000000004,13.5348,33.30086Q13.5471,33.31531,13.5582,33.33065Q13.5694,33.34598,13.5794,33.36213Q13.5894,33.37827,13.5981,33.39512Q13.6068,33.41197,13.6142,33.42944Q13.6217,33.4469,13.6277,33.46488Q13.6338,33.48286,13.6385,33.50125Q13.6432,33.51963,13.6465,33.53832Q13.6498,33.55701,13.6517,33.5759Q13.6535,33.59478,13.654,33.613749999999996Q13.6544,33.63273,13.6534,33.65168Q13.6524,33.67063,13.6499,33.68944Q13.6475,33.70826,13.6436,33.72684Q13.6397,33.74542,13.6345,33.76365Q13.6292,33.78189,13.6226,33.79967Q13.6159,33.81745,13.608,33.83468Q13.6,33.8519,13.5908,33.86848Q13.5815,33.88505,13.5711,33.90088Q13.5606,33.91671,13.549,33.93169Q13.5373,33.94668,13.5246,33.96074Q13.5118,33.97481,13.4981,33.98786Q13.4843,34.00092,13.4696,34.01289Q13.4549,34.02487,13.4393,34.03569Q13.4237,34.04651,13.4073,34.056129999999996Q13.391,34.06574,13.3739,34.07408Q13.3569,34.08242,13.3392,34.08945Q13.3216,34.09648,13.3035,34.10215Q13.2854,34.107820000000004,13.2669,34.1121Q13.2484,34.11639,13.2297,34.11926Q13.2109,34.12212,13.192,34.12356Q13.1731,34.125,13.1541,34.125L2.84592,34.125Q2.82695,34.125,2.80802,34.12356Q2.7891,34.12212,2.77034,34.11926Q2.75158,34.11639,2.7331,34.1121Q2.71461,34.107820000000004,2.6965,34.10215Q2.67839,34.09648,2.66076,34.08945Q2.64313,34.08242,2.62609,34.07408Q2.60905,34.06574,2.59268,34.056129999999996Q2.57632,34.04651,2.56073,34.03569Q2.54515,34.02487,2.53042,34.01289Q2.5157,34.00092,2.50193,33.98786Q2.4881599999999997,33.97481,2.4754199999999997,33.96074Q2.46267,33.94668,2.4510300000000003,33.93169Q2.43939,33.91671,2.4289199999999997,33.90088Q2.41845,33.88505,2.40921,33.86848Q2.3999699999999997,33.8519,2.39201,33.83468Q2.3840500000000002,33.81745,2.37742,33.79967Q2.37079,33.78189,2.3655299999999997,33.76365Q2.36027,33.74542,2.3564,33.72684Q2.3525400000000003,33.70826,2.35009,33.68944Q2.34765,33.67063,2.34663,33.65168Q2.3456200000000003,33.63273,2.34605,33.613749999999996Q2.3464799999999997,33.59478,2.3483400000000003,33.5759Q2.3502,33.55701,2.35349,33.53832Q2.35678,33.51963,2.3614800000000002,33.50125Q2.36618,33.48286,2.37225,33.46488Q2.37833,33.44691,2.38575,33.42944Q2.39317,33.41197,2.4019,33.39512Q2.4106199999999998,33.37827,2.4206000000000003,33.36213Q2.43058,33.34598,2.44175,33.33065Q2.4529199999999998,33.31531,2.46522,33.30086Q2.47753,33.286410000000004,2.4908900000000003,33.27293Q2.50425,33.25946,2.5186,33.24704L7.67267,28.783473Q7.70648,28.754193,7.74495,28.731378Q7.78342,28.708564,7.82533,28.692939Q7.86724,28.677314,7.91126,28.669376Q7.95527,28.661438,8,28.661438Q8.044730000000001,28.661438,8.08874,28.669376Q8.132760000000001,28.677314,8.174669999999999,28.692939Q8.21658,28.708564,8.25505,28.731378Q8.293520000000001,28.754193,8.32733,28.783473L13.4814,33.24704Z" fill="#FFFFFF" fill-opacity="1"/></g><g><path d="M5.5 18C5.5 17.447715250169207 5.947715250169207 17 6.5 17L9.5 17C10.052284749830793 17 10.5 17.447715250169207 10.5 18L10.5 23C10.5 23 10.5 23 10.5 23L5.5 23C5.5 23 5.5 23 5.5 23Z" fill="#FFFFFF" fill-opacity="1"/></g></g></svg>
|
||||||
|
After Width: | Height: | Size: 3.7 KiB |
Loading…
x
Reference in New Issue
Block a user