手机端同步pc端查看重点工程的交互逻辑
parent
94d8533849
commit
6db77875a1
|
@ -81,6 +81,8 @@ export const setFinalCheck = (params) => post("/app/hidden/finalcheck", params)
|
||||||
export const getCorpinfoDeptListTree = (params) => post("/app/corpDepartment/listTree", params) //获取企业的 部门信息
|
export const getCorpinfoDeptListTree = (params) => post("/app/corpDepartment/listTree", params) //获取企业的 部门信息
|
||||||
export const getSafetyenvironmentalExplain = (params) => post("/app/safetyenvironmental/getExplain", params) //获取安全环保检查申辩流程列表
|
export const getSafetyenvironmentalExplain = (params) => post("/app/safetyenvironmental/getExplain", params) //获取安全环保检查申辩流程列表
|
||||||
export const getKeyProjectsListOutsourced = (params) => post("/app/keyProjects/listOutsourced", params) //获取重点工程管理被检查项目列表
|
export const getKeyProjectsListOutsourced = (params) => post("/app/keyProjects/listOutsourced", params) //获取重点工程管理被检查项目列表
|
||||||
|
export const getKeyProjectsListListByCorp = (params) => post("/api/outsourced/listByCorp", params) //获取重点工程管理按照公司分组
|
||||||
|
|
||||||
export const getKeyProjectsCheckList = (params) => post("/app/keyprojectcheck/list", params) //获取重点工程管理被检查项目检查列表
|
export const getKeyProjectsCheckList = (params) => post("/app/keyprojectcheck/list", params) //获取重点工程管理被检查项目检查列表
|
||||||
export const getKeyProjectsListAllUnits = (params) => post("/app/keyProjects/listAllUnits", params) //获取重点工程管理被检查项目检查被检查单位
|
export const getKeyProjectsListAllUnits = (params) => post("/app/keyProjects/listAllUnits", params) //获取重点工程管理被检查项目检查被检查单位
|
||||||
export const getKeyProjectsListAllPersonnel = (params) => post("/app/keyProjects/listAllPersonnel", params) //获取重点工程管理被检查项目检查被检查人
|
export const getKeyProjectsListAllPersonnel = (params) => post("/app/keyProjects/listAllPersonnel", params) //获取重点工程管理被检查项目检查被检查人
|
||||||
|
|
|
@ -536,6 +536,12 @@
|
||||||
"navigationBarTitleText": "重点工程管理"
|
"navigationBarTitleText": "重点工程管理"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"path": "pages/key-project-management/key-project-out/list",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "重点工程"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/key-project-management/safety-environmental-inspection/list",
|
"path": "pages/key-project-management/safety-environmental-inspection/list",
|
||||||
"style": {
|
"style": {
|
||||||
|
|
|
@ -1,25 +1,25 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="page">
|
<view class="page">
|
||||||
<!-- #ifdef APP-PLUS -->
|
<!-- #ifdef APP-PLUS -->
|
||||||
<view class="status_bar">
|
<view class="status_bar">
|
||||||
<view class="top_view"></view>
|
<view class="top_view"></view>
|
||||||
</view>
|
</view>
|
||||||
<!-- #endif -->
|
<!-- #endif -->
|
||||||
<view class="wui_banner">
|
<view class="wui_banner">
|
||||||
<!-- <view class="wui-bar">-->
|
<!-- <view class="wui-bar">-->
|
||||||
<!-- <view class="search-form">-->
|
<!-- <view class="search-form">-->
|
||||||
<!-- <text class="cuIcon-search"></text>-->
|
<!-- <text class="cuIcon-search"></text>-->
|
||||||
<!-- <input type="text" placeholder-class="phcolor" placeholder="请输入关键词..." confirm-type="search"></input>-->
|
<!-- <input type="text" placeholder-class="phcolor" placeholder="请输入关键词..." confirm-type="search"></input>-->
|
||||||
<!-- </view>-->
|
<!-- </view>-->
|
||||||
<!-- <view class="icon-ui">-->
|
<!-- <view class="icon-ui">-->
|
||||||
<!-- <text class="cuIcon-scan"></text>-->
|
<!-- <text class="cuIcon-scan"></text>-->
|
||||||
<!-- </view>-->
|
<!-- </view>-->
|
||||||
<!-- </view>-->
|
<!-- </view>-->
|
||||||
<view class="banner_img">
|
<view class="banner_img">
|
||||||
<image src="../../static/home-bg.png" mode=""></image>
|
<image src="../../static/home-bg.png" mode=""></image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- <view class="about-infoer">
|
<!-- <view class="about-infoer">
|
||||||
<view class="about-info">
|
<view class="about-info">
|
||||||
<view class="about-info-main-tx" ></view>
|
<view class="about-info-main-tx" ></view>
|
||||||
<view class="about-info-text">
|
<view class="about-info-text">
|
||||||
|
@ -28,281 +28,288 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view> -->
|
</view> -->
|
||||||
<view class="home-apps">
|
<view class="home-apps">
|
||||||
<view class="home-apps-item" v-for="(item,index) in baseList" :key="index" @click="fnNavigator(index)">
|
<view class="home-apps-item" v-for="(item,index) in baseList" :key="index" @click="fnNavigator(index)">
|
||||||
<view class="home-apps-item-img">
|
<view class="home-apps-item-img">
|
||||||
<image :src="item.img" mode=""></image>
|
<image :src="item.img" mode=""></image>
|
||||||
</view>
|
</view>
|
||||||
<view class="text">
|
<view class="text">
|
||||||
<text>{{ item.title }}</text>
|
<text>{{ item.title }}</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- <view class="home-message">-->
|
<!-- <view class="home-message">-->
|
||||||
<!-- <view class="home-title">-->
|
<!-- <view class="home-title">-->
|
||||||
<!-- <image src="../../static/message.png" mode=""></image>-->
|
<!-- <image src="../../static/message.png" mode=""></image>-->
|
||||||
<!-- </view>-->
|
<!-- </view>-->
|
||||||
<!-- <view class="home-content">-->
|
<!-- <view class="home-content">-->
|
||||||
<!-- 站内信示例文字滚动显示,最大-->
|
<!-- 站内信示例文字滚动显示,最大-->
|
||||||
<!-- </view>-->
|
<!-- </view>-->
|
||||||
<!-- <view class="home-more">-->
|
<!-- <view class="home-more">-->
|
||||||
<!-- 更多-->
|
<!-- 更多-->
|
||||||
<!-- </view>-->
|
<!-- </view>-->
|
||||||
<!-- </view>-->
|
<!-- </view>-->
|
||||||
<!-- <view class="home-letters">-->
|
<!-- <view class="home-letters">-->
|
||||||
<!-- <view class="letters-title">-->
|
<!-- <view class="letters-title">-->
|
||||||
<!-- <image src="../../static/stitle.png" mode=""></image>-->
|
<!-- <image src="../../static/stitle.png" mode=""></image>-->
|
||||||
<!-- </view>-->
|
<!-- </view>-->
|
||||||
<!-- <view class="letters-content">-->
|
<!-- <view class="letters-content">-->
|
||||||
<!-- <view class="letters-item">-->
|
<!-- <view class="letters-item">-->
|
||||||
<!-- <view class="letters-title">-->
|
<!-- <view class="letters-title">-->
|
||||||
<!-- <view>-->
|
<!-- <view>-->
|
||||||
<!-- <text class="lable">隐患来源:</text>-->
|
<!-- <text class="lable">隐患来源:</text>-->
|
||||||
<!-- <text class="font">秦港一公司</text>-->
|
<!-- <text class="font">秦港一公司</text>-->
|
||||||
<!-- </view>-->
|
<!-- </view>-->
|
||||||
<!-- <view class="color-red">重大隐患</view>-->
|
<!-- <view class="color-red">重大隐患</view>-->
|
||||||
<!-- </view>-->
|
<!-- </view>-->
|
||||||
<!-- <view class="letters-sub-title">-->
|
<!-- <view class="letters-sub-title">-->
|
||||||
<!-- <text class="lable">隐患描述:</text>-->
|
<!-- <text class="lable">隐患描述:</text>-->
|
||||||
<!-- <text class="font">第二罐体出现不稳定情况,第二罐体出现不稳定情况罐体...</text>-->
|
<!-- <text class="font">第二罐体出现不稳定情况,第二罐体出现不稳定情况罐体...</text>-->
|
||||||
<!-- </view>-->
|
<!-- </view>-->
|
||||||
<!-- <view class="letters-date">-->
|
<!-- <view class="letters-date">-->
|
||||||
<!-- <text class="lable">发现时间:</text>-->
|
<!-- <text class="lable">发现时间:</text>-->
|
||||||
<!-- <text class="font">2022-10-31 10:33:20</text>-->
|
<!-- <text class="font">2022-10-31 10:33:20</text>-->
|
||||||
<!-- </view>-->
|
<!-- </view>-->
|
||||||
<!-- </view>-->
|
<!-- </view>-->
|
||||||
<!-- <view class="letters-item">-->
|
<!-- <view class="letters-item">-->
|
||||||
<!-- <view class="letters-title">-->
|
<!-- <view class="letters-title">-->
|
||||||
<!-- <view>-->
|
<!-- <view>-->
|
||||||
<!-- <text class="lable">隐患来源:</text>-->
|
<!-- <text class="lable">隐患来源:</text>-->
|
||||||
<!-- <text class="font">秦港一公司</text>-->
|
<!-- <text class="font">秦港一公司</text>-->
|
||||||
<!-- </view>-->
|
<!-- </view>-->
|
||||||
<!-- <view class="color-org">较大隐患</view>-->
|
<!-- <view class="color-org">较大隐患</view>-->
|
||||||
<!-- </view>-->
|
<!-- </view>-->
|
||||||
<!-- <view class="letters-sub-title">-->
|
<!-- <view class="letters-sub-title">-->
|
||||||
<!-- <text class="lable">隐患描述:</text>-->
|
<!-- <text class="lable">隐患描述:</text>-->
|
||||||
<!-- <text class="font">第二罐体出现不稳定情况,第二罐体出现不稳定情况罐体...</text>-->
|
<!-- <text class="font">第二罐体出现不稳定情况,第二罐体出现不稳定情况罐体...</text>-->
|
||||||
<!-- </view>-->
|
<!-- </view>-->
|
||||||
<!-- <view class="letters-date">-->
|
<!-- <view class="letters-date">-->
|
||||||
<!-- <text class="lable">发现时间:</text>-->
|
<!-- <text class="lable">发现时间:</text>-->
|
||||||
<!-- <text class="font">2022-10-31 10:33:20</text>-->
|
<!-- <text class="font">2022-10-31 10:33:20</text>-->
|
||||||
<!-- </view>-->
|
<!-- </view>-->
|
||||||
<!-- </view>-->
|
<!-- </view>-->
|
||||||
<!-- <view class="letters-item">-->
|
<!-- <view class="letters-item">-->
|
||||||
<!-- <view class="letters-title">-->
|
<!-- <view class="letters-title">-->
|
||||||
<!-- <view>-->
|
<!-- <view>-->
|
||||||
<!-- <text class="lable">隐患来源:</text>-->
|
<!-- <text class="lable">隐患来源:</text>-->
|
||||||
<!-- <text class="font">秦港一公司</text>-->
|
<!-- <text class="font">秦港一公司</text>-->
|
||||||
<!-- </view>-->
|
<!-- </view>-->
|
||||||
<!-- <view class="color-nomal">一般隐患</view>-->
|
<!-- <view class="color-nomal">一般隐患</view>-->
|
||||||
<!-- </view>-->
|
<!-- </view>-->
|
||||||
<!-- <view class="letters-sub-title">-->
|
<!-- <view class="letters-sub-title">-->
|
||||||
<!-- <text class="lable">隐患描述:</text>-->
|
<!-- <text class="lable">隐患描述:</text>-->
|
||||||
<!-- <text class="font">第二罐体出现不稳定情况,第二罐体出现不稳定情况罐体...</text>-->
|
<!-- <text class="font">第二罐体出现不稳定情况,第二罐体出现不稳定情况罐体...</text>-->
|
||||||
<!-- </view>-->
|
<!-- </view>-->
|
||||||
<!-- <view class="letters-date">-->
|
<!-- <view class="letters-date">-->
|
||||||
<!-- <text class="lable">发现时间:</text>-->
|
<!-- <text class="lable">发现时间:</text>-->
|
||||||
<!-- <text class="font">2022-10-31 10:33:20</text>-->
|
<!-- <text class="font">2022-10-31 10:33:20</text>-->
|
||||||
<!-- </view>-->
|
<!-- </view>-->
|
||||||
<!-- </view>-->
|
<!-- </view>-->
|
||||||
<!-- </view>-->
|
<!-- </view>-->
|
||||||
<!-- </view>-->
|
<!-- </view>-->
|
||||||
<!-- <view class="home-line">-->
|
<!-- <view class="home-line">-->
|
||||||
<!-- ------ END -------->
|
<!-- ------ END -------->
|
||||||
<!-- </view>-->
|
<!-- </view>-->
|
||||||
<u-modal :show="updateVersion.modalShow" title="温馨提示" :showConfirmButton="updateVersion.showConfirmButton"
|
<u-modal :show="updateVersion.modalShow" title="温馨提示" :showConfirmButton="updateVersion.showConfirmButton"
|
||||||
:showCancelButton="updateVersion.showCancelButton" :confirmText="updateVersion.confirmText" :cancelText="updateVersion.cancelText"
|
:showCancelButton="updateVersion.showCancelButton" :confirmText="updateVersion.confirmText"
|
||||||
@cancel="modalCancel" @confirm="modalConfirm">
|
:cancelText="updateVersion.cancelText" @cancel="modalCancel" @confirm="modalConfirm">
|
||||||
<view style="text-align: center;color:#606266">
|
<view style="text-align: center;color:#606266">
|
||||||
<rich-text :nodes="updateVersion.modalContent"></rich-text>
|
<rich-text :nodes="updateVersion.modalContent"></rich-text>
|
||||||
</view>
|
</view>
|
||||||
</u-modal>
|
</u-modal>
|
||||||
<u-modal :show="isPromiseUnsigned" title="温馨提示" @confirm="promiseUnsignedModalConfirm">
|
<u-modal :show="isPromiseUnsigned" title="温馨提示" @confirm="promiseUnsignedModalConfirm">
|
||||||
<view>有未签署的安全承诺,点击确认前往签署</view>
|
<view>有未签署的安全承诺,点击确认前往签署</view>
|
||||||
</u-modal>
|
</u-modal>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import updateVersion from "../../utils/updateVersion";
|
import updateVersion from "../../utils/updateVersion";
|
||||||
import {getPromiseUnsigned} from "../../api";
|
import {
|
||||||
export default {
|
getPromiseUnsigned
|
||||||
mixins:[updateVersion],
|
} from "../../api";
|
||||||
data() {
|
export default {
|
||||||
return {
|
mixins: [updateVersion],
|
||||||
baseList: [
|
data() {
|
||||||
{
|
return {
|
||||||
img: require('../../static/icon-apps/home-fgsxxgl.png'),
|
baseList: [{
|
||||||
title: '分公司信息管理',
|
img: require('../../static/icon-apps/home-fgsxxgl.png'),
|
||||||
url: '/pages/branch-information-management/index/index'
|
title: '分公司信息管理',
|
||||||
},
|
url: '/pages/branch-information-management/index/index'
|
||||||
{
|
},
|
||||||
img: require('../../static/icon-apps/home-fxfjgk.png'),
|
{
|
||||||
title: '风险分级管控',
|
img: require('../../static/icon-apps/home-fxfjgk.png'),
|
||||||
url: '/pages/risk-level-control/index/index'
|
title: '风险分级管控',
|
||||||
},
|
url: '/pages/risk-level-control/index/index'
|
||||||
{
|
},
|
||||||
img: require('../../static/icon-apps/home-fgszczb.png'),
|
{
|
||||||
title: '分公司自查自报',
|
img: require('../../static/icon-apps/home-fgszczb.png'),
|
||||||
url: '/pages/branch-self-report/index/index'
|
title: '分公司自查自报',
|
||||||
},
|
url: '/pages/branch-self-report/index/index'
|
||||||
{
|
},
|
||||||
img: require('../../static/icon-apps/home-ybyhgl.png'),
|
{
|
||||||
title: '一般隐患管理',
|
img: require('../../static/icon-apps/home-ybyhgl.png'),
|
||||||
url: '/pages/general-hidden-management/index/index'
|
title: '一般隐患管理',
|
||||||
},
|
url: '/pages/general-hidden-management/index/index'
|
||||||
{
|
},
|
||||||
img: require('../../static/icon-apps/home-zdyhgl.png'),
|
{
|
||||||
title: '较大及重大隐患管理',
|
img: require('../../static/icon-apps/home-zdyhgl.png'),
|
||||||
url: '/pages/larger-major-hidden-management/index/index'
|
title: '较大及重大隐患管理',
|
||||||
},
|
url: '/pages/larger-major-hidden-management/index/index'
|
||||||
{
|
},
|
||||||
img: require('../../static/icon-apps/home-aqhbjc.png'),
|
{
|
||||||
title: '安全环保检查',
|
img: require('../../static/icon-apps/home-aqhbjc.png'),
|
||||||
url: '/pages/safety-environmental-inspection/index/index'
|
title: '安全环保检查',
|
||||||
},
|
url: '/pages/safety-environmental-inspection/index/index'
|
||||||
{
|
},
|
||||||
img: require('../../static/icon-apps/home-tjfxkp.png'),
|
{
|
||||||
title: '特级动火审批',
|
img: require('../../static/icon-apps/home-tjfxkp.png'),
|
||||||
url: '/pages/super-hot/index/index'
|
title: '特级动火审批',
|
||||||
},
|
url: '/pages/super-hot/index/index'
|
||||||
{
|
},
|
||||||
img: require('../../static/icon-apps/home-zdgcgl.png'),
|
{
|
||||||
title: '重点工程管理',
|
img: require('../../static/icon-apps/home-zdgcgl.png'),
|
||||||
url: '/pages/key-project-management/index/index'
|
title: '重点工程管理',
|
||||||
},
|
url: '/pages/key-project-management/key-project-out/list',
|
||||||
{
|
// url: '/pages/key-project-management/index/index'
|
||||||
img: require('../../static/icon-apps/home-znx.png'),
|
},
|
||||||
title: '秦港站内信',
|
{
|
||||||
url: '/pages/information/index/index'
|
img: require('../../static/icon-apps/home-znx.png'),
|
||||||
},
|
title: '秦港站内信',
|
||||||
],
|
url: '/pages/information/index/index'
|
||||||
isPromiseUnsigned: false
|
},
|
||||||
}
|
],
|
||||||
},
|
isPromiseUnsigned: false
|
||||||
onShow() {
|
}
|
||||||
this.fnGetPromiseUnsigned()
|
},
|
||||||
},
|
onShow() {
|
||||||
onLoad() {
|
this.fnGetPromiseUnsigned()
|
||||||
console.info(this.$store.state.filePath)
|
},
|
||||||
this.fnUpdateVersion()
|
onLoad() {
|
||||||
},
|
console.info(this.$store.state.filePath)
|
||||||
computed: {
|
this.fnUpdateVersion()
|
||||||
userInfo() {
|
},
|
||||||
return this.$store.getters.getUserInfo
|
computed: {
|
||||||
}
|
userInfo() {
|
||||||
},
|
return this.$store.getters.getUserInfo
|
||||||
// mounted() {
|
}
|
||||||
// this.loginUser = loginUser;
|
},
|
||||||
// if(this.loginUser.USERNAME){
|
// mounted() {
|
||||||
// this.getUserInfo();
|
// this.loginUser = loginUser;
|
||||||
// }
|
// if(this.loginUser.USERNAME){
|
||||||
// },
|
// this.getUserInfo();
|
||||||
methods: {
|
// }
|
||||||
|
// },
|
||||||
|
methods: {
|
||||||
|
|
||||||
|
|
||||||
// getUserInfo(){
|
// getUserInfo(){
|
||||||
// var _this = this;
|
// var _this = this;
|
||||||
// uni.request({
|
// uni.request({
|
||||||
// url: basePath+"/app/user/getUserPhoto", //提交接口
|
// url: basePath+"/app/user/getUserPhoto", //提交接口
|
||||||
// method: 'POST',
|
// method: 'POST',
|
||||||
// dataType:'json',
|
// dataType:'json',
|
||||||
// header:{
|
// header:{
|
||||||
// 'Content-type':'application/x-www-form-urlencoded'
|
// 'Content-type':'application/x-www-form-urlencoded'
|
||||||
// },
|
// },
|
||||||
// data: {
|
// data: {
|
||||||
// USERNAME:this.loginUser.USERNAME,
|
// USERNAME:this.loginUser.USERNAME,
|
||||||
// },
|
// },
|
||||||
// success: (res) => {
|
// success: (res) => {
|
||||||
// if('success' == res.data.result){
|
// if('success' == res.data.result){
|
||||||
// _this.userPhoto =basePath +"/"+ res.data.userPhoto;
|
// _this.userPhoto =basePath +"/"+ res.data.userPhoto;
|
||||||
// }else{
|
// }else{
|
||||||
// uni.showToast({
|
// uni.showToast({
|
||||||
// title: res.data.message,
|
// title: res.data.message,
|
||||||
// duration: 2000
|
// duration: 2000
|
||||||
// });
|
// });
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
// });
|
// });
|
||||||
// },
|
// },
|
||||||
async fnGetPromiseUnsigned() {
|
async fnGetPromiseUnsigned() {
|
||||||
let resData = await getPromiseUnsigned({
|
let resData = await getPromiseUnsigned({
|
||||||
USER_ID: this.userInfo.USER_ID
|
USER_ID: this.userInfo.USER_ID
|
||||||
})
|
})
|
||||||
if (resData.ISSIGN === 1) {
|
if (resData.ISSIGN === 1) {
|
||||||
uni.hideTabBar({
|
uni.hideTabBar({
|
||||||
animation: true
|
animation: true
|
||||||
})
|
})
|
||||||
this.isPromiseUnsigned = true
|
this.isPromiseUnsigned = true
|
||||||
} else {
|
} else {
|
||||||
uni.showTabBar({
|
uni.showTabBar({
|
||||||
animation: true
|
animation: true
|
||||||
})
|
})
|
||||||
this.isPromiseUnsigned = false
|
this.isPromiseUnsigned = false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
fnNavigator(e) {
|
fnNavigator(e) {
|
||||||
if (e === 8) {
|
if (e === 8) {
|
||||||
uni.$u.route({
|
uni.$u.route({
|
||||||
url: this.baseList[e].url,
|
url: this.baseList[e].url,
|
||||||
type: 'switchTab'
|
type: 'switchTab'
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
uni.$u.route({
|
uni.$u.route({
|
||||||
url: this.baseList[e].url
|
url: this.baseList[e].url
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
promiseUnsignedModalConfirm() {
|
promiseUnsignedModalConfirm() {
|
||||||
uni.$u.route({
|
uni.$u.route({
|
||||||
url: '/pages/mine/promise/sign',
|
url: '/pages/mine/promise/sign',
|
||||||
type: 'reLaunch'
|
type: 'reLaunch'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.page {
|
.page {
|
||||||
background-color: #f7f9ff;
|
background-color: #f7f9ff;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
.about-infoer{
|
.about-infoer {
|
||||||
width: 100%;
|
|
||||||
position: relative;
|
|
||||||
padding: 20rpx;
|
|
||||||
box-sizing: border-box;
|
|
||||||
margin-top: -130rpx;
|
|
||||||
|
|
||||||
.about-info{
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background: #ffffff;
|
position: relative;
|
||||||
padding: 20rpx;
|
padding: 20rpx;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
border-radius: 10rpx;
|
margin-top: -130rpx;
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
.about-info {
|
||||||
|
width: 100%;
|
||||||
|
background: #ffffff;
|
||||||
|
padding: 20rpx;
|
||||||
|
box-sizing: border-box;
|
||||||
|
border-radius: 10rpx;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
|
|
||||||
.about-info-main-tx{
|
.about-info-main-tx {
|
||||||
width: 100rpx;
|
width: 100rpx;
|
||||||
height: 100rpx;
|
height: 100rpx;
|
||||||
background: #ccc;
|
background: #ccc;
|
||||||
border-radius: 100%;
|
border-radius: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.about-info-text{
|
.about-info-text {
|
||||||
margin-left: 20rpx;
|
margin-left: 20rpx;
|
||||||
|
|
||||||
.title{ font-size: 32rpx; font-weight: bold;}
|
.title {
|
||||||
|
font-size: 32rpx;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
.phone{ color: #999999; font-size: 26rpx;}
|
.phone {
|
||||||
|
color: #999999;
|
||||||
|
font-size: 26rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -129,6 +129,7 @@ export default {
|
||||||
{name: '已验收隐患', id: '2'}
|
{name: '已验收隐患', id: '2'}
|
||||||
],
|
],
|
||||||
tabsType: '1',
|
tabsType: '1',
|
||||||
|
CORPINFO_ID: '',
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
currentPage: 1,
|
currentPage: 1,
|
||||||
totalPage: 0,
|
totalPage: 0,
|
||||||
|
@ -165,6 +166,9 @@ export default {
|
||||||
onShow() {
|
onShow() {
|
||||||
this.resetList()
|
this.resetList()
|
||||||
},
|
},
|
||||||
|
onLoad() {
|
||||||
|
this.CORPINFO_ID = this.$route.query.CORPINFO_ID
|
||||||
|
},
|
||||||
computed: {
|
computed: {
|
||||||
userInfo() {
|
userInfo() {
|
||||||
return this.$store.getters.getUserInfo
|
return this.$store.getters.getUserInfo
|
||||||
|
@ -176,6 +180,7 @@ export default {
|
||||||
showCount: this.pageSize,
|
showCount: this.pageSize,
|
||||||
currentPage: this.currentPage,
|
currentPage: this.currentPage,
|
||||||
CREATOR: this.userInfo.USER_ID,
|
CREATOR: this.userInfo.USER_ID,
|
||||||
|
CORPINFO_ID: this.CORPINFO_ID,
|
||||||
ISCHECK: this.tabsType
|
ISCHECK: this.tabsType
|
||||||
});
|
});
|
||||||
this.list = [...this.list,...resData.varList];
|
this.list = [...this.list,...resData.varList];
|
||||||
|
|
|
@ -1,68 +1,76 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="content">
|
<view class="content">
|
||||||
<u-cell-group>
|
<u-cell-group>
|
||||||
<u-cell v-for="(item,index) in baseList" :key="index" isLink :url="item.url">
|
<u-cell v-for="(item,index) in baseList" :key="index" isLink :url="item.url">
|
||||||
<view slot="title">{{ item.title }}</view>
|
<view slot="title">{{ item.title }}</view>
|
||||||
<view slot="value">
|
<view slot="value">
|
||||||
<u-badge :value="item.NUM"></u-badge></view>
|
<u-badge :value="item.NUM"></u-badge>
|
||||||
</u-cell>
|
</view>
|
||||||
</u-cell-group>
|
</u-cell>
|
||||||
</view>
|
</u-cell-group>
|
||||||
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
getkeyprojectcount,
|
getkeyprojectcount,
|
||||||
} from "../../../api";
|
} from "../../../api";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
count : {},
|
count: {},
|
||||||
baseList: []
|
CORPINFO_ID: '',
|
||||||
}
|
baseList: []
|
||||||
},
|
}
|
||||||
onShow(event) {
|
},
|
||||||
this.baseList = [
|
onLoad() {
|
||||||
{
|
this.CORPINFO_ID = this.$route.query.CORPINFO_ID
|
||||||
title: '安全环保检查管理',
|
},
|
||||||
url: '/pages/key-project-management/safety-environmental-inspection/list',
|
onShow(event) {
|
||||||
},
|
|
||||||
{
|
this.baseList = [{
|
||||||
title: '隐患管理',
|
title: '安全环保检查管理',
|
||||||
url: '/pages/key-project-management/hidden-management/list',
|
url: '/pages/key-project-management/safety-environmental-inspection/list'+ '?CORPINFO_ID='+this.CORPINFO_ID,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '处罚管理',
|
title: '隐患管理',
|
||||||
url: '/pages/key-project-management/penalty-management/list',
|
url: '/pages/key-project-management/hidden-management/list'+'?CORPINFO_ID='+this.CORPINFO_ID,
|
||||||
},
|
},
|
||||||
// {
|
{
|
||||||
// title: 'AI报警处置',
|
title: '处罚管理',
|
||||||
// url: '/pages/key-project-management/AI-warning/list',
|
url: '/pages/key-project-management/penalty-management/list'+'?CORPINFO_ID='+this.CORPINFO_ID,
|
||||||
// },
|
},
|
||||||
]
|
// {
|
||||||
this.getData();
|
// title: 'AI报警处置',
|
||||||
},
|
// url: '/pages/key-project-management/AI-warning/list',
|
||||||
computed: {
|
// },
|
||||||
userInfo() {
|
]
|
||||||
return this.$store.getters.getUserInfo
|
this.getData();
|
||||||
}
|
},
|
||||||
},
|
computed: {
|
||||||
methods: {
|
userInfo() {
|
||||||
fnNavigator(e) {
|
return this.$store.getters.getUserInfo
|
||||||
uni.$u.route({
|
}
|
||||||
url: this.baseList[e].url
|
},
|
||||||
})
|
methods: {
|
||||||
},
|
fnNavigator(e) {
|
||||||
async getData() {
|
console.log(this.CORPINFO_ID)
|
||||||
let resData = await getkeyprojectcount({
|
uni.$u.route({
|
||||||
loginUserId: this.userInfo.USER_ID,
|
url: this.baseList[e].url+'?CORPINFO_ID'+this.CORPINFO_ID
|
||||||
})
|
|
||||||
this.$set(this.baseList[1], 'NUM', resData.pd.HIDDEN_COUNT)
|
})
|
||||||
this.$set(this.baseList[2], 'NUM', resData.pd.CF_COUNT)
|
},
|
||||||
}
|
async getData() {
|
||||||
},
|
let resData = await getkeyprojectcount({
|
||||||
}
|
loginUserId: this.userInfo.USER_ID,
|
||||||
|
CORPINFO_ID: this.CORPINFO_ID
|
||||||
|
})
|
||||||
|
this.$set(this.baseList[1], 'NUM', resData.pd.HIDDEN_COUNT)
|
||||||
|
this.$set(this.baseList[2], 'NUM', resData.pd.CF_COUNT)
|
||||||
|
}
|
||||||
|
},
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
|
|
@ -119,6 +119,7 @@ export default {
|
||||||
RECTIFICATIONDEPT_NAME: '',
|
RECTIFICATIONDEPT_NAME: '',
|
||||||
RECTIFICATIONOR_NAME: '',
|
RECTIFICATIONOR_NAME: '',
|
||||||
REASON: '',
|
REASON: '',
|
||||||
|
CORPINFO_ID: '',
|
||||||
AMOUT: '',
|
AMOUT: '',
|
||||||
DATE: uni.$u.timeFormat(new Date(), 'yyyy-mm-dd hh:MM'),
|
DATE: uni.$u.timeFormat(new Date(), 'yyyy-mm-dd hh:MM'),
|
||||||
},
|
},
|
||||||
|
@ -128,6 +129,9 @@ export default {
|
||||||
onShow() {
|
onShow() {
|
||||||
this.resetList()
|
this.resetList()
|
||||||
},
|
},
|
||||||
|
onLoad() {
|
||||||
|
this.CORPINFO_ID = this.$route.query.CORPINFO_ID
|
||||||
|
},
|
||||||
computed: {
|
computed: {
|
||||||
userInfo() {
|
userInfo() {
|
||||||
return this.$store.getters.getUserInfo
|
return this.$store.getters.getUserInfo
|
||||||
|
@ -138,6 +142,7 @@ export default {
|
||||||
let resData = await getKeyProjectsPunishList({
|
let resData = await getKeyProjectsPunishList({
|
||||||
showCount: this.pageSize,
|
showCount: this.pageSize,
|
||||||
currentPage: this.currentPage,
|
currentPage: this.currentPage,
|
||||||
|
CORPINFO_ID: this.CORPINFO_ID,
|
||||||
HANDLED: this.tabsType,
|
HANDLED: this.tabsType,
|
||||||
loginUserId: this.userInfo.USER_ID
|
loginUserId: this.userInfo.USER_ID
|
||||||
});
|
});
|
||||||
|
|
|
@ -59,12 +59,16 @@ export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
KEYWORDS: '',
|
KEYWORDS: '',
|
||||||
|
CORPINFO_ID: '',
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
currentPage: 1,
|
currentPage: 1,
|
||||||
totalPage: 0,
|
totalPage: 0,
|
||||||
list: [],
|
list: [],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
onLoad() {
|
||||||
|
this.CORPINFO_ID = this.$route.query.CORPINFO_ID
|
||||||
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
this.resetList()
|
this.resetList()
|
||||||
},
|
},
|
||||||
|
@ -79,6 +83,7 @@ export default {
|
||||||
KEYWORDS: this.KEYWORDS,
|
KEYWORDS: this.KEYWORDS,
|
||||||
showCount: this.pageSize,
|
showCount: this.pageSize,
|
||||||
currentPage: this.currentPage,
|
currentPage: this.currentPage,
|
||||||
|
CORPINFO_ID: this.CORPINFO_ID,
|
||||||
UserId: this.userInfo.USER_ID,
|
UserId: this.userInfo.USER_ID,
|
||||||
STATE:'1'
|
STATE:'1'
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue