提交代码
parent
619e01eb25
commit
576a947282
|
@ -31,7 +31,8 @@
|
|||
"pages/measures/index",
|
||||
"pages/measures-Chakan/index",
|
||||
"pages/updatePassword/updatePassword",
|
||||
"pages/safety_manage/index"
|
||||
"pages/safety_manage/index",
|
||||
"pages/quality_manage/index"
|
||||
],
|
||||
"subpackages": [
|
||||
{
|
||||
|
|
|
@ -150,9 +150,15 @@ Page({
|
|||
|
||||
returnToPage: function () {
|
||||
/*关闭当前页面,跳转到应用内的某个页面。但是不允许跳转到 tabbar 页面*/
|
||||
if(wx.getStorageSync('nav-menu')=="gd"){
|
||||
wx.redirectTo({
|
||||
url: '../../../pages/gengduogongneng/gengduogongneng',
|
||||
})
|
||||
}else{
|
||||
wx.redirectTo({
|
||||
url: '../../../pages/quality_manage/index',
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
//项目切换 返回值
|
||||
|
|
|
@ -9,6 +9,7 @@ Page({
|
|||
deptId:"",
|
||||
loginName:"",
|
||||
userName:"",
|
||||
minRoleId:"",
|
||||
projectId:"",
|
||||
projectData:{},
|
||||
projectNameArgs:"",
|
||||
|
@ -50,11 +51,12 @@ Page({
|
|||
deptId:res.data.deptId,
|
||||
loginName:res.data.loginName,
|
||||
userName:res.data.userName,
|
||||
minRoleId:res.data.minRoleId,
|
||||
projectId:app.globalData.projectId,
|
||||
projectNameArgs:app.globalData.projectName,
|
||||
initData:{text:app.globalData.projectName,id:app.globalData.projectId}
|
||||
})
|
||||
this.getProjectCheckingData(app.globalData.projectId,res.data.loginName,res.data.deptId);
|
||||
this.getProjectCheckingData(app.globalData.projectId,res.data.loginName,res.data.deptId,res.data.minRoleId);
|
||||
}
|
||||
})
|
||||
},
|
||||
|
@ -62,8 +64,12 @@ Page({
|
|||
/**
|
||||
* 查询项目举牌验收数据
|
||||
*/
|
||||
getProjectCheckingData(projectId,loginName,deptId) {
|
||||
getProjectCheckingData(projectId,loginName,deptId,minRoleId) {
|
||||
var that = this;
|
||||
//判断角色,
|
||||
if(minRoleId==2||minRoleId==3||minRoleId==4){
|
||||
deptId=0;
|
||||
}
|
||||
wx.request({
|
||||
url: app.globalData.reqUrl + '/wechat/projectchecking/list',
|
||||
data: {
|
||||
|
@ -82,9 +88,15 @@ Page({
|
|||
|
||||
returnToPage: function () {
|
||||
/*关闭当前页面,跳转到应用内的某个页面。但是不允许跳转到 tabbar 页面*/
|
||||
if(wx.getStorageSync('nav-menu')=="gd"){
|
||||
wx.redirectTo({
|
||||
url: '../../../pages/gengduogongneng/gengduogongneng',
|
||||
})
|
||||
}else{
|
||||
wx.redirectTo({
|
||||
url: '../../../pages/quality_manage/index',
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
//项目切换 返回值
|
||||
|
|
|
@ -74,9 +74,15 @@ Page({
|
|||
|
||||
returnToPage: function () {
|
||||
/*关闭当前页面,跳转到应用内的某个页面。但是不允许跳转到 tabbar 页面*/
|
||||
if(wx.getStorageSync('nav-menu')=="gd"){
|
||||
wx.redirectTo({
|
||||
url: '../../../pages/gengduogongneng/gengduogongneng',
|
||||
})
|
||||
}else{
|
||||
wx.redirectTo({
|
||||
url: '../../../pages/quality_manage/index',
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
//项目切换 返回值
|
||||
|
|
|
@ -92,9 +92,15 @@ Page({
|
|||
|
||||
returnToPage: function () {
|
||||
/*关闭当前页面,跳转到应用内的某个页面。但是不允许跳转到 tabbar 页面*/
|
||||
if(wx.getStorageSync('nav-menu')=="gd"){
|
||||
wx.redirectTo({
|
||||
url: '../../../pages/gengduogongneng/gengduogongneng',
|
||||
})
|
||||
}else{
|
||||
wx.redirectTo({
|
||||
url: '../../../pages/quality_manage/index',
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
//项目切换 返回值
|
||||
|
|
|
@ -11,7 +11,6 @@ Page({
|
|||
projectId:'',
|
||||
projectName:'' ,
|
||||
loginName:'',
|
||||
userName:'',
|
||||
nickName:'',
|
||||
deptName:'',
|
||||
remark:'',
|
||||
|
@ -58,7 +57,6 @@ Page({
|
|||
roleName:res.data.roleName,
|
||||
remark:res.data.remark,
|
||||
loginName:res.data.loginName,
|
||||
userName:res.data.userName,
|
||||
nickName:res.data.nickName,
|
||||
deptName:res.data.deptName,
|
||||
projectId:app.globalData.projectId,
|
||||
|
@ -99,7 +97,7 @@ Page({
|
|||
success:function(res){
|
||||
wx.navigateToMiniProgram({
|
||||
appId: 'wxc44b5d588f599758',
|
||||
path: `pages/tabbar/order-new/index?type=0&szhUserId=${res.data.userId}&szhUserName=${res.data.userName}`
|
||||
path: `pages/tabbar/order-new/index?type=0&szhUserId=${res.data.userId}&szhUserName=${res.data.loginName}`
|
||||
})
|
||||
}
|
||||
})
|
||||
|
@ -144,43 +142,18 @@ Page({
|
|||
})
|
||||
},
|
||||
|
||||
//跳转到设备管理
|
||||
SBGL:function(){
|
||||
app.toast("敬请期待!");
|
||||
// wx.redirectTo({
|
||||
// url: '../shebieguanli-jxsb/shajiangguan',
|
||||
// })
|
||||
},
|
||||
|
||||
//跳转到人员管理
|
||||
RYGL:function(){
|
||||
app.toast("敬请期待!");
|
||||
// wx.redirectTo({
|
||||
// url: '../renyuanguanli/renyuanguanli'
|
||||
// })
|
||||
},
|
||||
|
||||
//跳转到安全管控
|
||||
JDGL:function(){
|
||||
app.toast("敬请期待!");
|
||||
// wx.redirectTo({
|
||||
// url:'../newAddPage/safetyManagement/index'
|
||||
// })
|
||||
},
|
||||
|
||||
//跳转到安全管理
|
||||
XMSP:function(){
|
||||
AQGL:function(){
|
||||
wx.redirectTo({
|
||||
url:'../safety_manage/index'
|
||||
})
|
||||
},
|
||||
|
||||
//跳转到质量管理
|
||||
ZLGL2:function(){
|
||||
app.toast("敬请期待!");
|
||||
// wx.redirectTo({
|
||||
// url:'../Quality-Assurance/index'
|
||||
// })
|
||||
ZLGL:function(){
|
||||
wx.redirectTo({
|
||||
url:'../quality_manage/index.js'
|
||||
})
|
||||
},
|
||||
//跳转到进度管理
|
||||
JDGL2:function(){
|
||||
|
@ -190,6 +163,7 @@ Page({
|
|||
// url:'../../pageage/Progress-management/index'
|
||||
// })
|
||||
},
|
||||
|
||||
//退出登录
|
||||
TCDL:function(){
|
||||
wx.clearStorageSync();
|
||||
|
@ -198,6 +172,7 @@ Page({
|
|||
url: '../login/login',
|
||||
})
|
||||
},
|
||||
|
||||
//修改密码
|
||||
XGMM:function(){
|
||||
wx.setStorageSync('nav-menu', "gd");
|
||||
|
@ -205,6 +180,7 @@ Page({
|
|||
url: '../updatePassword/updatePassword'
|
||||
})
|
||||
},
|
||||
|
||||
//返回到工程列表页面
|
||||
goGCLB:function(){
|
||||
wx.redirectTo({
|
||||
|
|
|
@ -112,8 +112,7 @@
|
|||
</view>
|
||||
|
||||
<van-tabbar active="{{ active }}" bind:change="onChange" active-color="#ffffff" inactive-color="#7d95d6">
|
||||
|
||||
<van-tabbar-item class="aaaaaaaaaaa" bindtap="XMGK">
|
||||
<van-tabbar-item bindtap="XMGK">
|
||||
<image
|
||||
slot="icon"
|
||||
src="/images/footer_5.png"
|
||||
|
@ -129,7 +128,7 @@
|
|||
项目概况
|
||||
</van-tabbar-item>
|
||||
|
||||
<van-tabbar-item bindtap="XMSP">
|
||||
<van-tabbar-item bindtap="AQGL">
|
||||
<image
|
||||
slot="icon"
|
||||
src="/images/footer_7.png"
|
||||
|
@ -145,7 +144,7 @@
|
|||
安全管理
|
||||
</van-tabbar-item>
|
||||
|
||||
<van-tabbar-item bindtap="ZLGL2">
|
||||
<van-tabbar-item bindtap="ZLGL">
|
||||
<image
|
||||
slot="icon"
|
||||
src="/images/footer_5.png"
|
||||
|
|
|
@ -0,0 +1,423 @@
|
|||
// pages/Quality-Assurance/index.js
|
||||
const app = getApp()
|
||||
|
||||
Page({
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
active:2,
|
||||
initData: {},
|
||||
projectData:{},
|
||||
projectId: '',
|
||||
projectName: '',
|
||||
loginName:"",
|
||||
nickName:"",
|
||||
deptId:"",
|
||||
deptName:"",
|
||||
measureStatistics:[{ name: "其它", value: 0, prop: 0}],
|
||||
securityCheck: {
|
||||
routineRectificationRate: 0, //常规整改率
|
||||
routineProblemTotal: 0,//常规问题总数
|
||||
routineCheckNumber: 0,//常规检查次数
|
||||
specialRectificationRate: 0, //专项整改率
|
||||
specialProblemTotal: 0,//专项问题总数
|
||||
specialCheckNumber: 0,//专项检查次数
|
||||
},
|
||||
checkDetectionData:{
|
||||
type1Value:0,
|
||||
type1PassRate:100,
|
||||
type2Value:0,
|
||||
type2PassRate:100,
|
||||
type3Value:0,
|
||||
type3PassRate:100,
|
||||
type4Value:0,
|
||||
type4PassRate:100,
|
||||
},
|
||||
//举牌验收
|
||||
checkValue:0,
|
||||
checkPassRate:100,
|
||||
materialSealStatistics:[{ name: "其它", value: 0, prop: 0}]
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad(options) {
|
||||
//获取缓存数据
|
||||
wx.getStorage({
|
||||
key: 'userinfo',
|
||||
success:res=>{
|
||||
this.setData({
|
||||
loginName:res.data.loginName,
|
||||
nickName:res.data.nickName,
|
||||
projectId:app.globalData.projectId,
|
||||
projectNameArgs:app.globalData.projectName,
|
||||
initData:{text:app.globalData.projectName,id:app.globalData.projectId}
|
||||
})
|
||||
this.selectMenuList(res.data.loginName);
|
||||
this.initPage(app.globalData.projectId)
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
selectMenuList:function(loginName){
|
||||
var that = this;
|
||||
wx.request({
|
||||
url: app.globalData.reqUrl+'/wechat/selectRoleMenuList',
|
||||
data:{
|
||||
username:loginName,
|
||||
type:"zl"
|
||||
},
|
||||
method:"get",
|
||||
success:function(res){
|
||||
res=res.data;
|
||||
if(res.code =='200'){
|
||||
that.setData({
|
||||
menuList:res.data
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
//初始化页面
|
||||
initPage(projectId){
|
||||
this.getMeasureData(projectId);
|
||||
this.getQualityCheck(projectId);
|
||||
this.getCheckDetectionData(projectId);
|
||||
this.getMaterialSealData(projectId);
|
||||
this.getCheckingData(projectId);
|
||||
},
|
||||
|
||||
/**
|
||||
* 实测实量数据
|
||||
*/
|
||||
getMeasureData(projectId) {
|
||||
wx.request({
|
||||
url: app.globalData.reqUrl + '/wechat/projectMeasure/selectGroupCountByProjectId',
|
||||
data:{projectId:projectId},
|
||||
method:"get",
|
||||
success: res => {
|
||||
res = res.data;
|
||||
if(res.code == 200 && res.data){
|
||||
let sum=0;
|
||||
res.data.forEach((it,idx)=>{
|
||||
sum+=it.total;
|
||||
});
|
||||
let measureStatistics=[];
|
||||
res.data.forEach((it,idx)=>{
|
||||
measureStatistics.push({ name: it.measureTypeName, value: it.total, prop: (it.total / sum * 100).toFixed(2)});
|
||||
});
|
||||
//数据绑定
|
||||
this.setData({
|
||||
measureStatistics
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
* 获取质量检查数据
|
||||
*/
|
||||
getQualityCheck(projectId) {
|
||||
wx.request({
|
||||
url: app.globalData.reqUrl + '/wechat/projectProblemmodify/selectGroupCountByProjectId',
|
||||
data:{projectId:projectId,infoType:"1"},
|
||||
method:"get",
|
||||
success: res => {
|
||||
res = res.data;
|
||||
if(res.code == 200){
|
||||
//数据绑定
|
||||
res.data.forEach((it,idx)=>{
|
||||
if(it.problemType=="1"){
|
||||
this.setData({
|
||||
"securityCheck.routineRectificationRate": (it.comTotal / it.total * 100).toFixed(2),
|
||||
"securityCheck.routineProblemTotal": it.comTotal,
|
||||
"securityCheck.routineCheckNumber": it.total
|
||||
})
|
||||
}else{
|
||||
this.setData({
|
||||
"securityCheck.specialRectificationRate": (it.comTotal / it.total * 100).toFixed(2),
|
||||
"securityCheck.specialProblemTotal": it.comTotal,
|
||||
"securityCheck.specialCheckNumber": it.total,
|
||||
})
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
//取样复试数据
|
||||
getCheckDetectionData(projectId){
|
||||
wx.request({
|
||||
url: app.globalData.reqUrl + '/wechat/projectDetection/selectGroupCountByProjectId',
|
||||
data:{projectId:projectId},
|
||||
method:"get",
|
||||
success: res => {
|
||||
res = res.data;
|
||||
if(res.code == 200 && res.data){
|
||||
//数据绑定
|
||||
res.data.forEach((it,idx)=>{
|
||||
if(it.checkType=="1"){
|
||||
this.setData({
|
||||
"checkDetectionData.type1Value": it.total,
|
||||
"checkDetectionData.type1PassRate": (it.passTotal / it.checkTotal * 100).toFixed(2)
|
||||
});
|
||||
}else if(it.checkType=="2"){
|
||||
this.setData({
|
||||
"checkDetectionData.type2Value": it.total,
|
||||
"checkDetectionData.type2PassRate": (it.passTotal / it.checkTotal * 100).toFixed(2)
|
||||
});
|
||||
}else if(it.checkType=="3"){
|
||||
this.setData({
|
||||
"checkDetectionData.type3Value": it.total,
|
||||
"checkDetectionData.type3PassRate": (it.passTotal / it.checkTotal * 100).toFixed(2)
|
||||
});
|
||||
}else{
|
||||
this.setData({
|
||||
"checkDetectionData.type4Value": it.total,
|
||||
"checkDetectionData.type4PassRate": (it.passTotal / it.checkTotal * 100).toFixed(2)
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
* 材料封样数据
|
||||
*/
|
||||
getMaterialSealData(projectId) {
|
||||
wx.request({
|
||||
url: app.globalData.reqUrl + '/wechat/projectMaterialSeal/selectGroupCountByProjectId',
|
||||
data:{projectId:projectId},
|
||||
method:"get",
|
||||
success: res => {
|
||||
res = res.data;
|
||||
if(res.code == 200 && res.data){
|
||||
let sum=0;
|
||||
res.data.forEach((it,idx)=>{
|
||||
sum+=it.total;
|
||||
});
|
||||
let materialSealStatistics=[];
|
||||
res.data.forEach((it,idx)=>{
|
||||
let typeName = it.type;
|
||||
if(typeName.length>6){
|
||||
//字符串截取
|
||||
typeName = typeName.substring(typeName.length-7,typeName.length);
|
||||
}
|
||||
materialSealStatistics.push({ name: typeName, value: it.total, prop: (it.total / sum * 100).toFixed(2)});
|
||||
});
|
||||
//数据绑定
|
||||
this.setData({
|
||||
materialSealStatistics
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
* 举牌验收数据
|
||||
*/
|
||||
getCheckingData(projectId) {
|
||||
wx.request({
|
||||
url: app.globalData.reqUrl + '/wechat/projectchecking/findStatisticsByProjectId',
|
||||
data:{projectId:projectId},
|
||||
method:"get",
|
||||
success: res => {
|
||||
res = res.data;
|
||||
if(res.code == 200 && res.data){
|
||||
res.data.forEach((it,idx)=>{
|
||||
//数据绑定
|
||||
this.setData({
|
||||
checkValue:it.total,
|
||||
checkPassRate:(it.pass / it.total * 100).toFixed(2),
|
||||
})
|
||||
});
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage() {
|
||||
|
||||
},
|
||||
|
||||
//项目切换 返回值
|
||||
onProjectSelect(e) {
|
||||
let projectId = e.detail.id;
|
||||
let projectName = e.detail.text;
|
||||
app.globalData.projectId = projectId;
|
||||
app.globalData.projectName = projectName;
|
||||
this.setData({
|
||||
projectId: projectId,
|
||||
projectName: projectName,
|
||||
})
|
||||
this.onLoad()
|
||||
},
|
||||
|
||||
goMenu:function(event){
|
||||
wx.setStorageSync('nav-menu', "zl");
|
||||
wx.navigateTo({
|
||||
url: event.currentTarget.dataset.url
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
* 实测实量页面
|
||||
*/
|
||||
goSCSL: function () {
|
||||
wx.setStorageSync('nav-menu', "zl");
|
||||
wx.redirectTo({
|
||||
url: '../../pageage/project_measure/list/index'
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
* 质量隐患排查
|
||||
*/
|
||||
goYHPC: function () {
|
||||
wx.setStorageSync('nav-menu', "zl");
|
||||
wx.redirectTo({
|
||||
url: '../../pageage/project_problemmodify/quality/list/index'
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
* 取样复试
|
||||
*/
|
||||
goQYFS: function () {
|
||||
wx.setStorageSync('nav-menu', "zl");
|
||||
wx.redirectTo({
|
||||
url: '../../pageage/project_checkDetection/list/index'
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
* 材料封样
|
||||
*/
|
||||
goCLFY: function () {
|
||||
wx.setStorageSync('nav-menu', "zl");
|
||||
wx.redirectTo({
|
||||
url: '../../pageage/project_materialSeal/list/index'
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
* 举牌验收
|
||||
*/
|
||||
goJPYS: function () {
|
||||
wx.setStorageSync('nav-menu', "zl");
|
||||
wx.redirectTo({
|
||||
url: '../../pageage/project_checking/list/index'
|
||||
})
|
||||
},
|
||||
|
||||
// 底部导航
|
||||
onChange(event) {
|
||||
// event.detail 的值为当前选中项的索引
|
||||
this.setData({ active: event.detail });
|
||||
},
|
||||
|
||||
/**
|
||||
* 项目概况页面
|
||||
*/
|
||||
XMGK: function () {
|
||||
wx.redirectTo({
|
||||
url: '../xiangmugaikuang/xiangmugaikuang'
|
||||
})
|
||||
},
|
||||
//跳转到安全管理
|
||||
AQGL:function(){
|
||||
wx.redirectTo({
|
||||
url:'../safety_manage/index'
|
||||
})
|
||||
},
|
||||
//跳转到进度管理
|
||||
JDGL:function(){
|
||||
wx.redirectTo({
|
||||
url:'../../pageage/Progress-management/index'
|
||||
})
|
||||
},
|
||||
/**
|
||||
* 更多功能
|
||||
*/
|
||||
GDGN: function () {
|
||||
wx.redirectTo({
|
||||
url: '../gengduogongneng/gengduogongneng'
|
||||
})
|
||||
},
|
||||
//退出登录
|
||||
TCDL:function(){
|
||||
wx.clearStorageSync();
|
||||
wx.setStorageSync('isReload', "1")
|
||||
wx.redirectTo({
|
||||
url: '../login/login',
|
||||
})
|
||||
},
|
||||
//修改密码
|
||||
XGMM:function(){
|
||||
wx.setStorageSync('nav-menu', "zl");
|
||||
wx.redirectTo({
|
||||
url: '../updatePassword/updatePassword'
|
||||
})
|
||||
},
|
||||
|
||||
showPopup() {
|
||||
this.setData({ show: true });
|
||||
},
|
||||
onClosePopup() {
|
||||
this.setData({ show: false });
|
||||
},
|
||||
|
||||
})
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"usingComponents": { "van-tabbar": "@vant/weapp/tabbar",
|
||||
"van-tabbar-item": "@vant/weapp/tabbar-item"},
|
||||
"navigationStyle":"custom"
|
||||
}
|
|
@ -0,0 +1,478 @@
|
|||
<!--pages/quality-manage/index.wxml-->
|
||||
<view class="header_title">
|
||||
<view class="header_title_row">
|
||||
<van-row>
|
||||
<van-col span="3">
|
||||
<view class="header_img" bindtap="showPopup"><image src="/images/core.png"></image></view>
|
||||
</van-col>
|
||||
<van-col span="4">
|
||||
<view class="header_img" bindtap="XMGK">
|
||||
<image src="/images/left.png"></image>
|
||||
<text class="header_fh">返回</text>
|
||||
</view>
|
||||
</van-col>
|
||||
<van-col span="10">
|
||||
<view class="header_name">质量管理</view>
|
||||
</van-col>
|
||||
</van-row>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 左侧账号信息 -->
|
||||
<van-popup show="{{ show }}" position="left" custom-style="width: 70%;height:100%;background:#191d28;" bind:close="onClosePopup" >
|
||||
<view class="left_max">
|
||||
<van-row class="demo clearfix">
|
||||
<van-col span="24">
|
||||
<view class="left_info_dept">{{deptName}}</view>
|
||||
</van-col>
|
||||
<van-col span="10">
|
||||
<view class="left_head"><image src="../../images/user_3.png"></image></view>
|
||||
</van-col>
|
||||
<van-col span="14">
|
||||
<view class="left_info">
|
||||
<view class="left_info_name">{{nickName}}</view>
|
||||
<view class="left_info_name">{{loginName}}</view>
|
||||
</view>
|
||||
</van-col>
|
||||
</van-row>
|
||||
<view class="left_manage_min">
|
||||
<view class="left_manage" bindtap="XGMM">
|
||||
<image src="/images/set.png" class="left_icon"></image>
|
||||
<text class="left_password">修改密码</text>
|
||||
<image src="/images/right.png" class="left_flaot"></image>
|
||||
</view>
|
||||
</view>
|
||||
<view class="left_manage_min">
|
||||
<view class="left_manage" bindtap="TCDL">
|
||||
<image src="/images/set.png" class="left_icon"></image>
|
||||
<text class="left_sign">退出登录</text>
|
||||
<image src="/images/right.png" class="left_flaot"></image>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</van-popup>
|
||||
|
||||
<view class="max_content">
|
||||
<project-select init="{{initData}}" bindchange="onProjectSelect"></project-select>
|
||||
<view class="gd_max" style="margin-top: 20rpx;">
|
||||
<van-row class="demo clearfix">
|
||||
<van-col span="8" wx:for="{{menuList}}" wx:key="unique">
|
||||
<view class="gd_min" data-id="{{item.menu_identi}}" data-url="{{item.menu_url}}" bindtap="goMenu">
|
||||
<image src="{{item.menu_img}}"></image>
|
||||
<view>{{item.menu_name}}</view>
|
||||
</view>
|
||||
</van-col>
|
||||
</van-row>
|
||||
</view>
|
||||
|
||||
<view class="module_max">
|
||||
<view class="module_min">
|
||||
<view class="module_title module_title_flex" >
|
||||
<view>实测实量</view>
|
||||
<view class="module_see_info" bindtap="goSCSL">查看详情<van-icon name="arrow" /></view>
|
||||
</view>
|
||||
<safety-pie-chart chart-id="chart1" title="实测实量" chart-data="{{measureStatistics}}"></safety-pie-chart>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="module_max">
|
||||
<view class="module_min">
|
||||
<view class="module_title module_title_flex">
|
||||
<view>质量隐患排查</view>
|
||||
<view class="module_see_info" bindtap="goYHPC">查看详情<van-icon name="arrow" /></view>
|
||||
</view>
|
||||
<view class="safety_inspect">
|
||||
<van-row>
|
||||
<van-col span="12">
|
||||
<view class="safety_inspect_title">常规检查问题数</view>
|
||||
<safety-number number="{{securityCheck.routineCheckNumber}}"></safety-number>
|
||||
<view class="safety_prop ">
|
||||
<view style="padding-right: 30rpx;">整改率</view>
|
||||
<view class="safety_prop_val"><text>{{securityCheck.routineRectificationRate}}</text> %</view>
|
||||
</view>
|
||||
<view class="safety_issue">
|
||||
<view class="safety_issue_number">
|
||||
<view style="padding-right: 30rpx;">已整改问题数</view>
|
||||
<view>{{securityCheck.routineProblemTotal}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</van-col>
|
||||
<van-col span="12">
|
||||
<view class="safety_inspect_title">专项检查问题数</view>
|
||||
<safety-number number="{{securityCheck.specialCheckNumber}}"></safety-number>
|
||||
<view class="safety_prop">
|
||||
<view style="padding-right: 30rpx;">整改率</view>
|
||||
<view class="safety_prop_val"><text>{{securityCheck.specialRectificationRate}}</text> %</view>
|
||||
</view>
|
||||
<view class="safety_issue">
|
||||
<view class="safety_issue_number">
|
||||
<view style="padding-right: 30rpx;">已整改问题数</view>
|
||||
<view>{{securityCheck.specialProblemTotal}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</van-col>
|
||||
</van-row>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="module_max">
|
||||
<view class="module_min">
|
||||
<view class="module_title module_title_flex">
|
||||
<view>取样复试</view>
|
||||
<view class="module_see_info" bindtap="goQYFS">查看详情<van-icon name="arrow" /></view>
|
||||
</view>
|
||||
<!-- 钢筋原材料 -->
|
||||
<view class="gangjin" style="padding-bottom: 62rpx;">
|
||||
<view class="gangjin-header">
|
||||
<!-- 上面部分 -->
|
||||
<view class="project-title" style="margin-left: -30rpx;">
|
||||
<view style="border-bottom: 1px solid #0f498c;height: 36rpx;font-size: 26rpx;">
|
||||
钢筋原材料
|
||||
</view>
|
||||
</view>
|
||||
<!-- 下面部分 -->
|
||||
<view class="wanjieNum-over-bottom" style="padding-top: 52rpx;">
|
||||
<!-- 每一行两个小盒子 -->
|
||||
<view class="wanjieNum-over-bottom-top">
|
||||
<!-- 每一个小盒子 -->
|
||||
<view class="wanjieNum-over-bottom-top-box" >
|
||||
<view class="wanjieNum-over-bottom-top-box-Img">
|
||||
<view class="wanjieNum-over-bottom-top-box-Img-small">
|
||||
<image src="http://fileimg.makalu.cc/WEB_2ADF92E981FD41599F59AC9E97CF3118.png" mode="" style="width: 100%;height: 100%;"/>
|
||||
</view>
|
||||
</view>
|
||||
<view class="wanjieNum-over-bottom-top-box-title" style="height:130rpx">
|
||||
<view class="wanjieNum-over-bottom-top-box-title-text" >
|
||||
复试次数
|
||||
</view>
|
||||
<view class="wanjieNum-over-bottom-top-box-title-text" style="display: flex;">
|
||||
<view style="font-size: 30rpx;color: #7ab6e6;padding-right: 20rpx;">
|
||||
{{checkDetectionData.type1Value}}
|
||||
</view> 次
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="wanjieNum-over-bottom-top-box" style="padding-left: 20rpx;">
|
||||
<view class="wanjieNum-over-bottom-top-box-Imgs">
|
||||
<view class="wanjieNum-over-bottom-top-box-Img-small">
|
||||
<image src="http://fileimg.makalu.cc/WEB_ECD156CF3D1144AC8D52EC6F8875AAF0.png" mode="" style="width: 100%;height: 100%;"/>
|
||||
</view>
|
||||
</view>
|
||||
<view class="wanjieNum-over-bottom-top-box-title" style="height:130rpx">
|
||||
<view class="wanjieNum-over-bottom-top-box-title-text">
|
||||
合格率
|
||||
</view>
|
||||
<view class="wanjieNum-over-bottom-top-box-title-text" style="display: flex;">
|
||||
<view style="font-size: 30rpx;color: #5de8b0;padding-right: 20rpx">
|
||||
{{checkDetectionData.type1PassRate}}
|
||||
</view> %
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 钢筋试拉件 -->
|
||||
<view class="gangjin" style="padding-bottom: 62rpx;">
|
||||
<view class="gangjin-header">
|
||||
<!-- 上面部分 -->
|
||||
<view class="project-title" style="margin-left: -30rpx;">
|
||||
<view style="border-bottom: 1px solid #0f498c;height: 36rpx;font-size: 26rpx;">
|
||||
钢筋试拉件
|
||||
</view>
|
||||
</view>
|
||||
<!-- 下面部分 -->
|
||||
<view class="wanjieNum-over-bottom" style="padding-top: 52rpx;">
|
||||
<!-- 每一行两个小盒子 -->
|
||||
<view class="wanjieNum-over-bottom-top">
|
||||
<!-- 每一个小盒子 -->
|
||||
<view class="wanjieNum-over-bottom-top-box" >
|
||||
<view class="wanjieNum-over-bottom-top-box-Img">
|
||||
<view class="wanjieNum-over-bottom-top-box-Img-small">
|
||||
<image src="http://fileimg.makalu.cc/WEB_2ADF92E981FD41599F59AC9E97CF3118.png" mode="" style="width: 100%;height: 100%;"/>
|
||||
</view>
|
||||
</view>
|
||||
<view class="wanjieNum-over-bottom-top-box-title" style="height:130rpx">
|
||||
<view class="wanjieNum-over-bottom-top-box-title-text" >
|
||||
复试次数
|
||||
</view>
|
||||
<view class="wanjieNum-over-bottom-top-box-title-text" style="display: flex;">
|
||||
<view style="font-size: 30rpx;color: #7ab6e6;padding-right: 20rpx;">
|
||||
{{checkDetectionData.type2Value}}
|
||||
</view> 次
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="wanjieNum-over-bottom-top-box" style="padding-left: 20rpx;">
|
||||
<view class="wanjieNum-over-bottom-top-box-Imgs">
|
||||
<view class="wanjieNum-over-bottom-top-box-Img-small">
|
||||
<image src="http://fileimg.makalu.cc/WEB_ECD156CF3D1144AC8D52EC6F8875AAF0.png" mode="" style="width: 100%;height: 100%;"/>
|
||||
</view>
|
||||
</view>
|
||||
<view class="wanjieNum-over-bottom-top-box-title" style="height:130rpx">
|
||||
<view class="wanjieNum-over-bottom-top-box-title-text">
|
||||
合格率
|
||||
</view>
|
||||
<view class="wanjieNum-over-bottom-top-box-title-text" style="display: flex;">
|
||||
<view style="font-size: 30rpx;color: #5de8b0;padding-right: 20rpx">
|
||||
{{checkDetectionData.type2PassRate}}
|
||||
</view> %
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 混凝土试件 -->
|
||||
<view class="gangjin" style="padding-bottom: 62rpx;">
|
||||
<view class="gangjin-header">
|
||||
<!-- 上面部分 -->
|
||||
<view class="project-title" style="margin-left: -30rpx;">
|
||||
<view style="border-bottom: 1px solid #0f498c;height: 36rpx;font-size: 26rpx;">
|
||||
混凝土试件
|
||||
</view>
|
||||
</view>
|
||||
<!-- 下面部分 -->
|
||||
<view class="wanjieNum-over-bottom" style="padding-top: 52rpx;">
|
||||
<!-- 每一行两个小盒子 -->
|
||||
<view class="wanjieNum-over-bottom-top">
|
||||
<!-- 每一个小盒子 -->
|
||||
<view class="wanjieNum-over-bottom-top-box" >
|
||||
<view class="wanjieNum-over-bottom-top-box-Img">
|
||||
<view class="wanjieNum-over-bottom-top-box-Img-small">
|
||||
<image src="http://fileimg.makalu.cc/WEB_2ADF92E981FD41599F59AC9E97CF3118.png" mode="" style="width: 100%;height: 100%;"/>
|
||||
</view>
|
||||
</view>
|
||||
<view class="wanjieNum-over-bottom-top-box-title" style="height:130rpx">
|
||||
<view class="wanjieNum-over-bottom-top-box-title-text" >
|
||||
复试次数
|
||||
</view>
|
||||
<view class="wanjieNum-over-bottom-top-box-title-text" style="display: flex;">
|
||||
<view style="font-size: 30rpx;color: #7ab6e6;padding-right: 20rpx;">
|
||||
{{checkDetectionData.type3Value}}
|
||||
</view> 次
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="wanjieNum-over-bottom-top-box" style="padding-left: 20rpx;">
|
||||
<view class="wanjieNum-over-bottom-top-box-Imgs">
|
||||
<view class="wanjieNum-over-bottom-top-box-Img-small">
|
||||
<image src="http://fileimg.makalu.cc/WEB_ECD156CF3D1144AC8D52EC6F8875AAF0.png" mode="" style="width: 100%;height: 100%;"/>
|
||||
</view>
|
||||
</view>
|
||||
<view class="wanjieNum-over-bottom-top-box-title" style="height:130rpx">
|
||||
<view class="wanjieNum-over-bottom-top-box-title-text">
|
||||
合格率
|
||||
</view>
|
||||
<view class="wanjieNum-over-bottom-top-box-title-text" style="display: flex;">
|
||||
<view style="font-size: 30rpx;color: #5de8b0;padding-right: 20rpx">
|
||||
{{checkDetectionData.type3PassRate}}
|
||||
</view> %
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 其它复试 -->
|
||||
<view class="gangjin" style="padding-bottom: 62rpx;">
|
||||
<view class="gangjin-header">
|
||||
<!-- 上面部分 -->
|
||||
<view class="project-title" style="margin-left: -30rpx;">
|
||||
<view style="border-bottom: 1px solid #0f498c;height: 36rpx;font-size: 26rpx;">
|
||||
其它复试
|
||||
</view>
|
||||
</view>
|
||||
<!-- 下面部分 -->
|
||||
<view class="wanjieNum-over-bottom" style="padding-top: 52rpx;">
|
||||
<!-- 每一行两个小盒子 -->
|
||||
<view class="wanjieNum-over-bottom-top">
|
||||
<!-- 每一个小盒子 -->
|
||||
<view class="wanjieNum-over-bottom-top-box" >
|
||||
<view class="wanjieNum-over-bottom-top-box-Img">
|
||||
<view class="wanjieNum-over-bottom-top-box-Img-small">
|
||||
<image src="http://fileimg.makalu.cc/WEB_2ADF92E981FD41599F59AC9E97CF3118.png" mode="" style="width: 100%;height: 100%;"/>
|
||||
</view>
|
||||
</view>
|
||||
<view class="wanjieNum-over-bottom-top-box-title" style="height:130rpx">
|
||||
<view class="wanjieNum-over-bottom-top-box-title-text" >
|
||||
复试次数
|
||||
</view>
|
||||
<view class="wanjieNum-over-bottom-top-box-title-text" style="display: flex;">
|
||||
<view style="font-size: 30rpx;color: #7ab6e6;padding-right: 20rpx;">
|
||||
{{checkDetectionData.type4Value}}
|
||||
</view> 次
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="wanjieNum-over-bottom-top-box" style="padding-left: 20rpx;">
|
||||
<view class="wanjieNum-over-bottom-top-box-Imgs">
|
||||
<view class="wanjieNum-over-bottom-top-box-Img-small">
|
||||
<image src="http://fileimg.makalu.cc/WEB_ECD156CF3D1144AC8D52EC6F8875AAF0.png" mode="" style="width: 100%;height: 100%;"/>
|
||||
</view>
|
||||
</view>
|
||||
<view class="wanjieNum-over-bottom-top-box-title" style="height:130rpx">
|
||||
<view class="wanjieNum-over-bottom-top-box-title-text">
|
||||
合格率
|
||||
</view>
|
||||
<view class="wanjieNum-over-bottom-top-box-title-text" style="display: flex;">
|
||||
<view style="font-size: 30rpx;color: #5de8b0;padding-right: 20rpx">
|
||||
{{checkDetectionData.type4PassRate}}
|
||||
</view> %
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="module_max">
|
||||
<view class="module_min">
|
||||
<view class="module_title module_title_flex" >
|
||||
<view>材料封样</view>
|
||||
<view class="module_see_info" bindtap="goCLFY">查看详情<van-icon name="arrow" /></view>
|
||||
</view>
|
||||
<safety-pie-chart chart-id="chart2" title="材料封样" chart-data="{{materialSealStatistics}}"></safety-pie-chart>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="module_max">
|
||||
<view class="module_min">
|
||||
<view class="module_title module_title_flex" >
|
||||
<view>举牌验收</view>
|
||||
<view class="module_see_info" bindtap="goJPYS">查看详情<van-icon name="arrow" /></view>
|
||||
</view>
|
||||
<view class="gangjin">
|
||||
<view class="gangjin-header">
|
||||
<view class="wanjieNum-over-bottom" style="padding-top:60rpx;padding-bottom: 40rpx;">
|
||||
<!-- 每一行两个小盒子 -->
|
||||
<view class="wanjieNum-over-bottom-top">
|
||||
<!-- 每一个小盒子 -->
|
||||
<view class="wanjieNum-over-bottom-top-box" >
|
||||
<view class="wanjieNum-over-bottom-top-box-ImgPC">
|
||||
</view>
|
||||
<view class="wanjieNum-over-bottom-top-box-title" style="height:130rpx">
|
||||
<view class="wanjieNum-over-bottom-top-box-title-text">
|
||||
验收次数
|
||||
</view>
|
||||
<view class="wanjieNum-over-bottom-top-box-title-text" style="display: flex;">
|
||||
<view style="font-size: 30rpx;color: #7ab6e6;padding-right: 20rpx;">
|
||||
{{checkValue}}
|
||||
</view> 次
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="wanjieNum-over-bottom-top-box" style="padding-left: 20rpx;">
|
||||
<view class="wanjieNum-over-bottom-top-box-ImgPS">
|
||||
</view>
|
||||
<view class="wanjieNum-over-bottom-top-box-title" style="height:130rpx">
|
||||
<view class="wanjieNum-over-bottom-top-box-title-text">
|
||||
合格率
|
||||
</view>
|
||||
<view class="wanjieNum-over-bottom-top-box-title-text" style="display: flex;">
|
||||
<view style="font-size: 30rpx;color: #5de8b0;padding-right: 20rpx">
|
||||
{{checkPassRate}}
|
||||
</view> %
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<!-- 底部导航 -->
|
||||
<van-tabbar active="{{ active }}" bind:change="onChange" active-color="#ffffff" inactive-color="#7d95d6">
|
||||
<van-tabbar-item bindtap="XMGK" >
|
||||
<image
|
||||
slot="icon"
|
||||
src="/images/footer_5.png"
|
||||
mode="aspectFit"
|
||||
style="width:40rpx; height: 40rpx;"
|
||||
/>
|
||||
<image
|
||||
slot="icon-active"
|
||||
src="/images/foot_5.png"
|
||||
mode="aspectFit"
|
||||
style="width:40rpx; height: 40rpx;"
|
||||
/>
|
||||
项目概况
|
||||
</van-tabbar-item>
|
||||
|
||||
<van-tabbar-item bindtap="AQGL">
|
||||
<image
|
||||
slot="icon"
|
||||
src="/images/footer_7.png"
|
||||
mode="aspectFit"
|
||||
style="width:40rpx; height: 40rpx;"
|
||||
/>
|
||||
<image
|
||||
slot="icon-active"
|
||||
src="/images/foot_7.png"
|
||||
mode="aspectFit"
|
||||
style="width:40rpx; height: 40rpx;"
|
||||
/>
|
||||
安全管理
|
||||
</van-tabbar-item>
|
||||
|
||||
<van-tabbar-item>
|
||||
<image
|
||||
slot="icon"
|
||||
src="/images/footer_5.png"
|
||||
mode="aspectFit"
|
||||
style="width:40rpx; height: 40rpx;"
|
||||
/>
|
||||
<image
|
||||
slot="icon-active"
|
||||
src="/images/foot_5.png"
|
||||
mode="aspectFit"
|
||||
style="width:40rpx; height: 40rpx;"
|
||||
/>
|
||||
质量管理
|
||||
</van-tabbar-item>
|
||||
|
||||
<van-tabbar-item bindtap="JDGL">
|
||||
<image
|
||||
slot="icon"
|
||||
src="/images/footer_6.png"
|
||||
mode="aspectFit"
|
||||
style="width:40rpx; height: 40rpx;"
|
||||
/>
|
||||
<image
|
||||
slot="icon-active"
|
||||
src="/images/foot_6.png"
|
||||
mode="aspectFit"
|
||||
style="width:40rpx; height: 40rpx;"
|
||||
/>
|
||||
进度管理
|
||||
</van-tabbar-item>
|
||||
|
||||
<van-tabbar-item bindtap="GDGN">
|
||||
<image
|
||||
slot="icon"
|
||||
src="/images/footer_1.png"
|
||||
mode="aspectFit"
|
||||
style="width:40rpx; height: 40rpx;"
|
||||
/>
|
||||
<image
|
||||
slot="icon-active"
|
||||
src="/images/foot_1.png"
|
||||
mode="aspectFit"
|
||||
style="width:40rpx; height:40rpx;"
|
||||
/>
|
||||
更多功能
|
||||
</van-tabbar-item>
|
||||
</van-tabbar>
|
|
@ -0,0 +1,156 @@
|
|||
/* pages/Quality-Assurance/index.wxss */
|
||||
/* 质量管理 */
|
||||
.quality{
|
||||
padding: 60rpx 40rpx 30rpx;
|
||||
}
|
||||
/* 头部部分 */
|
||||
.quality-header{
|
||||
margin: 10rpx 0 50rpx;
|
||||
}
|
||||
/* 内容部分 */
|
||||
.quality-content{
|
||||
width: 100%;
|
||||
border: 1px solid #1e2336;
|
||||
background-color: #1e2336;
|
||||
padding-top: 20rpx;
|
||||
margin-bottom: 40rpx;
|
||||
font-size: 26rpx;
|
||||
border-radius: 15rpx;
|
||||
}
|
||||
.eharts_title{
|
||||
height: 40rpx;
|
||||
line-height: 40rpx;
|
||||
padding-left: 50rpx;
|
||||
margin-left: 20rpx;
|
||||
font-size: 34rpx;
|
||||
background: url("http://fileimg.makalu.cc/CORE_52887EE6A33042408E11C2174974ABA1.png") no-repeat left/35rpx;
|
||||
}
|
||||
/* 内容部分 */
|
||||
.gangjin{
|
||||
padding:0 30rpx 40rpx 60rpx;
|
||||
}
|
||||
.gangjin-header{
|
||||
width: 100%;
|
||||
}
|
||||
.project-title{
|
||||
height: 40rpx;
|
||||
line-height: 40rpx;
|
||||
padding-left: 40rpx;
|
||||
margin-top: 40rpx;
|
||||
font-size: 26rpx;
|
||||
background: url("http://fileimg.makalu.cc/WEB_F6B0554C215E496195EA7D6FCE2C0B8E.png") no-repeat left/35rpx;
|
||||
}
|
||||
.wanjieNum-over-bottom{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content:space-evenly ;
|
||||
padding: 100rpx 0 0 0;
|
||||
color: #b0c3e5;
|
||||
}
|
||||
.wanjieNum-over-bottom-top{
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
height: 100rpx;
|
||||
line-height: 100rpx;
|
||||
}
|
||||
.wanjieNum-over-bottom-top-box{
|
||||
display: flex;
|
||||
width: 50%;
|
||||
height: 100rpx;
|
||||
}
|
||||
.wanjieNum-over-bottom-top-box-Img{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 40%;
|
||||
height: 100rpx;
|
||||
background: url("http://fileimg.makalu.cc/WEB_20BAE0F4F7E14D048A818A10223B0BE1.gif") no-repeat center/100%;
|
||||
padding: 14rpx 0;
|
||||
}
|
||||
.wanjieNum-over-bottom-top-box-ImgBY{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 40%;
|
||||
height: 100rpx;
|
||||
background: url("http://fileimg.makalu.cc/WEB_EBD7748CB73A4D2D8BD74617F84528DE.png") no-repeat center/100%;
|
||||
padding: 14rpx 0;
|
||||
}
|
||||
.wanjieNum-over-bottom-top-box-Imgs{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 40%;
|
||||
height: 100rpx;
|
||||
background: url("http://fileimg.makalu.cc/WEB_FBB7B92F89A748CCA88C2D059D67CDCD.gif") no-repeat center/100%;
|
||||
padding: 14rpx 0;
|
||||
}
|
||||
.wanjieNum-over-bottom-top-box-ImgPC{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 40%;
|
||||
height: 100rpx;
|
||||
background: url("http://fileimg.makalu.cc/WEB_E219D45248B942248FE6561F24B536A9.png") no-repeat center/100%;
|
||||
padding: 14rpx 0;
|
||||
}
|
||||
.wanjieNum-over-bottom-top-box-ImgPS{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 40%;
|
||||
height: 100rpx;
|
||||
background: url("http://fileimg.makalu.cc/WEB_C8E00800A80E4D41B579855E50A57F3E.png") no-repeat center/100%;
|
||||
padding: 14rpx 0;
|
||||
}
|
||||
.wanjieNum-over-bottom-top-box-Img-small{
|
||||
width: 50rpx;
|
||||
height: 50rpx;
|
||||
line-height: 50rpx;
|
||||
}
|
||||
.wanjieNum-over-bottom-top-box-Img-smallBY{
|
||||
width: 50rpx;
|
||||
height: 50rpx;
|
||||
line-height: 50rpx;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
.wanjieNum-over-bottom-top-box-title{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
/* padding-left:20rpx ; */
|
||||
width: 60%;
|
||||
height:100rpx ;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
.wanjieNum-over-bottom-top-box-title-text{
|
||||
height: 50rpx;
|
||||
line-height: 50rpx;
|
||||
}
|
||||
/* 钢筋拉试件 */
|
||||
.gangjinlajin{
|
||||
padding:0 30rpx 40rpx 60rpx;
|
||||
}
|
||||
.gangjinlajin-header{
|
||||
width: 100%;
|
||||
}
|
||||
/* 标养室监测 */
|
||||
.jupai-top{
|
||||
height: 80rpx;
|
||||
border: 1px solid green;
|
||||
}
|
||||
.gd_max{
|
||||
padding:10rpx 50rpx 0;
|
||||
}
|
||||
.gd_min{
|
||||
padding: 30rpx 0;
|
||||
text-align: center;
|
||||
}
|
||||
.gd_min image{
|
||||
width: 150rpx;
|
||||
height: 150rpx;
|
||||
}
|
||||
.gd_min view{
|
||||
padding: 10rpx;
|
||||
color: #89a4eb;
|
||||
}
|
|
@ -7,8 +7,9 @@ Page({
|
|||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
active:1,
|
||||
loginName:"",
|
||||
userName:"",
|
||||
nickName:"",
|
||||
deptId:"",
|
||||
deptName:"",
|
||||
projectName: '',
|
||||
|
@ -36,18 +37,6 @@ Page({
|
|||
},
|
||||
menuList:[],
|
||||
},
|
||||
showPopup() {
|
||||
this.setData({ show: true });
|
||||
},
|
||||
onClose() {
|
||||
this.setData({ show: false });
|
||||
},
|
||||
onClickShow() {
|
||||
this.setData({ loadShow: true });
|
||||
},
|
||||
onClickHide() {
|
||||
this.setData({ loadShow: false });
|
||||
},
|
||||
|
||||
//项目切换 返回值
|
||||
onProjectSelect(e) {
|
||||
|
@ -74,7 +63,7 @@ Page({
|
|||
console.log(res.data);
|
||||
that.setData({
|
||||
loginName: res.data.loginName,
|
||||
userName: res.data.userName,
|
||||
nickName: res.data.nickName,
|
||||
deptId: res.data.deptId,
|
||||
deptName:res.data.deptName,
|
||||
projectName: app.globalData.projectName,
|
||||
|
@ -158,7 +147,7 @@ Page({
|
|||
method:"get",
|
||||
success: res => {
|
||||
res = res.data;
|
||||
if(res.code == 200){
|
||||
if(res.code == 200 && res.data){
|
||||
let sum=0;
|
||||
res.data.forEach((it,idx)=>{
|
||||
sum+=it.total;
|
||||
|
@ -264,7 +253,7 @@ Page({
|
|||
method:"get",
|
||||
success: res => {
|
||||
res = res.data;
|
||||
if(res.code == 200){
|
||||
if(res.code == 200 && res.data){
|
||||
let sum=0;
|
||||
res.data.forEach((it,idx)=>{
|
||||
sum+=it.total;
|
||||
|
@ -376,6 +365,22 @@ Page({
|
|||
},
|
||||
|
||||
/****************************底部导航********************************/
|
||||
showPopup() {
|
||||
this.setData({ show: true });
|
||||
},
|
||||
onClickShow() {
|
||||
this.setData({ loadShow: true });
|
||||
},
|
||||
onClickHide() {
|
||||
this.setData({ loadShow: false });
|
||||
},
|
||||
|
||||
// 底部导航
|
||||
onChange(event) {
|
||||
// event.detail 的值为当前选中项的索引
|
||||
this.setData({ active: event.detail });
|
||||
},
|
||||
|
||||
goMenu:function(event){
|
||||
wx.setStorageSync('nav-menu', "aq");
|
||||
wx.navigateTo({
|
||||
|
@ -394,7 +399,7 @@ Page({
|
|||
//跳转到质量管理
|
||||
ZLGL:function(){
|
||||
wx.redirectTo({
|
||||
url:'../Quality-Assurance/index'
|
||||
url:'../quality_manage/index'
|
||||
})
|
||||
},
|
||||
//跳转到进度管理
|
||||
|
|
|
@ -93,7 +93,7 @@
|
|||
<view class="module_max">
|
||||
<view class="module_min">
|
||||
<view class="module_title module_title_flex">
|
||||
<view>安全检查</view>
|
||||
<view>安全隐患排查</view>
|
||||
<view class="module_see_info" bindtap="goAQYH">查看详情<van-icon name="arrow" /></view>
|
||||
</view>
|
||||
<view class="safety_inspect">
|
||||
|
|
|
@ -394,7 +394,6 @@ Page({
|
|||
success:function(res){
|
||||
that.setData({
|
||||
loginName:res.data.loginName,
|
||||
userName:res.data.userName,
|
||||
nickName:res.data.nickName,
|
||||
deptName:res.data.deptName,
|
||||
roleName:res.data.roleName.split(',')[0],
|
||||
|
@ -620,11 +619,10 @@ Page({
|
|||
},
|
||||
|
||||
//跳转到质量管理
|
||||
ZLGL2:function(){
|
||||
app.toast("敬请期待!");
|
||||
// wx.redirectTo({
|
||||
// url:'../Quality-Assurance/index'
|
||||
// })
|
||||
ZLGL:function(){
|
||||
wx.redirectTo({
|
||||
url:'../quality_manage/index'
|
||||
})
|
||||
},
|
||||
//跳转到进度管理
|
||||
JDGL2:function(){
|
||||
|
|
|
@ -221,7 +221,7 @@
|
|||
安全管理
|
||||
</van-tabbar-item>
|
||||
|
||||
<van-tabbar-item bindtap="ZLGL2">
|
||||
<van-tabbar-item bindtap="ZLGL">
|
||||
<image
|
||||
slot="icon"
|
||||
src="/images/footer_5.png"
|
||||
|
|
Loading…
Reference in New Issue