展厅问题修改

This commit is contained in:
wuhongjian 2022-11-21 20:38:14 +08:00
parent 82a188251a
commit 8e53d92898
6 changed files with 140 additions and 167 deletions

View File

@ -2,7 +2,7 @@
* @Author: hisense.wuhongjian * @Author: hisense.wuhongjian
* @Date: 2022-03-29 16:45:25 * @Date: 2022-03-29 16:45:25
* @LastEditors: hisense.wuhongjian * @LastEditors: hisense.wuhongjian
* @LastEditTime: 2022-08-29 09:55:26 * @LastEditTime: 2022-11-21 20:17:38
* @Description: 告诉大家这是什么 * @Description: 告诉大家这是什么
--> -->
<!DOCTYPE html> <!DOCTYPE html>
@ -85,7 +85,7 @@
properly without JavaScript enabled. Please enable it to continue. properly without JavaScript enabled. Please enable it to continue.
</strong> </strong>
</noscript> </noscript>
<div id="app"> <div id="app" style="background: #010519">
<div class="first-loading-wrp"> <div class="first-loading-wrp">
<div class="loading-wrp"> <div class="loading-wrp">
<span class="dot dot-spin"> <span class="dot dot-spin">

View File

@ -2,7 +2,7 @@
* @Author: hisense.wuhongjian * @Author: hisense.wuhongjian
* @Date: 2020-07-07 16:03:23 * @Date: 2020-07-07 16:03:23
* @LastEditors: hisense.wuhongjian * @LastEditors: hisense.wuhongjian
* @LastEditTime: 2022-08-29 09:57:31 * @LastEditTime: 2022-11-21 19:37:54
* @Description: 系统静态参数配置 * @Description: 系统静态参数配置
*/ */
var _global = {} var _global = {}
@ -72,7 +72,7 @@ var CONFIGITEM = {
}, },
backUrl: 'http://192.168.124.243:9797', backUrl: 'http://192.168.124.243:9797',
previewUrl: 'http://192.168.124.243:9796/', previewUrl: 'http://192.168.124.243:9796/',
websocketURL: '192.168.124.243:8888/renren-admin', websocketURL: '221.0.232.149:7082/renren-admin',
POI_URL: POI_URL:
'http://15.72.178.129:8090/iserver/services/addressmatch-qingdaoPOI181015/restjsr/v1/address', 'http://15.72.178.129:8090/iserver/services/addressmatch-qingdaoPOI181015/restjsr/v1/address',
}, },

View File

@ -146,7 +146,7 @@ instance.interceptors.response.use(
// } // }
}, },
(error) => { (error) => {
// debugger debugger
console.log('接口error', error) console.log('接口error', error)
if (loadingInstance) loadingInstance.close() if (loadingInstance) loadingInstance.close()
@ -159,6 +159,12 @@ instance.interceptors.response.use(
setAccessToken(response.headers.token) setAccessToken(response.headers.token)
} }
if (response.headers.redirect) { if (response.headers.redirect) {
if (response.headers.redirect === '/#/login') {
setAccessToken('')
setTimeout(() => {
location.reload()
}, 1000)
}
window.location.replace(response.headers.redirect) window.location.replace(response.headers.redirect)
return Promise.resolve() return Promise.resolve()
} }

View File

@ -1337,33 +1337,18 @@
pageSize: paramsGetResources.pageSize, // pageSize: paramsGetResources.pageSize, //
} }
getDataResource(dataResourceParams).then((res) => { getDataResource(dataResourceParams).then((res) => {
if (whoShow1.value.itShowQingDao) { res.data.data.list.forEach((val) => {
res.data.data.data.forEach((val) => { val.id = val.serviceId // id
val.id = val.guid // id val.name = val.serviceName //
val.name = val.zyname // val.sjlCount = val.requestQuantity //
val.sjlCount = val.sjcczl // val.applyCount = val.requestCount //
val.applyCount = val.syqk // val.deptName = val.departmentName //
val.deptName = val.TGBM // val.createTime = val.createTime.split('.')[0]
val.createDate = val.fbrq // val.createDate = val.createTime //
val.description = val.xgxt // })
}) resourceList.data = res.data.data.list || []
resourceList.data = res.data.data.data || [] resourceTotal.value = res.data.data.total || ''
resourceTotal.value = res.data.data.rows || '' loading.value = false
loading.value = false
} else if (whoShow1.value.itShowXiHaiAn) {
res.data.data.list.forEach((val) => {
val.id = val.serviceId // id
val.name = val.serviceName //
val.sjlCount = val.requestQuantity //
val.applyCount = val.requestCount //
val.deptName = val.departmentName //
val.createTime = val.createTime.split('.')[0]
val.createDate = val.createTime //
})
resourceList.data = res.data.data.list || []
resourceTotal.value = res.data.data.total || ''
loading.value = false
}
}) })
} else if ( } else if (
paramsGetResources.type !== '数据资源' && paramsGetResources.type !== '数据资源' &&
@ -2095,7 +2080,7 @@
.talk-monitor { .talk-monitor {
position: fixed; position: fixed;
bottom: 0.5rem; bottom: 0.5rem;
right: 0.1rem; right: calc(100% - 19rem);
z-index: 9999; z-index: 9999;
cursor: pointer; cursor: pointer;
@ -2120,7 +2105,7 @@
position: fixed; position: fixed;
z-index: 10; z-index: 10;
bottom: 1.56rem; bottom: 1.56rem;
right: 0.1rem; right: calc(100% - 19rem);
cursor: pointer; cursor: pointer;
background: #e3edfc; background: #e3edfc;
p { p {

View File

@ -127,39 +127,21 @@
pageSize: paramsGetResources.pageSize, // pageSize: paramsGetResources.pageSize, //
}).then((res) => { }).then((res) => {
console.log('数据资源==================>', res.data.data) console.log('数据资源==================>', res.data.data)
if (whoShow1.value.itShowQingDao) { res.data.data.list.forEach((val) => {
res.data.data.data.forEach((val) => { val.id = val.serviceId // id
val.id = val.guid // id val.name = val.serviceName //
val.name = val.zyname // val.sjlCount = val.requestQuantity //
val.sjlCount = val.sjcczl // val.applyCount = val.requestCount //
val.applyCount = val.syqk // val.deptName = val.departmentName //
val.deptName = val.TGBM // val.createTime = val.createTime.split('.')[0]
val.createDate = val.fbrq // val.createDate = val.createTime //
val.description = val.xgxt // })
}) obj.value = res.data.data.list || []
obj.value = res.data.data.data || [] object.sjNum = res.data.data.total
object.sjNum = res.data.data.rows // interfaceSuccess.value++
// interfaceSuccess.value++ // if (interfaceSuccess.value == 5) {
// if (interfaceSuccess.value == 5) { // mybus.emit('chagneNum', object)
// mybus.emit('chagneNum', object) // }
// }
} else if (whoShow1.value.itShowXiHaiAn) {
res.data.data.list.forEach((val) => {
val.id = val.serviceId // id
val.name = val.serviceName //
val.sjlCount = val.requestQuantity //
val.applyCount = val.requestCount //
val.deptName = val.departmentName //
val.createTime = val.createTime.split('.')[0]
val.createDate = val.createTime //
})
obj.value = res.data.data.list || []
object.sjNum = res.data.data.total
// interfaceSuccess.value++
// if (interfaceSuccess.value == 5) {
// mybus.emit('chagneNum', object)
// }
}
}) })
} else { } else {
let type = paramsGetResources.type let type = paramsGetResources.type
@ -292,113 +274,113 @@
} }
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.capability-convergence { .capability-convergence {
height: 7.2rem; height: 7.2rem;
background: url('~@/assets/newHome/Convergence-bg.png') no-repeat; background: url('~@/assets/newHome/Convergence-bg.png') no-repeat;
background-size: 100%; background-size: 100%;
display: flex;
justify-content: center;
.main {
width: 13rem;
margin-top: 1.8rem;
display: flex; display: flex;
flex-direction: column; justify-content: center;
flex-wrap: wrap; .main {
.top { width: 13rem;
font-size: 0.3rem; margin-top: 1.8rem;
color: #212121;
text-align: center;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
flex-wrap: wrap; flex-wrap: wrap;
justify-content: center; .top {
align-items: center; font-size: 0.3rem;
.line { color: #212121;
width: 0.34rem; text-align: center;
height: 0.03rem; display: flex;
background-color: #0058e1; flex-direction: column;
margin-top: 0.08rem; flex-wrap: wrap;
justify-content: center;
align-items: center;
.line {
width: 0.34rem;
height: 0.03rem;
background-color: #0058e1;
margin-top: 0.08rem;
}
} }
} .bottom {
.bottom { display: flex;
display: flex; justify-content: space-between;
justify-content: space-between; margin-top: 0.4rem;
margin-top: 0.4rem; .item {
.item { width: 2.44rem;
width: 2.44rem; height: 3.91rem;
height: 3.91rem; font-size: 0.16rem;
font-size: 0.16rem; background-color: #fff;
background-color: #fff;
border-radius: 0.02rem;
box-shadow: 0 0.05rem 0.2rem #ccc;
position: relative;
div:nth-of-type(1) {
height: 1.02rem;
line-height: 1.02rem;
font-size: 0.2rem;
color: #fff;
padding-left: 0.15rem;
background-size: 100%;
}
.jc {
background: url('~@/assets/newHome/Convergence-jc.png') no-repeat;
}
.sj {
background: url('~@/assets/newHome/Convergence-sj.png') no-repeat;
}
.zj {
background: url('~@/assets/newHome/Convergence-zj.png') no-repeat;
}
.yy {
background: url('~@/assets/newHome/Convergence-yy.png') no-repeat;
}
.zs {
background: url('~@/assets/newHome/Convergence-zs.png') no-repeat;
}
.name {
height: 0.47rem;
line-height: 0.47rem;
margin: 0 0.16rem;
border-bottom: 0.01rem solid #e9e9e9;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
word-break: break-all;
}
.name:hover {
color: #0058e1;
cursor: pointer;
}
.name-last {
border-bottom: none;
}
.btn {
cursor: pointer;
width: 0.8rem;
height: 0.24rem;
border: 0.01rem solid #0058e1;
font-size: 0.14rem;
color: #0058e1;
border-radius: 0.02rem; border-radius: 0.02rem;
text-align: center; box-shadow: 0 0.05rem 0.2rem #ccc;
margin-top: 0.1rem; position: relative;
margin-left: 0.85rem; div:nth-of-type(1) {
position: absolute; height: 1.02rem;
bottom: 0.2rem; line-height: 1.02rem;
font-size: 0.2rem;
color: #fff;
padding-left: 0.15rem;
background-size: 100%;
}
.jc {
background: url('~@/assets/newHome/Convergence-jc.png') no-repeat;
}
.sj {
background: url('~@/assets/newHome/Convergence-sj.png') no-repeat;
}
.zj {
background: url('~@/assets/newHome/Convergence-zj.png') no-repeat;
}
.yy {
background: url('~@/assets/newHome/Convergence-yy.png') no-repeat;
}
.zs {
background: url('~@/assets/newHome/Convergence-zs.png') no-repeat;
}
.name {
height: 0.47rem;
line-height: 0.47rem;
margin: 0 0.16rem;
border-bottom: 0.01rem solid #e9e9e9;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
word-break: break-all;
}
.name:hover {
color: #0058e1;
cursor: pointer;
}
.name-last {
border-bottom: none;
}
.btn {
cursor: pointer;
width: 0.8rem;
height: 0.24rem;
border: 0.01rem solid #0058e1;
font-size: 0.14rem;
color: #0058e1;
border-radius: 0.02rem;
text-align: center;
margin-top: 0.1rem;
margin-left: 0.85rem;
position: absolute;
bottom: 0.2rem;
}
.btn:hover {
background: rgba(0, 88, 225, 0.3);
color: #000;
}
} }
.btn:hover { .item:hover {
background: rgba(0, 88, 225, 0.3); border-radius: 0.02rem;
color: #000; border: 0.01rem solid #0058e1;
box-shadow: 0rem 0.08rem 0.2rem rgba(0, 88, 225, 0.3);
} }
} }
.item:hover {
border-radius: 0.02rem;
border: 0.01rem solid #0058e1;
box-shadow: 0rem 0.08rem 0.2rem rgba(0, 88, 225, 0.3);
}
} }
} }
}
</style> </style>

View File

@ -320,7 +320,7 @@
router.push({ router.push({
path: '/DetailsPageconetent', path: '/DetailsPageconetent',
query: { query: {
select: "基础设施", select: '基础设施',
}, },
}) })
} }
@ -596,7 +596,7 @@
display: flex; display: flex;
position: fixed; position: fixed;
bottom: 1.56rem; bottom: 1.56rem;
right: 1.9rem; right: calc(100% - 19rem);
z-index: 10; z-index: 10;
flex-direction: column; flex-direction: column;
justify-content: space-between; justify-content: space-between;