手机端同步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 getSafetyenvironmentalExplain = (params) => post("/app/safetyenvironmental/getExplain", 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 getKeyProjectsListAllUnits = (params) => post("/app/keyProjects/listAllUnits", params) //获取重点工程管理被检查项目检查被检查单位
|
||||
export const getKeyProjectsListAllPersonnel = (params) => post("/app/keyProjects/listAllPersonnel", params) //获取重点工程管理被检查项目检查被检查人
|
||||
|
|
|
@ -536,6 +536,12 @@
|
|||
"navigationBarTitleText": "重点工程管理"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/key-project-management/key-project-out/list",
|
||||
"style": {
|
||||
"navigationBarTitleText": "重点工程"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/key-project-management/safety-environmental-inspection/list",
|
||||
"style": {
|
||||
|
|
|
@ -111,8 +111,8 @@
|
|||
<!-- ------ END -------->
|
||||
<!-- </view>-->
|
||||
<u-modal :show="updateVersion.modalShow" title="温馨提示" :showConfirmButton="updateVersion.showConfirmButton"
|
||||
:showCancelButton="updateVersion.showCancelButton" :confirmText="updateVersion.confirmText" :cancelText="updateVersion.cancelText"
|
||||
@cancel="modalCancel" @confirm="modalConfirm">
|
||||
:showCancelButton="updateVersion.showCancelButton" :confirmText="updateVersion.confirmText"
|
||||
:cancelText="updateVersion.cancelText" @cancel="modalCancel" @confirm="modalConfirm">
|
||||
<view style="text-align: center;color:#606266">
|
||||
<rich-text :nodes="updateVersion.modalContent"></rich-text>
|
||||
</view>
|
||||
|
@ -125,13 +125,14 @@
|
|||
|
||||
<script>
|
||||
import updateVersion from "../../utils/updateVersion";
|
||||
import {getPromiseUnsigned} from "../../api";
|
||||
import {
|
||||
getPromiseUnsigned
|
||||
} from "../../api";
|
||||
export default {
|
||||
mixins: [updateVersion],
|
||||
data() {
|
||||
return {
|
||||
baseList: [
|
||||
{
|
||||
baseList: [{
|
||||
img: require('../../static/icon-apps/home-fgsxxgl.png'),
|
||||
title: '分公司信息管理',
|
||||
url: '/pages/branch-information-management/index/index'
|
||||
|
@ -169,7 +170,8 @@ export default {
|
|||
{
|
||||
img: require('../../static/icon-apps/home-zdgcgl.png'),
|
||||
title: '重点工程管理',
|
||||
url: '/pages/key-project-management/index/index'
|
||||
url: '/pages/key-project-management/key-project-out/list',
|
||||
// url: '/pages/key-project-management/index/index'
|
||||
},
|
||||
{
|
||||
img: require('../../static/icon-apps/home-znx.png'),
|
||||
|
@ -296,13 +298,18 @@ export default {
|
|||
.about-info-text {
|
||||
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>
|
||||
|
|
|
@ -129,6 +129,7 @@ export default {
|
|||
{name: '已验收隐患', id: '2'}
|
||||
],
|
||||
tabsType: '1',
|
||||
CORPINFO_ID: '',
|
||||
pageSize: 10,
|
||||
currentPage: 1,
|
||||
totalPage: 0,
|
||||
|
@ -165,6 +166,9 @@ export default {
|
|||
onShow() {
|
||||
this.resetList()
|
||||
},
|
||||
onLoad() {
|
||||
this.CORPINFO_ID = this.$route.query.CORPINFO_ID
|
||||
},
|
||||
computed: {
|
||||
userInfo() {
|
||||
return this.$store.getters.getUserInfo
|
||||
|
@ -176,6 +180,7 @@ export default {
|
|||
showCount: this.pageSize,
|
||||
currentPage: this.currentPage,
|
||||
CREATOR: this.userInfo.USER_ID,
|
||||
CORPINFO_ID: this.CORPINFO_ID,
|
||||
ISCHECK: this.tabsType
|
||||
});
|
||||
this.list = [...this.list,...resData.varList];
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
<u-cell v-for="(item,index) in baseList" :key="index" isLink :url="item.url">
|
||||
<view slot="title">{{ item.title }}</view>
|
||||
<view slot="value">
|
||||
<u-badge :value="item.NUM"></u-badge></view>
|
||||
<u-badge :value="item.NUM"></u-badge>
|
||||
</view>
|
||||
</u-cell>
|
||||
</u-cell-group>
|
||||
</view>
|
||||
|
@ -19,22 +20,26 @@ export default {
|
|||
data() {
|
||||
return {
|
||||
count: {},
|
||||
CORPINFO_ID: '',
|
||||
baseList: []
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
this.CORPINFO_ID = this.$route.query.CORPINFO_ID
|
||||
},
|
||||
onShow(event) {
|
||||
this.baseList = [
|
||||
{
|
||||
|
||||
this.baseList = [{
|
||||
title: '安全环保检查管理',
|
||||
url: '/pages/key-project-management/safety-environmental-inspection/list',
|
||||
url: '/pages/key-project-management/safety-environmental-inspection/list'+ '?CORPINFO_ID='+this.CORPINFO_ID,
|
||||
},
|
||||
{
|
||||
title: '隐患管理',
|
||||
url: '/pages/key-project-management/hidden-management/list',
|
||||
url: '/pages/key-project-management/hidden-management/list'+'?CORPINFO_ID='+this.CORPINFO_ID,
|
||||
},
|
||||
{
|
||||
title: '处罚管理',
|
||||
url: '/pages/key-project-management/penalty-management/list',
|
||||
url: '/pages/key-project-management/penalty-management/list'+'?CORPINFO_ID='+this.CORPINFO_ID,
|
||||
},
|
||||
// {
|
||||
// title: 'AI报警处置',
|
||||
|
@ -50,13 +55,16 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
fnNavigator(e) {
|
||||
console.log(this.CORPINFO_ID)
|
||||
uni.$u.route({
|
||||
url: this.baseList[e].url
|
||||
url: this.baseList[e].url+'?CORPINFO_ID'+this.CORPINFO_ID
|
||||
|
||||
})
|
||||
},
|
||||
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)
|
||||
|
|
|
@ -119,6 +119,7 @@ export default {
|
|||
RECTIFICATIONDEPT_NAME: '',
|
||||
RECTIFICATIONOR_NAME: '',
|
||||
REASON: '',
|
||||
CORPINFO_ID: '',
|
||||
AMOUT: '',
|
||||
DATE: uni.$u.timeFormat(new Date(), 'yyyy-mm-dd hh:MM'),
|
||||
},
|
||||
|
@ -128,6 +129,9 @@ export default {
|
|||
onShow() {
|
||||
this.resetList()
|
||||
},
|
||||
onLoad() {
|
||||
this.CORPINFO_ID = this.$route.query.CORPINFO_ID
|
||||
},
|
||||
computed: {
|
||||
userInfo() {
|
||||
return this.$store.getters.getUserInfo
|
||||
|
@ -138,6 +142,7 @@ export default {
|
|||
let resData = await getKeyProjectsPunishList({
|
||||
showCount: this.pageSize,
|
||||
currentPage: this.currentPage,
|
||||
CORPINFO_ID: this.CORPINFO_ID,
|
||||
HANDLED: this.tabsType,
|
||||
loginUserId: this.userInfo.USER_ID
|
||||
});
|
||||
|
|
|
@ -59,12 +59,16 @@ export default {
|
|||
data() {
|
||||
return {
|
||||
KEYWORDS: '',
|
||||
CORPINFO_ID: '',
|
||||
pageSize: 10,
|
||||
currentPage: 1,
|
||||
totalPage: 0,
|
||||
list: [],
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
this.CORPINFO_ID = this.$route.query.CORPINFO_ID
|
||||
},
|
||||
onShow() {
|
||||
this.resetList()
|
||||
},
|
||||
|
@ -79,6 +83,7 @@ export default {
|
|||
KEYWORDS: this.KEYWORDS,
|
||||
showCount: this.pageSize,
|
||||
currentPage: this.currentPage,
|
||||
CORPINFO_ID: this.CORPINFO_ID,
|
||||
UserId: this.userInfo.USER_ID,
|
||||
STATE:'1'
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue