| | |
| | | <div v-if="item.remoteVersion">最新版本:{{ item.remoteVersion }}</div>
|
| | | </div>
|
| | | <!-- v-if="!item.isDefault" -->
|
| | | <div class="info-onmask" @click="checkDetail(item,'active')">查看详情</div>
|
| | | <div class="info-onmask" @click="checkDetail(item,'activeNotInstall')">查看详情</div>
|
| | | <div class="mask-btn">
|
| | | <el-button
|
| | | @click="downloadApp(item)"
|
| | |
| | | </div>
|
| | | </div>
|
| | | <div class="top-right">
|
| | | <!-- <div class="title">{{curCheckTarget.sdk_name}}</div> -->
|
| | | <div class="summary">
|
| | | <div class="icon">
|
| | | <img
|
| | |
| | | this.hasNewVersionApp = nArry;
|
| | | },
|
| | |
|
| | | //卸载
|
| | | unLoad(app) {
|
| | | let _this = this;
|
| | | this.$confirm("确定要卸载该应用吗?", "提示")
|
| | |
| | | :src="`data:image/png;base64,${item.headpic}`" |
| | | alt="" |
| | | /> |
| | | |
| | | </div> |
| | | <span class="user-name">{{ item.username }}</span> |
| | | </div> |
| | |
| | | :src="`data:image/png;base64,${activeAccountItem.headpic}`" |
| | | alt="" |
| | | /> |
| | | <div class="touxiang-mask" v-if="showChangePic==true"> |
| | | <span class="enable">修改头像</span> |
| | | </div> |
| | | </div> |
| | | <div class="user-desc"> |
| | | <div class="username"> |
| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="list-btn"> |
| | | <div class="chang-pic-arr"> |
| | | <div class="upload-group"> |
| | | <div |
| | | class="upload-jpg" |
| | | :class="selectedPic == index ? 'upload-jpg-border' : ''" |
| | | v-for="(item, index) in jpgArr" |
| | | :key="index" |
| | | @click="pickHeadDefPic(item, index)" |
| | | > |
| | | <img |
| | | v-if="item" |
| | | :src="`data:image/png;base64,${item.path}`" |
| | | alt="" |
| | | srcset="" |
| | | /> |
| | | <div class="img-mask" v-if="selectedPic == index"> |
| | | <span class="icon iconfont enable"></span> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="list-btn" v-if="isChangePic == false"> |
| | | <div class="item-btn" @click="showChangePassword">修改密码</div> |
| | | <div class="item-btn" @click="deleteAccount">删除账户</div> |
| | | <div class="item-btn" @click="openPermission">权限设置</div> |
| | |
| | | <div class="upload-group"> |
| | | <div |
| | | class="upload-jpg" |
| | | :class=" |
| | | selectedPic == index? 'upload-jpg-border' : '' |
| | | " |
| | | :class="selectedPic == index ? 'upload-jpg-border' : ''" |
| | | v-for="(item, index) in jpgArr" |
| | | :key="index" |
| | | @click="pickHeadDefPic(item, index)" |
| | |
| | | <el-form-item prop="userName"> |
| | | <div class="p-title">用户名:</div> |
| | | <el-input |
| | | placeholder="必填" |
| | | placeholder="必填,长度为2~10位字符,不能以数字开头、不允许有汉字" |
| | | v-model="addForm.userName" |
| | | ></el-input> |
| | | </el-form-item> |
| | |
| | | import netSettings from "../views/NetSettings"; |
| | | import keyboardLanguage from "../views/keyboardLanguage"; |
| | | import generalSettings from "../views/generalSettings"; |
| | | import treeVue from "@/components/treeMenu/jsTree/tree.vue"; |
| | | export default { |
| | | name: "settings", |
| | | components: { |
| | |
| | | }; |
| | | return { |
| | | showAccount: true, |
| | | showChangePic:false, |
| | | syncYrs: "", |
| | | activeAccountItem: {}, |
| | | syncMonth: "", |
| | |
| | | confirmPassword: "", |
| | | roleId: "", |
| | | }, |
| | | isChangePic: true, |
| | | rules: { |
| | | userName: [ |
| | | { required: true, message: "请输入用户名", trigger: "blur" }, |
| | | { |
| | | min: 3, |
| | | min: 2, |
| | | max: 10, |
| | | message: "长度在 3 到 10 个字符", |
| | | message: "长度在 2 到 10 个字符", |
| | | trigger: "blur", |
| | | }, |
| | | ], |
| | |
| | | } |
| | | }, |
| | | openWelcome(name,i){ |
| | | this.showWelcome = false |
| | | this.openMenu(name,i) |
| | | this.showWelcome = false; |
| | | this.openMenu(name, i); |
| | | }, |
| | | showInput(typ) { |
| | | this[`show${typ}Input`] = true; |
| | |
| | | this.isAddAccount = true; |
| | | getRoles().then((res) => { |
| | | if (res.success) { |
| | | this.roleList = res.data; |
| | | this.roleList = res.data.slice(0, 2); |
| | | } |
| | | }); |
| | | }, |
| | |
| | | }); |
| | | }, |
| | | saveAddAccount(formName) { |
| | | debugger; |
| | | this.$refs[formName].validate((valid) => { |
| | | debugger; |
| | | if (valid) { |
| | | let data = { |
| | | username: this.addForm.userName, |
| | |
| | | width: 100px; |
| | | height: 100px; |
| | | background-color: bisque; |
| | | position: relative; |
| | | border-radius: 50px; |
| | | img { |
| | | border: none; |
| | | |
| | | width: 100px; |
| | | height: 100px; |
| | | position: relative; |
| | | border-radius: 50px; |
| | | } |
| | | .touxiang-mask { |
| | | position: absolute; |
| | | left: 0; |
| | | top: 0; |
| | | width: 100px; |
| | | height: 100px; |
| | | background-color: rgba(0, 0, 0, 0.2); |
| | | color: white; |
| | | cursor: pointer; |
| | | border-radius: 50%; |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | .selected { |
| | | font-size: 20px; |
| | | } |
| | | } |
| | | } |
| | | .user-desc { |
| | |
| | | } |
| | | } |
| | | |
| | | .add-account-page { |
| | | .upload-group { |
| | | height: 120px; |
| | | width: 360px; |
| | |
| | | cursor: pointer; |
| | | } |
| | | } |
| | | .add-account-page { |
| | | .fill-group { |
| | | .el-form-item__content { |
| | | line-height: 44px; |
| | | } |
| | | .p-title { |
| | | height: 34px; |
| | | text-align: left; |
| | | line-height: 50px; |
| | | } |
| | | .el-form-item__error { |
| | | line-height: 0.8; |
| | | left: 3.3%; |
| | | } |
| | | .el-form-item { |
| | | .el-select { |
| | |
| | | methods: { |
| | | refreshShoubiNum(){ |
| | | let n = sessionStorage.getItem("shoubiNum") |
| | | this.optionsOfHidDangerBar.series[0].data[1].value = +n |
| | | // this.optionsOfHidDangerBar.series[0].data[1].value = +n |
| | | this.$set(this.optionsOfHidDangerBar.series,0, { |
| | | name: '数量', |
| | | type: 'bar', |
| | | barWidth: '60%', |
| | | label:{ |
| | | show:true,position: 'top' |
| | | }, |
| | | data: [{value:1,itemStyle:{color:'#3aa0ff'}},{value:+n,itemStyle:{color:'#36cbcb'}},{value:1,itemStyle:{color:'#4dcb73'}},{value:1,itemStyle:{color:'#fad337'}},{value:3,itemStyle:{color:'#f2637b'}}, {value:2,itemStyle:{color:'#975fe4'}}] |
| | | }) |
| | | }, |
| | | initTabContent(tab){ |
| | | if(tab.name == "hidDanderStatistic"){ |
| | |
| | | </div> |
| | | <div class="container"> |
| | | <!-- 首页 --> |
| | | <GuideIndex ref="GuideIndex" v-show="actPage=='guideIndex'"></GuideIndex> |
| | | |
| | | <GuideIndex ref="GuideIndex" v-if="actPage=='guideIndex'"></GuideIndex> |
| | | <searchForVideoAnalyze v-if="actPage=='searchForVideoAnalyze'"></searchForVideoAnalyze> |
| | | <memberManage v-if="actPage=='memberManage'"></memberManage> |
| | | <taskManage v-if="actPage=='taskManage'"></taskManage> |
| | |
| | | }, |
| | | menuChange(path) { |
| | | if (path=='guideIndex') { |
| | | this.$refs.GuideIndex.refreshShoubiNum() |
| | | // this.$refs.GuideIndex.refreshShoubiNum() |
| | | } |
| | | if (path == 'taskscreen') { |
| | | //window.location.href = window.location.href+'taskscreen/index.html' |