20240205
luoJunYong.123 3 years ago
parent 88d1b4d9da
commit 6450aee373
  1. 60
      src/components/case/index.vue
  2. 11
      src/components/dialog/index.vue
  3. 12
      src/pages/counter/list/index.vue
  4. 4
      src/pages/index/list/index.vue
  5. 1
      src/store/modules/system.js

@ -354,6 +354,20 @@ export default {
...mapMutations({ ...mapMutations({
initState: 'system/initState' initState: 'system/initState'
}), }),
clearStore() {
//
let token = sessionStorage.getItem('token')
let cid = sessionStorage.getItem('cid')
let systemId = sessionStorage.getItem('systemId')
let projectId = sessionStorage.getItem('projectId')
sessionStorage.clear()
sessionStorage.setItem('token', token)
sessionStorage.setItem('cid', cid)
sessionStorage.setItem('systemId', systemId)
sessionStorage.setItem('projectId', projectId)
// vuexstate
this.initState();
},
closePane(){ closePane(){
this.closePaneJudge = false this.closePaneJudge = false
this.lockIt = false this.lockIt = false
@ -470,7 +484,8 @@ export default {
selectProjects(params){ selectProjects(params){
getProjectDetail(params).then((data)=>{ getProjectDetail(params).then((data)=>{
if(data.status == 200){ if(data.status == 200){
this.lockIt = false
this.globalTimer = ""; this.globalTimer = "";
let stopTime = sessionStorage.getItem('timestamp') let stopTime = sessionStorage.getItem('timestamp')
let timestamp = +stopTime; let timestamp = +stopTime;
@ -500,6 +515,15 @@ export default {
}, },
// //
selectProject(){ selectProject(){
//
this.lockIt = false
this.clearStore()
deleteCache().then((data)=>{
}).catch(() => {
})
let params = { let params = {
"projectId":this.projectId, "projectId":this.projectId,
} }
@ -523,9 +547,9 @@ export default {
// location.href = 'http://124.71.12.62/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId // location.href = 'http://124.71.12.62/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId
// location.href = 'http://www.huorantech.cn/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId // location.href = 'http://www.huorantech.cn/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId
// //
location.href = 'http://39.108.250.202/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId // location.href = 'http://39.108.250.202/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId
// //
// location.href = "http://192.168.31.254:8093/#/index/list?"+'token='+token+'&cid='+cid+'&systemId='+systemId location.href = "http://192.168.31.155:8093/#/index/list?"+'token='+token+'&cid='+cid+'&systemId='+systemId
} }
}).catch((error)=>{ }).catch((error)=>{
}) })
@ -587,11 +611,8 @@ export default {
this.loading = true; this.loading = true;
submit(params).then((data)=>{ submit(params).then((data)=>{
if(data.status == 200){ if(data.status == 200){
// this.clearStore()
let token = sessionStorage.getItem('token')
let cid = sessionStorage.getItem('cid')
let systemId = sessionStorage.getItem('systemId')
let projectId = sessionStorage.getItem('projectId')
let firstLoad = null let firstLoad = null
let firstLoad2 = null let firstLoad2 = null
if(sessionStorage.getItem('firstLoad')) { if(sessionStorage.getItem('firstLoad')) {
@ -600,11 +621,7 @@ export default {
if(sessionStorage.getItem('firstLoad2')) { if(sessionStorage.getItem('firstLoad2')) {
firstLoad2 = sessionStorage.getItem('firstLoad2') firstLoad2 = sessionStorage.getItem('firstLoad2')
} }
sessionStorage.clear()
sessionStorage.setItem('token', token)
sessionStorage.setItem('cid', cid)
sessionStorage.setItem('systemId', systemId)
sessionStorage.setItem('projectId', projectId)
this.lockIt = true this.lockIt = true
if(firstLoad) { if(firstLoad) {
sessionStorage.setItem('firstLoad', firstLoad) sessionStorage.setItem('firstLoad', firstLoad)
@ -612,8 +629,8 @@ export default {
if(firstLoad2) { if(firstLoad2) {
sessionStorage.setItem('firstLoad2', firstLoad2) sessionStorage.setItem('firstLoad2', firstLoad2)
} }
// vuexstate
this.initState();
let datas= data.data.retMap.scoreInfo; let datas= data.data.retMap.scoreInfo;
let formList = [] let formList = []
sessionStorage.setItem('ruleReqs', JSON.stringify(formList)) sessionStorage.setItem('ruleReqs', JSON.stringify(formList))
@ -728,22 +745,15 @@ export default {
} }
}, },
reload() { reload() {
this.clearStore()
let token = sessionStorage.getItem('token') let token = sessionStorage.getItem('token')
let cid = sessionStorage.getItem('cid') let cid = sessionStorage.getItem('cid')
let systemId = sessionStorage.getItem('systemId') let systemId = sessionStorage.getItem('systemId')
let projectId = sessionStorage.getItem('projectId') let projectId = sessionStorage.getItem('projectId')
sessionStorage.clear()
sessionStorage.setItem('token', token)
sessionStorage.setItem('cid', cid)
sessionStorage.setItem('systemId', systemId)
sessionStorage.setItem('projectId', projectId)
let formList = [] let formList = []
sessionStorage.setItem('ruleReqs', JSON.stringify(formList)) sessionStorage.setItem('ruleReqs', JSON.stringify(formList))
sessionStorage.setItem('accountVoucher', JSON.stringify(formList)) sessionStorage.setItem('accountVoucher', JSON.stringify(formList))
sessionStorage.setItem('accountPasswordAll', '') sessionStorage.setItem('accountPasswordAll', '')
// vuexstate
this.initState();
let params = { let params = {
"projectId":projectId, "projectId":projectId,
} }
@ -769,9 +779,9 @@ export default {
// location.href = 'http://124.71.12.62/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId // location.href = 'http://124.71.12.62/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId
// location.href = 'http://www.huorantech.cn/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId // location.href = 'http://www.huorantech.cn/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId
// //
location.href = 'http://39.108.250.202/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId // location.href = 'http://39.108.250.202/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId
// //
// location.href = "http://192.168.31.254:8093/#/index/list?"+'token='+token+'&cid='+cid+'&systemId='+systemId location.href = "http://192.168.31.155:8093/#/index/list?"+'token='+token+'&cid='+cid+'&systemId='+systemId
}, },
// //
// reload() { // reload() {

@ -9,9 +9,9 @@
class="apple" class="apple"
:close-on-click-modal="true" :close-on-click-modal="true"
:show-close="false" :show-close="false"
custom-class="2xl:w-3/5 xl:w-4/5 lg:w-full bg-transparent" custom-class="2xl:w-3/5 xl:w-4/5 lg:w-full bgNone"
> >
<div class=" data-dia23 mx-auto rounded-3xl w-1/2" :class="{ ['w-full']: flow === 3 }"> <div class="data-dia23 mx-auto rounded-3xl w-1/2" :class="{ ['myFull']: flow === 3 }">
<!-- 2xl:w-3/5 xl:w-4/5 lg:w-full --> <!-- 2xl:w-3/5 xl:w-4/5 lg:w-full -->
<div slot="title" class="dia-header rounded-3xl"> <div slot="title" class="dia-header rounded-3xl">
<div class="data-title" v-if="flow === 1 || flow === 2">提示</div> <div class="data-title" v-if="flow === 1 || flow === 2">提示</div>
@ -584,5 +584,10 @@ export default {
// left: 50%; // left: 50%;
// transform: translateX(-25%); // transform: translateX(-25%);
// } // }
/deep/.bgNone {
background-color: transparent;
}
/deep/.myFull {
width: 100%;
}
</style> </style>

@ -47,8 +47,8 @@
</el-tooltip> </el-tooltip>
<!-- 点击打开印章盒--> <!-- 点击打开印章盒-->
<el-tooltip placement="top" popper-class="sth-popper" offset="-100"> <el-tooltip placement="top" popper-class="sth-popper" offset="-100">
<div slot="content"> <div slot="content" @click="showData('印章盒',5)">
<img v-lazy="lazyImg[13]" class="contentHeight" alt="" /> <img v-lazy="lazyImg[13]" class="contentHeight" alt="" @click="showData('印章盒',5)" />
</div> </div>
<img class="sth seal-box cp" v-lazy="lazyImg[14]" @click="showData('印章盒',5)" alt="" /> <img class="sth seal-box cp" v-lazy="lazyImg[14]" @click="showData('印章盒',5)" alt="" />
</el-tooltip> </el-tooltip>
@ -82,8 +82,8 @@
</el-tooltip> </el-tooltip>
<el-tooltip placement="top" popper-class="sth-popper" offset="-50"> <el-tooltip placement="top" popper-class="sth-popper" offset="-50">
<div slot="content"> <div slot="content" @click="showData('资料',9)">
<img v-lazy="lazyImg[22]" class="contentHeight" alt="" /> <img v-lazy="lazyImg[22]" class="contentHeight" @click="showData('资料',9)" alt="" />
</div> </div>
<p class="employeeText" @click="showData('资料',9)">资料</p> <p class="employeeText" @click="showData('资料',9)">资料</p>
</el-tooltip> </el-tooltip>
@ -2293,7 +2293,8 @@ export default {
font-size: 18px; font-size: 18px;
width: 100px; width: 100px;
height: 100px; height: 100px;
cursor: pointer cursor: pointer;
z-index: 100;
} }
.man { .man {
// //
@ -2345,6 +2346,7 @@ export default {
top: 56vh; top: 56vh;
left: 62vw; left: 62vw;
width: 6vw; width: 6vw;
z-index: 900;
} }
.currency-detector { .currency-detector {
top: 62vh; top: 62vh;

@ -166,8 +166,8 @@ export default {
} }
.name{ .name{
position: absolute; position: absolute;
top: 43%; top: 23%;
left: -15%; left: 20%;
@include nameTip; @include nameTip;
} }
} }

@ -2289,6 +2289,7 @@ export default {
}, },
initState(state) { initState(state) {
state.businessSelect = { ...myInitState } state.businessSelect = { ...myInitState }
state.businessKey = ''
}, },
setShowBusiness(state, isShow) { setShowBusiness(state, isShow) {
state.showBusiness = isShow state.showBusiness = isShow

Loading…
Cancel
Save