手机端同步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": {
|
||||||
|
|
|
@ -111,8 +111,8 @@
|
||||||
<!-- ------ 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>
|
||||||
|
@ -125,13 +125,14 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import updateVersion from "../../utils/updateVersion";
|
import updateVersion from "../../utils/updateVersion";
|
||||||
import {getPromiseUnsigned} from "../../api";
|
import {
|
||||||
|
getPromiseUnsigned
|
||||||
|
} from "../../api";
|
||||||
export default {
|
export default {
|
||||||
mixins: [updateVersion],
|
mixins: [updateVersion],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
baseList: [
|
baseList: [{
|
||||||
{
|
|
||||||
img: require('../../static/icon-apps/home-fgsxxgl.png'),
|
img: require('../../static/icon-apps/home-fgsxxgl.png'),
|
||||||
title: '分公司信息管理',
|
title: '分公司信息管理',
|
||||||
url: '/pages/branch-information-management/index/index'
|
url: '/pages/branch-information-management/index/index'
|
||||||
|
@ -169,7 +170,8 @@ export default {
|
||||||
{
|
{
|
||||||
img: require('../../static/icon-apps/home-zdgcgl.png'),
|
img: require('../../static/icon-apps/home-zdgcgl.png'),
|
||||||
title: '重点工程管理',
|
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'),
|
img: require('../../static/icon-apps/home-znx.png'),
|
||||||
|
@ -296,13 +298,18 @@ export default {
|
||||||
.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];
|
||||||
|
|
|
@ -4,7 +4,8 @@
|
||||||
<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>
|
||||||
|
</view>
|
||||||
</u-cell>
|
</u-cell>
|
||||||
</u-cell-group>
|
</u-cell-group>
|
||||||
</view>
|
</view>
|
||||||
|
@ -19,22 +20,26 @@ export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
count: {},
|
count: {},
|
||||||
|
CORPINFO_ID: '',
|
||||||
baseList: []
|
baseList: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
onLoad() {
|
||||||
|
this.CORPINFO_ID = this.$route.query.CORPINFO_ID
|
||||||
|
},
|
||||||
onShow(event) {
|
onShow(event) {
|
||||||
this.baseList = [
|
|
||||||
{
|
this.baseList = [{
|
||||||
title: '安全环保检查管理',
|
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: '隐患管理',
|
title: '隐患管理',
|
||||||
url: '/pages/key-project-management/hidden-management/list',
|
url: '/pages/key-project-management/hidden-management/list'+'?CORPINFO_ID='+this.CORPINFO_ID,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '处罚管理',
|
title: '处罚管理',
|
||||||
url: '/pages/key-project-management/penalty-management/list',
|
url: '/pages/key-project-management/penalty-management/list'+'?CORPINFO_ID='+this.CORPINFO_ID,
|
||||||
},
|
},
|
||||||
// {
|
// {
|
||||||
// title: 'AI报警处置',
|
// title: 'AI报警处置',
|
||||||
|
@ -50,13 +55,16 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
fnNavigator(e) {
|
fnNavigator(e) {
|
||||||
|
console.log(this.CORPINFO_ID)
|
||||||
uni.$u.route({
|
uni.$u.route({
|
||||||
url: this.baseList[e].url
|
url: this.baseList[e].url+'?CORPINFO_ID'+this.CORPINFO_ID
|
||||||
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
async getData() {
|
async getData() {
|
||||||
let resData = await getkeyprojectcount({
|
let resData = await getkeyprojectcount({
|
||||||
loginUserId: this.userInfo.USER_ID,
|
loginUserId: this.userInfo.USER_ID,
|
||||||
|
CORPINFO_ID: this.CORPINFO_ID
|
||||||
})
|
})
|
||||||
this.$set(this.baseList[1], 'NUM', resData.pd.HIDDEN_COUNT)
|
this.$set(this.baseList[1], 'NUM', resData.pd.HIDDEN_COUNT)
|
||||||
this.$set(this.baseList[2], 'NUM', resData.pd.CF_COUNT)
|
this.$set(this.baseList[2], 'NUM', resData.pd.CF_COUNT)
|
||||||
|
|
|
@ -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