Compare commits

..

No commits in common. "main" and "release" have entirely different histories.

634 changed files with 22648 additions and 49104 deletions

8
.idea/.gitignore vendored 100644
View File

@ -0,0 +1,8 @@
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/construction.iml" filepath="$PROJECT_DIR$/.idea/construction.iml" />
</modules>
</component>
</project>

6
.idea/vcs.xml 100644
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

View File

@ -0,0 +1,7 @@
{
"permissions": {
"openapi": [
"customerServiceMessage.send"
]
}
}

View File

@ -0,0 +1,26 @@
const cloud = require('wx-server-sdk')
cloud.init({
// API 调用都保持和云函数当前所在环境一致
env: cloud.DYNAMIC_CURRENT_ENV
})
// 云函数入口函数
exports.main = async (event, context) => {
console.log(event)
const { OPENID } = cloud.getWXContext()
const result = await cloud.openapi.customerServiceMessage.send({
touser: OPENID,
msgtype: 'text',
text: {
content: '收到:' + event.Content,
}
})
console.log(result)
return result
}

View File

@ -0,0 +1,14 @@
{
"name": "callback",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"dependencies": {
"wx-server-sdk": "~2.1.2"
}
}

View File

@ -0,0 +1,5 @@
{
"permissions": {
"openapi": []
}
}

View File

@ -0,0 +1,8 @@
const cloud = require('wx-server-sdk')
exports.main = async (event, context) => {
// event.userInfo 是已废弃的保留字段,在此不做展示
// 获取 OPENID 等微信上下文请使用 cloud.getWXContext()
delete event.userInfo
return event
}

View File

@ -0,0 +1,14 @@
{
"name": "echo",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"dependencies": {
"wx-server-sdk": "~2.1.2"
}
}

View File

@ -0,0 +1,5 @@
{
"permissions": {
"openapi": []
}
}

View File

@ -0,0 +1,36 @@
// 云函数模板
// 部署:在 cloud-functions/login 文件夹右击选择 “上传并部署”
const cloud = require('wx-server-sdk')
// 初始化 cloud
cloud.init({
// API 调用都保持和云函数当前所在环境一致
env: cloud.DYNAMIC_CURRENT_ENV
})
/**
* 这个示例将经自动鉴权过的小程序用户 openid 返回给小程序端
*
* event 参数包含小程序端调用传入的 data
*
*/
exports.main = async (event, context) => {
console.log(event)
console.log(context)
// 可执行其他自定义逻辑
// console.log 的内容可以在云开发云函数调用日志查看
// 获取 WX Context (微信调用上下文),包括 OPENID、APPID、及 UNIONID需满足 UNIONID 获取条件)等信息
const wxContext = cloud.getWXContext()
return {
event,
openid: wxContext.OPENID,
appid: wxContext.APPID,
unionid: wxContext.UNIONID,
env: wxContext.ENV,
}
}

View File

@ -0,0 +1,14 @@
{
"name": "login",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"dependencies": {
"wx-server-sdk": "~2.1.2"
}
}

View File

@ -0,0 +1,15 @@
{
"permissions": {
"openapi": [
"wxacode.get",
"subscribeMessage.send",
"subscribeMessage.addTemplate",
"templateMessage.send",
"templateMessage.addTemplate",
"templateMessage.deleteTemplate",
"templateMessage.getTemplateList",
"templateMessage.getTemplateLibraryById",
"templateMessage.getTemplateLibraryList"
]
}
}

View File

@ -0,0 +1,87 @@
// 云函数入口文件
const cloud = require('wx-server-sdk')
cloud.init()
// 云函数入口函数
exports.main = async (event, context) => {
console.log(event)
switch (event.action) {
case 'requestSubscribeMessage': {
return requestSubscribeMessage(event)
}
case 'sendSubscribeMessage': {
return sendSubscribeMessage(event)
}
case 'getWXACode': {
return getWXACode(event)
}
case 'getOpenData': {
return getOpenData(event)
}
default: {
return
}
}
}
async function requestSubscribeMessage(event) {
// 此处为模板 ID开发者需要到小程序管理后台 - 订阅消息 - 公共模板库中添加模板,
// 然后在我的模板中找到对应模板的 ID填入此处
return '请到管理后台申请模板 ID 然后在此替换' // 如 'N_J6F05_bjhqd6zh2h1LHJ9TAv9IpkCiAJEpSw0PrmQ'
}
async function sendSubscribeMessage(event) {
const { OPENID } = cloud.getWXContext()
const { templateId } = event
const sendResult = await cloud.openapi.subscribeMessage.send({
touser: OPENID,
templateId,
miniprogram_state: 'developer',
page: 'pages/openapi/openapi',
// 此处字段应修改为所申请模板所要求的字段
data: {
thing1: {
value: '咖啡',
},
time3: {
value: '2020-01-01 00:00',
},
}
})
return sendResult
}
async function getWXACode(event) {
// 此处将获取永久有效的小程序码,并将其保存在云文件存储中,最后返回云文件 ID 给前端使用
const wxacodeResult = await cloud.openapi.wxacode.get({
path: 'pages/openapi/openapi',
})
const fileExtensionMatches = wxacodeResult.contentType.match(/\/([^\/]+)/)
const fileExtension = (fileExtensionMatches && fileExtensionMatches[1]) || 'jpg'
const uploadResult = await cloud.uploadFile({
// 云文件路径,此处为演示采用一个固定名称
cloudPath: `wxacode_default_openapi_page.${fileExtension}`,
// 要上传的文件内容可直接传入图片 Buffer
fileContent: wxacodeResult.buffer,
})
if (!uploadResult.fileID) {
throw new Error(`upload failed with empty fileID and storage server status code ${uploadResult.statusCode}`)
}
return uploadResult.fileID
}
async function getOpenData(event) {
return cloud.getOpenData({
list: event.openData.list,
})
}

View File

@ -0,0 +1,14 @@
{
"name": "openapi",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"dependencies": {
"wx-server-sdk": "~2.1.2"
}
}

View File

@ -1,44 +0,0 @@
import {request} from '../utils/request'
// 查询劳资投诉列表
export function list(data) {
return request({
url: '/wechat/flow/flowLabour/list',
method: 'get',
data: data
})
}
// 统计劳资投诉信息
export function findGroupCountByApprove(data) {
return request({
url: '/wechat/flow/flowLabour/findGroupCountByApprove',
method: 'get',
data: data
})
}
// 查询劳资投诉进度
export function findMyFlowLabourNodes(flowId) {
return request({
url: '/wechat/flow/flowLabour/findMyFlowLabourNodes/'+flowId,
method: 'get'
})
}
//劳资投诉审批
export function submitFlowLabour(data) {
return request({
url: '/wechat/flow/flowLabour/submitFlowLabour',
method: 'post',
data: data
})
}
// 获取劳资投诉详细信息
export function getInfo(flowId) {
return request({
url: '/wechat/flow/flowLabour/info/'+flowId,
method: 'get'
})
}

View File

@ -1,161 +0,0 @@
import {request} from '../utils/request'
// 获取流程申请类型
export function myDefinitionList(data) {
return request({
url: '/wxApi/flowTask/myDefinitionList',
method: 'get',
data: data
})
}
// 启动流程实例
export function startProcessInstance(data) {
return request({
url: '/wxApi/flowTask/startProcessInstance',
method: 'post',
data: data
})
}
// 查询流程节点
export function readDeployNotes(deployId) {
return request({
url: '/wechat/flowTask/readDeployNotes/'+deployId,
method: 'get'
})
}
// 取消流程申请
export function stopProcess(data) {
return request({
url: '/wxApi/flowTask/stopProcess',
method: 'post',
data: data
})
}
// 撤回流程办理
export function revokeProcess(data) {
return request({
url: '/wxApi/flowTask/revokeProcess',
method: 'post',
data: data
})
}
// 审批任务流程
export function complete(data) {
return request({
url: '/wxApi/flowTask/complete',
method: 'post',
data: data
})
}
// 驳回任务流程
export function reject(data) {
return request({
url: '/wxApi/flowTask/reject',
method: 'post',
data: data
})
}
// 退回任务流程
export function returnTask(data) {
return request({
url: '/wxApi/flowTask/return',
method: 'post',
data: data
})
}
// 委派任务流程
export function delegateTask(data) {
return request({
url: '/wxApi/flowTask/delegateTask',
method: 'post',
data: data
})
}
// 转办任务流程
export function assignTask(data) {
return request({
url: '/wxApi/flowTask/assignTask',
method: 'post',
data: data
})
}
// 删除流程实例
export function deleteInstance(instanceId) {
return request({
url: '/wxApi/flowTask/delete/'+instanceId,
method: 'get'
})
}
// 获取所有可回退的节点
export function returnList(data) {
return request({
url: '/wxApi/flowTask/returnList',
method: 'post',
data: data
})
}
// 根据流程Id查询操作日志
export function findCommentByProcInsId(data) {
return request({
url: '/wxApi/flowTask/findCommentByProcInsId',
method: 'get',
data: data
})
}
// 根据条件查询我的代办任务
export function myAwaitFlowTaskList(data) {
return request({
url: '/wxApi/flowTask/myAwaitFlowTaskList',
method: 'post',
data: data
})
}
// 根据条件查询我的已办任务
export function myFinishedFlowTaskList(data) {
return request({
url: '/wxApi/flowTask/myFinishedFlowTaskList',
method: 'get',
data: data
})
}
// 根据条件查询所有流申请
export function allInstanceList(data) {
return request({
url: '/wechat/flowTask/allList',
method: 'get',
data: data
})
}
// 根据条件统计所有流程任务
export function queryTaskCount(data) {
return request({
url: '/wxApi/flowTask/queryCount',
method: 'get',
data: data
})
}
// 根据条件统计分类流程任务
export function queryTaskCountByCategory(data){
return request({
url: '/wechat/flowTask/findAwaitCountGroupByCategory',
method: 'post',
data: data
})
}

View File

@ -1,73 +0,0 @@
import {
request
} from '../utils/request'
// 获取验证码
export function getCodeImg() {
return request({
url: '/wechat/captchaImage',
method: 'get',
})
}
// 用户登录
export function login(data) {
return request({
url: '/wechat/login',
method: 'post',
data: data,
})
}
// 修改密码
export function updatePwd(data) {
return request({
url: '/wechat/v1/updatePassword',
method: 'post',
data: data,
})
}
// 修改密码
export function codeUpdatePwd(data) {
return request({
url: '/wechat/v1/codeUpdatePwd',
method: 'post',
data: data,
})
}
// 用户退出方法
export function loginOut() {
return request({
'url': '/wechat/loginOut',
'method': 'get'
})
}
// 发送短信验证码
export function sendPhoneMessage(phoneNumber) {
return request({
url: '/wechat/v1/sendPhoneMessage',
method: 'post',
data: {
'phoneNumber': phoneNumber
}
})
}
// 查询公众号消息授权
export function findOpenUserMsgId(openId) {
return request({
'url': '/wechat/findOpenUserMsgId/' + openId,
'method': 'get'
})
}
// 删除公众号消息授权
export function delOpenUserMsgId(openId) {
return request({
'url': '/wechat/delOpenUserMsgId/' + openId,
'method': 'get'
})
}

View File

@ -1,63 +0,0 @@
import {request} from '../utils/request'
// 统计劳务人员信息
export function groupAllByParams(data){
return request({
url: '/wechat/attendance/v1/groupAllByParams',
method: 'post',
data: data
})
}
// 统计最近出勤信息
export function findGroupAllByDays(data){
return request({
url: '/wechat/attendance/v1/findGroupAllByDays',
method: 'post',
data: data
})
}
// 统计劳务人员信息
export function groupUserByParams(data){
return request({
url: '/wechat/attendance/v1/groupUserByParams',
method: 'post',
data: data
})
}
// 劳务人员详情
export function attendanceUser(id){
return request({
url: '/wechat/attendance/v1/attendanceUser/'+id,
method: 'get'
})
}
// 劳务人员列表
export function attendanceUserList(data){
return request({
url: '/wechat/attendance/v1/attendanceUserList',
method: 'get',
data: data
})
}
// 统计人员出勤信息
export function groupDataByParams(data){
return request({
url: '/wechat/attendance/v1/groupDataByParams',
method: 'post',
data: data
})
}
// 出勤数据列表
export function attendanceDataList(data){
return request({
url: '/wechat/attendance/v1/attendanceDataList',
method: 'get',
data: data
})
}

View File

@ -1,27 +0,0 @@
import {request} from '../utils/request'
// 项目文件传达列表
export function fileList(data){
return request({
url: '/wechat/projectFiles/list',
method: 'get',
data: data
})
}
// 根据条件统计项目文件传达
export function findCountByType(data){
return request({
url: '/wechat/projectFiles/findCountByType',
method: 'get',
data: data
})
}
// 文件阅读
export function readFile(id){
return request({
url: '/wechat/projectFiles/readFile/'+id,
method: 'get'
})
}

View File

@ -1,55 +0,0 @@
import {
request
} from '../utils/request'
// 查询工程功能检验列表
export function listProjectFunVerify(data,pageNum,pageSize) {
return request({
url: '/wechat/projectFunVerify/list?pageNum='+pageNum+'pageSize'+pageSize,
method: 'get',
data: data
})
}
// 统计工程功能检验
export function findGroupCountByApprove(data) {
return request({
url: '/wechat/projectFunVerify/findGroupCountByApprove',
method: 'get',
data: data
})
}
// 查询工程功能检验详细
export function getProjectFunVerify(id) {
return request({
url: '/wechat/projectFunVerify/info/' + id,
method: 'get'
})
}
// 新增工程功能检验
export function addProjectFunVerify(data) {
return request({
url: '/wechat/projectFunVerify/add',
method: 'post',
data: data
})
}
// 修改工程功能检验
export function updateProjectFunVerify(data) {
return request({
url: '/wechat/projectFunVerify/edit',
method: 'post',
data: data
})
}
// 删除工程功能检验
export function delProjectFunVerify(id) {
return request({
url: '/wechat/projectFunVerify/remove/' + id,
method: 'get'
})
}

View File

@ -1,10 +0,0 @@
import {request} from '../utils/request'
// 根据条件统计项目标准化类型
export function queryCountByType(data){
return request({
url: '/wechat/projectStandard/findCountByType',
method: 'get',
data: data
})
}

View File

@ -1,76 +0,0 @@
import {request} from '../utils/request'
// 获取用户详细信息
export function getUserInfo() {
return request({
url: '/wxApi/publics/user/info',
method: 'get'
})
}
// 查询用户菜单信息
export function selectRoleMenuList(data) {
return request({
url: '/wxApi/publics/v1/selectRoleMenuList',
method: 'get',
data: data
})
}
// 查询用户待办信息
export function findMyTask(data) {
return request({
url: '/wxApi/flowTask/myAwaitFlowTaskListCount',
method: 'post',
data:data
})
}
// 查询用户部门信息
export function findMyDeptList(){
return request({
url: '/wxApi/publics/v1/findMyDeptList',
method: 'get'
})
}
// 查询用户项目信息
export function findMyProjectList(){
return request({
url: '/wxApi/publics/v1/findMyProjectList',
method: 'get'
})
}
// 查询部门资产列表信息
export function findAllByCategory(category){
return request({
url: '/wxApi/publics/v1/findAllByCategory/'+category,
method: 'get'
})
}
// 获取项目申请详细信息
export function findProjectApplyData(id){
return request({
url: '/wxApi/publics/projectApply/'+id,
method: 'get'
})
}
// 获取系统字典信息
export function getDictCache(type){
return request({
url: '/wechat/publics/v1/getDictCache/'+type,
method: 'get'
})
}
// 获取审批流程信息
export function selectProjectAuditinfoList(data){
return request({
url: '/wechat/projectAuditinfo/selectProjectAuditinfo',
method: 'get',
data:data
})
}

View File

@ -1,6 +1,4 @@
import {
getToken
} from '/utils/auth'
//app.js
//全局分享
!function(){
@ -12,7 +10,7 @@ import {
onShareAppMessage () {
return {
title: '智慧工地优管',//分享标题
path: '/pages/login/index',//分享用户点开后页面
path: '/pages/login/login',//分享用户点开后页面
success (res) {
console.log('分享成功!')
}
@ -25,16 +23,15 @@ import {
App({
globalData: {
category:'',
standard:'',
paramDeptId:'',
userProjectId:'',
appId: "wx9997d071b4996f23",
appId: "wxc44b5d588f599758",
// 智慧工地后台接口访问域名
reqUrl:'https://szgcwx.jhncidg.com',
//reqUrl:'http://127.0.0.1:8091',
uploadUrl:"https://szgcwx.jhncidg.com/wechat",
//uploadUrl:'http://127.0.0.1:8091/wechat',
// reqUrl:"http://wxw.ngrok.makalu.cc",
//reqUrl:'https://jaapplets.makalu.cc',
//reqUrl:'https://sxyanzhu.com/jhwxapp',
//reqUrl:'https://cf.makalu.cc',
reqUrl:'http://127.0.0.1:8091',
//御景路数字化集成管控平台接口访问域名
szhUrl:'https://szh.makalu.cc',
@ -59,7 +56,7 @@ App({
value1:'省',
value2:'市/区',
value3:'公司',
projectInfoList:[],
projectInfoList:{},
projectId:'',
projectName:'',
companyName:'',
@ -79,89 +76,75 @@ App({
traceUser: true,
})
}
this.autoUpdate();
if(!getToken()){
setTimeout(() => {
this.toast("请使用手机号码登录",1500);
}, 1000);
wx.redirectTo({
url: '/pages/login/index',
});
return false;
}
this.update();
},
onLoad(){
onLoad(){},
},
/**
* 获取用户openid
*/
getOPenId:function () {
wx.login({
success :res=>{
console.log(res)
wx.request({
url: this.globalData.reqUrl+'/weixin/userLogin/getOpenId',
data:{
"code": res.code,
"appId":"wxc44b5d588f599758",
},
success:(res)=>{
wx.setStorageSync('openId', res.data.openid)
}
})
}
})
},
//页面弹窗
toast: function (msg) {
wx.showToast({
title: msg,
icon: 'none',
duration: 1000,
duration: 2000,
mask: true
});
},
initWxAuth:function(){
wx.redirectTo({
url: '../wx-auth/index',
})
},
//版本自动更新
autoUpdate:function(){
var self = this
// 获取小程序更新机制兼容
if (wx.canIUse('getUpdateManager')) {
//版本更新
update(){
//使用更新对象之前判断是否可用
if (wx.canIUse('getUpdateManager')){
const updateManager = wx.getUpdateManager()
//1. 检查小程序是否有新版本发布
updateManager.onCheckForUpdate(function (res) {
// 请求完新版本信息的回调
console.log(res.hasUpdate)//res.hasUpdate返回boolean类型
if (res.hasUpdate) {
//2. 小程序有新版本,则静默下载新版本,做好更新准备
updateManager.onUpdateReady(function () {
wx.showModal({
title: '更新提示',
content: '新版本已经准备好,是否重启应用?',
success: function (res) {
content: '新版本已经准备好,是否重启当前应用?',
success(res) {
if (res.confirm) {
//3. 新的版本已经下载好,调用 applyUpdate 应用新版本并重启
// 新的版本已经下载好调用applyUpdate应用新版本并重启
updateManager.applyUpdate()
} else if (res.cancel) {
//如果需要强制更新,则给出二次弹窗,如果不需要,则这里的代码都可以删掉了
wx.showModal({
title: '温馨提示~',
content: '本次更新可能会导致旧版本无法正常访问,请使用新版本',
success: function (res) {
self.autoUpdate()
//第二次提示后,强制更新
// if (res.confirm) {
// // 新的版本已经下载好,调用 applyUpdate 应用新版本并重启
// updateManager.applyUpdate()
// } else if (res.cancel) {
// //重新回到版本更新提示
// self.autoUpdate()
// }
}
})
}
}
})
})
// 新版本下载失败时执行
updateManager.onUpdateFailed(function () {
// 新的版本下载失败
wx.showModal({
title: '已经有新版本了哟~',
content: '新版本已经上线啦~,请您删除当前小程序,重新搜索打开哟~',
title: '发现新版本',
content: '请删除当前小程序,重新搜索打开...',
})
})
}
})
} else {
// 如果希望用户在最新版本的客户端上体验您的小程序,可以这样子提示
}else{
//如果小程序需要在最新的微信版本体验,如下提示
wx.showModal({
title: '提示',
title: '更新提示',
content: '当前微信版本过低,无法使用该功能,请升级到最新微信版本后重试。'
})
}

View File

@ -0,0 +1,71 @@
//app.js
//全局分享
!function(){
var PageTmp = Page;
Page =function (pageConfig) {
// 设置全局默认分享
pageConfig = Object.assign({
//右上角分享功能
onShareAppMessage () {
return {
title: '智能工地+',//分享标题
path: '/pages/login/login',//分享用户点开后页面
success (res) {
console.log('分享成功!')
}
}
}
},pageConfig);
PageTmp(pageConfig);
};
}();
App({
globalData: {
paramDeptId:'',
//请求地址参数
//reqUrl:"http://192.168.31.126:9981",
//reqUrl:'https://zngdtest.makalu.cc/',
reqUrl:'https://zngd.makalu.cc',
//地图相关参数
scale:'',
initialLon:'',
initialLat:'',
markers:[],
//页面跳转参数
type:'',
value1:'省',
value2:'市/区',
value3:'公司',
projectInfoList:{},
projectId:'',
projectName:'',
},
onLaunch: function () {
if (!wx.cloud) {
console.error('请使用 2.2.3 或以上的基础库以使用云能力')
} else {
wx.cloud.init({
// env 参数说明:
// env 参数决定接下来小程序发起的云开发调用wx.cloud.xxx会默认请求到哪个云环境的资源
// 此处请填入环境 ID, 环境 ID 可打开云控制台查看
// 如不填则使用默认环境(第一个创建的环境)
// env: 'my-env-id',
traceUser: true,
})
}
},
//页面弹窗
toast: function (msg) {
wx.showToast({
title: msg,
icon: 'none',
duration: 2000,
mask: true
});
}
})

View File

@ -1,38 +1,41 @@
{
"pages": [
"pages/login/index",
"pages/alter-ps/index",
"pages/wx-auth/index",
"pages/gongchengliebiao/index",
"pages/gengduogongneng/index",
"pages/xiangmugaikuang/index",
"pages/login/login",
"pages/gongchengliebiao/gongchengliebiao",
"pages/gengduogongneng/gengduogongneng",
"pages/xiangmugaikuang/xiangmugaikuang",
"pages/renyuanguanli/renyuanguanli",
"pages/shebieguanli-tzsb/taji",
"pages/shebieguanli-jxsb/shajiangguan",
"pages/ranyuanguanli-map/map",
"pages/map/map",
"pages/shebeiguanli-map/jixiedingwei",
"pages/deepExcavation/index",
"pages/Information-review/index",
"pages/newAddPage/safetyManagement/index",
"pages/learn-page/index",
"pages/Personnel-information-binding/index",
"pages/winter-training/index",
"pages/saft-qr-view/index",
"pages/saft-education-user-bind/index",
"pages/temporaryToExamine/index",
"pages/tempRegistration/index",
"pages/newAddPage/safetyBriefingLearning/index",
"pages/newAddPage2/safetyBriefingLearning/index",
"pages/Highlight-photos/index",
"pages/newAddPage/letterCommitment/index",
"pages/newAddPage2/letterCommitment/index",
"pages/Security-control-echarts/index",
"pages/Concrete-usage/index",
"pages/Quality-Assurance/index",
"pages/Standard-maintenance-room-monitoring/index",
"pages/hnt-strong/index",
"pages/construction/index",
"pages/Construction-Log/index",
"pages/safety_manage/index",
"pages/quality_manage/index",
"pages/progress_manage/index",
"pages/project_flowable/initTask/index",
"pages/project_flowable/myFlowDefinition/index",
"pages/project_flowable/await/index",
"pages/project_flowable/approveTask/index",
"pages/project_flowable/approveLeaveTask/index",
"pages/project_flowable/finished/index",
"pages/project_flowable/initLeaveTask/index",
"pages/project_flowable/detailTask/index",
"pages/project_flowable/detailLeaveTask/index",
"pages/project_flowable/editTask/index",
"pages/project_flowable/editLeaveTask/index",
"pages/project_flowable/myProcessIns/index",
"pages/project_approve/index",
"pages/project_approve/approveCheckDetection/index",
"pages/project_approve/approveChecking/index",
"pages/project_approve/approveMaterialSeal/index",
"pages/project_approve/approveMeasure/index",
"pages/project_approve/approveFunVerify/index"
"pages/construction-details/index",
"pages/measures/index",
"pages/measures-Chakan/index",
"pages/updatePassword/updatePassword"
],
"subpackages": [
{
@ -50,13 +53,24 @@
"AIWarningList/index",
"vehicleManage/index",
"shipinquanping/shipingquanping",
"voucherManagement/index",
"voucherManagementAddto/index",
"biangeng/index",
"suishoupai/suishoupai",
"suishoupai-psh/suishoupai-psh",
"lw-index/lw-index",
"lw-baobiaochaxun/lw-baobiaochaxun",
"lw-gerenxinxi/lw-gerenxinxi",
"lw-jibenxinxi/lw-jibenxinxi",
"safetyManagement/securityCheckGR/index",
"safetyManagement/securityCheck/index",
"safetyManagement/problemRectificationGR/index",
"safetyManagement/problemRectification/index",
"safetyManagement/securityCheckRectified/index",
"safetyManagement/addSafetyInspect/index",
"Security-control-echarts/index",
"dangerousProject/index",
"samplingRetesting/index",
"samplingRetestingDeliver/index",
"samplingRetestingUpload/index",
@ -64,62 +78,7 @@
"samplingRetestingDetail/index",
"Progress-management/index",
"Material-Management/index",
"technical-management/index",
"project_checking/add/index",
"project_checking/list/index",
"project_checking/edit/index",
"project_checking/info/index",
"project_funVerify/add/index",
"project_funVerify/list/index",
"project_funVerify/edit/index",
"project_funVerify/info/index",
"project_problemmodify/security/list/index",
"project_problemmodify/security/info/index",
"project_problemmodify/security/modify/index",
"project_problemmodify/security/check/index",
"project_problemmodify/security/add/index",
"project_problemmodify/security/draft/index",
"project_problemmodify/quality/list/index",
"project_problemmodify/quality/info/index",
"project_problemmodify/quality/modify/index",
"project_problemmodify/quality/check/index",
"project_problemmodify/quality/add/index",
"project_problemmodify/quality/draft/index",
"project_schedule/list/index",
"project_schedule/add/index",
"project_schedule/info/index",
"project_train/list/index",
"project_train/add/index",
"project_train/info/index",
"project_special/list/index",
"project_special/add/index",
"project_special/info/index",
"project_measure/list/index",
"project_measure/add/index",
"project_measure/edit/index",
"project_measure/info/index",
"project_materialSeal/list/index",
"project_materialSeal/add/index",
"project_materialSeal/edit/index",
"project_materialSeal/info/index",
"project_checkDetection/list/index",
"project_checkDetection/add/index",
"project_checkDetection/info/index",
"project_checkDetection/check/index",
"project_checkDetection/edit/index",
"project_insurance/add/index",
"project_insurance/info/index",
"project_insurance/list/index",
"project_attendance/project_attendanceUser/list/index",
"project_attendance/project_attendanceUser/info/index",
"project_attendance/project_attendanceData/list/index",
"project_standard/list/index",
"project_standard/add/index",
"project_standard/info/index",
"project_files/index",
"flow_labour/list/index",
"flow_labour/check/index",
"flow_labour/info/index"
"technical-management/index"
],
"independent": false
}
@ -129,6 +88,7 @@
"van-col": "@vant/weapp/col",
"van-popup": "@vant/weapp/popup/index",
"van-picker": "@vant/weapp/picker/index",
"van-uploader": "@vant/weapp/uploader/index",
"van-datetime-picker": "@vant/weapp/datetime-picker/index",
"van-radio": "@vant/weapp/radio/index",
"van-radio-group": "@vant/weapp/radio-group/index",
@ -151,24 +111,23 @@
"voucher-selects": "pages/components/voucher-selects/index",
"voucher-selected": "pages/components/voucher-selected/index",
"voucher-date": "pages/components/voucher-date/index",
"voucher-datetime": "pages/components/voucher-datetime/index",
"voucher-date-copy": "pages/components/voucher-date-copy/index",
"file-uploader": "pages/components/file-uploader/index",
"file-uploader-all": "pages/components/file-uploader-all/index",
"project-select": "pages/components/project-select/index",
"safety-pie-chart": "./newComponents/safety-pie-chart/index",
"safety-pie-charts": "./newComponents/safety-pie-charts/index",
"safety-bar-chart": "./newComponents/safety-bar-chart/index",
"safety-bar-charts": "./newComponents/safety-bar-charts/index",
"safety-bar-chartss": "./newComponents/safety-bar-chartss/index",
"file-uploader-copy": "pages/components/file-uploader-copy/index",
"voucher-many-select": "pages/components/voucher-many-select/index",
"sign": "pages/components/sign/sign",
"safety-number": "./newComponents/number/index",
"select-person": "./newComponents/select-person/index",
"select-group-person": "./newComponents/select-group-person/index",
"van-dropdown-menu": "@vant/weapp/dropdown-menu/index",
"van-dropdown-item": "@vant/weapp/dropdown-item/index",
"curve-echarts": "pages/components/curve-echarts/index",
"user-infos": "pages/components/user-infos/index"
"curve-echarts-copy": "pages/components/curve-echarts-copy/index"
},
"window": {
"backgroundTextStyle": "light",

File diff suppressed because it is too large Load Diff

View File

@ -113,7 +113,7 @@
.van-tab--active .mkl-ellipsis .mkl-active {
/* font-weight: 500;
color: #323233; */
background: url("https://szgcwx.jhncidg.com/staticFiles/img/CORE_38D582DD840F4816B1F14D964F0046E9.png") no-repeat bottom/100% 15rpx;
background: url("http://fileimg.makalu.cc/CORE_38D582DD840F4816B1F14D964F0046E9.png") no-repeat bottom/100% 15rpx;
font-size: 30rpx;
color: #000;
font-weight: bold;

View File

@ -1,8 +0,0 @@
// 应用全局配置
module.exports = {
timeout: 60000,
appId: "wx9997d071b4996f23",
//baseUrl: 'http://127.0.0.1:8091',
baseUrl: 'https://szgcwx.jhncidg.com',
noSecuritys:['/wechat/captchaImage','/wechat/login','/wechat/v1/sendPhoneMessage','/wechat/v1/codeUpdatePwd']
};

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 495 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 918 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@ -1 +1 @@
@import '../common/index.wxss';.van-collapse-item__title .van-cell__right-icon{-webkit-transform:rotate(90deg);transform:rotate(90deg);transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;transition:-webkit-transform var(--collapse-item-transition-duration,.3s);transition:transform var(--collapse-item-transition-duration,.3s);transition:transform var(--collapse-item-transition-duration,.3s),-webkit-transform var(--collapse-item-transition-duration,.3s)}.van-collapse-item__title--expanded .van-cell__right-icon{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.van-collapse-item__title--disabled .van-cell,.van-collapse-item__title--disabled .van-cell__right-icon{color:#c8c9cc!important;color:var(--collapse-item-title-disabled-color,#c8c9cc)!important}.van-collapse-item__title--disabled .van-cell--hover{background-color:#fff!important;background-color:var(--white,#fff)!important}.van-collapse-item__wrapper{overflow:hidden}.van-collapse-item__wrapper--transition{transition:height .3s ease-in-out}.van-collapse-item__content{padding:15px;padding:var(--collapse-item-content-padding,10px);color:#969799;color:var(--collapse-item-content-text-color,#969799);font-size:13px;font-size:var(--collapse-item-content-font-size,13px);line-height:1.5;line-height:var(--collapse-item-content-line-height,1.5);background-color:#fff;background-color:var(--collapse-item-content-background-color,#fff)}
@import '../common/index.wxss';.van-collapse-item__title .van-cell__right-icon{-webkit-transform:rotate(90deg);transform:rotate(90deg);transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;transition:-webkit-transform var(--collapse-item-transition-duration,.3s);transition:transform var(--collapse-item-transition-duration,.3s);transition:transform var(--collapse-item-transition-duration,.3s),-webkit-transform var(--collapse-item-transition-duration,.3s)}.van-collapse-item__title--expanded .van-cell__right-icon{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.van-collapse-item__title--disabled .van-cell,.van-collapse-item__title--disabled .van-cell__right-icon{color:#c8c9cc!important;color:var(--collapse-item-title-disabled-color,#c8c9cc)!important}.van-collapse-item__title--disabled .van-cell--hover{background-color:#fff!important;background-color:var(--white,#fff)!important}.van-collapse-item__wrapper{overflow:hidden}.van-collapse-item__wrapper--transition{transition:height .3s ease-in-out}.van-collapse-item__content{padding:15px;padding:var(--collapse-item-content-padding,15px);color:#969799;color:var(--collapse-item-content-text-color,#969799);font-size:13px;font-size:var(--collapse-item-content-font-size,13px);line-height:1.5;line-height:var(--collapse-item-content-line-height,1.5);background-color:#fff;background-color:var(--collapse-item-content-background-color,#fff)}

View File

@ -42,7 +42,7 @@
selection-start="{{ selectionStart }}"
disable-default-padding="{{ disableDefaultPadding }}"
bindinput="onInput"
bindinput="onBlur"
bindblur="onBlur"
bindfocus="onFocus"
bindconfirm="onConfirm"
bindlinechange="onLineChange"
@ -71,7 +71,7 @@
selection-start="{{ selectionStart }}"
password="{{ password || type === 'password' }}"
bindinput="onInput"
bindinput="onBlur"
bindblur="onBlur"
bindfocus="onFocus"
bindconfirm="onConfirm"
bindkeyboardheightchange="onKeyboardHeightChange"

View File

@ -8,10 +8,6 @@ component_1.VantComponent({
icon: String,
steps: Array,
active: Number,
rejectNode:{
type: Number,
value: 100,
},
direction: {
type: String,
value: 'horizontal',

View File

@ -2,39 +2,53 @@
<view class="custom-class {{ utils.bem('steps', [direction]) }}">
<view class="van-step__wrapper">
<view wx:for="{{ steps }}" wx:key="index" bindtap="onClick" data-index="{{ index }}" class="{{ utils.bem('step', [direction, status(index, active)]) }} van-hairline" style="{{ status(index, active) === 'inactive' ? 'color: ' + inactiveColor: '' }}">
<view class="van-step__title" style="{{ index === active ? 'color: #45affb': (index === rejectNode? 'color: #fd6060;font-weight:800':'')}}">
<view style="{{ index < active ? 'color: ' + activeColor : '' }}">{{ item.text }}</view>
<view
wx:for="{{ steps }}"
wx:key="index"
bindtap="onClick"
data-index="{{ index }}"
class="{{ utils.bem('step', [direction, status(index, active)]) }} van-hairline"
style="{{ status(index, active) === 'inactive' ? 'color: ' + inactiveColor: '' }}"
>
<view class="van-step__title" style="{{ index === active ? 'color: ' + activeColor : '' }}">
<view>{{ item.text }}</view>
<view class="desc-class">{{ item.desc }}</view>
</view>
<view class="van-step__circle-container">
<block wx:if="{{ index > active }}">
<block wx:if="{{ index === rejectNode }}">
<van-icon color="#fd6060" name="clear" custom-class="van-step__icon" />
</block>
<block wx:if="{{ index != rejectNode }}">
<van-icon wx:if="{{ item.inactiveIcon || inactiveIcon }}" color="{{ status(index, active) === 'inactive' ? inactiveColor: activeColor }}" name="{{ item.inactiveIcon || inactiveIcon }}" custom-class="van-step__icon" />
<view wx:else class="van-step__circle" style="{{ 'background-color: ' + (index < active ? activeColor : inactiveColor) }}" />
</block>
<block wx:if="{{ index !== active }}">
<van-icon
wx:if="{{ item.inactiveIcon || inactiveIcon }}"
color="{{ status(index, active) === 'inactive' ? inactiveColor: activeColor }}"
name="{{ item.inactiveIcon || inactiveIcon }}"
custom-class="van-step__icon"
/>
<view
wx:else
class="van-step__circle"
style="{{ 'background-color: ' + (index < active ? activeColor : inactiveColor) }}"
/>
</block>
<van-icon wx:else name="{{ index < active ? 'checked': 'checked' }}" style="{{index < active ? 'color:#07c160':'color:#45affb;font-size:30rpx !important;'}}" custom-class="van-step__icon" />
<van-icon wx:else name="{{ item.activeIcon || activeIcon }}" color="{{ activeColor }}" custom-class="van-step__icon" />
</view>
<view wx:if="{{ index === rejectNode -1 }}" class="van-step__line" style="background-color:#fd6060" />
<view wx:if="{{ (index !== steps.length - 1) && index != rejectNode -1 }}" class="van-step__line" style="{{ 'background-color: ' + (index < active ? activeColor : inactiveColor) }}" />
<view
wx:if="{{ index !== steps.length - 1 }}"
class="van-step__line" style="{{ 'background-color: ' + (index < active ? activeColor : inactiveColor) }}"
/>
</view>
</view>
</view>
<wxs module="status">
function get(index, active) {
if (index < active) {
return 'finish';
} else if (index === active) {
return 'process';
}
return 'inactive';
function get(index, active) {
if (index < active) {
return 'finish';
} else if (index === active) {
return 'process';
}
module.exports = get;
</wxs>
return 'inactive';
}
module.exports = get;
</wxs>

View File

@ -1 +1 @@
@import '../common/index.wxss';.van-steps{overflow:hidden;background-color:#fff;background-color:var(--steps-background-color,#fff)}.van-steps--horizontal{padding:10px}.van-steps--horizontal .van-step__wrapper{position:relative;display:-webkit-flex;display:flex;overflow:hidden}.van-steps--vertical{padding-left:10px}.van-steps--vertical .van-step__wrapper{padding:0 0 0 20px}.van-step{position:relative;-webkit-flex:1;flex:1;font-size:14px;font-size:var(--step-font-size,14px);color:#969799;color:var(--step-text-color,#969799)}.van-step--finish{color:#323233;color:var(--step-finish-text-color,#323233)}.van-step__circle{border-radius:50%;width:5px;width:var(--step-circle-size,5px);height:5px;height:var(--step-circle-size,5px);background-color:#969799;background-color:var(--step-circle-color,#969799)}.van-step--horizontal{padding-bottom:14px}.van-step--horizontal:first-child .van-step__title{-webkit-transform:none;transform:none}.van-step--horizontal:first-child .van-step__circle-container{padding:0 8px 0 0;-webkit-transform:translate3d(0,50%,0);transform:translate3d(0,50%,0)}.van-step--horizontal:last-child{position:absolute;right:0;width:auto}.van-step--horizontal:last-child .van-step__title{text-align:right;-webkit-transform:none;transform:none}.van-step--horizontal:last-child .van-step__circle-container{right:0;padding:0 0 0 8px;-webkit-transform:translate3d(0,50%,0);transform:translate3d(0,50%,0)}.van-step--horizontal .van-step__circle-container{position:absolute;bottom:6px;z-index:1;-webkit-transform:translate3d(-50%,50%,0);transform:translate3d(-50%,50%,0);background-color:#fff;background-color:var(--white,#fff);padding:0 8px;padding:0 var(--padding-xs,8px)}.van-step--horizontal .van-step__title{display:inline-block;-webkit-transform:translate3d(-50%,0,0);transform:translate3d(-50%,0,0);font-size:12px;font-size:var(--step-horizontal-title-font-size,12px)}.van-step--horizontal .van-step__line{position:absolute;right:0;bottom:6px;left:0;height:2px;-webkit-transform:translate3d(0,50%,0);transform:translate3d(0,50%,0);background-color:#ebedf0;background-color:var(--step-line-color,#ebedf0)}.van-step--horizontal.van-step--process{color:#323233;color:var(--step-process-text-color,#323233)}.van-step--horizontal.van-step--process .van-step__icon{display:block;line-height:1;}.van-step--vertical{padding:10px 10px 10px 0;line-height:18px}.van-step--vertical:after{border-bottom-width:1px}.van-step--vertical:last-child:after{border-bottom-width:none}.van-step--vertical:first-child:before{position:absolute;top:0;left:-15px;z-index:1;width:1px;height:20px;content:"";background-color:#fff;background-color:var(--white,#fff)}.van-step--vertical .van-step__circle,.van-step--vertical .van-step__icon,.van-step--vertical .van-step__line{position:absolute;top:19px;left:-14px;z-index:2;-webkit-transform:translate3d(-50%,-50%,0);transform:translate3d(-50%,-50%,0)}.van-step--vertical .van-step__icon{line-height:1;font-size:12px;font-size:var(--step-icon-size,12px)}.van-step--vertical .van-step__line{z-index:1;width:1px;height:100%;-webkit-transform:translate3d(-50%,0,0);transform:translate3d(-50%,0,0);background-color:#ebedf0;background-color:var(--step-line-color,#ebedf0)}.van-step__title{padding-bottom: 10rpx;}
@import '../common/index.wxss';.van-steps{overflow:hidden;background-color:#fff;background-color:var(--steps-background-color,#fff)}.van-steps--horizontal{padding:10px}.van-steps--horizontal .van-step__wrapper{position:relative;display:-webkit-flex;display:flex;overflow:hidden}.van-steps--vertical{padding-left:10px}.van-steps--vertical .van-step__wrapper{padding:0 0 0 20px}.van-step{position:relative;-webkit-flex:1;flex:1;font-size:14px;font-size:var(--step-font-size,14px);color:#969799;color:var(--step-text-color,#969799)}.van-step--finish{color:#323233;color:var(--step-finish-text-color,#323233)}.van-step__circle{border-radius:50%;width:5px;width:var(--step-circle-size,5px);height:5px;height:var(--step-circle-size,5px);background-color:#969799;background-color:var(--step-circle-color,#969799)}.van-step--horizontal{padding-bottom:14px}.van-step--horizontal:first-child .van-step__title{-webkit-transform:none;transform:none}.van-step--horizontal:first-child .van-step__circle-container{padding:0 8px 0 0;-webkit-transform:translate3d(0,50%,0);transform:translate3d(0,50%,0)}.van-step--horizontal:last-child{position:absolute;right:0;width:auto}.van-step--horizontal:last-child .van-step__title{text-align:right;-webkit-transform:none;transform:none}.van-step--horizontal:last-child .van-step__circle-container{right:0;padding:0 0 0 8px;-webkit-transform:translate3d(0,50%,0);transform:translate3d(0,50%,0)}.van-step--horizontal .van-step__circle-container{position:absolute;bottom:6px;z-index:1;-webkit-transform:translate3d(-50%,50%,0);transform:translate3d(-50%,50%,0);background-color:#fff;background-color:var(--white,#fff);padding:0 8px;padding:0 var(--padding-xs,8px)}.van-step--horizontal .van-step__title{display:inline-block;-webkit-transform:translate3d(-50%,0,0);transform:translate3d(-50%,0,0);font-size:12px;font-size:var(--step-horizontal-title-font-size,12px)}.van-step--horizontal .van-step__line{position:absolute;right:0;bottom:6px;left:0;height:1px;-webkit-transform:translate3d(0,50%,0);transform:translate3d(0,50%,0);background-color:#ebedf0;background-color:var(--step-line-color,#ebedf0)}.van-step--horizontal.van-step--process{color:#323233;color:var(--step-process-text-color,#323233)}.van-step--horizontal.van-step--process .van-step__icon{display:block;line-height:1;font-size:12px;font-size:var(--step-icon-size,12px)}.van-step--vertical{padding:10px 10px 10px 0;line-height:18px}.van-step--vertical:after{border-bottom-width:1px}.van-step--vertical:last-child:after{border-bottom-width:none}.van-step--vertical:first-child:before{position:absolute;top:0;left:-15px;z-index:1;width:1px;height:20px;content:"";background-color:#fff;background-color:var(--white,#fff)}.van-step--vertical .van-step__circle,.van-step--vertical .van-step__icon,.van-step--vertical .van-step__line{position:absolute;top:19px;left:-14px;z-index:2;-webkit-transform:translate3d(-50%,-50%,0);transform:translate3d(-50%,-50%,0)}.van-step--vertical .van-step__icon{line-height:1;font-size:12px;font-size:var(--step-icon-size,12px)}.van-step--vertical .van-step__line{z-index:1;width:1px;height:100%;-webkit-transform:translate3d(-50%,0,0);transform:translate3d(-50%,0,0);background-color:#ebedf0;background-color:var(--step-line-color,#ebedf0)}

View File

@ -56,7 +56,7 @@
<!-- 默认上传样式 -->
<view
wx:if="{{ showUpload }}"
class="bg_c van-uploader__upload {{ disabled ? 'van-uploader__upload--disabled': ''}}"
class="van-uploader__upload {{ disabled ? 'van-uploader__upload--disabled': ''}}"
style="width: {{ utils.addUnit(previewSize) }}; height: {{ utils.addUnit(previewSize) }};"
bindtap="startUpload"
>

View File

@ -1 +1 @@
@import '../common/index.wxss';.van-uploader{position:relative;display:inline-block}.van-uploader__wrapper{display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap}.van-uploader__slot:empty{display:none}.van-uploader__slot:not(:empty)+.van-uploader__upload{display:none!important}.van-uploader__upload{position:relative;display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box;width:80px;height:80px;margin:0 8px 8px 0;background-color:#f7f8fa;border-radius:8px}.van-uploader__upload:active{background-color:#28345a}.van-uploader__upload-icon{color:#dcdee0;font-size:24px}.van-uploader__upload-text{margin-top:8px;color:#eee;font-size:12px}.van-uploader__upload--disabled{opacity:.5;opacity:var(--uploader-disabled-opacity,.5)}.van-uploader__preview{position:relative;margin:0 8px 8px 0;cursor:pointer}.van-uploader__preview-image{display:block;width:80px;height:80px;overflow:hidden;border-radius:8px}.van-uploader__preview-delete{position:absolute;top:0;right:0;z-index:1;display:-webkit-flex;display:flex;padding:10px;border-radius:50%;-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%)}.van-uploader__preview-delete__icon{color:#969799;font-size:18px;background-color:#fff;border-radius:50%}.van-uploader__file{display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center;width:80px;height:80px;background-color:#f7f8fa;border-radius:8px}.van-uploader__file-icon{color:#646566;font-size:20px}.van-uploader__file-name{box-sizing:border-box;width:100%;margin-top:8px;padding:0 4px;color:#646566;font-size:12px;text-align:center}.van-uploader__mask{position:absolute;top:0;right:0;bottom:0;left:0;display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center;color:#fff;background-color:rgba(50,50,51,.88);border-radius:8px}.van-uploader__mask-icon{font-size:22px}.van-uploader__mask-message{margin-top:6px;padding:0 4px;font-size:12px;line-height:14px}.van-uploader__loading{width:22px;height:22px;color:#28345a}.bg_c{background-color: #28345a;}
@import '../common/index.wxss';.van-uploader{position:relative;display:inline-block}.van-uploader__wrapper{display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap}.van-uploader__slot:empty{display:none}.van-uploader__slot:not(:empty)+.van-uploader__upload{display:none!important}.van-uploader__upload{position:relative;display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box;width:80px;height:80px;margin:0 8px 8px 0;background-color:#f7f8fa;border-radius:8px}.van-uploader__upload:active{background-color:#f2f3f5}.van-uploader__upload-icon{color:#dcdee0;font-size:24px}.van-uploader__upload-text{margin-top:8px;color:#969799;font-size:12px}.van-uploader__upload--disabled{opacity:.5;opacity:var(--uploader-disabled-opacity,.5)}.van-uploader__preview{position:relative;margin:0 8px 8px 0;cursor:pointer}.van-uploader__preview-image{display:block;width:80px;height:80px;overflow:hidden;border-radius:8px}.van-uploader__preview-delete{position:absolute;top:0;right:0;z-index:1;display:-webkit-flex;display:flex;padding:10px;border-radius:50%;-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%)}.van-uploader__preview-delete__icon{color:#969799;font-size:18px;background-color:#fff;border-radius:50%}.van-uploader__file{display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center;width:80px;height:80px;background-color:#f7f8fa;border-radius:8px}.van-uploader__file-icon{color:#646566;font-size:20px}.van-uploader__file-name{box-sizing:border-box;width:100%;margin-top:8px;padding:0 4px;color:#646566;font-size:12px;text-align:center}.van-uploader__mask{position:absolute;top:0;right:0;bottom:0;left:0;display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center;color:#fff;background-color:rgba(50,50,51,.88);border-radius:8px}.van-uploader__mask-icon{font-size:22px}.van-uploader__mask-message{margin-top:6px;padding:0 4px;font-size:12px;line-height:14px}.van-uploader__loading{width:22px;height:22px;color:#fff}

View File

@ -18,7 +18,7 @@
.number_con{
width: 40rpx;
height: 70rpx;
background: url("https://szgcwx.jhncidg.com/staticFiles/img/WEB_3976596DEC1B4726BDDB70F17DC3D58D.png") no-repeat center/100% 100%;
background: url("http://fileimg.makalu.cc/WEB_3976596DEC1B4726BDDB70F17DC3D58D.png") no-repeat center/100% 100%;
font-family: 'numberfont' !important;
text-align: center;
line-height: 70rpx;

View File

@ -19,7 +19,7 @@ Component({
},
observers: {
data: function (val) {
//console.log(val)
console.log(val)
this.initChart()
},
},
@ -67,11 +67,9 @@ Component({
})
},
getData() {
var max=0;
var data = this.data.data
for (let i = data.length-1; i >=0 ; i--) {
max += data[i].total;
}
var max = data[0].total
var nameData = [];
var totalData = []
var background = []
@ -103,18 +101,18 @@ Component({
bottom: "-12%",
containLabel: true,
},
// legend: {
// top: "0",
// //icon: "circle",
// itemWidth: 10,
// itemHeight:10,
// itemGap: 8,
// textStyle: {
// fontSize: 12,
// color:'#c6d9fa'
// },
// data: legend,
// },
legend: {
top: "0",
//icon: "circle",
itemWidth: 10,
itemHeight:10,
itemGap: 8,
textStyle: {
fontSize: 12,
color:'#c6d9fa'
},
data: legend,
},
xAxis: [{
show: false,
},

View File

@ -202,7 +202,7 @@ Component({
// width:20,
// height:15,
// backgroundColor: {
// image: "https://szgcwx.jhncidg.com/staticFiles/img/WEB_2B7C06210CD44D55BFEE6205A35DE4A7.png",
// image: "http://fileimg.makalu.cc/WEB_2B7C06210CD44D55BFEE6205A35DE4A7.png",
// },
// },

View File

@ -18,7 +18,7 @@ Component({
},
observers: {
chartData: function (val) {
//console.log(val)
console.log(val)
this.initChart()
},
},
@ -56,17 +56,15 @@ Component({
initChart(){
var id ='#' + this.data.chartId;
this.component = this.selectComponent(id);
if(this.component!=null){
this.component.init((canvas, width, height, dpr) => {
let chart = echarts.init(canvas, null, {
width: width,
height: height,
devicePixelRatio: dpr
})
chart.setOption(this.getData());
return chart;
this.component.init((canvas, width, height, dpr) => {
let chart = echarts.init(canvas, null, {
width: width,
height: height,
devicePixelRatio: dpr
})
}
chart.setOption(this.getData());
return chart;
})
},
getData() {
var data = this.data.chartData

View File

@ -1,122 +0,0 @@
// newComponents/select-group-person/index.js
Component({
/**
* 组件的属性列表
*/
properties: {
title:{
type:String
},
index:{
type:String
},
choose:{
type:String
},
multiple:{
type:Boolean,
value:true
},
rectifierData:{
type:Array,
value:[]
}
},
observers: {
},
lifetimes: {
created: function(){
//在组件实例刚刚被创建时执行,注意此时不能调用 setData
},
attached: function () {
//在组件实例进入页面节点树时执行
},
ready: function () {
// 在组件在视图层布局完成后执行
},
detached: function () {
// 在组件实例被从页面节点树移除时执行
},
},
/**
* 组件的初始数据
*/
data: {
show:false,
gridData:[],
selectedIndex:[]
},
/**
* 组件的方法列表
*/
methods: {
onAddResponsible(){
this.setData({
show:true
})
},
onClose(){
this.setData({
show:false
})
},
onSelected(e){
var data = this.data.rectifierData;
let ei = e.currentTarget.dataset.index;
let index = ei.split('_');
let userdata = data[index[0]].userinfoList[index[1]];
let of = this.data.selectedIndex.indexOf(ei);
if(of>-1){
this.data.selectedIndex.splice(of, 1);
userdata.state = false;
}else{
this.data.selectedIndex.push(ei);
userdata.state = true;
}
if(!this.data.multiple && this.data.selectedIndex.length>0){
if(this.data.selectedIndex.length>1){
this.data.selectedIndex.forEach((item) =>{
let _indexs = item.split('_');
data[_indexs[0]].userinfoList[_indexs[1]].state = false;
});
userdata.state = true;
this.data.selectedIndex=[];
this.data.selectedIndex.push(ei);
}
let _gridData=[{userName:userdata.nickName+" ["+userdata.jobTypeName+"]",phoneNumber:userdata.phonenumber}];
this.triggerEvent('selected',_gridData)
this.setData({
choose:_gridData[0].userName,
rectifierData:data,
show:false
})
}else{
this.setData({
rectifierData : data
})
}
},
onConfirm(){
var data = this.data.rectifierData;
let _gridData=[];
let chooses="";
if(this.data.selectedIndex.length>0){
this.data.selectedIndex.forEach((item) =>{
let _indexs = item.split('_');
let name = data[_indexs[0]].userinfoList[_indexs[1]].nickName+" ["+data[_indexs[0]].userinfoList[_indexs[1]].jobTypeName+"]";
_gridData.push({userName:name,phoneNumber:data[_indexs[0]].userinfoList[_indexs[1]].phonenumber});
chooses+=","+name;
});
}
this.triggerEvent('selected',_gridData)
this.setData({
choose:chooses.substring(1),
show:false
})
}
}
})

View File

@ -1,38 +0,0 @@
<!--newComponents/select-group-person/index.wxml-->
<view class="nspect_info_rectifier">
<van-row>
<van-col span="24" style="text-align: left;">
<input placeholder="请选择{{title}}" data-index="{{index}}" placeholder-style="color:#6777aa;" class="inspect_input_fill_in" bindtap="onAddResponsible" disabled="true" value="{{choose}}"/>
</van-col>
</van-row>
</view>
<van-popup show="{{ show }}" bind:close="onClose" position="bottom">
<view class="rectifier_max">
<view class="rectifier_title">
<view class="rectifier_text">{{title}}</view>
<view class="rectifier_close" bindtap="onClose"><van-icon name="cross" /></view>
</view>
<view class="rectifier_list">
<view class="rectifier_list_height">
<view wx:for="{{rectifierData}}" wx:key="index" data-index="{{index}}">
<view class="rectifier_list-group_for">[{{item.unitTypeName}}] {{item.unitName}}</view>
<view class="rectifier_list_for" wx:for="{{item.userinfoList}}" wx:for-item="items" wx:for-index="index_i" wx:key="index_i" data-index="{{index+'_'+index_i}}" bindtap="onSelected">
<view class="rectifier_list_radio">
<view class="rectifier_list_radio_circle {{items.state?'active':''}}">
<van-icon name="success" wx:if="{{items.state}}"/>
</view>
</view>
<view class="rectifier_list_name {{items.state?'active':''}}">{{items.phonenumber}}</view>
<view class="rectifier_list_name {{items.state?'active':''}}">{{items.nickName}} [{{items.jobTypeName}}]</view>
</view>
</view>
</view>
</view>
<view class="rectifier_btn">
<view bindtap="onClose">取消</view>
<view bindtap="onConfirm">确认</view>
</view>
</view>
</van-popup>

View File

@ -1,125 +0,0 @@
.rectifier_add_to{
width: 100rpx;
height: 100rpx;
margin: auto;
background: #252d41;
text-align: center;
line-height: 110rpx;
font-size: 50rpx;
color: #57668f;
font-weight: bold;
border-radius: 5rpx;
}
.rectifier_max{
width: 100%;
height: 100%;
background: #232a44;
border-radius: 15rpx;
position: relative;
}
.rectifier_title{
position: relative;
background: #27304f;
border-radius: 15rpx;
text-align: center;
padding:20rpx 15rpx;
}
.rectifier_close{
position: absolute;
width: 50rpx;
height: 50rpx;
right: 20rpx;
top: 12rpx;
line-height: 60rpx;
text-align: center;
}
.rectifier_list{
padding:20rpx 40rpx;
}
.rectifier_list_height{
height: 990rpx;
overflow: auto;
}
.rectifier_list_for{
display: flex;
align-items: center;
padding: 18rpx 15rpx;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.rectifier_list_radio{
width: 70rpx;
}
.rectifier_list_radio_circle{
width: 30rpx;
height: 30rpx;
border-radius: 50%;
border: 1px solid #6576a2;
}
.rectifier_list_radio_circle.active{
background: #8262f3;
border: 1px solid #8262f3;
}
.rectifier_list_name{
padding-left: 10rpx;
color: #6576a2;
}
.rectifier_list_name.active{
color: #ffffff;
}
.rectifier_btn{
display: flex;
align-items: center;
background: #27304f;
border-radius: 0 0 15rpx 15rpx;
}
.rectifier_btn view{
width: 50%;
text-align: center;
height: 80rpx;
line-height: 80rpx;
color:#6874a4;
}
.rectifier_btn view:last-child{
border-left: 1px solid #6874a4;
color: #ffffff;
}
.rectifier_list-group_for{
height: 65rpx;
background-color: #879ff97d;
line-height: 65rpx;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.inspect_input_fill_in {
height: 90rpx;
background: #212737;
border-radius: 10rpx;
padding: 0 30rpx;
}

View File

@ -4,9 +4,6 @@ Component({
* 组件的属性列表
*/
properties: {
title:{
type:String
},
choose:{
type:Array
},
@ -17,19 +14,19 @@ Component({
rectifierData:{
type:Array,
value:[
{state:false,name:'党鹏',url:'https://szgcwx.jhncidg.com/staticFiles/img/WEB_44D7C71ACA8E4D40B323AC929315045B.jpg'},
{state:false,name:'董超',url:'https://szgcwx.jhncidg.com/staticFiles/img/WEB_44D7C71ACA8E4D40B323AC929315045B.jpg'},
{state:false,name:'黄海军',url:'https://szgcwx.jhncidg.com/staticFiles/img/WEB_44D7C71ACA8E4D40B323AC929315045B.jpg'},
{state:false,name:'黄嘉伟',url:'https://szgcwx.jhncidg.com/staticFiles/img/WEB_44D7C71ACA8E4D40B323AC929315045B.jpg'},
{state:false,name:'李鑫',url:'https://szgcwx.jhncidg.com/staticFiles/img/WEB_44D7C71ACA8E4D40B323AC929315045B.jpg'},
{state:false,name:'聂少刚',url:'https://szgcwx.jhncidg.com/staticFiles/img/WEB_44D7C71ACA8E4D40B323AC929315045B.jpg'},
{state:false,name:'王晨',url:'https://szgcwx.jhncidg.com/staticFiles/img/WEB_44D7C71ACA8E4D40B323AC929315045B.jpg'},
{state:false,name:'王程',url:'https://szgcwx.jhncidg.com/staticFiles/img/WEB_44D7C71ACA8E4D40B323AC929315045B.jpg'},
{state:false,name:'王国雄',url:'https://szgcwx.jhncidg.com/staticFiles/img/WEB_44D7C71ACA8E4D40B323AC929315045B.jpg'},
{state:false,name:'杨启明',url:'https://szgcwx.jhncidg.com/staticFiles/img/WEB_44D7C71ACA8E4D40B323AC929315045B.jpg'},
{state:false,name:'赵平印',url:'https://szgcwx.jhncidg.com/staticFiles/img/WEB_44D7C71ACA8E4D40B323AC929315045B.jpg'},
{state:false,name:'张明亮',url:'https://szgcwx.jhncidg.com/staticFiles/img/WEB_44D7C71ACA8E4D40B323AC929315045B.jpg'},
{state:false,name:'张露露',url:'https://szgcwx.jhncidg.com/staticFiles/img/WEB_44D7C71ACA8E4D40B323AC929315045B.jpg'}
{state:false,name:'党鹏',url:'http://fileimg.makalu.cc/WEB_44D7C71ACA8E4D40B323AC929315045B.jpg'},
{state:false,name:'董超',url:'http://fileimg.makalu.cc/WEB_B3F05B5BC25C452F90EAA2347833D228.jpg'},
{state:false,name:'黄海军',url:'http://fileimg.makalu.cc/WEB_08FE97020FBD49C3A775B97B5FAA05DF.jpg'},
{state:false,name:'黄嘉伟',url:'http://fileimg.makalu.cc/WEB_65398BB3CB5A4098B5D222AFB6C286EF.jpg'},
{state:false,name:'李鑫',url:'http://fileimg.makalu.cc/WEB_F62AAB25BA4946BB8CC406BA2AAF4CA7.jpg'},
{state:false,name:'聂少刚',url:'http://fileimg.makalu.cc/WEB_9D3E6D980B2A4B57AC4A32C16CB384A0.jpg'},
{state:false,name:'王晨',url:'http://fileimg.makalu.cc/WEB_E8BD336312324B69924D7264AC726D65.jpg'},
{state:false,name:'王程',url:'http://fileimg.makalu.cc/WEB_F5E8BF2385E747AA8D9FD328A413E021.jpg'},
{state:false,name:'王国雄',url:'http://fileimg.makalu.cc/WEB_37C63EB77EC240598C72979582273990.jpg'},
{state:false,name:'杨启明',url:'http://fileimg.makalu.cc/WEB_A09316E46D1C4A1AB558258918740247.jpg'},
{state:false,name:'赵平印',url:'http://fileimg.makalu.cc/WEB_CA897DDFF6294940ADB187099F77F6FE.jpg'},
{state:false,name:'张明亮',url:'http://fileimg.makalu.cc/WEB_B2C7971895B74BA6B33A6D17F132E86E.jpg'},
{state:false,name:'张露露',url:'http://fileimg.makalu.cc/WEB_0185D8D49A00474D8058A9651E96506A.jpg'}
]
}
},

View File

@ -15,7 +15,7 @@
<van-popup show="{{ show }}" bind:close="onClose">
<view class="rectifier_max">
<view class="rectifier_title">
<view class="rectifier_text">{{title}}</view>
<view class="rectifier_text">整改责任人</view>
<view class="rectifier_close" bindtap="onClose"><van-icon name="cross" /></view>
</view>
<view class="rectifier_list">

View File

@ -30,7 +30,7 @@
<view class="ai_warning_list_time">
<view class="ai_warning_list_time_date">{{item.dateTime}}</view>
<view class="ai_warning_list_video_btn" bindtap="viewVideo" data-token="{{item.video_token}}">
<image src="https://szgcwx.jhncidg.com/staticFiles/img/WEB_84F967AF6E48448EB73D2AA2A00F57F4.png"></image>
<image src="http://fileimg.makalu.cc/WEB_84F967AF6E48448EB73D2AA2A00F57F4.png"></image>
<text>查看视频</text>
</view>
</view>
@ -48,7 +48,7 @@
<van-overlay show="{{loadShow}}">
<view class="gif">
<image src="../../images/loding2.gif"></image>
<image src="http://fileimg.makalu.cc/866000e905ae45a8b79d80de52bb4e9a.gif"></image>
<view>数据加载中!请稍后...</view>
</view>
</van-overlay>

View File

@ -187,7 +187,7 @@ Page({
*/
goGCLB:function(){
wx.redirectTo({
url: '../../pages/gengduogongneng/index'
url: '../../pages/gengduogongneng/gengduogongneng'
})
},

View File

@ -22,7 +22,7 @@
<view class="left_max">
<van-row class="demo clearfix">
<van-col span="10">
<view class="left_head"><image src="https://szgcwx.jhncidg.com/staticFiles/img/9015e824c5004e629049c4f72967cfdc.png"></image></view>
<view class="left_head"><image src="http://fileimg.makalu.cc/szgl/9015e824c5004e629049c4f72967cfdc.png"></image></view>
</van-col>
<van-col span="14">
<view class="left_info">
@ -53,7 +53,7 @@
<van-col span="12">
<view class="ai_video_con">
<view class="ai_video_con_title">
<image src="https://szgcwx.jhncidg.com/staticFiles/img/WEB_1687339C488F426CAA9ABFC7F9963D0C.png"></image>
<image src="http://fileimg.makalu.cc/WEB_1687339C488F426CAA9ABFC7F9963D0C.png"></image>
<text>算法接入</text>
</view>
<view class="ai_video_con_number">
@ -62,7 +62,7 @@
</view>
<view class="ai_video_con">
<view class="ai_video_con_title">
<image src="https://szgcwx.jhncidg.com/staticFiles/img/WEB_0A05F33F7CF94B249E5C4C97B24CCD0B.png"></image>
<image src="http://fileimg.makalu.cc/WEB_0A05F33F7CF94B249E5C4C97B24CCD0B.png"></image>
<text>异常预警</text>
</view>
<view class="ai_video_con_number">
@ -71,7 +71,7 @@
</view>
<view class="ai_video_con">
<view class="ai_video_con_title">
<image src="https://szgcwx.jhncidg.com/staticFiles/img/WEB_E217CC761C0440908943CEAD8A5DFDC4.png"></image>
<image src="http://fileimg.makalu.cc/WEB_E217CC761C0440908943CEAD8A5DFDC4.png"></image>
<text>预警次数</text>
</view>
<view class="ai_video_con_number">
@ -98,7 +98,7 @@
<view class="ai_warning_list_time">
<view class="ai_warning_list_time_date">{{item.dateTime}}</view>
<view class="ai_warning_list_video_btn" bindtap="viewVideo" data-token="{{item.video_token}}">
<image src="https://szgcwx.jhncidg.com/staticFiles/img/WEB_84F967AF6E48448EB73D2AA2A00F57F4.png"></image>
<image src="http://fileimg.makalu.cc/WEB_84F967AF6E48448EB73D2AA2A00F57F4.png"></image>
<text>查看视频</text>
</view>
</view>
@ -116,7 +116,7 @@
<van-overlay show="{{loadShow}}">
<view class="gif">
<image src="../../images/loding2.gif"></image>
<image src="http://fileimg.makalu.cc/866000e905ae45a8b79d80de52bb4e9a.gif"></image>
<view>数据加载中!请稍后...</view>
</view>
</van-overlay>

View File

@ -735,7 +735,7 @@ onSelect1(e){
*/
goGCLB:function(){
wx.redirectTo({
url: '../../pages/gengduogongneng/index'
url: '../../pages/gengduogongneng/gengduogongneng'
})
},

View File

@ -64,7 +64,7 @@
<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="https://szgcwx.jhncidg.com/staticFiles/img/WEB_90A967456DFE407BB0575AEEBB6A2823.png" mode="" style="width: 100%;height: 100%;"/>
<image src="http://fileimg.makalu.cc/WEB_90A967456DFE407BB0575AEEBB6A2823.png" mode="" style="width: 100%;height: 100%;"/>
</view>
</view>
<view class="wanjieNum-over-bottom-top-box-title">
@ -81,7 +81,7 @@
<view class="wanjieNum-over-bottom-top-box" style="padding-left: 20rpx;">
<view class="wanjieNum-over-bottom-top-box-Img">
<view class="wanjieNum-over-bottom-top-box-Img-small">
<image src="https://szgcwx.jhncidg.com/staticFiles/img/WEB_85DFF1C6FA83430AAFB759BE5E9BF540.png" mode="" style="width: 100%;height: 100%;"/>
<image src="http://fileimg.makalu.cc/WEB_85DFF1C6FA83430AAFB759BE5E9BF540.png" mode="" style="width: 100%;height: 100%;"/>
</view>
</view>
<view class="wanjieNum-over-bottom-top-box-title">
@ -101,7 +101,7 @@
<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="https://szgcwx.jhncidg.com/staticFiles/img/WEB_EEA74BB38112403EACC4EEEE147B7B8A.png" mode="" style="width: 100%;height: 100%;"/>
<image src="http://fileimg.makalu.cc/WEB_EEA74BB38112403EACC4EEEE147B7B8A.png" mode="" style="width: 100%;height: 100%;"/>
</view>
</view>
<view class="wanjieNum-over-bottom-top-box-title">
@ -118,7 +118,7 @@
<view class="wanjieNum-over-bottom-top-box" style="padding-left: 20rpx;">
<view class="wanjieNum-over-bottom-top-box-Img">
<view class="wanjieNum-over-bottom-top-box-Img-small">
<image src="https://szgcwx.jhncidg.com/staticFiles/img/WEB_E1531591CFF242DB9C1EE50BAB08059A.png" mode="" style="width: 100%;height: 100%;"/>
<image src="http://fileimg.makalu.cc/WEB_E1531591CFF242DB9C1EE50BAB08059A.png" mode="" style="width: 100%;height: 100%;"/>
</view>
</view>
<view class="wanjieNum-over-bottom-top-box-title">
@ -207,7 +207,7 @@
<view class="wanjieNum-over-bottom-top-box">
<view class="wanjieNum-over-bottom-top-box-ImgA">
<!-- <view class="wanjieNum-over-bottom-top-box-Img-small">
<image src="https://szgcwx.jhncidg.com/staticFiles/img/WEB_90A967456DFE407BB0575AEEBB6A2823.png" mode="" style="width: 100%;height: 100%;"/>
<image src="http://fileimg.makalu.cc/WEB_90A967456DFE407BB0575AEEBB6A2823.png" mode="" style="width: 100%;height: 100%;"/>
</view> -->
</view>
<view class="wanjieNum-over-bottom-top-box-title">
@ -224,7 +224,7 @@
<view class="wanjieNum-over-bottom-top-box" style="padding-left: 20rpx;">
<view class="wanjieNum-over-bottom-top-box-ImgB">
<!-- <view class="wanjieNum-over-bottom-top-box-Img-small">
<image src="https://szgcwx.jhncidg.com/staticFiles/img/WEB_85DFF1C6FA83430AAFB759BE5E9BF540.png" mode="" style="width: 100%;height: 100%;"/>
<image src="http://fileimg.makalu.cc/WEB_85DFF1C6FA83430AAFB759BE5E9BF540.png" mode="" style="width: 100%;height: 100%;"/>
</view> -->
</view>
<view class="wanjieNum-over-bottom-top-box-title">
@ -244,7 +244,7 @@
<view class="wanjieNum-over-bottom-top-box">
<view class="wanjieNum-over-bottom-top-box-ImgC">
<!-- <view class="wanjieNum-over-bottom-top-box-Img-small">
<image src="https://szgcwx.jhncidg.com/staticFiles/img/WEB_EEA74BB38112403EACC4EEEE147B7B8A.png" mode="" style="width: 100%;height: 100%;"/>
<image src="http://fileimg.makalu.cc/WEB_EEA74BB38112403EACC4EEEE147B7B8A.png" mode="" style="width: 100%;height: 100%;"/>
</view> -->
</view>
<view class="wanjieNum-over-bottom-top-box-title">
@ -261,7 +261,7 @@
<view class="wanjieNum-over-bottom-top-box" style="padding-left: 20rpx;">
<view class="wanjieNum-over-bottom-top-box-ImgD">
<!-- <view class="wanjieNum-over-bottom-top-box-Img-small">
<image src="https://szgcwx.jhncidg.com/staticFiles/img/WEB_E1531591CFF242DB9C1EE50BAB08059A.png" mode="" style="width: 100%;height: 100%;"/>
<image src="http://fileimg.makalu.cc/WEB_E1531591CFF242DB9C1EE50BAB08059A.png" mode="" style="width: 100%;height: 100%;"/>
</view> -->
</view>
<view class="wanjieNum-over-bottom-top-box-title">
@ -317,7 +317,7 @@
<van-overlay show="{{loadShow}}">
<view class="gif">
<image src="../../images/loding2.gif"></image>
<image src="http://fileimg.makalu.cc/866000e905ae45a8b79d80de52bb4e9a.gif"></image>
<view>数据加载中!请稍后...</view>
</view>
</van-overlay>
@ -326,7 +326,7 @@
<view class="left_max">
<van-row class="demo clearfix">
<van-col span="10">
<view class="left_head"><image src="https://szgcwx.jhncidg.com/staticFiles/img/9015e824c5004e629049c4f72967cfdc.png"></image></view>
<view class="left_head"><image src="http://fileimg.makalu.cc/szgl/9015e824c5004e629049c4f72967cfdc.png"></image></view>
</van-col>
<van-col span="14">
<view class="left_info">

View File

@ -9,11 +9,11 @@
.hj_float{
float: right;
padding: 5rpx 50rpx 5rpx 20rpx;
background: #2e355f url("https://szgcwx.jhncidg.com/staticFiles/img/CORE_5F23F4664AAE44A0BD72BE4BB4C66083.png") no-repeat right/35rpx;
background: #2e355f url("http://fileimg.makalu.cc/CORE_5F23F4664AAE44A0BD72BE4BB4C66083.png") no-repeat right/35rpx;
border-radius: 40rpx;
}
.hj_float:active{
background: #2e355f url("https://szgcwx.jhncidg.com/staticFiles/img/CORE_5F23F4664AAE44A0BD72BE4BB4C66083.png") no-repeat right/35rpx;
background: #2e355f url("http://fileimg.makalu.cc/CORE_5F23F4664AAE44A0BD72BE4BB4C66083.png") no-repeat right/35rpx;
}
.van-popup--bottom.van-popup--round{
border-radius: 0 !important
@ -53,7 +53,7 @@
padding-left: 50rpx;
margin-left: 20rpx;
font-size: 32rpx;
background: url("https://szgcwx.jhncidg.com/staticFiles/img/menu/CORE_52887EE6A33042408E11C2174974ABA1.png") no-repeat left/35rpx;
background: url("http://fileimg.makalu.cc/CORE_52887EE6A33042408E11C2174974ABA1.png") no-repeat left/35rpx;
}
.header-cailiao-right{
display: flex;
@ -98,7 +98,7 @@
height: 40rpx;
line-height: 40rpx;
padding-left: 40rpx;
background: url("https://szgcwx.jhncidg.com/staticFiles/img/WEB_F6B0554C215E496195EA7D6FCE2C0B8E.png") no-repeat left/35rpx;
background: url("http://fileimg.makalu.cc/WEB_F6B0554C215E496195EA7D6FCE2C0B8E.png") no-repeat left/35rpx;
}
.wanjieNum-over-bottom{
display: flex;
@ -123,7 +123,7 @@
align-items: center;
width: 40%;
height: 100rpx;
background: url("https://szgcwx.jhncidg.com/staticFiles/img/WEB_EBD7748CB73A4D2D8BD74617F84528DE.png") no-repeat center/100%;
background: url("http://fileimg.makalu.cc/WEB_EBD7748CB73A4D2D8BD74617F84528DE.png") no-repeat center/100%;
}
.wanjieNum-over-bottom-top-box-Img-small{
width: 38rpx;
@ -150,7 +150,7 @@
align-items: center;
width: 40%;
height: 100rpx;
background: url("https://szgcwx.jhncidg.com/staticFiles/img/WEB_09B5E990ABB5491D979F19A299532C13.png") no-repeat center/100%;
background: url("http://fileimg.makalu.cc/WEB_09B5E990ABB5491D979F19A299532C13.png") no-repeat center/100%;
}
.wanjieNum-over-bottom-top-box-ImgB{
display: flex;
@ -158,7 +158,7 @@
align-items: center;
width: 40%;
height: 100rpx;
background: url("https://szgcwx.jhncidg.com/staticFiles/img/WEB_AA8F63B6D1C44A14BE1A6C5720E14371.png") no-repeat center/100%;
background: url("http://fileimg.makalu.cc/WEB_AA8F63B6D1C44A14BE1A6C5720E14371.png") no-repeat center/100%;
}
.wanjieNum-over-bottom-top-box-ImgC{
display: flex;
@ -166,7 +166,7 @@
align-items: center;
width: 40%;
height: 100rpx;
background: url("https://szgcwx.jhncidg.com/staticFiles/img/WEB_735D7FFF509C4DAA98ADC7C10AB9E89D.png") no-repeat center/100%;
background: url("http://fileimg.makalu.cc/WEB_735D7FFF509C4DAA98ADC7C10AB9E89D.png") no-repeat center/100%;
}
.wanjieNum-over-bottom-top-box-ImgD{
display: flex;
@ -174,7 +174,7 @@
align-items: center;
width: 40%;
height: 100rpx;
background: url("https://szgcwx.jhncidg.com/staticFiles/img/WEB_1E99222D2C104243896FBAE1D53AF5AB.png") no-repeat center/100%;
background: url("http://fileimg.makalu.cc/WEB_1E99222D2C104243896FBAE1D53AF5AB.png") no-repeat center/100%;
}
/* 超耗材料 */
.chaohao{

View File

@ -560,7 +560,7 @@ Page({
goGCLB:function(){
wx.redirectTo({
url: '../../pages/gengduogongneng/index'
url: '../../pages/gengduogongneng/gengduogongneng'
})
},

View File

@ -25,7 +25,7 @@
<view class="left_max">
<van-row class="demo clearfix">
<van-col span="10">
<view class="left_head"><image src="https://szgcwx.jhncidg.com/staticFiles/img/9015e824c5004e629049c4f72967cfdc.png"></image></view>
<view class="left_head"><image src="http://fileimg.makalu.cc/szgl/9015e824c5004e629049c4f72967cfdc.png"></image></view>
</van-col>
<van-col span="14">
<view class="left_info">
@ -100,8 +100,8 @@
</view>
</view>
<view style="width: 30rpx;height: 30rpx;margin-right: 10rpx;" >
<image wx:if="{{item.type==false}}" src="https://szgcwx.jhncidg.com/staticFiles/img/WEB_18FFE67D5A8E4077870F5E2AF9B4EE97.png" mode="" style="width: 100%;height: 100%;transform: scale(0.5);"/>
<image wx:else="{{item.type==true}}" src="https://szgcwx.jhncidg.com/staticFiles/img/WEB_B394869CFAAA449D8DFE7BA549A19EB8.png" mode="" style="width: 100%;height: 100%;transform: scale(0.5)"/>
<image wx:if="{{item.type==false}}" src="http://fileimg.makalu.cc/WEB_18FFE67D5A8E4077870F5E2AF9B4EE97.png" mode="" style="width: 100%;height: 100%;transform: scale(0.5);"/>
<image wx:else="{{item.type==true}}" src="http://fileimg.makalu.cc/WEB_B394869CFAAA449D8DFE7BA549A19EB8.png" mode="" style="width: 100%;height: 100%;transform: scale(0.5)"/>
</view>
</view>
<!-- 隐藏部分 -->
@ -117,7 +117,7 @@
<!-- 模板铺设 -->
<view class="shigongrizhi-content-bottom-left" wx:for="{{item.typtInfo}}" wx:for-item="itemType" wx:key="A">
<view style="width: 78rpx;height: 78rpx;margin-right: 20rpx;">
<image src="https://szgcwx.jhncidg.com/staticFiles/img/WEB_D9E0F9ADB3E3427A9100993F7AEC16CE.png" mode="" style="width: 100%;height: 100%;transform: scale(0.5);"/>
<image src="http://fileimg.makalu.cc/WEB_D9E0F9ADB3E3427A9100993F7AEC16CE.png" mode="" style="width: 100%;height: 100%;transform: scale(0.5);"/>
</view>
<view style="display: flex;flex-direction: column;justify-content: space-around;">
<view>
@ -160,7 +160,7 @@
</view>
<view class="BIM-content">
<view style="width:100%;height:300rpx;">
<image src="https://szgcwx.jhncidg.com/staticFiles/img/WEB_607867FF7DBB4B088BD8D8E16661B3CE.jpg" mode="" style="width: 100%;height: 100%;"/>
<image src="http://fileimg.makalu.cc/WEB_607867FF7DBB4B088BD8D8E16661B3CE.jpg" mode="" style="width: 100%;height: 100%;"/>
</view>
<view class="BIM-content-table">
<view class="BIM-content-tables" wx:for="{{tableList}}" wx:key="index">

View File

@ -32,7 +32,7 @@
line-height: 40rpx;
padding-left: 50rpx;
margin-left: 20rpx;
background: url("https://szgcwx.jhncidg.com/staticFiles/img/menu/CORE_52887EE6A33042408E11C2174974ABA1.png") no-repeat left/35rpx;
background: url("http://fileimg.makalu.cc/CORE_52887EE6A33042408E11C2174974ABA1.png") no-repeat left/35rpx;
}
.gongqigaikuo-content{
width: 100%;

View File

@ -22,7 +22,7 @@
<view class="left_max">
<van-row class="demo clearfix">
<van-col span="10">
<view class="left_head"><image src="https://szgcwx.jhncidg.com/staticFiles/img/9015e824c5004e629049c4f72967cfdc.png"></image></view>
<view class="left_head"><image src="http://fileimg.makalu.cc/szgl/9015e824c5004e629049c4f72967cfdc.png"></image></view>
</van-col>
<van-col span="14">
<view class="left_info">
@ -52,21 +52,21 @@
<view class="dangerous_node_min">
<view class="dangerous_node_number cyan">{{allPoint}}</view>
<view class="dangerous_node_title">
<image src="https://szgcwx.jhncidg.com/staticFiles/img/WEB_73AFC6D8953E4BE4B6DF0BD331FE4F2A.png"></image>
<image src="http://fileimg.makalu.cc/WEB_73AFC6D8953E4BE4B6DF0BD331FE4F2A.png"></image>
<text>总数</text>
</view>
</view>
<view class="dangerous_node_min">
<view class="dangerous_node_number blue">{{comPoint}}</view>
<view class="dangerous_node_title">
<image src="https://szgcwx.jhncidg.com/staticFiles/img/WEB_0A0B35F80B944F2EB39D2226216C4820.png"></image>
<image src="http://fileimg.makalu.cc/WEB_0A0B35F80B944F2EB39D2226216C4820.png"></image>
<text>已通过</text>
</view>
</view>
<view class="dangerous_node_min">
<view class="dangerous_node_number orange">{{outPoint}}</view>
<view class="dangerous_node_title">
<image src="https://szgcwx.jhncidg.com/staticFiles/img/WEB_486045C8DBE9469B88BB2F09AC9B0EE6.png"></image>
<image src="http://fileimg.makalu.cc/WEB_486045C8DBE9469B88BB2F09AC9B0EE6.png"></image>
<text>未通过</text>
</view>
</view>
@ -111,7 +111,7 @@
<!-- <view class="timeline_for_file">
<view class="timeline_for_list_title" wx:if="{{item.type==1}}" >批复文件:</view>
<view class="timeline_for_list_file">
<image wx:if="{{item.type == 0}}" wx:for-items="{{item.fileUrl}}" wx:for-item="itemUrl" src="{{itemUrl.suffix !='pdf'?itemUrl.url:'https://szgcwx.jhncidg.com/staticFiles/img/WEB_3035C129EB234F80820521CAF815CB35.jpg'}}" data-url="{{itemUrl.url}}"
<image wx:if="{{item.type == 0}}" wx:for-items="{{item.fileUrl}}" wx:for-item="itemUrl" src="{{itemUrl.suffix !='pdf'?itemUrl.url:'http://fileimg.makalu.cc/WEB_3035C129EB234F80820521CAF815CB35.jpg'}}" data-url="{{itemUrl.url}}"
data-suffix="{{itemUrl.suffix}}" mode="aspectFill" bindtap="previewImg" style="width:90px;height:90px"></image>
<file-uploader wx:if="{{item.type == 1}}" bindimages="onImagesArr"></file-uploader>
</view>
@ -123,7 +123,7 @@
<van-overlay show="{{loadShow}}">
<view class="gif">
<image src="../../images/loding2.gif"></image>
<image src="http://fileimg.makalu.cc/866000e905ae45a8b79d80de52bb4e9a.gif"></image>
<view>数据加载中!请稍后...</view>
</view>
</van-overlay>

View File

@ -1,66 +1,267 @@
// pageage/dangerousProject/index.js
// pages/dangerousProject/index.js
const app = getApp()
Page({
/**
* 页面的初始数据
*/
data: {
/**
* 页面的初始数据
*/
data: {
stateNav:1,
timeline:[],
dangerNameList:[],
show: false,
loadShow:false,
loginName:'',
userName:'',
deptId:'',
projectName:'',
projectId:'',
allPoint:0,
outPoint:0,
comPoint:0,
fileList: [],
id:'',
},
initData:{}
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
//项目切换 返回值
onProjectSelect(e){
this.onClickShow();
let projectId = e.detail.id;
let projectName = e.detail.text;
app.globalData.projectId = projectId;
app.globalData.projectName = projectName;
this.setData({
projectId:projectId,
projectName:projectName,
dangerNameList:[],
dangerName:'',
timeline:[],
allPoint:0,
outPoint:0,
comPoint:0
})
this.onLoad();
},
},
onImagesArr(e){
// 当设置 mutiple 为 true 时, file 为数组格式,否则为对象格式
wx.uploadFile({
//图片上传地址
url: app.globalData.reqUrl+'/weixin/security/fileUpload',
filePath: e.detail[0],
name: 'file',
header: {
"Content-Type": "application/x-www-form-urlencoded;charset=UTF-8"
},
formData: { user: 'test' },
success:res => {
// 上传完成需要更新 fileList
let data = JSON.parse(res.data);
let fileList = this.data.fileList
fileList.push({url: data.url});
this.setData({ fileList:fileList});
this.updateDanger(res.data,e.currentTarget.dataset.id)
},
});
},
showPopup() {
this.setData({ show: true });
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
onClose() {
this.setData({ show: false });
},
},
onClickShow() {
this.setData({ loadShow: true });
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
onClickHide() {
this.setData({ loadShow: false });
},
},
onSelectDangerName(e){
this.getProjectDanger(e.detail.id);
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
var that = this;
//加载蒙版
that.onClickShow();
//获取缓存数据
wx.getStorage({
key: 'userinfo',
success:function(res){
that.setData({
loginName:res.data.loginName,
userName:res.data.userName,
deptId:res.data.deptId,
projectName: app.globalData.projectName,
projectId:app.globalData.projectId,
initData:{text:app.globalData.projectName,id:app.globalData.projectId}
})
that.getProjectDangerPlan();
}
})
},
},
/**
* 危大工程计划
*/
getProjectDangerPlan(){
var that = this;
wx.request({
url: app.globalData.reqUrl+'/weixin/security/getProjectDangerPlan',
method: 'get',
data: {
deptId:this.data.deptId,
projectId:this.data.projectId
},
success: resData => {
this.onClickHide();
if(resData.data.code == 200){
let array = [];
for(let i = 0;i<resData.data.data.length;i++){
array.push({text:resData.data.data[i].danger_name,id:resData.data.data[i].id});
}
that.setData({
dangerNameList:array,
dangerName:array[0].text
})
that.getProjectDanger(resData.data.data[0].id);
}else{
that.setData({
dangerNameList:[],
dangerName:''
})
}
}
})
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
/**
* 危大工程列表
*/
getProjectDanger:function(danger_id){
wx.request({
url: app.globalData.reqUrl+'/weixin/security/getProjectDanger',
method: 'get',
data: {
deptId:this.data.deptId,
projectId:this.data.projectId,
danger_id:danger_id
},
success: resData => {
this.onClickHide();
if(resData.data.code == 200){
let timeline = resData.data.data.dangerList;
var flag = false;
timeline.map(x => {
if(x.fileUrl.length > 0){
x.type = 0;
}else{
if(!flag){
x.type = 1
flag = true;
}else{
x.type = 2;
}
}
let fileUrl = x.fileUrl;
for(let i = 0;i<fileUrl.length;i++){
if(fileUrl[i].url.substring(fileUrl[i].url.length-4,fileUrl[i].url.length) == '.pdf'){
fileUrl[i].suffix = "pdf";
}else{
fileUrl[i].suffix = "png";
}
}
})
this.setData({
timeline:timeline,
allPoint:resData.data.data.allPoint,
outPoint:resData.data.data.outPoint,
comPoint:resData.data.data.comPoint
})
}else{
this.setData({
timeline:[],
allPoint:0,
outPoint:0,
comPoint:0
})
}
}
})
},
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
/**
* 图片上传
*/
updateDanger:function(fileUrl,id){
wx.request({
header: {
'content-type': 'application/x-www-form-urlencoded'
},
url:app.globalData.reqUrl+'/weixin/security/updateDanger',
data:{
"deptId":this.data.deptId,
"projectId":this.data.projectId,
"id":id,
"fileUrl":fileUrl,
"subName":this.data.loginName,
},
method:"POST",
success:function(res){
console.log("======"+res.data.code);
}
})
},
/**
* 文件信息查看
* @param {*} e
*/
previewImg(e){
let suffix = e.currentTarget.dataset.suffix;
let url = e.currentTarget.dataset.url;
let images = [url];
if(suffix == 'pdf'){
wx.downloadFile({
url: url,
success: function (res) {
const filePath = res.tempFilePath
wx.openDocument({
filePath: filePath,
success: function (res) {
console.log('打开文档成功')
}
})
}
})
}else{
wx.previewImage({
current: url, //当前图片地址
urls: images, //所有要预览的图片的地址集合 数组形式
success: function(res) {},
fail: function(res) {},
complete: function(res) {},
})
}
},
/**
* 返回到技术管理
*/
goGCLB:function(){
wx.redirectTo({
url: '../../pages/technical-management/index'
})
},
})

View File

@ -0,0 +1,7 @@
{
"usingComponents": {
"van-overlay": "@vant/weapp/overlay/index" ,
"van-popup": "@vant/weapp/popup/index"
},
"navigationBarTitleText": "重大节点管理"
}

View File

@ -1,2 +1,114 @@
<!--pageage/dangerousProject/index.wxml-->
<text>pageage/dangerousProject/index.wxml</text>
<!--pages/dangerousProject/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="goGCLB">
<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="onClose" >
<view class="left_max">
<van-row class="demo clearfix">
<van-col span="10">
<view class="left_head"><image src="http://fileimg.makalu.cc/szgl/9015e824c5004e629049c4f72967cfdc.png"></image></view>
</van-col>
<van-col span="14">
<view class="left_info">
<view class="left_info_name">{{userName}}</view>
<view class="left_info_name">{{loginName}}</view>
</view>
</van-col>
</van-row>
</view>
</van-popup> -->
<view class="max_new_content">
<project-select init="{{initData}}" bindchange="onProjectSelect"></project-select>
<view class="add_max" style="margin-top: 30rpx;">
<voucher-select columns="{{dangerNameList}}" placeholder="{{dangerName}}" bindchange="onSelectDangerName"></voucher-select>
</view>
<view class="dangerous_node">
<view class="dangerous_node_min">
<view class="dangerous_node_number cyan">{{allPoint}}</view>
<view class="dangerous_node_title">
<image src="http://fileimg.makalu.cc/WEB_73AFC6D8953E4BE4B6DF0BD331FE4F2A.png"></image>
<text>总节点</text>
</view>
</view>
<view class="dangerous_node_min">
<view class="dangerous_node_number blue">{{comPoint}}</view>
<view class="dangerous_node_title">
<image src="http://fileimg.makalu.cc/WEB_0A0B35F80B944F2EB39D2226216C4820.png"></image>
<text>已提交</text>
</view>
</view>
<view class="dangerous_node_min">
<view class="dangerous_node_number orange">{{outPoint}}</view>
<view class="dangerous_node_title">
<image src="http://fileimg.makalu.cc/WEB_486045C8DBE9469B88BB2F09AC9B0EE6.png"></image>
<text>已逾期</text>
</view>
</view>
</view>
<view class="timeline_max">
<view class="timeline_for" wx:for-items="{{timeline}}" wx:key="index">
<view class="timeline_for_title">
<view wx:if="{{item.type != 0}}" class="timeline_for_dot dot_blue"></view>
<view wx:if="{{item.type == 0&&item.state == 0}}" class="timeline_for_dot dot_blue"></view>
<view wx:if="{{item.type == 0&&item.state == 1}}" class="timeline_for_dot dot_red"></view>
<view class="timeline_for_text">{{item.title}}</view>
</view>
<view class="timeline_for_list">
<view>预计提交时间:</view>
<view class="timeline_for_time">{{item.planTime}}</view>
</view>
<view class="timeline_for_list">
<view>实际提交时间:</view>
<view class="timeline_for_time">{{item.actualTima}}</view>
</view>
<view class="timeline_for_list">
<view>逾期状态:</view>
<view class="timeline_for_state">
<view class="timeline_for_state_1" wx:if="{{item.type == 0&&item.state == 0}}">正常完成</view>
<view class="timeline_for_state_2" wx:if="{{item.type == 0&&item.state == 1}}">逾期{{item.expectDays}}天</view>
</view>
</view>
<view class="timeline_for_file">
<view class="timeline_for_list_title" wx:if="{{item.type==1}}" >提交文件:</view>
<view class="timeline_for_list_file">
<image wx:if="{{item.type == 0}}" wx:for-items="{{item.fileUrl}}" wx:for-item="itemUrl" src="{{itemUrl.suffix !='pdf'?itemUrl.url:'http://fileimg.makalu.cc/WEB_3035C129EB234F80820521CAF815CB35.jpg'}}" data-url="{{itemUrl.url}}"
data-suffix="{{itemUrl.suffix}}" mode="aspectFill" bindtap="previewImg" style="width:90px;height:90px"></image>
<file-uploader wx:if="{{item.type == 1}}" bindimages="onImagesArr"></file-uploader>
</view>
</view>
</view>
</view>
</view>
<van-overlay show="{{loadShow}}">
<view class="gif">
<image src="http://fileimg.makalu.cc/866000e905ae45a8b79d80de52bb4e9a.gif"></image>
<view>数据加载中!请稍后...</view>
</view>
</van-overlay>

View File

@ -0,0 +1,5 @@
/* pages/dangerousProject/index.wxss */
.van-uploader__preview-image{
width: 140rpx !important;
height: 140rpx !important;
}

View File

@ -73,7 +73,7 @@
<van-overlay show="{{loadShow}}">
<view class="gif">
<image src="../../images/loding2.gif"></image>
<image src="http://fileimg.makalu.cc/866000e905ae45a8b79d80de52bb4e9a.gif"></image>
<view>数据加载中!请稍后...</view>
</view>
</van-overlay>

View File

@ -98,7 +98,7 @@
<van-overlay show="{{loadShow}}">
<view class="gif">
<image src="../../images/loding2.gif"></image>
<image src="http://fileimg.makalu.cc/866000e905ae45a8b79d80de52bb4e9a.gif"></image>
<view>数据加载中!请稍后...</view>
</view>
</van-overlay>

View File

@ -276,7 +276,7 @@ Page({
goGCLB:function(){
let jumpState = this.data.jumpState;
wx.redirectTo({
url: jumpState != 1?'../../pages/gengduogongneng/index':'../../pages/newAddPage/safetyManagement/index'
url: jumpState != 1?'../../pages/gengduogongneng/gengduogongneng':'../../pages/newAddPage/safetyManagement/index'
})
},

View File

@ -23,7 +23,7 @@
<view class="left_max">
<van-row class="demo clearfix">
<van-col span="10">
<view class="left_head"><image src="https://szgcwx.jhncidg.com/staticFiles/img/9015e824c5004e629049c4f72967cfdc.png"></image></view>
<view class="left_head"><image src="http://fileimg.makalu.cc/szgl/9015e824c5004e629049c4f72967cfdc.png"></image></view>
</van-col>
<van-col span="14">
<view class="left_info">
@ -94,7 +94,7 @@
</view>
<!--右盒子 15+15-->
<view class="Winter-training-Img" data-set="{{index}}" data-url="{{item.qr_url}}" bindtap="winterPut">
<image src="https://szgcwx.jhncidg.com/staticFiles/img/WEB_635514B7BEA4463FA176EDE34180EB38.png" mode=""/>
<image src="http://fileimg.makalu.cc/WEB_635514B7BEA4463FA176EDE34180EB38.png" mode=""/>
</view>
</view>
@ -146,7 +146,7 @@
<!-- 新增模块 -->
<view class="button-add" bindtap="add">
<view style="width: 38rpx;height: 38rpx;">
<image src="https://szgcwx.jhncidg.com/staticFiles/img/WEB_73DDBFC7781A41C082FC10AB5F530472.png" mode=""/>
<image src="http://fileimg.makalu.cc/WEB_73DDBFC7781A41C082FC10AB5F530472.png" mode=""/>
</view>
<view style="font-size: 26rpx;color: #748bca;">
新增
@ -159,7 +159,7 @@
<van-overlay show="{{loadShow}}">
<view class="gif">
<image src="../../images/loding2.gif"></image>
<image src="http://fileimg.makalu.cc/866000e905ae45a8b79d80de52bb4e9a.gif"></image>
<view>数据加载中!请稍后...</view>
</view>
</van-overlay>

View File

@ -101,7 +101,7 @@
width: 100rpx;
height: 100rpx;
margin-right: 16rpx;
background: url("https://szgcwx.jhncidg.com/staticFiles/img/WEB_DC5E7AB4FFB4412A886A44BDC2B820E0.png") no-repeat center/100% 100%;
background: url("http://fileimg.makalu.cc/WEB_DC5E7AB4FFB4412A886A44BDC2B820E0.png") no-repeat center/100% 100%;
}
.Winter-training-bottomBox-left-box image{
width: 100%;

View File

@ -1,336 +0,0 @@
import config from '../../../config'
import {
syncFileUpload
} from '../../../utils/request'
import {
getInfo,
submitFlowLabour,
findMyFlowLabourNodes
} from "../../../api/flowLabour"
const app = getApp()
Page({
/**
* 页面的初始数据
*/
data: {
id: "",
infoData: {
files: ""
},
activeName: "",
flowRecordList: [],
request: app.globalData.reqUrl,
flowNodes: [{
text: '提交投诉'
}, {
text: '项目经理'
}, {
text: '甲方代表'
}, {
text: '集团公司'
}],
active: 100,
rejectNode: 0,
flowComment: "",
imageInfoData: [],
minRole: 99,
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
let {
id
} = options
this.setData({
id
})
//获取缓存数据
wx.getStorage({
key: 'userinfo',
success: res => {
this.setData({
minRoleId: res.data.minRoleId
})
}
})
this.getInfo();
this.getAuditinfo();
},
/**
* 获取劳资投诉详情信息
*
*/
getInfo() {
getInfo(this.data.id).then(res => {
if (res.code == 200) {
let active = this.data.active;
let rejectNode = this.data.rejectNode;
if (res.data.approveStatus == "10" || res.data.approveStatus == "21") {
active = 1;
if (res.data.approveStatus == "21") {
rejectNode = active + 1;
}
} else if (res.data.approveStatus == "20" || res.data.approveStatus == "31") {
active = 2;
if (res.data.approveStatus == "31") {
rejectNode = active + 1;
}
} else if (res.data.approveStatus == "30") {
active = 3;
}
this.setData({
active,
rejectNode,
infoData: res.data
})
}
});
},
/**
* 查询流程日志
*/
getAuditinfo() {
findMyFlowLabourNodes(this.data.id).then(res => {
if (res.code == 200) {
this.setData({
flowRecordList: res.data
})
}
});
},
// 手风琴
onChange(event) {
this.setData({
activeName: event.detail,
});
},
//展示图片
showImg: function (e) {
let paths = e.target.dataset.set;
let path = [];
paths.split(',').forEach(url => {
path.push(config.baseUrl + url);
});
wx.previewImage({
urls: path,
current: path[e.currentTarget.dataset.index]
})
},
//整改要求
onInputFlowComment(e) {
let flowComment = e.detail.value
this.setData({
flowComment
})
},
// list 上传图片
onImagesArr(e) {
var data = this.data.imageInfoData
data = e.detail
this.setData({
imageInfoData: data
})
},
//审批劳资投诉
onSubmitPass() {
let {
flowComment
} = this.data;
//数据效验
if (flowComment == "") {
app.toast("请填写处理意见!")
return;
}
let that = this;
let msg = "";
if ((this.data.infoData.approveStatus == '20' || this.data.infoData.approveStatus == '31') && (this.data.minRoleId == '2' || this.data.minRoleId == '3')) {
msg = "当前数据甲方代表正在审批,您";
}
//弹出确认
wx.showModal({
title: '提示',
content: msg + '是否确认审批通过当前劳资投诉?',
success: function (sm) {
if (sm.confirm) {
that.submitForm(100);
}
}
})
},
/**
* 驳回劳资投诉
*/
onSubmitReject() {
let {
flowComment
} = this.data;
//数据效验
if (flowComment == "") {
app.toast("请填写处理意见!")
return;
}
let that = this;
let msg = "";
if ((this.data.infoData.approveStatus == '20' || this.data.infoData.approveStatus == '31') && (this.data.minRoleId == '2' || this.data.minRoleId == '3')) {
msg = "当前数据甲方代表正在审批,您";
}
//弹出确认
wx.showModal({
title: '提示',
content: msg + '是否确认审批驳回当前劳资投诉?',
success: function (sm) {
if (sm.confirm) {
that.submitForm(1);
}
}
})
},
//提交处理结果
onSubmitSave() {
let {
flowComment
} = this.data;
//数据效验
if (flowComment == "") {
app.toast("请填写处理意见!")
return;
}
let that = this;
let msg = "";
if (this.data.minRoleId == '2' || this.data.minRoleId == '3' || this.data.minRoleId == '4') {
msg = "当前数据总包单位正在处理,您";
}
//弹出确认
wx.showModal({
title: '提示',
content: msg + '是否确提交劳资投诉处理结果?',
success: function (sm) {
if (sm.confirm) {
that.submitForm(100);
}
}
})
},
/**
* 提交审核结果
*/
submitForm(result) {
let {
id,
flowComment,
imageInfoData
} = this.data;
if (imageInfoData.length > 0) {
let images = [];
imageInfoData.forEach(item => {
syncFileUpload(item).then(res => {
images.push(res.fileName);
//验证图片上传完毕
if (images.length == imageInfoData.length) {
let params = {
flowId: id,
flowResult: result,
flowComment: flowComment,
files: images.toString()
}
submitFlowLabour(params).then(res => {
if (res.code == 200) {
app.toast("处理劳资投诉成功!")
setTimeout(() => {
wx.redirectTo({
url: '../list/index',
})
}, 300)
}
});
}
});
})
} else {
let params = {
flowId: id,
flowResult: result,
flowComment: flowComment
}
submitFlowLabour(params).then(res => {
if (res.code == 200) {
app.toast("处理劳资投诉成功!")
setTimeout(() => {
wx.redirectTo({
url: '../list/index',
})
}, 300)
}
});
}
},
returnToPage: function () {
/*关闭当前页面,跳转到应用内的某个页面。但是不允许跳转到 tabbar 页面*/
wx.redirectTo({
url: '../list/index',
})
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
}
})

View File

@ -1,8 +0,0 @@
{
"usingComponents": {
"van-steps": "@vant/weapp/steps/index",
"van-collapse": "@vant/weapp/collapse",
"van-collapse-item": "@vant/weapp/collapse-item"
},
"navigationStyle":"custom"
}

View File

@ -1,174 +0,0 @@
<wxs module="format" src="/utils/format.wxs"></wxs>
<view class="header_title">
<view class="header_title_row">
<van-row>
<van-col span="4">
<view class="header_img" bindtap="returnToPage">
<image src="/images/left.png"></image>
</view>
</van-col>
<van-col span="15">
<view class="header_name">劳资投诉审批</view>
</van-col>
</van-row>
</view>
</view>
<view class="max_content">
<van-steps steps="{{ flowNodes }}" active="{{ active }}" rejectNode="{{ rejectNode }}" />
<view class="inspect_overview_max">
<view class="inspect_overview">
<view class="gk_open" style="margin-top: 20rpx;border: 1px solid transparent;">
<van-collapse value="{{activeName}}" bind:change="onChange">
<van-collapse-item title="审批日志" name="2">
<view class="inspect_list">
<view class="inspect_for" wx:for="{{flowRecordList}}" wx:key="index">
<view class="inspect_for_bgd">
<view class="inspect_list_title">
<view class="inspect_list_title_label inspect_list_title_width">
<view class="inspect_list_title_number">{{(flowRecordList.length-index) < 10 ?'0'+(flowRecordList.length-index):(flowRecordList.length-index)}}</view>
<view class="module_title module_title_flex inspect_list_title_text">
<text wx:if="{{item.flowNode=='0'}}">{{item.createBy+'提交投诉'}}</text>
<text wx:if="{{item.flowNode!='0'}}">{{item.flowNodeName}}</text>
<text wx:if="{{item.flowNode=='10' || item.flowNode=='20' || item.flowNode=='30'}}" class="timeline_for_state_1 color_green">通过</text>
<text wx:if="{{item.flowNode=='11' || item.flowNode=='21' || item.flowNode=='31'}}" class="timeline_for_state_2 color_purple">驳回</text>
</view>
</view>
</view>
<view class="inspect_list_info gk_open_con">
<view wx:if="{{item.createBy}}">
<image src="/images/lw_3.png"></image>办理用户:<text>{{item.createBy}}</text>
</view>
<view>
<image src="/images/s_6.png"></image>办理时间:<text>{{item.createTime}}</text>
</view>
<view wx:if="{{item.flowComment}}">
<image src="/images/s_7.png"></image>处理意见:<text>{{item.flowComment}}</text>
</view>
<view wx:if="{{item.files}}" style="display: inline-block;">
<image src="/images/s_5.png"></image>凭证附件:
<view class="in-img-div" style="width: 66%;float: right;">
<block wx:for="{{format.split(item.files,',')}}" wx:for-item="fit" wx:key="idx" wx:for-index="fitIdx">
<image class="inImage" bindtap='showImg' data-set="{{item.files}}" data-index="{{fitIdx}}" src="{{request+fit+'.min.jpg'}}"></image>
</block>
</view>
</view>
</view>
</view>
</view>
</view>
</van-collapse-item>
</van-collapse>
</view>
<view class="module_title module_title_padding">
<view>{{infoData.projectName}}</view>
</view>
<view class="inspect_overview_list_max">
<view class="inspect_overview_list">
<van-row>
<van-col span="6"><text class="color_blue">总包单位</text></van-col>
<van-col span="18" class="color_blue">{{infoData.deptName}}</van-col>
</van-row>
</view>
<view class="inspect_overview_list">
<van-row>
<van-col span="6"><text class="color_orange">分包单位</text></van-col>
<van-col span="18" class="color_orange">{{infoData.subDeptName}}</van-col>
</van-row>
</view>
<view class="inspect_overview_list">
<van-row>
<van-col span="6"><text class="color_purple">投诉劳工</text></van-col>
<van-col span="18">{{infoData.laborName}}</van-col>
</van-row>
</view>
<view class="inspect_overview_list">
<van-row>
<van-col span="6"><text class="color_purple">联系电话</text></van-col>
<van-col span="18">{{infoData.laborPhone}}</van-col>
</van-row>
</view>
<view class="inspect_overview_list">
<van-row>
<van-col span="6"><text class="color_purple">身份证号</text></van-col>
<van-col span="18">{{infoData.laborCardId}}
</van-col>
</van-row>
</view>
<view class="inspect_overview_list">
<van-row>
<van-col span="6"><text class="color_purple">欠薪人数</text></van-col>
<van-col span="18">{{infoData.laborNumber}} <text class="code_label_green">人</text></van-col>
</van-row>
</view>
<view class="inspect_overview_list">
<van-row>
<van-col span="6"><text class="color_purple">欠薪金额</text></van-col>
<van-col span="18">{{infoData.laborAmount}} <text class="code_label_green">元</text></van-col>
</van-row>
</view>
<view class="inspect_overview_list">
<van-row>
<van-col span="6"><text class="color_purple">原因说明</text></van-col>
<van-col span="18">{{infoData.laborReason}}</van-col>
</van-row>
</view>
<view class="inspect_overview_list">
<van-row>
<van-col span="6"><text class="color_purple">凭证附件</text></van-col>
<van-col span="18">
<view class="in-img-div" wx:if="{{infoData.files}}" wx:for="{{format.split(infoData.files,',')}}" wx:key="index">
<image bindtap='showImg' data-set="{{infoData.files}}" data-index="{{index}}" src="{{request+item+'.min.jpg'}}"></image>
</view>
</van-col>
</van-row>
</view>
<view class="inspect_overview_list">
<van-row>
<van-col span="6"><text class="color_purple">投诉时间</text></van-col>
<van-col span="18">{{infoData.createTime}}</van-col>
</van-row>
</view>
<view class="inspect_overview_list">
<van-row>
<van-col span="6"><text class="color_purple">投诉进度</text></van-col>
<van-col span="18">
<text wx:if="{{infoData.approveStatus=='100'}}" class="code_label_2 code_label_green" style="padding: 5rpx 50rpx;font-size: 25rpx;">审批完成</text>
<text wx:if="{{infoData.approveStatus=='10'}}" class="code_label_2 code_label_blueviolet" style="padding: 5rpx 50rpx;font-size: 25rpx;">待项目经理审批</text>
<text wx:if="{{infoData.approveStatus=='20'}}" class="code_label_2 code_label_blueviolet" style="padding: 5rpx 50rpx;font-size: 25rpx;">待甲方代表审批</text>
<text wx:if="{{infoData.approveStatus=='30'}}" class="code_label_2 code_label_blueviolet" style="padding: 5rpx 50rpx;font-size: 25rpx;">待集团公司审批</text>
<text wx:if="{{infoData.approveStatus=='11'}}" class="code_label_2 code_label_red" style="padding: 5rpx 50rpx;font-size: 25rpx;">项目经理审批驳回</text>
<text wx:if="{{infoData.approveStatus=='21'}}" class="code_label_2 code_label_red" style="padding: 5rpx 50rpx;font-size: 25rpx;">甲方代表审批驳回</text>
<text wx:if="{{infoData.approveStatus=='31'}}" class="code_label_2 code_label_red" style="padding: 5rpx 50rpx;font-size: 25rpx;">集团公司审批驳回</text>
</van-col>
</van-row>
</view>
</view>
</view>
</view>
<view class="inspect_overview" wx:if="{{infoData.approveStatus!='100'}}">
<view class="safety_inspect_title module_title_flex module_title_padding">
<view>劳资投诉处理结果</view>
</view>
<view class="inspect_info">
<view class="inspect_info_list" >
<view class="inspect_info_title">处理意见 <text class="code_label_2" style="color: #fd6060;">[必填项]</text></view>
<view class="inspect_info_content">
<textarea class="add_textarea" placeholder="请填写处理意见600字内"
placeholder-style="color:#6777aa;" bindinput="onInputFlowComment" maxlength="600"/>
</view>
</view>
<view class="inspect_info_list">
<view class="inspect_info_title" style="padding: 20rpx 0 20rpx;">凭证附件 <text class="code_label_2" style="color: #CCC;">[非必填项]</text></view>
<view class="problem_list_info_con">
<file-uploader bindimages="onImagesArr" limit="{{9}}"></file-uploader>
</view>
</view>
</view>
<view class="problem_submit_to">
<view class="problem_submit_to_btn" bindtap="returnToPage">取消</view>
<view class="problem_submit_to_btn problem_submit_to_delete" bindtap="onSubmitReject" wx:if="{{infoData.approveStatus!='10' && infoData.approveStatus!='21'}}">审批驳回</view>
<view class="problem_submit_to_btn problem_submit_to_save" bindtap="onSubmitPass" wx:if="{{infoData.approveStatus!='10' && infoData.approveStatus!='21'}}">审批通过</view>
<view class="problem_submit_to_btn problem_submit_to_save" bindtap="onSubmitSave" wx:if="{{infoData.approveStatus=='10' || infoData.approveStatus=='21'}}">提交处理结果</view>
</view>
</view>
</view>

View File

@ -1,81 +0,0 @@
/* pageage/project_checking/info/index.wxss */
.in-img-max:after{
display:block;
clear:both;
content:"";
visibility:hidden;
height:0
}
.in-img-max{
width: auto;
zoom:1
}
.in-img-div{
position: relative;
margin: 0 8px 0 0;
float: left;
}
.in-img-div image{
width: 180rpx;
height: 180rpx;
border-radius: 15rpx;
position: relative;
}
.van-collapse.van-hairline--top-bottom:after{
border-width: 0px 0;
}
.van-cell.van-cell--borderless{
background-color: #2b345b;
color: #fff;
margin-top: 30rpx;
border-radius: 5rpx;
}
.van-cell.van-cell--borderless:active{
background-color: #2b345b;
}
.van-collapse-item__title.van-collapse-item__title--expanded:active{
background-color: #2b345b;
}
.van-collapse-item .van-cell:after{
border-bottom: 0;
}
.van-collapse-item.van-hairline--top:after{
border-top-width:0
}
.van-cell.van-cell--clickable{
background-color: #2b345b;
margin-top: 5rpx;
margin-bottom: 5rpx;
color: #fff;
border-radius: 15rpx;
}
.van-cell.van-cell--clickable:active{
background-color: #2b345b;
}
.van-collapse-item__wrapper .van-collapse-item__content{
background-color: #1e2336;
color:#8ca4ec ;
border-width: 0px 0;
}
.gk_open_con view{
padding: 10rpx 0;
width: 100%;
}
.gk_open_con image{
width: 30rpx;
height: 30rpx;
margin-right: 5rpx;
position: relative;
top: 5rpx;
}
.gk_open_con .in-img-div image{
width: 120rpx !important;
height: 120rpx !important;
margin-right: 15rpx;
position: relative;
top: 5rpx;
}
.problem_submit_to view {
margin-right: 20rpx;
}

View File

@ -1,168 +0,0 @@
import config from '../../../config'
import {
getInfo,
findMyFlowLabourNodes
} from "../../../api/flowLabour"
const app = getApp()
Page({
/**
* 页面的初始数据
*/
data: {
id: "",
infoData: {
files: ""
},
activeName: "",
flowRecordList: [],
request: app.globalData.reqUrl,
flowNodes: [{
text: '提交投诉'
}, {
text: '项目经理'
}, {
text: '甲方代表'
}, {
text: '集团公司'
}],
active: 100,
rejectNode:0,
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
let {
id
} = options
this.setData({
id
})
this.getInfo();
this.getAuditinfo();
},
/**
* 获取劳资投诉详情信息
*
*/
getInfo() {
getInfo(this.data.id).then(res => {
if (res.code == 200) {
let active = this.data.active;
let rejectNode = this.data.rejectNode;
if(res.data.approveStatus=="10" || res.data.approveStatus=="21"){
active = 1;
if(res.data.approveStatus=="21"){
rejectNode = active+1;
}
}else if(res.data.approveStatus=="20" || res.data.approveStatus=="31"){
active = 2;
if(res.data.approveStatus=="31"){
rejectNode = active+1;
}
}else if(res.data.approveStatus=="30"){
active = 3;
}
this.setData({
active,
rejectNode,
infoData: res.data
})
}
});
},
/**
* 查询流程日志
*/
getAuditinfo() {
findMyFlowLabourNodes(this.data.id).then(res => {
if (res.code == 200) {
this.setData({
flowRecordList: res.data
})
}
});
},
// 手风琴
onChange(event) {
this.setData({
activeName: event.detail,
});
},
//展示图片
showImg: function (e) {
let paths = e.target.dataset.set;
let path = [];
paths.split(',').forEach(url => {
path.push(config.baseUrl+url);
});
console.log(paths,"xx1");
console.log(path);
wx.previewImage({
urls: path,
current: path[e.currentTarget.dataset.index]
})
},
returnToPage: function () {
/*关闭当前页面,跳转到应用内的某个页面。但是不允许跳转到 tabbar 页面*/
wx.redirectTo({
url: '../list/index',
})
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
}
})

View File

@ -1,8 +0,0 @@
{
"usingComponents": {
"van-steps": "@vant/weapp/steps/index",
"van-collapse": "@vant/weapp/collapse",
"van-collapse-item": "@vant/weapp/collapse-item"
},
"navigationStyle":"custom"
}

View File

@ -1,148 +0,0 @@
<wxs module="format" src="/utils/format.wxs"></wxs>
<view class="header_title">
<view class="header_title_row">
<van-row>
<van-col span="4">
<view class="header_img" bindtap="returnToPage">
<image src="/images/left.png"></image>
</view>
</van-col>
<van-col span="15">
<view class="header_name">劳资投诉详情</view>
</van-col>
</van-row>
</view>
</view>
<view class="max_content">
<van-steps steps="{{ flowNodes }}" active="{{ active }}" rejectNode="{{ rejectNode }}" />
<view class="inspect_overview_max">
<view class="inspect_overview">
<view class="gk_open" style="margin-top: 20rpx;border: 1px solid transparent;">
<van-collapse value="{{activeName}}" bind:change="onChange">
<van-collapse-item title="审批日志" name="2">
<view class="inspect_list">
<view class="inspect_for" wx:for="{{flowRecordList}}" wx:key="index">
<view class="inspect_for_bgd">
<view class="inspect_list_title">
<view class="inspect_list_title_label inspect_list_title_width">
<view class="inspect_list_title_number">{{(flowRecordList.length-index) < 10 ?'0'+(flowRecordList.length-index):(flowRecordList.length-index)}}</view>
<view class="module_title module_title_flex inspect_list_title_text">
<text wx:if="{{item.flowNode=='0'}}">{{item.createBy+'提交投诉'}}</text>
<text wx:if="{{item.flowNode!='0'}}">{{item.flowNodeName}}</text>
<text wx:if="{{item.flowNode=='10' || item.flowNode=='20' || item.flowNode=='30'}}" class="timeline_for_state_1 color_green">通过</text>
<text wx:if="{{item.flowNode=='11' || item.flowNode=='21' || item.flowNode=='31'}}" class="timeline_for_state_2 color_purple">驳回</text>
</view>
</view>
</view>
<view class="inspect_list_info gk_open_con">
<view wx:if="{{item.createBy}}">
<image src="/images/lw_3.png"></image>办理用户:<text>{{item.createBy}}</text>
</view>
<view>
<image src="/images/s_6.png"></image>办理时间:<text>{{item.createTime}}</text>
</view>
<view wx:if="{{item.flowComment}}">
<image src="/images/s_7.png"></image>处理意见:<text>{{item.flowComment}}</text>
</view>
<view wx:if="{{item.files}}" style="display: inline-block;">
<image src="/images/s_5.png"></image>凭证附件:
<view class="in-img-div" style="width: 66%;float: right;">
<block wx:for="{{format.split(item.files,',')}}" wx:for-item="fit" wx:key="idx" wx:for-index="fitIdx">
<image class="inImage" bindtap='showImg' data-set="{{item.files}}" data-index="{{fitIdx}}" src="{{request+fit+'.min.jpg'}}"></image>
</block>
</view>
</view>
</view>
</view>
</view>
</view>
</van-collapse-item>
</van-collapse>
</view>
<view class="module_title module_title_padding">
<view>{{infoData.projectName}}</view>
</view>
<view class="inspect_overview_list_max">
<view class="inspect_overview_list">
<van-row>
<van-col span="6"><text class="color_blue">总包单位</text></van-col>
<van-col span="18" class="color_blue">{{infoData.deptName}}</van-col>
</van-row>
</view>
<view class="inspect_overview_list">
<van-row>
<van-col span="6"><text class="color_orange">分包单位</text></van-col>
<van-col span="18" class="color_orange">{{infoData.subDeptName}}</van-col>
</van-row>
</view>
<view class="inspect_overview_list">
<van-row>
<van-col span="6"><text class="color_purple">投诉劳工</text></van-col>
<van-col span="18">{{infoData.laborName}}</van-col>
</van-row>
</view>
<view class="inspect_overview_list">
<van-row>
<van-col span="6"><text class="color_purple">联系电话</text></van-col>
<van-col span="18">{{infoData.laborPhone}}</van-col>
</van-row>
</view>
<view class="inspect_overview_list">
<van-row>
<van-col span="6"><text class="color_purple">身份证号</text></van-col>
<van-col span="18">{{infoData.laborCardId}}
</van-col>
</van-row>
</view>
<view class="inspect_overview_list">
<van-row>
<van-col span="6"><text class="color_purple">欠薪人数</text></van-col>
<van-col span="18">{{infoData.laborNumber}} <text class="code_label_green">人</text></van-col>
</van-row>
</view>
<view class="inspect_overview_list">
<van-row>
<van-col span="6"><text class="color_purple">欠薪金额</text></van-col>
<van-col span="18">{{infoData.laborAmount}} <text class="code_label_green">元</text></van-col>
</van-row>
</view>
<view class="inspect_overview_list">
<van-row>
<van-col span="6"><text class="color_purple">原因说明</text></van-col>
<van-col span="18">{{infoData.laborReason}}</van-col>
</van-row>
</view>
<view class="inspect_overview_list">
<van-row>
<van-col span="6"><text class="color_purple">凭证附件</text></van-col>
<van-col span="18">
<view class="in-img-div" wx:if="{{infoData.files}}" wx:for="{{format.split(infoData.files,',')}}" wx:key="index">
<image bindtap='showImg' data-set="{{infoData.files}}" data-index="{{index}}" src="{{request+item+'.min.jpg'}}"></image>
</view>
</van-col>
</van-row>
</view>
<view class="inspect_overview_list">
<van-row>
<van-col span="6"><text class="color_purple">投诉时间</text></van-col>
<van-col span="18">{{infoData.createTime}}</van-col>
</van-row>
</view>
<view class="inspect_overview_list">
<van-row>
<van-col span="6"><text class="color_purple">投诉进度</text></van-col>
<van-col span="18">
<text wx:if="{{infoData.approveStatus=='100'}}" class="code_label_2 code_label_green" style="padding: 5rpx 50rpx;font-size: 25rpx;">审批完成</text>
<text wx:if="{{infoData.approveStatus=='10'}}" class="code_label_2 code_label_blueviolet" style="padding: 5rpx 50rpx;font-size: 25rpx;">待项目经理审批</text>
<text wx:if="{{infoData.approveStatus=='20'}}" class="code_label_2 code_label_blueviolet" style="padding: 5rpx 50rpx;font-size: 25rpx;">待甲方代表审批</text>
<text wx:if="{{infoData.approveStatus=='30'}}" class="code_label_2 code_label_blueviolet" style="padding: 5rpx 50rpx;font-size: 25rpx;">待集团公司审批</text>
<text wx:if="{{infoData.approveStatus=='11'}}" class="code_label_2 code_label_red" style="padding: 5rpx 50rpx;font-size: 25rpx;">项目经理审批驳回</text>
<text wx:if="{{infoData.approveStatus=='21'}}" class="code_label_2 code_label_red" style="padding: 5rpx 50rpx;font-size: 25rpx;">甲方代表审批驳回</text>
<text wx:if="{{infoData.approveStatus=='31'}}" class="code_label_2 code_label_red" style="padding: 5rpx 50rpx;font-size: 25rpx;">集团公司审批驳回</text>
</van-col>
</van-row>
</view>
</view>
</view>
</view>
</view>

View File

@ -1,78 +0,0 @@
/* pageage/project_checking/info/index.wxss */
.in-img-max:after{
display:block;
clear:both;
content:"";
visibility:hidden;
height:0
}
.in-img-max{
width: auto;
zoom:1
}
.in-img-div{
position: relative;
margin: 0 8px 0 0;
float: left;
}
.in-img-div image{
width: 180rpx;
height: 180rpx;
border-radius: 15rpx;
position: relative;
}
.van-collapse.van-hairline--top-bottom:after{
border-width: 0px 0;
}
.van-cell.van-cell--borderless{
background-color: #2b345b;
color: #fff;
margin-top: 30rpx;
border-radius: 5rpx;
}
.van-cell.van-cell--borderless:active{
background-color: #2b345b;
}
.van-collapse-item__title.van-collapse-item__title--expanded:active{
background-color: #2b345b;
}
.van-collapse-item .van-cell:after{
border-bottom: 0;
}
.van-collapse-item.van-hairline--top:after{
border-top-width:0
}
.van-cell.van-cell--clickable{
background-color: #2b345b;
margin-top: 5rpx;
margin-bottom: 5rpx;
color: #fff;
border-radius: 15rpx;
}
.van-cell.van-cell--clickable:active{
background-color: #2b345b;
}
.van-collapse-item__wrapper .van-collapse-item__content{
background-color: #1e2336;
color:#8ca4ec ;
border-width: 0px 0;
}
.gk_open_con view{
padding: 10rpx 0;
width: 100%;
}
.gk_open_con image{
width: 30rpx;
height: 30rpx;
margin-right: 5rpx;
position: relative;
top: 5rpx;
}
.gk_open_con .in-img-div image{
width: 120rpx !important;
height: 120rpx !important;
margin-right: 15rpx;
position: relative;
top: 5rpx;
}

View File

@ -1,326 +0,0 @@
import {list,findGroupCountByApprove} from "../../../api/flowLabour"
import {
getToken
} from '../../../utils/auth'
const app = getApp()
Page({
/**
* 页面的初始数据
*/
data: {
userId:"",
deptId: "",
loginName: "",
projectId: "",
minRoleId: "",
initData: {},
show: false,
listData: [],
activeState: "jxz",
jxzCount: 0,
ywcCount: 0,
pageNum: 1,
pageSize: 10,
lastDataSize: 10,
list: []
},
getInfo(e) {
let {
id,
approveStatus
} = e.currentTarget.dataset.set
if (approveStatus == "100") {
wx.redirectTo({
url: `../info/index?id=${id}`,
})
} else {
if(this.data.minRoleId=='2' || this.data.minRoleId=='3'){
//超管可直接进入审批页面
wx.redirectTo({
url: `../check/index?id=${id}`,
})
}else if(this.data.minRoleId=='4' && (approveStatus == '20' || approveStatus == '31')){
wx.redirectTo({
url: `../check/index?id=${id}`,
})
}else if(this.data.minRoleId=='4' && (approveStatus == '10' || approveStatus == '21')){
wx.redirectTo({
url: `../info/index?id=${id}`,
})
}else if(this.data.minRoleId!='4' && (approveStatus == '10' || approveStatus == '21')){
wx.redirectTo({
url: `../check/index?id=${id}`,
})
}else if(this.data.minRoleId!='4' && (approveStatus == '20' || approveStatus == '31')){
wx.redirectTo({
url: `../info/index?id=${id}`,
})
}else{
wx.redirectTo({
url: `../info/index?id=${id}`,
})
}
}
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
if(!getToken()){
wx.redirectTo({
url: '../../../pages/login/index',
})
}
if (options && options.barProId) {
//数据未加载完毕,从文件读取数据
if (app.globalData.projectInfoList.length == 0) {
wx.getStorage({
key: 'projectInfoList',
success: res => {
app.globalData.projectInfoList = res.data;
app.globalData.projectInfoList.forEach(item => {
if (item.projectId == options.barProId) {
app.globalData.projectId = item.projectId;
app.globalData.projectName = item.projectName;
}
});
//未查询到项目信息
if (!app.globalData.projectId) {
app.globalData.projectInfoList.push({
projectId: options.barProId,
projectId: options.barProName
});
app.globalData.projectId = options.barProId;
app.globalData.projectName = options.barProName;
}
//从缓存读取项目信息
this.setData({
initData: {
text: app.globalData.projectName,
id: app.globalData.projectId
}
})
let myProjects = this.selectComponent("#projectSel");
myProjects.load();
}
})
} else {
app.globalData.projectInfoList.forEach(item => {
if (item.projectId == options.barProId) {
app.globalData.projectId = item.projectId;
app.globalData.projectName = item.projectName;
}
});
//未查询到项目信息
if (!app.globalData.projectId) {
app.globalData.projectInfoList.push({
projectId: options.barProId,
projectId: options.barProName
});
app.globalData.projectId = options.barProId;
app.globalData.projectName = options.barProName;
}
//从缓存读取项目信息
this.setData({
initData: {
text: app.globalData.projectName,
id: app.globalData.projectId
}
})
}
} else {
//从缓存读取项目信息
this.setData({
initData: {
text: app.globalData.projectName,
id: app.globalData.projectId
}
})
}
//获取缓存数据
wx.getStorage({
key: 'userinfo',
success: res => {
this.setData({
deptId: res.data.deptId,
userId: res.data.userId,
loginName: res.data.loginName,
projectId: app.globalData.projectId,
minRoleId: res.data.minRoleId,
pageNum: 1,
pageSize: 10,
lastDataSize: 10,
listData: []
})
this.getListData();
},
fail: err => {
//未获取用户信息时,重新登录
wx.redirectTo({
url: '../pages/login/index',
})
}
})
},
/**
* 查询项目材料进场验收数据
*/
getListData() {
//进入这里说明数据加载完毕
if (this.data.lastDataSize < this.data.pageSize) {
//app.toast("已经到底了,暂无可继续加载数据!")
return;
}
var that = this;
//判断角色,
let mr = this.data.minRoleId;
let deptId = this.data.deptId;
let projDept = this.data.deptId;
if (mr == 2 || mr == 3 || mr == 4) {
deptId = 0;
}
if(mr == 4){
projDept = app.globalData.projectInfoList[0].deptId
}
let param = {
"projectId": this.data.projectId,
"deptId": deptId,
"nowDept": projDept,
"nowRole": mr,
"nowUser": this.data.loginName,
"activeName": that.data.activeState
}
this.queryCount(param);
param.pageNum = that.data.pageNum;
param.pageSize = that.data.pageSize;
list(param).then(res =>{
if (res.code == "200") {
//这里处理this.data.lastDataSize=this.data.pageSize
if (that.data.list.length > 0 && res.rows.length > 0 && that.data.list[0].id == res.rows[0].id) {
that.setData({
lastDataSize: 0,
})
} else {
that.setData({
pageNum: that.data.pageNum + 1,
lastDataSize: res.rows.length,
list: res.rows,
listData: that.data.listData.concat(res.rows)
})
}
}
});
},
/**
* 加载更多数据
*/
onScrollToLower() {
console.log("滚动条到底了,开始加载新数据");
this.getListData();
},
//查询统计
queryCount(param) {
//查询统计数量
findGroupCountByApprove(param).then(res =>{
if(res.code==200){
this.setData({
jxzCount: res.data.db,
ywcCount: res.data.yb
});
}
});
},
/**
* 标签切换
*/
typeJump(e) {
let index = e.currentTarget.dataset.index;
let nav = "";
if (index == 1) {
nav = 'jxz';
} else if (index == 2) {
nav = 'ywc';
}
this.setData({
activeState: nav,
pageNum: 1,
pageSize: 10,
lastDataSize: 10,
listData: [],
list: []
});
this.getListData();
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
},
returnToPage: function () {
/*关闭当前页面,跳转到应用内的某个页面。但是不允许跳转到 tabbar 页面*/
wx.redirectTo({
url: '../../../pages/gengduogongneng/index',
})
},
//项目切换 返回值
onProjectSelect(e) {
let projectId = e.detail.id;
let projectName = e.detail.text;
app.globalData.projectId = projectId;
app.globalData.projectName = projectName;
this.onLoad();
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
}
})

View File

@ -1,8 +0,0 @@
{
"usingComponents": {
"van-overlay": "@vant/weapp/overlay/index" ,
"van-popup": "@vant/weapp/popup/index"
},
"navigationStyle":"custom",
"navigationBarTitleText": "劳资预警审批"
}

View File

@ -1,59 +0,0 @@
<wxs module="format" src="/utils/format.wxs"></wxs>
<view class="header_title">
<view class="header_title_row">
<van-row>
<van-col span="4">
<view class="header_img" bindtap="returnToPage">
<image src="/images/left.png"></image>
</view>
</van-col>
<van-col span="15">
<view class="header_name">劳资投诉审批</view>
</van-col>
</van-row>
</view>
</view>
<scroll-view class="max_content_scroll" type="list" scroll-y bindscrolltolower="onScrollToLower">
<project-select init="{{initData}}" bindchange="onProjectSelect" id="projectSel"></project-select>
<view class="modify_video_nav" style="margin-top: 5rpx;">
<view class="{{activeState=='jxz'?'active':''}}" bindtap="typeJump" data-index="1"><text>进行中({{jxzCount}}</text></view>
<view class="{{activeState=='ywc'?'active':''}}" bindtap="typeJump" data-index="2"><text>已完成({{ywcCount}}</text></view>
</view>
<view class="inspect_max_scroll">
<view class="inspect_for_scroll" v-if="{{ listData.length>0 }}" wx:for="{{listData}}" wx:key="index" data-set="{{item}}" bindtap="getInfo">
<view class="inspect_for_bgd">
<view class="inspect_list_title">
<view class="inspect_list_title_label inspect_list_title_width">
<view class="inspect_list_title_number">{{index < 9 ?'0'+(index+1):(index+1)}}</view>
<view class="module_title module_title_flex inspect_list_title_text_3">投诉时间:{{format.parseDate(item.createTime)}}</view>
<view wx:if="{{item.approveStatus=='10'}}" class="code_label_4 code_label_blueviolet">待项目经理办</view>
<view wx:if="{{item.approveStatus=='21'}}" class="code_label_4 code_label_red">甲方代表驳回</view>
<view wx:if="{{item.approveStatus=='20'}}" class="code_label_4 code_label_blueviolet">待甲方代表审</view>
<view wx:if="{{item.approveStatus=='31'}}" class="code_label_4 code_label_red">集团公司驳回</view>
<view wx:if="{{item.approveStatus=='30'}}" class="code_label_4 code_label_blueviolet">待集团公司审</view>
<view wx:if="{{item.approveStatus=='100'}}" class="code_label_4 code_label_green">审批完成</view>
</view>
</view>
<view class="inspect_list_info">
<view class="inspect_list_info_details">
<view class="inspect_list_info_data_2">
<view class="inspect_list_info_data_prop color_blue">项目名称:<text>{{item.projectName}}</text></view>
<view class="inspect_list_info_data_prop">总包单位:<text>{{item.deptName}}</text></view>
<view class="inspect_list_info_data_prop">分包单位:<text>{{item.subDeptName}}</text></view>
<view class="inspect_list_info_data_prop">投诉劳工:<text>{{item.laborName}}</text></view>
<view class="inspect_list_info_data_prop">欠薪人数:<text>{{item.laborNumber}} <text class="code_label_green">人</text></text></view>
<view class="inspect_list_info_data_prop">欠薪金额:<text>{{item.laborAmount}} <text class="code_label_green">元</text></text></view>
<view class="inspect_list_info_position">原因说明:<text class="color_purple">{{item.laborReason}}</text></view>
</view>
</view>
</view>
</view>
</view>
<view wx:if="{{listData.length==0}}">
<view style="padding-top: 70px;text-align: -webkit-center;">
<image src="https://szgcwx.jhncidg.com/staticFiles/nodata.png" style="width: 130px;height: 105px;"></image>
<view style="color: #a5abbb;">暂无数据</view>
</view>
</view>
</view>
</scroll-view>

View File

@ -1 +0,0 @@
/* pageage/flow_labour/list/index.wxss */

View File

@ -0,0 +1,149 @@
// pages/lw-baobiaochaxun/lw-baobiaochaxun.js
const app = getApp()
Page({
/**
* 页面的初始数据
*/
data: {
projectName:'',
date: '',
today:'',
show: false,
minDate: new Date(2020, 0, 1).getTime(),
maxDate: new Date().getTime(),
tableList:[],
tableListNew:[],
loadShow:false,
pageNum:1,
//静态变量
type:false,
},
onClickShow() {
this.setData({ loadShow: true });
},
onClickHide() {
this.setData({ loadShow: false });
},
onDisplay() {
this.setData({ show: true });
},
onClose() {
this.setData({ show: false });
},
formatDate(date) {
date = new Date(date);
var dateYaer = date.getFullYear();
var dateMonth = date.getMonth() + 1;
var dateDay = date.getDate();
if(dateMonth < 10 ){
dateMonth = '0' + dateMonth;
}
if(dateDay < 10 ){
dateDay = '0' + dateDay;
}
return dateYaer+'-'+dateMonth+ '-'+dateDay;
},
onConfirm(event) {
this.onClickShow();
this.setData({
show: false,
date: this.formatDate(event.detail),
tableListNew:[],
pageNum:1
});
this.selectClockPunch(app.globalData.projectId,this.formatDate(event.detail),1,20);
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
this.onClickShow();
var date = new Date();
var dateYaer = date.getFullYear();
var dateMonth = date.getMonth() + 1;
var dateDay = date.getDate();
if(dateMonth < 10 ){
dateMonth = '0' + dateMonth;
}
if(dateDay < 10 ){
dateDay = '0' + dateDay;
}
this.setData({
date: dateYaer+'-'+dateMonth+ '-'+dateDay,
});
this.setData({
today:dateYaer+'-'+dateMonth+ '-'+dateDay,
projectName:app.globalData.projectName,
tableListNew:[]
})
this.selectClockPunch(app.globalData.projectId,dateYaer+'-'+dateMonth+ '-'+dateDay,1,20);
},
  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {
//判断数组是否存在值
if(this.data.type){
this.setData({pageNum:this.data.pageNum+1});
this.selectClockPunch(app.globalData.projectId,this.data.date,this.data.pageNum,20);
}
  },
/**
* 获取项目打卡数据
* @param {*} projectId 项目id
* @param {*} date 日期
* @param {*} pageNum 页数(1开始)
* @param {*} size 每页条数
*/
selectClockPunch:function(projectId,date,pageNum,size){
var that = this;
wx.request({
url: app.globalData.reqUrl+'/weixin/labour/selectClockPunch',
data:{
"projectId":projectId,
"date":date,
"pageNum":pageNum,
"size":size
},
method:"GET",
success:function(res) {
that.onClickHide();
if(res.data.code == '200'){
//赋值
var tableListNew =that.data.tableListNew;
for(var i = 0;i<res.data.data.length;i++){
tableListNew.push(res.data.data[i]);
}
//判断查询到的数据是否有值
var type = true;
if(res.data.data.length < 20 ){ type = false; }
that.setData({
tableList:tableListNew,
type:type
})
}else{
app.toast(res.data.msg);
}
}
})
},
/**
* 返回劳务管控页面
*/
goBack:function(){
wx.redirectTo({
url: '../lw-index/lw-index',
})
}
})

View File

@ -0,0 +1,9 @@
{
"usingComponents": {
"van-row": "@vant/weapp/row",
"van-col": "@vant/weapp/col",
"van-calendar": "@vant/weapp/calendar/index",
"van-overlay": "@vant/weapp/overlay/index"
},
"navigationStyle":"custom"
}

View File

@ -0,0 +1,84 @@
<!--pages/lw-baobiaochaxun/lw-baobiaochaxun.wxml-->
<!--pages/lw-index/lw-index.wxml-->
<view class="header_title">
<view class="">
<van-row>
<van-col span="6" bindtap="goBack">
<view class="header_img"><image src="/images/left.png"></image></view>
</van-col>
<van-col span="12">
<view class="header_name">报表查询</view>
</van-col>
</van-row>
</view>
</view>
<view class="max_content">
<view class="lw_max">
<view class="lw_min" bindtap="onDisplay">
<text value="{{ date }}">{{ date }}</text>
<image src="/images/lw_4.png" class="lw_img_right"></image>
</view>
</view>
<van-calendar show="{{ show }}" bind:close="onClose" default-date="{{today}}" show-confirm="{{ false }}" bind:confirm="onConfirm" min-date="{{ minDate }}" max-date="{{ maxDate }}" color="#07c160" />
<view class="lw_gdgq">
<van-row>
<van-col span="12">
项目名称:<text>{{projectName}}</text>
</van-col>
</van-row>
<view class="eharts_title">考勤列表</view>
<view class="lw_table_th">
<van-row>
<van-col span="4">
<view>姓名</view>
</van-col>
<van-col span="12">
<view>参建单位</view>
</van-col>
<van-col span="4">
<view>首次打卡</view>
</van-col>
<van-col span="4">
<view>末次打卡</view>
</van-col>
</van-row>
</view>
<view class="lw_table_tr">
<view class="lw_table_td" wx:for="{{tableList}}">
<van-row>
<van-col span="4">
<view>{{item.name}}</view>
</van-col>
<van-col span="12">
<view>{{item.enterprise_name}}</view>
</van-col>
<van-col span="4">
<view>{{item.scdk}}</view>
</van-col>
<van-col span="4">
<view>{{item.mcdk}}</view>
</van-col>
</van-row>
</view>
</view>
</view>
</view>
<van-overlay show="{{loadShow}}">
<view class="gif">
<image src="http://fileimg.makalu.cc/866000e905ae45a8b79d80de52bb4e9a.gif"></image>
<view>数据加载中!请稍后...</view>
</view>
</van-overlay>

Some files were not shown because too many files have changed in this diff Show More