Compare commits
8 Commits
6ca59939b0
...
ba72e50421
| Author | SHA1 | Date |
|---|---|---|
|
|
ba72e50421 | |
|
|
ae2a7c28af | |
|
|
b32ed7f9dc | |
|
|
04f46009e0 | |
|
|
56ab9c0b01 | |
|
|
f4221acc74 | |
|
|
97c933d60b | |
|
|
eae8982e0e |
|
|
@ -1,6 +1,2 @@
|
|||
/.hbuilderx/
|
||||
/.idea/
|
||||
/node_modules/
|
||||
/unpackage/
|
||||
/package-lock.json
|
||||
/integrated_traffic_uniapp.iml
|
||||
/.hbuilderx/
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
QA-UniApp
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="17" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/classes" />
|
||||
</component>
|
||||
</project>
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/UniApp_integrated_whb.iml" filepath="$PROJECT_DIR$/UniApp_integrated_whb.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
||||
|
|
@ -1,8 +1,6 @@
|
|||
|
||||
// export var basePath = "http://192.168.0.16:7082/";
|
||||
// export var basePath = "http://192.168.0.30:7082/";
|
||||
// export var basePath = "http://192.168.20.240:8412/integrated_traffic/";
|
||||
export var basePath = "http://39.101.166.211:8073/integrated_traffic/";
|
||||
// export var basePath = "http://192.168.0.42:8099/";
|
||||
export var basePath = "http://192.168.0.49:8099/";
|
||||
// export var basePath = "https://gateway.qhdsafety.com/";
|
||||
export const baseImgPath = "https://file.zcloudchina.com/YTHFile";
|
||||
export const adminPath = "http://192.168.0.18:8085";
|
||||
export const projectManagerUrl = 'https://pm.qhdsafety.com/zy-projectManage/';
|
||||
|
|
@ -14,7 +12,7 @@ export var corpinfoId = ''; //
|
|||
export var loginUserId = '';
|
||||
export var loginUser = '';
|
||||
export function loginSession() {
|
||||
if ('' == loginUserId || undefined == loginUserId ||
|
||||
if ('' == corpinfoId || undefined == corpinfoId || '' == loginUserId || undefined == loginUserId ||
|
||||
'' == loginUser || undefined == loginUser) {
|
||||
uni.navigateTo({
|
||||
url: '/pages/login/home',
|
||||
|
|
@ -112,76 +110,6 @@ function noMultipleClicks(methods, e) {
|
|||
console.log("请稍后点击")
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 验证身份证号码
|
||||
*/
|
||||
export function validateIdCard(value) {
|
||||
return /^\d{6}(18|19|20)?\d{2}(0[1-9]|1[0-2])(([0-2][1-9])|10|20|30|31)\d{3}(\d|X|x)$/.test(
|
||||
value
|
||||
)
|
||||
}
|
||||
|
||||
/**
|
||||
* 验证手机格式
|
||||
*/
|
||||
export function validateMobile(value) {
|
||||
return /^(?:(?:\+|00)86)?1(?:(?:3[\d])|(?:4[5-79])|(?:5[0-35-9])|(?:6[5-7])|(?:7[0-8])|(?:8[\d])|(?:9[189]))\d{8}$/.test(value)
|
||||
}
|
||||
|
||||
|
||||
//获取数据字典数据
|
||||
export async function getLevel(dataParams) {
|
||||
const list = await sendPost(dataParams, '/dictionaries/getDictList')
|
||||
return list
|
||||
}
|
||||
//获取数据字典数据(3级字典)
|
||||
export async function getLevelCustom(dataParams) {
|
||||
const list = await sendPost(dataParams, '/dictionaries/getLevelCustom')
|
||||
return list
|
||||
}
|
||||
|
||||
export async function listCorpAll(dataParams) {
|
||||
const list = await sendPost(dataParams, '/app/corpinfo/listAll')
|
||||
return list
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取字典
|
||||
*/
|
||||
async function sendPost(dataParams, url) {
|
||||
let resData = await uni.request({
|
||||
method: 'POST',
|
||||
dataType: 'json',
|
||||
header: {
|
||||
'Content-type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
url: basePath + url,
|
||||
data: dataParams
|
||||
})
|
||||
return resData[1].data.list
|
||||
}
|
||||
|
||||
export async function checkIdCard(dataParams) {
|
||||
const data = await getData(dataParams, '/app/user/hasUserIdCard')
|
||||
return data
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取字典
|
||||
*/
|
||||
async function getData(dataParams, url) {
|
||||
let resData = await uni.request({
|
||||
method: 'POST',
|
||||
dataType: 'json',
|
||||
header: {
|
||||
'Content-type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
url: basePath + url,
|
||||
data: dataParams
|
||||
})
|
||||
return resData[1].data
|
||||
}
|
||||
//导出
|
||||
export default {
|
||||
noMultipleClicks, //禁止多次点击
|
||||
|
|
|
|||
|
|
@ -1,162 +1,117 @@
|
|||
{
|
||||
"name": "integrated_traffic_uniapp",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"dependencies": {
|
||||
"@dcloudio/uni-ui": "^1.5.0",
|
||||
"moment": "^2.29.4",
|
||||
"vue-aliplayer": "^1.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/html5plus": "^1.0.2",
|
||||
"@types/uni-app": "^1.4.4"
|
||||
}
|
||||
},
|
||||
"node_modules/@babel/parser": {
|
||||
"lockfileVersion": 1,
|
||||
"dependencies": {
|
||||
"@babel/parser": {
|
||||
"version": "7.23.6",
|
||||
"resolved": "https://registry.npmmirror.com/@babel/parser/-/parser-7.23.6.tgz",
|
||||
"integrity": "sha512-Z2uID7YJ7oNvAI20O9X0bblw7Qqs8Q2hFy0R9tAfnfLkp5MW0UH9eUvnDSnFwKZ0AvgS1ucqR4KzvVHgnke1VQ==",
|
||||
"dev": true,
|
||||
"bin": {
|
||||
"parser": "bin/babel-parser.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=6.0.0"
|
||||
}
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/@dcloudio/uni-ui": {
|
||||
"@dcloudio/uni-ui": {
|
||||
"version": "1.5.0",
|
||||
"resolved": "https://registry.npmmirror.com/@dcloudio/uni-ui/-/uni-ui-1.5.0.tgz",
|
||||
"integrity": "sha512-E7D37VbRZeh1E2yzrIie8psBckIrErdkUbUA751rlG8zdioGovW3zOuUsKgY+Gh7csMvi6XMEoSacvboe8o4Gw=="
|
||||
},
|
||||
"node_modules/@types/html5plus": {
|
||||
"@types/html5plus": {
|
||||
"version": "1.0.5",
|
||||
"resolved": "https://registry.npmmirror.com/@types/html5plus/-/html5plus-1.0.5.tgz",
|
||||
"integrity": "sha512-qt5z+3WYkARL/rWnJRcB2fCDOZLKa/hEOkse9sjA6FFkXZtKb+OPxKqo8bDgix4+ufahOff0adarVfaUaK1mfw==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/@types/uni-app": {
|
||||
"@types/uni-app": {
|
||||
"version": "1.4.8",
|
||||
"resolved": "https://registry.npmmirror.com/@types/uni-app/-/uni-app-1.4.8.tgz",
|
||||
"integrity": "sha512-plxwi9MvGDrekCsDKuNlCN3ZXIv9zkqHsKZJOsc8FQqLSHveDBOm11qOaswe4QyNWVHpvwZMViii/Ni1/d40LA==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"requires": {
|
||||
"vue": "^2.6.8"
|
||||
}
|
||||
},
|
||||
"node_modules/@vue/compiler-sfc": {
|
||||
"@vue/compiler-sfc": {
|
||||
"version": "2.7.16",
|
||||
"resolved": "https://registry.npmmirror.com/@vue/compiler-sfc/-/compiler-sfc-2.7.16.tgz",
|
||||
"integrity": "sha512-KWhJ9k5nXuNtygPU7+t1rX6baZeqOYLEforUPjgNDBnLicfHCoi48H87Q8XyLZOrNNsmhuwKqtpDQWjEFe6Ekg==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"requires": {
|
||||
"@babel/parser": "^7.23.5",
|
||||
"postcss": "^8.4.14",
|
||||
"prettier": "^1.18.2 || ^2.0.0",
|
||||
"source-map": "^0.6.1"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"prettier": "^1.18.2 || ^2.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/csstype": {
|
||||
"csstype": {
|
||||
"version": "3.1.3",
|
||||
"resolved": "https://registry.npmmirror.com/csstype/-/csstype-3.1.3.tgz",
|
||||
"integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/moment": {
|
||||
"moment": {
|
||||
"version": "2.30.1",
|
||||
"resolved": "https://registry.npmmirror.com/moment/-/moment-2.30.1.tgz",
|
||||
"integrity": "sha512-uEmtNhbDOrWPFS+hdjFCBfy9f2YoyzRpwcl+DqpC6taX21FzsTLQVbMV/W7PzNSX6x/bhC1zA3c2UQ5NzH6how==",
|
||||
"engines": {
|
||||
"node": "*"
|
||||
}
|
||||
"integrity": "sha512-uEmtNhbDOrWPFS+hdjFCBfy9f2YoyzRpwcl+DqpC6taX21FzsTLQVbMV/W7PzNSX6x/bhC1zA3c2UQ5NzH6how=="
|
||||
},
|
||||
"node_modules/nanoid": {
|
||||
"nanoid": {
|
||||
"version": "3.3.7",
|
||||
"resolved": "https://registry.npmmirror.com/nanoid/-/nanoid-3.3.7.tgz",
|
||||
"integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==",
|
||||
"dev": true,
|
||||
"bin": {
|
||||
"nanoid": "bin/nanoid.cjs"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
|
||||
}
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/picocolors": {
|
||||
"picocolors": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmmirror.com/picocolors/-/picocolors-1.0.0.tgz",
|
||||
"integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/postcss": {
|
||||
"postcss": {
|
||||
"version": "8.4.33",
|
||||
"resolved": "https://registry.npmmirror.com/postcss/-/postcss-8.4.33.tgz",
|
||||
"integrity": "sha512-Kkpbhhdjw2qQs2O2DGX+8m5OVqEcbB9HRBvuYM9pgrjEFUg30A9LmXNlTAUj4S9kgtGyrMbTzVjH7E+s5Re2yg==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"requires": {
|
||||
"nanoid": "^3.3.7",
|
||||
"picocolors": "^1.0.0",
|
||||
"source-map-js": "^1.0.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^10 || ^12 || >=14"
|
||||
}
|
||||
},
|
||||
"node_modules/prettier": {
|
||||
"prettier": {
|
||||
"version": "2.8.8",
|
||||
"resolved": "https://registry.npmmirror.com/prettier/-/prettier-2.8.8.tgz",
|
||||
"integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"bin": {
|
||||
"prettier": "bin-prettier.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=10.13.0"
|
||||
}
|
||||
"optional": true
|
||||
},
|
||||
"node_modules/source-map": {
|
||||
"source-map": {
|
||||
"version": "0.6.1",
|
||||
"resolved": "https://registry.npmmirror.com/source-map/-/source-map-0.6.1.tgz",
|
||||
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
|
||||
"dev": true,
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
}
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/source-map-js": {
|
||||
"source-map-js": {
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmmirror.com/source-map-js/-/source-map-js-1.0.2.tgz",
|
||||
"integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==",
|
||||
"dev": true,
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
}
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/vue": {
|
||||
"vue": {
|
||||
"version": "2.7.16",
|
||||
"resolved": "https://registry.npmmirror.com/vue/-/vue-2.7.16.tgz",
|
||||
"integrity": "sha512-4gCtFXaAA3zYZdTp5s4Hl2sozuySsgz4jy1EnpBHNfpMa9dK1ZCG7viqBPCwXtmgc8nHqUsAu3G4gtmXkkY3Sw==",
|
||||
"deprecated": "Vue 2 has reached EOL and is no longer actively maintained. See https://v2.vuejs.org/eol/ for more details.",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"requires": {
|
||||
"@vue/compiler-sfc": "2.7.16",
|
||||
"csstype": "^3.1.0"
|
||||
}
|
||||
},
|
||||
"node_modules/vue-aliplayer": {
|
||||
"vue-aliplayer": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmmirror.com/vue-aliplayer/-/vue-aliplayer-1.0.0.tgz",
|
||||
"integrity": "sha512-z29s38hlNJDckGSPtuTsYwMdjj70SsvJ5VzbEoBoV2BTrg3ucvodM2CW7BWstrG9WaQqz4F8nVGLSON05RrmJw==",
|
||||
"dependencies": {
|
||||
"requires": {
|
||||
"vue-github-badge": "^1.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/vue-github-badge": {
|
||||
"vue-github-badge": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmmirror.com/vue-github-badge/-/vue-github-badge-1.0.1.tgz",
|
||||
"integrity": "sha512-8X+FUWapnnDfs6cRUg3mCfHUf2r5arUfCSRdvbIn860oj9us3Rz3VOtioUgmfzh6EhaaYTs0Oh78EzJ+Z6uqAA=="
|
||||
|
|
|
|||
1287
pages.json
1287
pages.json
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,264 @@
|
|||
<template>
|
||||
<view>
|
||||
<cu-custom bgColor="bg-gradual-blueness" :isBack="true" :isRingt="true">
|
||||
<block slot="backText">返回</block>
|
||||
<block slot="content">盲板抽堵作业</block>
|
||||
</cu-custom>
|
||||
|
||||
<view class="apps-box">
|
||||
<view class="apps-row">
|
||||
<view class="apps-title">
|
||||
<text class="apps-title-line"></text>
|
||||
<text>盲板抽堵作业审批管理</text>
|
||||
</view>
|
||||
<view class="apps-warp">
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/blind-board/blind-board-apply/blind-board-apply-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-yxkj-1.png" mode=""></image>
|
||||
<view v-if="count.COUNTBACK" class="cu-tag badge">{{count.COUNTBACK}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>盲板抽堵作业</view>
|
||||
<view>申请</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/blind-board/blind-board-construction/blind-board-construction-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-903.png" mode=""></image>
|
||||
<view v-if="count.COUNTCONSTRUCTION" class="cu-tag badge">{{count.COUNTCONSTRUCTION}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>作业负责人</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/blind-board/blind-board-leader/blind-board-leader-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-904.png" mode=""></image>
|
||||
<view v-if="count.COUNTLEADER" class="cu-tag badge">{{count.COUNTLEADER}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>所在单位</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/blind-board/blind-board-accept/blind-board-accept-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-905.png" mode=""></image>
|
||||
<view v-if="count.COUNTACCEPT" class="cu-tag badge">{{count.COUNTACCEPT}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>完工验收</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/blind-board/blind-board-guardian/blind-board-guardian-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-jh-1.png" mode=""></image>
|
||||
<view v-if="count.COUNTGUARDIAN" class="cu-tag badge">{{count.COUNTGUARDIAN}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>监护人</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/blind-board/blind-board-confess/blind-board-confess-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-aq-1.png" mode=""></image>
|
||||
<view v-if="count.COUNTCONFESS" class="cu-tag badge">{{count.COUNTCONFESS}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>安全交底人</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/blind-board/blind-board-acceptconfess/blind-board-acceptconfess-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-js-1.png" mode=""></image>
|
||||
<view v-if="count.COUNTACCEPTCONFESS" class="cu-tag badge">{{count.COUNTACCEPTCONFESS}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>接受交底人</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<!-- <navigator class="apps-item" hover-class="none" url="/pages/application/blind-board/blind-board-production/blind-board-production-list">-->
|
||||
<!-- <view class="imgs action">-->
|
||||
<!-- <image src="../../../static/icon-apps/icon-902.png" mode=""></image>-->
|
||||
<!-- <view v-if="count.COUNTPRODUCTION" class="cu-tag badge">{{count.COUNTPRODUCTION}}</view>-->
|
||||
<!-- </view>-->
|
||||
<!-- <view class="text-semi" style="text-align: center;">-->
|
||||
<!-- <view>生产部门</view>-->
|
||||
<!-- <view>意见</view>-->
|
||||
<!-- </view>-->
|
||||
<!-- </navigator>-->
|
||||
<!-- <navigator class="apps-item" hover-class="none" url="/pages/application/blind-board/blind-board-safety/blind-board-safety-list">-->
|
||||
<!-- <view class="imgs action">-->
|
||||
<!-- <image src="../../../static/icon-apps/icon-906.png" mode=""></image>-->
|
||||
<!-- <view v-if="count.COUNTSAFETY" class="cu-tag badge">{{count.COUNTSAFETY}}</view>-->
|
||||
<!-- </view>-->
|
||||
<!-- <view class="text-semi" style="text-align: center;">-->
|
||||
<!-- <view>安全部门</view>-->
|
||||
<!-- <view>意见</view>-->
|
||||
<!-- </view>-->
|
||||
<!-- </navigator>-->
|
||||
</view>
|
||||
<view class="apps-warp">
|
||||
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- <view class="apps-row">
|
||||
<view class="apps-title">
|
||||
<text class="apps-title-line"></text>
|
||||
<text>其他应用</text>
|
||||
</view>
|
||||
<view class="apps-warp">
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/other-apps/videos/videos">
|
||||
<view class="imgs action">
|
||||
<image src="../../static/icon-apps/icon-zl-7.png" mode=""></image>
|
||||
</view>
|
||||
<view class="text-semi">视频中心</view>
|
||||
</navigator>
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="cu-tabbar-height"></view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
basePath,
|
||||
loginUserId,
|
||||
formatDate,
|
||||
corpinfoId,
|
||||
loginUser,
|
||||
setloginUserId,
|
||||
setCorpinfoId,
|
||||
setloginUser,
|
||||
setDeptId,
|
||||
isRest
|
||||
} from '@/common/tool.js';
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
isRest :'',
|
||||
count : {}
|
||||
};
|
||||
},
|
||||
mounted(){
|
||||
this.isRest = isRest;
|
||||
|
||||
},
|
||||
onShow() {
|
||||
this.getData();
|
||||
},
|
||||
methods: {
|
||||
showRest(){
|
||||
|
||||
uni.showModal({
|
||||
title: '提示',
|
||||
showCancel:false,
|
||||
content: '您处于离岗状态,无需检查清单。',
|
||||
confirmText: "返回", // 确认按钮文字
|
||||
success: (res) => {
|
||||
}
|
||||
})
|
||||
},
|
||||
// getData(){
|
||||
// var _this = this;
|
||||
// uni.showLoading({
|
||||
// title:"加载中..."
|
||||
// });//加载中动画
|
||||
// uni.request({
|
||||
// url: basePath +'/app/blindboard/countCheck',
|
||||
// method: 'POST',
|
||||
// dataType: 'json',
|
||||
// header: {
|
||||
// 'Content-type':'application/x-www-form-urlencoded'
|
||||
// },
|
||||
// data: {
|
||||
// tm:new Date().getTime(),
|
||||
// CORPINFO_ID:loginUser.CORPINFO_ID,
|
||||
// USER_ID:loginUser.USER_ID,
|
||||
// },
|
||||
// success: (res) => {
|
||||
// uni.hideLoading();//结束加载中动画
|
||||
// if ("success" == res.data.result) {
|
||||
// _this.count = res.data.count;
|
||||
// _this.$forceUpdate()
|
||||
// }
|
||||
//
|
||||
// }
|
||||
// })
|
||||
// },
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.app-banner{
|
||||
width: 100%;
|
||||
height: 380upx;
|
||||
}
|
||||
.app-banner image{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.apps-box {}
|
||||
|
||||
.apps-row {
|
||||
padding: 20upx 20upx 10upx 20upx;
|
||||
background-color: #fff;
|
||||
margin-top: 20upx;
|
||||
}
|
||||
.apps-row:first-child{
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.apps-title {
|
||||
position: relative;
|
||||
padding-left: 20upx;
|
||||
color: #989898;
|
||||
padding-bottom: 20upx;
|
||||
}
|
||||
|
||||
.apps-title-line {
|
||||
display: inline-block;
|
||||
background-color: #37a6ff;
|
||||
width: 10upx;
|
||||
height: 23upx;
|
||||
position: absolute;
|
||||
left: 0upx;
|
||||
top: 11upx;
|
||||
}
|
||||
|
||||
.apps-warp {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.apps-item {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
width: 25%;
|
||||
font-size: 25upx;
|
||||
margin-bottom: 20upx;
|
||||
}
|
||||
.apps-item .text-semi{
|
||||
margin-top: 6upx;
|
||||
}
|
||||
.apps-item .action{
|
||||
position: relative;
|
||||
}
|
||||
.apps-item .action .cu-tag.badge{
|
||||
right: -20upx;
|
||||
}
|
||||
.apps-item .imgs {
|
||||
width: 50upx;
|
||||
height: 50upx;
|
||||
}
|
||||
|
||||
.apps-item .imgs image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
<view>
|
||||
<cu-custom bgColor="bg-gradual-blueness" :isBack="true" :isRingt="true">
|
||||
<block slot="backText">返回</block>
|
||||
<block slot="content">受限空间</block>
|
||||
<block slot="content">受限空间作业</block>
|
||||
</cu-custom>
|
||||
|
||||
<view class="apps-box">
|
||||
|
|
@ -26,137 +26,121 @@
|
|||
<view class="apps-row">
|
||||
<view class="apps-title">
|
||||
<text class="apps-title-line"></text>
|
||||
<text>受限空间审批管理</text>
|
||||
<text>受限空间作业审批管理</text>
|
||||
</view>
|
||||
<view class="apps-warp">
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/confinedspace/confinedspace-list/index?flow=提交申请">
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/confinedspace/confinedspace-apply/confinedspace-apply-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-yxkj-1.png" mode=""></image>
|
||||
<view v-if="count.CREATE" class="cu-tag badge">{{count.CREATE}}</view>
|
||||
<view v-if="count.COUNTBACK" class="cu-tag badge">{{count.COUNTBACK}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>受限空间</view>
|
||||
<view>受限空间作业</view>
|
||||
<view>申请</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/confinedspace/confinedspace-list/index?flow=气体检测">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-zl-8.png" mode=""></image>
|
||||
<view v-if="count.ANALYZE" class="cu-tag badge">{{count.ANALYZE}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>气体分析</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/confinedspace/confinedspace-list/index?flow=设置安全措施确认人">
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/confinedspace/confinedspace-confirm/confinedspace-confirm-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-yh-1.png" mode=""></image>
|
||||
<view v-if="count.MEASURES_SET" class="cu-tag badge">{{count.MEASURES_SET}}</view>
|
||||
<view v-if="count.COUNTCONFIRM" class="cu-tag badge">{{count.COUNTCONFIRM}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>设置安全</view>
|
||||
<view>措施确认人</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/confinedspace/confinedspace-list/index?flow=安全措施确认">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-yh-1.png" mode=""></image>
|
||||
<view v-if="count.MEASURES_CONFIRM" class="cu-tag badge">{{count.MEASURES_CONFIRM}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>安全措施确认</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/confinedspace/confinedspace-list/index?flow=监护人签字">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-zl-9.png" mode=""></image>
|
||||
<view v-if="count.GUARDIAN" class="cu-tag badge">{{count.GUARDIAN}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>监护人</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/confinedspace/confinedspace-list/index?flow=安全交底人签字">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-807.png" mode=""></image>
|
||||
<view v-if="count.CONFESS" class="cu-tag badge">{{count.CONFESS}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>安全交底人</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/confinedspace/confinedspace-list/index?flow=接受交底人签字">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-yxkj-4.png" mode=""></image>
|
||||
<view v-if="count.ACCEPT_CONFESS" class="cu-tag badge">{{count.ACCEPT_CONFESS}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>接受交底人</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/confinedspace/confinedspace-list/index?flow=作业人签字">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-yxkj-2.png" mode=""></image>
|
||||
<view v-if="count.WORK_USER" class="cu-tag badge">{{count.WORK_USER}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>作业人</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/confinedspace/confinedspace-list/index?flow=作业负责人签字">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-yxkj-2.png" mode=""></image>
|
||||
<view v-if="count.CONFIRM" class="cu-tag badge">{{count.CONFIRM}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>作业负责人</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/confinedspace/confinedspace-list/index?flow=所在单位签字">
|
||||
<!-- <navigator class="apps-item" hover-class="none" url="/pages/application/confinedspace/confinedspace-guardian/confinedspace-guardian-list">-->
|
||||
<!-- <view class="imgs action">-->
|
||||
<!-- <image src="../../../static/icon-apps/icon-zl-9.png" mode=""></image>-->
|
||||
<!-- <view v-if="count.COUNTGUARDIAN" class="cu-tag badge">{{count.COUNTGUARDIAN}}</view>-->
|
||||
<!-- </view>-->
|
||||
<!-- <view class="text-semi" style="text-align: center;">-->
|
||||
<!-- <view>监护人</view>-->
|
||||
<!-- <view>意见</view>-->
|
||||
<!-- </view>-->
|
||||
<!-- </navigator>-->
|
||||
<!-- <navigator class="apps-item" hover-class="none" url="/pages/application/confinedspace/confinedspace-audit/confinedspace-audit-list">-->
|
||||
<!-- <view class="imgs action">-->
|
||||
<!-- <image src="../../../static/icon-apps/icon-zl-10.png" mode=""></image>-->
|
||||
<!-- <view v-if="count.COUNTAUDIT" class="cu-tag badge">{{count.COUNTAUDIT}}</view>-->
|
||||
<!-- </view>-->
|
||||
<!-- <view class="text-semi" style="text-align: center;">-->
|
||||
<!-- <view>审核部门</view>-->
|
||||
<!-- <view>审核</view>-->
|
||||
<!-- </view>-->
|
||||
<!-- </navigator>-->
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/confinedspace/confinedspace-approve/confinedspace-approve-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-907.png" mode=""></image>
|
||||
<view v-if="count.LEADER" class="cu-tag badge">{{count.LEADER}}</view>
|
||||
<image src="../../../static/icon-apps/icon-yxkj-2.png" mode=""></image>
|
||||
<view v-if="count.COUNTAPPROVE" class="cu-tag badge">{{count.COUNTAPPROVE}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>所在单位</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/confinedspace/confinedspace-list/index?flow=开始作业">
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/confinedspace/confinedspace-accept/confinedspace-accept-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-901.png" mode=""></image>
|
||||
<view v-if="count.COUNTACCEPT" class="cu-tag badge">{{count.COUNTACCEPT}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>完工验收</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/confinedspace/confinedspace-gas/confinedspace-gas-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-zl-8.png" mode=""></image>
|
||||
<view v-if="count.COUNTANALYZE" class="cu-tag badge">{{count.COUNTANALYZE}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>气体检测</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/confinedspace/confinedspace-guardian/confinedspace-guardian-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-jh-1.png" mode=""></image>
|
||||
<view v-if="count.COUNTGUARDIAN" class="cu-tag badge">{{count.COUNTGUARDIAN}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>监护人</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/confinedspace/confinedspace-confess/confinedspace-confess-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-aq-1.png" mode=""></image>
|
||||
<view v-if="count.WORK_START" class="cu-tag badge">{{count.WORK_START}}</view>
|
||||
<view v-if="count.COUNTCONFESS" class="cu-tag badge">{{count.COUNTCONFESS}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>开始作业时间</view>
|
||||
<view>安全交底人</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/confinedspace/confinedspace-list/index?flow=结束作业">
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/confinedspace/confinedspace-acceptconfess/confinedspace-acceptconfess-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-js-1.png" mode=""></image>
|
||||
<view v-if="count.WORK_END" class="cu-tag badge">{{count.WORK_END}}</view>
|
||||
<view v-if="count.COUNTACCEPTCONFESS" class="cu-tag badge">{{count.COUNTACCEPTCONFESS}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>结束作业时间</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/confinedspace/confinedspace-list/index?flow=验收签字">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-js-1.png" mode=""></image>
|
||||
<view v-if="count.ACCEPT" class="cu-tag badge">{{count.ACCEPT}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>验收归档</view>
|
||||
<view>接受交底人</view>
|
||||
</view>
|
||||
</navigator>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- <view class="apps-row">
|
||||
<view class="apps-title">
|
||||
<text class="apps-title-line"></text>
|
||||
<text>其他应用</text>
|
||||
</view>
|
||||
<view class="apps-warp">
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/other-apps/videos/videos">
|
||||
<view class="imgs action">
|
||||
<image src="../../static/icon-apps/icon-zl-7.png" mode=""></image>
|
||||
</view>
|
||||
<view class="text-semi">视频中心</view>
|
||||
</navigator>
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="cu-tabbar-height"></view>
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -201,32 +185,32 @@
|
|||
}
|
||||
})
|
||||
},
|
||||
getData(){
|
||||
var _this = this;
|
||||
uni.showLoading({
|
||||
title:"加载中..."
|
||||
});//加载中动画
|
||||
uni.request({
|
||||
url: basePath +'/app/confinedspace/checkWorkCount',
|
||||
method: 'POST',
|
||||
dataType: 'json',
|
||||
header: {
|
||||
'Content-type':'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: {
|
||||
tm:new Date().getTime(),
|
||||
CORPINFO_ID:loginUser.CORPINFO_ID,
|
||||
USER_ID:loginUser.USER_ID,
|
||||
},
|
||||
success: (res) => {
|
||||
uni.hideLoading();//结束加载中动画
|
||||
if ("success" == res.data.result) {
|
||||
_this.count = res.data.count;
|
||||
}
|
||||
|
||||
}
|
||||
})
|
||||
},
|
||||
// getData(){
|
||||
// var _this = this;
|
||||
// uni.showLoading({
|
||||
// title:"加载中..."
|
||||
// });//加载中动画
|
||||
// uni.request({
|
||||
// url: basePath +'/app/confinedspace/countCheck',
|
||||
// method: 'POST',
|
||||
// dataType: 'json',
|
||||
// header: {
|
||||
// 'Content-type':'application/x-www-form-urlencoded'
|
||||
// },
|
||||
// data: {
|
||||
// tm:new Date().getTime(),
|
||||
// CORPINFO_ID:loginUser.CORPINFO_ID,
|
||||
// USER_ID:loginUser.USER_ID,
|
||||
// },
|
||||
// success: (res) => {
|
||||
// uni.hideLoading();//结束加载中动画
|
||||
// if ("success" == res.data.result) {
|
||||
// _this.count = res.data.count;
|
||||
// }
|
||||
//
|
||||
// }
|
||||
// })
|
||||
// },
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<view>
|
||||
<cu-custom bgColor="bg-gradual-blueness" :isBack="true" :isRingt="true">
|
||||
<block slot="backText">返回</block>
|
||||
<block slot="content">特殊作业</block>
|
||||
<block slot="content">高危作业</block>
|
||||
</cu-custom>
|
||||
|
||||
<view class="apps-box">
|
||||
|
|
@ -12,85 +12,89 @@
|
|||
<text>八项作业</text>
|
||||
</view> -->
|
||||
<view class="apps-warp">
|
||||
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hotwork/home">
|
||||
<view class="imgs action">
|
||||
<image src="../../static/icon-apps/icon-807.png" mode=""></image>
|
||||
<view v-if="eight_work_count.HOTWORK_COUNT" class="cu-tag badge">{{eight_work_count.HOTWORK_COUNT}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>动火作业</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/highwork/home">
|
||||
<view class="imgs action">
|
||||
<image src="../../static/icon-apps/icon-803.png" mode=""></image>
|
||||
<view v-if="eight_work_count.HIGHWORK_COUNT" class="cu-tag badge">{{eight_work_count.HIGHWORK_COUNT}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>高处作业</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/confinedspace/home">
|
||||
<navigator v-show="premission.confinedspace" class="apps-item" hover-class="none" url="/pages/application/confinedspace/home">
|
||||
<view class="imgs action">
|
||||
<image src="../../static/icon-apps/icon-806.png" mode=""></image>
|
||||
<view v-if="eight_work_count.CONFINEDSPACE_COUNT" class="cu-tag badge">{{eight_work_count.CONFINEDSPACE_COUNT}}</view>
|
||||
<view v-if="confinedspace_count" class="cu-tag badge">{{confinedspace_count}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>受限空间</view>
|
||||
<view>安全作业</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hoisting/home">
|
||||
<view class="imgs action">
|
||||
<image src="../../static/icon-apps/icon-804.png" mode=""></image>
|
||||
<view v-if="eight_work_count.HOISTING_COUNT" class="cu-tag badge">{{eight_work_count.HOISTING_COUNT}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>吊装作业</view>
|
||||
</view>
|
||||
</navigator>
|
||||
|
||||
|
||||
<!-- </view>-->
|
||||
<!-- <view class="apps-warp">-->
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/breakground/home">
|
||||
<view class="imgs action">
|
||||
<image src="../../static/icon-apps/icon-802.png" mode=""></image>
|
||||
<view v-if="eight_work_count.BREAKGROUND_COUNT" class="cu-tag badge">{{eight_work_count.BREAKGROUND_COUNT}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>动土作业</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/electricity/home">
|
||||
<view class="imgs action">
|
||||
<image src="../../static/icon-apps/icon-805.png" mode=""></image>
|
||||
<view v-if="eight_work_count.ELECTRICITY_COUNT" class="cu-tag badge">{{eight_work_count.ELECTRICITY_COUNT}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>临时用电作业</view>
|
||||
</view>
|
||||
</navigator>
|
||||
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/cutroad/home">
|
||||
<view class="imgs action">
|
||||
<image src="../../static/icon-apps/open-circuit.png" mode=""></image>
|
||||
<view v-if="eight_work_count.OPEN_CIRCUIT_COUNT" class="cu-tag badge">{{eight_work_count.OPEN_CIRCUIT_COUNT}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>断路作业</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/blindboard/home">
|
||||
<!-- <navigator class="apps-item" hover-class="none" url="/pages/application/equipment-overhaul/home">-->
|
||||
<!-- <view class="imgs action">-->
|
||||
<!-- <image src="../../static/icon-apps/icon-800.png" mode=""></image>-->
|
||||
<!-- </view>-->
|
||||
<!-- <view class="text-semi" style="text-align: center;">-->
|
||||
<!-- <view>设备检修</view>-->
|
||||
<!-- </view>-->
|
||||
<!-- </navigator>-->
|
||||
<navigator v-show="premission['blind-board']" class="apps-item" hover-class="none" url="/pages/application/blind-board/home">
|
||||
<view class="imgs action">
|
||||
<image src="../../static/icon-apps/icon-801.png" mode=""></image>
|
||||
<view v-if="eight_work_count.BLIND_BOARD_COUNT" class="cu-tag badge">{{eight_work_count.BLIND_BOARD_COUNT}}</view>
|
||||
<view v-if="blind_board_count" class="cu-tag badge">{{blind_board_count}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>盲板抽堵作业</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator v-show="premission['break-ground']" class="apps-item" hover-class="none" url="/pages/application/break-ground/home">
|
||||
<view class="imgs action">
|
||||
<image src="../../static/icon-apps/icon-802.png" mode=""></image>
|
||||
<view v-if="break_ground_count" class="cu-tag badge">{{break_ground_count}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>动土作业</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator v-show="premission['high-work']" class="apps-item" hover-class="none" url="/pages/application/high-work/home">
|
||||
<view class="imgs action">
|
||||
<image src="../../static/icon-apps/icon-803.png" mode=""></image>
|
||||
<view v-if="high_work_count" class="cu-tag badge">{{high_work_count}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>高处作业</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<!-- </view>-->
|
||||
<!-- <view class="apps-warp">-->
|
||||
<navigator v-show="premission.hoisting" class="apps-item" hover-class="none" url="/pages/application/hoisting/home">
|
||||
<view class="imgs action">
|
||||
<image src="../../static/icon-apps/icon-804.png" mode=""></image>
|
||||
<view v-if="hoisting_count" class="cu-tag badge">{{hoisting_count}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>吊装作业</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator v-show="premission.electricity" class="apps-item" hover-class="none" url="/pages/application/electricity/home">
|
||||
<view class="imgs action">
|
||||
<image src="../../static/icon-apps/icon-805.png" mode=""></image>
|
||||
<view v-if="electricity_count" class="cu-tag badge">{{electricity_count}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>临时用电作业</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator v-show="premission.hotwork" class="apps-item" hover-class="none" url="/pages/application/hotwork/home">
|
||||
<view class="imgs action">
|
||||
<image src="../../static/icon-apps/icon-807.png" mode=""></image>
|
||||
<view v-if="hotwork_count" class="cu-tag badge">{{hotwork_count}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>动火作业</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator v-show="premission['open-circuit']" class="apps-item" hover-class="none" url="/pages/application/open-circuit/home">
|
||||
<view class="imgs action">
|
||||
<image src="../../static/icon-apps/open-circuit.png" mode=""></image>
|
||||
<view v-if="open_circuit_count" class="cu-tag badge">{{open_circuit_count}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>断路作业</view>
|
||||
</view>
|
||||
</navigator>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
|
@ -123,7 +127,7 @@
|
|||
setCorpinfoId,
|
||||
setloginUser,
|
||||
setDeptId,
|
||||
premission,
|
||||
premission,
|
||||
isRest
|
||||
} from '@/common/tool.js';
|
||||
export default {
|
||||
|
|
@ -131,7 +135,14 @@
|
|||
return {
|
||||
premission: {},
|
||||
isRest :'',
|
||||
eight_work_count: {},
|
||||
confinedspace_count:0,
|
||||
blind_board_count:0,
|
||||
break_ground_count:0,
|
||||
high_work_count:0,
|
||||
hoisting_count:0,
|
||||
electricity_count:0,
|
||||
hotwork_count:0,
|
||||
open_circuit_count:0,
|
||||
};
|
||||
},
|
||||
mounted(){
|
||||
|
|
@ -139,8 +150,15 @@
|
|||
},
|
||||
onShow() {
|
||||
this.premission = Object.assign({}, premission)
|
||||
console.log(this.premission)
|
||||
this.eight_work_count = {}
|
||||
console.info( this.premission)
|
||||
this. confinedspace_count = 0
|
||||
this.blind_board_count = 0
|
||||
this.break_ground_count = 0
|
||||
this.high_work_count = 0
|
||||
this.hoisting_count = 0
|
||||
this.electricity_count = 0
|
||||
this.hotwork_count = 0
|
||||
this.open_circuit_count = 0
|
||||
this.getRedPoint();
|
||||
},
|
||||
methods: {
|
||||
|
|
@ -157,22 +175,173 @@
|
|||
},
|
||||
|
||||
getRedPoint(){
|
||||
uni.request({
|
||||
url: basePath + '/app/eightwork/checkWork',
|
||||
method: 'POST',
|
||||
dataType: 'json',
|
||||
header: {
|
||||
'Content-type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: {
|
||||
USER_ID: loginUser.USER_ID,
|
||||
},
|
||||
success: (res) => {
|
||||
if ("success" == res.data.result) {
|
||||
this.eight_work_count = res.data.count
|
||||
}
|
||||
}
|
||||
})
|
||||
// uni.request({
|
||||
// url: basePath +'/app/confinedspace/countCheck',
|
||||
// method: 'POST',
|
||||
// dataType: 'json',
|
||||
// header: {
|
||||
// 'Content-type':'application/x-www-form-urlencoded'
|
||||
// },
|
||||
// data: {
|
||||
// tm:new Date().getTime(),
|
||||
// CORPINFO_ID:loginUser.CORPINFO_ID,
|
||||
// USER_ID:loginUser.USER_ID,
|
||||
// },
|
||||
// success: (res) => {
|
||||
// if ("success" == res.data.result) {
|
||||
// Object.values(res.data.count).forEach(item=>{
|
||||
// this.confinedspace_count += (item || 0)
|
||||
// })
|
||||
// }
|
||||
// }
|
||||
// })
|
||||
|
||||
// uni.request({
|
||||
// url: basePath +'/app/blindboard/countCheck',
|
||||
// method: 'POST',
|
||||
// dataType: 'json',
|
||||
// header: {
|
||||
// 'Content-type':'application/x-www-form-urlencoded'
|
||||
// },
|
||||
// data: {
|
||||
// tm:new Date().getTime(),
|
||||
// CORPINFO_ID:loginUser.CORPINFO_ID,
|
||||
// USER_ID:loginUser.USER_ID,
|
||||
// },
|
||||
// success: (res) => {
|
||||
// if ("success" == res.data.result) {
|
||||
// Object.values(res.data.count).forEach(item=>{
|
||||
// this.blind_board_count += (item || 0)
|
||||
// })
|
||||
// }
|
||||
// }
|
||||
// })
|
||||
|
||||
// uni.request({
|
||||
// url: basePath +'/app/breakground/countCheck',
|
||||
// method: 'POST',
|
||||
// dataType: 'json',
|
||||
// header: {
|
||||
// 'Content-type':'application/x-www-form-urlencoded'
|
||||
// },
|
||||
// data: {
|
||||
// tm:new Date().getTime(),
|
||||
// CORPINFO_ID:loginUser.CORPINFO_ID,
|
||||
// USER_ID:loginUser.USER_ID,
|
||||
// },
|
||||
// success: (res) => {
|
||||
// if ("success" == res.data.result) {
|
||||
// Object.values(res.data.count).forEach(item=>{
|
||||
// this.break_ground_count += (item || 0)
|
||||
// })
|
||||
// }
|
||||
// }
|
||||
// })
|
||||
|
||||
// uni.request({
|
||||
// url: basePath +'/app/highwork/countCheck',
|
||||
// method: 'POST',
|
||||
// dataType: 'json',
|
||||
// header: {
|
||||
// 'Content-type':'application/x-www-form-urlencoded'
|
||||
// },
|
||||
// data: {
|
||||
// tm:new Date().getTime(),
|
||||
// CORPINFO_ID:loginUser.CORPINFO_ID,
|
||||
// USER_ID:loginUser.USER_ID,
|
||||
// },
|
||||
// success: (res) => {
|
||||
// if ("success" == res.data.result) {
|
||||
// Object.values(res.data.count).forEach(item=>{
|
||||
// this.high_work_count += (item || 0)
|
||||
// })
|
||||
// }
|
||||
// }
|
||||
// })
|
||||
|
||||
// uni.request({
|
||||
// url: basePath +'/app/hoisting/countCheck',
|
||||
// method: 'POST',
|
||||
// dataType: 'json',
|
||||
// header: {
|
||||
// 'Content-type':'application/x-www-form-urlencoded'
|
||||
// },
|
||||
// data: {
|
||||
// tm:new Date().getTime(),
|
||||
// CORPINFO_ID:loginUser.CORPINFO_ID,
|
||||
// USER_ID:loginUser.USER_ID,
|
||||
// },
|
||||
// success: (res) => {
|
||||
// if ("success" == res.data.result) {
|
||||
// Object.values(res.data.count).forEach(item=>{
|
||||
// this.hoisting_count += (item || 0)
|
||||
// })
|
||||
// }
|
||||
// }
|
||||
// })
|
||||
|
||||
// uni.request({
|
||||
// url: basePath +'/app/electricity/countCheck',
|
||||
// method: 'POST',
|
||||
// dataType: 'json',
|
||||
// header: {
|
||||
// 'Content-type':'application/x-www-form-urlencoded'
|
||||
// },
|
||||
// data: {
|
||||
// tm:new Date().getTime(),
|
||||
// CORPINFO_ID:loginUser.CORPINFO_ID,
|
||||
// USER_ID:loginUser.USER_ID,
|
||||
// },
|
||||
// success: (res) => {
|
||||
// if ("success" == res.data.result) {
|
||||
// Object.values(res.data.count).forEach(item=>{
|
||||
// this.electricity_count += (item || 0)
|
||||
// })
|
||||
// }
|
||||
// }
|
||||
// })
|
||||
|
||||
// uni.request({
|
||||
// url: basePath +'/app/hotwork/countCheck',
|
||||
// method: 'POST',
|
||||
// dataType: 'json',
|
||||
// header: {
|
||||
// 'Content-type':'application/x-www-form-urlencoded'
|
||||
// },
|
||||
// data: {
|
||||
// tm:new Date().getTime(),
|
||||
// CORPINFO_ID:loginUser.CORPINFO_ID,
|
||||
// USER_ID:loginUser.USER_ID,
|
||||
// },
|
||||
// success: (res) => {
|
||||
// if ("success" == res.data.result) {
|
||||
// Object.values(res.data.count).forEach(item=>{
|
||||
// this.hotwork_count += (item || 0)
|
||||
// })
|
||||
// }
|
||||
// }
|
||||
// })
|
||||
|
||||
// uni.request({
|
||||
// url: basePath +'/app/cutroad/countCheck',
|
||||
// method: 'POST',
|
||||
// dataType: 'json',
|
||||
// header: {
|
||||
// 'Content-type':'application/x-www-form-urlencoded'
|
||||
// },
|
||||
// data: {
|
||||
// tm:new Date().getTime(),
|
||||
// CORPINFO_ID:loginUser.CORPINFO_ID,
|
||||
// USER_ID:loginUser.USER_ID,
|
||||
// },
|
||||
// success: (res) => {
|
||||
// if ("success" == res.data.result) {
|
||||
// Object.values(res.data.count).forEach(item=>{
|
||||
// this.open_circuit_count += (item || 0)
|
||||
// })
|
||||
// }
|
||||
// }
|
||||
// })
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,164 +2,118 @@
|
|||
<view>
|
||||
<cu-custom bgColor="bg-gradual-blueness" :isBack="true" :isRingt="true">
|
||||
<block slot="backText">返回</block>
|
||||
<block slot="content">临时用电</block>
|
||||
<block slot="content">临时用电作业</block>
|
||||
</cu-custom>
|
||||
|
||||
<view class="apps-box">
|
||||
|
||||
<view class="apps-row">
|
||||
<view class="apps-title">
|
||||
<text class="apps-title-line"></text>
|
||||
<text>临时用电审批管理</text>
|
||||
<text>临时用电作业审批管理</text>
|
||||
</view>
|
||||
<view class="apps-warp">
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/electricity/electricity-list/index?flow=提交申请">
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/electricity/electricity-apply/electricity-apply-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-yxkj-1.png" mode=""></image>
|
||||
<view v-if="count.CREATE" class="cu-tag badge">{{count.CREATE}}</view>
|
||||
<view v-if="count.COUNTBACK" class="cu-tag badge">{{count.COUNTBACK}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>临时用电</view>
|
||||
<view>申请</view>
|
||||
<view>作业申请</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/electricity/electricity-list/index?flow=气体检测">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-zl-8.png" mode=""></image>
|
||||
<view v-if="count.ANALYZE" class="cu-tag badge">{{count.ANALYZE}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>气体分析</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/electricity/electricity-list/index?flow=设置安全措施确认人">
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/electricity/electricity-confirm/electricity-confirm-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-yh-1.png" mode=""></image>
|
||||
<view v-if="count.MEASURES_SET" class="cu-tag badge">{{count.MEASURES_SET}}</view>
|
||||
<view v-if="count.COUNTCONFIRM" class="cu-tag badge">{{count.COUNTCONFIRM}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>设置安全</view>
|
||||
<view>措施确认人</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/electricity/electricity-list/index?flow=安全措施确认">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-yh-1.png" mode=""></image>
|
||||
<view v-if="count.MEASURES_CONFIRM" class="cu-tag badge">{{count.MEASURES_CONFIRM}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>安全措施确认</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/electricity/electricity-list/index?flow=监护人签字">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-zl-9.png" mode=""></image>
|
||||
<view v-if="count.GUARDIAN" class="cu-tag badge">{{count.GUARDIAN}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>监护人</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/electricity/electricity-list/index?flow=用电人签字">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-yxkj-4.png" mode=""></image>
|
||||
<view v-if="count.ELECTRICITY" class="cu-tag badge">{{count.ELECTRICITY}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>用电人意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/electricity/electricity-list/index?flow=安全交底人签字">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-807.png" mode=""></image>
|
||||
<view v-if="count.CONFESS" class="cu-tag badge">{{count.CONFESS}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>安全交底人</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/electricity/electricity-list/index?flow=接受交底人签字">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-yxkj-4.png" mode=""></image>
|
||||
<view v-if="count.ACCEPT_CONFESS" class="cu-tag badge">{{count.ACCEPT_CONFESS}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>接受交底人</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/electricity/electricity-list/index?flow=作业人签字">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-yxkj-2.png" mode=""></image>
|
||||
<view v-if="count.WORK_USER" class="cu-tag badge">{{count.WORK_USER}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>作业人</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/electricity/electricity-list/index?flow=作业负责人签字">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-yxkj-2.png" mode=""></image>
|
||||
<view v-if="count.CONFIRM" class="cu-tag badge">{{count.CONFIRM}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>作业负责人</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/electricity/electricity-list/index?flow=用电单位签字">
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/electricity/electricity-audit/electricity-audit-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-907.png" mode=""></image>
|
||||
<view v-if="count.AUDIT" class="cu-tag badge">{{count.AUDIT}}</view>
|
||||
<image src="../../../static/icon-apps/icon-zl-10.png" mode=""></image>
|
||||
<view v-if="count.COUNTAUDIT" class="cu-tag badge">{{count.COUNTAUDIT}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>用电单位</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/electricity/electricity-list/index?flow=配送电单位签字">
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/electricity/electricity-approve/electricity-approve-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-907.png" mode=""></image>
|
||||
<view v-if="count.APPROVE" class="cu-tag badge">{{count.APPROVE}}</view>
|
||||
<image src="../../../static/icon-apps/icon-zl-9.png" mode=""></image>
|
||||
<view v-if="count.COUNTAPPROVE" class="cu-tag badge">{{count.COUNTAPPROVE}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>配送电单位</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/electricity/electricity-list/index?flow=开始作业">
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/electricity/electricity-accept/electricity-accept-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-901.png" mode=""></image>
|
||||
<view v-if="count.COUNTACCEPT" class="cu-tag badge">{{count.COUNTACCEPT}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>完工验收</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/electricity/electricity-gas/electricity-gas-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-zl-8.png" mode=""></image>
|
||||
<view v-if="count.COUNTANALYZE" class="cu-tag badge">{{count.COUNTANALYZE}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>气体检测</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/electricity/electricity-guardian/electricity-guardian-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-jh-1.png" mode=""></image>
|
||||
<view v-if="count.COUNTGUARDIAN" class="cu-tag badge">{{count.COUNTGUARDIAN}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>监护人</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/electricity/electricity-confess/electricity-confess-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-aq-1.png" mode=""></image>
|
||||
<view v-if="count.WORK_START" class="cu-tag badge">{{count.WORK_START}}</view>
|
||||
<view v-if="count.COUNTCONFESS" class="cu-tag badge">{{count.COUNTCONFESS}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>开始作业时间</view>
|
||||
<view>安全交底人</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/electricity/electricity-list/index?flow=结束作业">
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/electricity/electricity-acceptconfess/electricity-acceptconfess-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-js-1.png" mode=""></image>
|
||||
<view v-if="count.WORK_END" class="cu-tag badge">{{count.WORK_END}}</view>
|
||||
<view v-if="count.COUNTACCEPTCONFESS" class="cu-tag badge">{{count.COUNTACCEPTCONFESS}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>结束作业时间</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/electricity/electricity-list/index?flow=验收签字">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-js-1.png" mode=""></image>
|
||||
<view v-if="count.ACCEPT" class="cu-tag badge">{{count.ACCEPT}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>验收归档</view>
|
||||
<view>接受交底人</view>
|
||||
</view>
|
||||
</navigator>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- <view class="apps-row">
|
||||
<view class="apps-title">
|
||||
<text class="apps-title-line"></text>
|
||||
<text>其他应用</text>
|
||||
</view>
|
||||
<view class="apps-warp">
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/other-apps/videos/videos">
|
||||
<view class="imgs action">
|
||||
<image src="../../static/icon-apps/icon-zl-7.png" mode=""></image>
|
||||
</view>
|
||||
<view class="text-semi">视频中心</view>
|
||||
</navigator>
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="cu-tabbar-height"></view>
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -204,32 +158,32 @@
|
|||
}
|
||||
})
|
||||
},
|
||||
getData(){
|
||||
var _this = this;
|
||||
uni.showLoading({
|
||||
title:"加载中..."
|
||||
});//加载中动画
|
||||
uni.request({
|
||||
url: basePath +'/app/electricity/checkWorkCount',
|
||||
method: 'POST',
|
||||
dataType: 'json',
|
||||
header: {
|
||||
'Content-type':'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: {
|
||||
tm:new Date().getTime(),
|
||||
CORPINFO_ID:loginUser.CORPINFO_ID,
|
||||
USER_ID:loginUser.USER_ID,
|
||||
},
|
||||
success: (res) => {
|
||||
uni.hideLoading();//结束加载中动画
|
||||
if ("success" == res.data.result) {
|
||||
_this.count = res.data.count;
|
||||
}
|
||||
|
||||
}
|
||||
})
|
||||
},
|
||||
// getData(){
|
||||
// var _this = this;
|
||||
// uni.showLoading({
|
||||
// title:"加载中..."
|
||||
// });//加载中动画
|
||||
// uni.request({
|
||||
// url: basePath +'/app/electricity/countCheck',
|
||||
// method: 'POST',
|
||||
// dataType: 'json',
|
||||
// header: {
|
||||
// 'Content-type':'application/x-www-form-urlencoded'
|
||||
// },
|
||||
// data: {
|
||||
// tm:new Date().getTime(),
|
||||
// CORPINFO_ID:loginUser.CORPINFO_ID,
|
||||
// USER_ID:loginUser.USER_ID,
|
||||
// },
|
||||
// success: (res) => {
|
||||
// uni.hideLoading();//结束加载中动画
|
||||
// if ("success" == res.data.result) {
|
||||
// _this.count = res.data.count;
|
||||
// }
|
||||
//
|
||||
// }
|
||||
// })
|
||||
// },
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -12,143 +12,90 @@
|
|||
<text>高处作业审批管理</text>
|
||||
</view>
|
||||
<view class="apps-warp">
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/highwork/highwork-list/index?flow=提交申请">
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/high-work/high-work-apply/high-work-apply-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-yxkj-1.png" mode=""></image>
|
||||
<view v-if="count.CREATE" class="cu-tag badge">{{count.CREATE}}</view>
|
||||
<view v-if="count.COUNTBACK" class="cu-tag badge">{{count.COUNTBACK}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>高处作业</view>
|
||||
<view>申请</view>
|
||||
</view>
|
||||
</navigator>
|
||||
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/highwork/highwork-list/index?flow=设置安全措施确认人">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-yh-1.png" mode=""></image>
|
||||
<view v-if="count.MEASURES_SET" class="cu-tag badge">{{count.MEASURES_SET}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>设置安全</view>
|
||||
<view>措施确认人</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/highwork/highwork-list/index?flow=安全措施确认">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-yh-1.png" mode=""></image>
|
||||
<view v-if="count.MEASURES_CONFIRM" class="cu-tag badge">{{count.MEASURES_CONFIRM}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>安全措施确认</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/highwork/highwork-list/index?flow=监护人签字">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-zl-9.png" mode=""></image>
|
||||
<view v-if="count.GUARDIAN" class="cu-tag badge">{{count.GUARDIAN}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>监护人</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/highwork/highwork-list/index?flow=安全交底人签字">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-807.png" mode=""></image>
|
||||
<view v-if="count.CONFESS" class="cu-tag badge">{{count.CONFESS}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>安全交底人</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/highwork/highwork-list/index?flow=接受交底人签字">
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/high-work/high-work-confirm/high-work-confirm-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-yxkj-4.png" mode=""></image>
|
||||
<view v-if="count.ACCEPT_CONFESS" class="cu-tag badge">{{count.ACCEPT_CONFESS}}</view>
|
||||
<view v-if="count.COUNTCONSTRUCTION" class="cu-tag badge">{{count.COUNTCONSTRUCTION}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>接受交底人</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/highwork/highwork-list/index?flow=作业人签字">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-yxkj-2.png" mode=""></image>
|
||||
<view v-if="count.WORK_USER" class="cu-tag badge">{{count.WORK_USER}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>作业人</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/highwork/highwork-list/index?flow=作业负责人签字">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-yxkj-2.png" mode=""></image>
|
||||
<view v-if="count.CONFIRM" class="cu-tag badge">{{count.CONFIRM}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>作业负责人</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/highwork/highwork-list/index?flow=所在单位签字">
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/high-work/high-work-leader/high-work-leader-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-907.png" mode=""></image>
|
||||
<view v-if="count.LEADER" class="cu-tag badge">{{count.LEADER}}</view>
|
||||
<image src="../../../static/icon-apps/icon-yxkj-4.png" mode=""></image>
|
||||
<view v-if="count.COUNTLEADER" class="cu-tag badge">{{count.COUNTLEADER}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>所在单位</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/highwork/highwork-list/index?flow=安全管理部门签字">
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/high-work/high-work-audit/high-work-audit-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-901.png" mode=""></image>
|
||||
<view v-if="count.AUDIT" class="cu-tag badge">{{count.AUDIT}}</view>
|
||||
<image src="../../../static/icon-apps/icon-yxkj-2.png" mode=""></image>
|
||||
<view v-if="count.COUNTAUDIT" class="cu-tag badge">{{count.COUNTAUDIT}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>审核部门</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/highwork/highwork-list/index?flow=审批人签字">
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/high-work/high-work-approve/high-work-approve-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-901.png" mode=""></image>
|
||||
<view v-if="count.APPROVE" class="cu-tag badge">{{count.APPROVE}}</view>
|
||||
<image src="../../../static/icon-apps/icon-zl-10.png" mode=""></image>
|
||||
<view v-if="count.COUNTAPPROVE" class="cu-tag badge">{{count.COUNTAPPROVE}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>审批部门</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/highwork/highwork-list/index?flow=开始作业">
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/high-work/high-work-accept/high-work-accept-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-901.png" mode=""></image>
|
||||
<view v-if="count.COUNTACCEPT" class="cu-tag badge">{{count.COUNTACCEPT}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>完工验收</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/high-work/high-work-guardian/high-work-guardian-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-jh-1.png" mode=""></image>
|
||||
<view v-if="count.COUNTGUARDIAN" class="cu-tag badge">{{count.COUNTGUARDIAN}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>监护人</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/high-work/high-work-confess/high-work-confess-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-aq-1.png" mode=""></image>
|
||||
<view v-if="count.WORK_START" class="cu-tag badge">{{count.WORK_START}}</view>
|
||||
<view v-if="count.COUNTCONFESS" class="cu-tag badge">{{count.COUNTCONFESS}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>开始作业时间</view>
|
||||
<view>安全交底人</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/highwork/highwork-list/index?flow=结束作业">
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/high-work/high-work-acceptconfess/high-work-acceptconfess-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-js-1.png" mode=""></image>
|
||||
<view v-if="count.WORK_END" class="cu-tag badge">{{count.WORK_END}}</view>
|
||||
<view v-if="count.COUNTACCEPTCONFESS" class="cu-tag badge">{{count.COUNTACCEPTCONFESS}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>结束作业时间</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/highwork/highwork-list/index?flow=验收签字">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-js-1.png" mode=""></image>
|
||||
<view v-if="count.ACCEPT" class="cu-tag badge">{{count.ACCEPT}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>验收归档</view>
|
||||
<view>接受交底人</view>
|
||||
</view>
|
||||
</navigator>
|
||||
</view>
|
||||
|
|
@ -212,32 +159,32 @@
|
|||
}
|
||||
})
|
||||
},
|
||||
getData(){
|
||||
var _this = this;
|
||||
uni.showLoading({
|
||||
title:"加载中..."
|
||||
});//加载中动画
|
||||
uni.request({
|
||||
url: basePath +'/app/highwork/checkWorkCount',
|
||||
method: 'POST',
|
||||
dataType: 'json',
|
||||
header: {
|
||||
'Content-type':'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: {
|
||||
tm:new Date().getTime(),
|
||||
CORPINFO_ID:loginUser.CORPINFO_ID,
|
||||
USER_ID:loginUser.USER_ID,
|
||||
},
|
||||
success: (res) => {
|
||||
uni.hideLoading();//结束加载中动画
|
||||
if ("success" == res.data.result) {
|
||||
_this.count = res.data.count;
|
||||
}
|
||||
|
||||
}
|
||||
})
|
||||
},
|
||||
// getData(){
|
||||
// var _this = this;
|
||||
// uni.showLoading({
|
||||
// title:"加载中..."
|
||||
// });//加载中动画
|
||||
// uni.request({
|
||||
// url: basePath +'/app/highwork/countCheck',
|
||||
// method: 'POST',
|
||||
// dataType: 'json',
|
||||
// header: {
|
||||
// 'Content-type':'application/x-www-form-urlencoded'
|
||||
// },
|
||||
// data: {
|
||||
// tm:new Date().getTime(),
|
||||
// CORPINFO_ID:loginUser.CORPINFO_ID,
|
||||
// USER_ID:loginUser.USER_ID,
|
||||
// },
|
||||
// success: (res) => {
|
||||
// uni.hideLoading();//结束加载中动画
|
||||
// if ("success" == res.data.result) {
|
||||
// _this.count = res.data.count;
|
||||
// }
|
||||
//
|
||||
// }
|
||||
// })
|
||||
// },
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -1,332 +1,260 @@
|
|||
<template>
|
||||
<view>
|
||||
<cu-custom bgColor="bg-gradual-blueness" :isBack="true" :isRingt="true">
|
||||
<block slot="backText">返回</block>
|
||||
<block slot="content">吊装作业</block>
|
||||
</cu-custom>
|
||||
<view>
|
||||
<cu-custom bgColor="bg-gradual-blueness" :isBack="true" :isRingt="true">
|
||||
<block slot="backText">返回</block>
|
||||
<block slot="content">吊装作业</block>
|
||||
</cu-custom>
|
||||
|
||||
<view class="apps-box">
|
||||
<view class="apps-row">
|
||||
<view class="apps-title">
|
||||
<text class="apps-title-line"></text>
|
||||
<text>吊装作业审批管理</text>
|
||||
</view>
|
||||
<view class="apps-warp">
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hoisting/hoisting-list/index?flow=提交申请">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-yxkj-1.png" mode=""></image>
|
||||
<view v-if="count.CREATE" class="cu-tag badge">{{count.CREATE}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>吊装作业</view>
|
||||
<view>申请</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hoisting/hoisting-list/index?flow=司索人签字">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-yxkj-2.png" mode=""></image>
|
||||
<view v-if="count.SISUO" class="cu-tag badge">{{count.SISUO}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>司索人</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<view class="apps-box">
|
||||
<view class="apps-row">
|
||||
<view class="apps-title">
|
||||
<text class="apps-title-line"></text>
|
||||
<text>吊装作业审批管理</text>
|
||||
</view>
|
||||
<view class="apps-warp">
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hoisting/hoisting-apply/hoisting-apply-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-yxkj-1.png" mode=""></image>
|
||||
<view v-if="count.COUNTBACK" class="cu-tag badge">{{count.COUNTBACK}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>吊装作业</view>
|
||||
<view>申请</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hoisting/hoisting-leader/hoisting-leader-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-yxkj-4.png" mode=""></image>
|
||||
<view v-if="count.COUNTLEADER" class="cu-tag badge">{{count.COUNTLEADER}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>作业指挥</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hoisting/hoisting-confirm/hoisting-confirm-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-yxkj-4.png" mode=""></image>
|
||||
<view v-if="count.COUNTCONSTRUCTION" class="cu-tag badge">{{count.COUNTCONSTRUCTION}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>所在单位</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hoisting/hoisting-audit/hoisting-audit-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-yxkj-2.png" mode=""></image>
|
||||
<view v-if="count.COUNTAUDIT" class="cu-tag badge">{{count.COUNTAUDIT}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>审核部门</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hoisting/hoisting-approve/hoisting-approve-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-zl-10.png" mode=""></image>
|
||||
<view v-if="count.COUNTAPPROVE" class="cu-tag badge">{{count.COUNTAPPROVE}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>审批部门</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hoisting/hoisting-accept/hoisting-accept-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-zl-10.png" mode=""></image>
|
||||
<view v-if="count.COUNTACCEPT" class="cu-tag badge">{{count.COUNTACCEPT}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>完工验收</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hoisting/hoisting-guardian/hoisting-guardian-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-jh-1.png" mode=""></image>
|
||||
<view v-if="count.COUNTGUARDIAN" class="cu-tag badge">{{count.COUNTGUARDIAN}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>监护人</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hoisting/hoisting-confess/hoisting-confess-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-aq-1.png" mode=""></image>
|
||||
<view v-if="count.COUNTCONFESS" class="cu-tag badge">{{count.COUNTCONFESS}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>安全交底人</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hoisting/hoisting-acceptconfess/hoisting-acceptconfess-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-js-1.png" mode=""></image>
|
||||
<view v-if="count.COUNTACCEPTCONFESS" class="cu-tag badge">{{count.COUNTACCEPTCONFESS}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>接受交底人</view>
|
||||
</view>
|
||||
</navigator>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hoisting/hoisting-list/index?flow=设置安全措施确认人">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-yh-1.png" mode=""></image>
|
||||
<view v-if="count.MEASURES_SET" class="cu-tag badge">{{count.MEASURES_SET}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>设置安全</view>
|
||||
<view>措施确认人</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hoisting/hoisting-list/index?flow=安全措施确认">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-yh-1.png" mode=""></image>
|
||||
<view v-if="count.MEASURES_CONFIRM" class="cu-tag badge">{{count.MEASURES_CONFIRM}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>安全措施确认</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hoisting/hoisting-list/index?flow=监护人签字">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-zl-9.png" mode=""></image>
|
||||
<view v-if="count.GUARDIAN" class="cu-tag badge">{{count.GUARDIAN}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>监护人</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hoisting/hoisting-list/index?flow=安全交底人签字">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-807.png" mode=""></image>
|
||||
<view v-if="count.CONFESS" class="cu-tag badge">{{count.CONFESS}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>安全交底人</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hoisting/hoisting-list/index?flow=接受交底人签字">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-yxkj-4.png" mode=""></image>
|
||||
<view v-if="count.ACCEPT_CONFESS" class="cu-tag badge">{{count.ACCEPT_CONFESS}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>接受交底人</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hoisting/hoisting-list/index?flow=作业人签字">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-yxkj-2.png" mode=""></image>
|
||||
<view v-if="count.WORK_USER" class="cu-tag badge">{{count.WORK_USER}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>作业人</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hoisting/hoisting-list/index?flow=作业负责人签字">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-yxkj-2.png" mode=""></image>
|
||||
<view v-if="count.CONFIRM" class="cu-tag badge">{{count.CONFIRM}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>作业负责人</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hoisting/hoisting-list/index?flow=吊装指挥人签字">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-yxkj-2.png" mode=""></image>
|
||||
<view v-if="count.PROJECT_MANAGER" class="cu-tag badge">{{count.PROJECT_MANAGER}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>吊装指挥人</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hoisting/hoisting-list/index?flow=所在单位签字">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-907.png" mode=""></image>
|
||||
<view v-if="count.LEADER" class="cu-tag badge">{{count.LEADER}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>所在单位</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hoisting/hoisting-list/index?flow=安全管理部门签字">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-901.png" mode=""></image>
|
||||
<view v-if="count.AUDIT" class="cu-tag badge">{{count.AUDIT}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>审核部门</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hoisting/hoisting-list/index?flow=审批人签字">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-901.png" mode=""></image>
|
||||
<view v-if="count.APPROVE" class="cu-tag badge">{{count.APPROVE}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>审批部门</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hoisting/hoisting-list/index?flow=开始作业">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-aq-1.png" mode=""></image>
|
||||
<view v-if="count.WORK_START" class="cu-tag badge">{{count.WORK_START}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>开始作业时间</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hoisting/hoisting-list/index?flow=结束作业">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-js-1.png" mode=""></image>
|
||||
<view v-if="count.WORK_END" class="cu-tag badge">{{count.WORK_END}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>结束作业时间</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hoisting/hoisting-list/index?flow=验收签字">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-js-1.png" mode=""></image>
|
||||
<view v-if="count.ACCEPT" class="cu-tag badge">{{count.ACCEPT}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>验收归档</view>
|
||||
</view>
|
||||
</navigator>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- <view class="apps-row">
|
||||
<view class="apps-title">
|
||||
<text class="apps-title-line"></text>
|
||||
<text>其他应用</text>
|
||||
</view>
|
||||
<view class="apps-warp">
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/other-apps/videos/videos">
|
||||
<view class="imgs action">
|
||||
<image src="../../static/icon-apps/icon-zl-7.png" mode=""></image>
|
||||
</view>
|
||||
<view class="text-semi">视频中心</view>
|
||||
</navigator>
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="cu-tabbar-height"></view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="apps-row">
|
||||
<view class="apps-title">
|
||||
<text class="apps-title-line"></text>
|
||||
<text>其他应用</text>
|
||||
</view>
|
||||
<view class="apps-warp">
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/other-apps/videos/videos">
|
||||
<view class="imgs action">
|
||||
<image src="../../static/icon-apps/icon-zl-7.png" mode=""></image>
|
||||
</view>
|
||||
<view class="text-semi">视频中心</view>
|
||||
</navigator>
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="cu-tabbar-height"></view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
basePath,
|
||||
loginUserId,
|
||||
formatDate,
|
||||
corpinfoId,
|
||||
loginUser,
|
||||
setloginUserId,
|
||||
setCorpinfoId,
|
||||
setloginUser,
|
||||
setDeptId,
|
||||
isRest
|
||||
} from '@/common/tool.js';
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
isRest :'',
|
||||
count : {}
|
||||
};
|
||||
},
|
||||
mounted(){
|
||||
this.isRest = isRest;
|
||||
import {
|
||||
basePath,
|
||||
loginUserId,
|
||||
formatDate,
|
||||
corpinfoId,
|
||||
loginUser,
|
||||
setloginUserId,
|
||||
setCorpinfoId,
|
||||
setloginUser,
|
||||
setDeptId,
|
||||
isRest
|
||||
} from '@/common/tool.js';
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
isRest :'',
|
||||
count : {}
|
||||
};
|
||||
},
|
||||
mounted(){
|
||||
this.isRest = isRest;
|
||||
|
||||
},
|
||||
onShow() {
|
||||
this.getData();
|
||||
},
|
||||
methods: {
|
||||
showRest(){
|
||||
},
|
||||
onShow() {
|
||||
this.getData();
|
||||
},
|
||||
methods: {
|
||||
showRest(){
|
||||
|
||||
uni.showModal({
|
||||
title: '提示',
|
||||
showCancel:false,
|
||||
content: '您处于离岗状态,无需检查清单。',
|
||||
confirmText: "返回", // 确认按钮文字
|
||||
success: (res) => {
|
||||
}
|
||||
})
|
||||
},
|
||||
getData(){
|
||||
var _this = this;
|
||||
uni.showLoading({
|
||||
title:"加载中..."
|
||||
});//加载中动画
|
||||
uni.request({
|
||||
url: basePath +'/app/hoisting/checkWorkCount',
|
||||
method: 'POST',
|
||||
dataType: 'json',
|
||||
header: {
|
||||
'Content-type':'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: {
|
||||
tm:new Date().getTime(),
|
||||
CORPINFO_ID:loginUser.CORPINFO_ID,
|
||||
USER_ID:loginUser.USER_ID,
|
||||
},
|
||||
success: (res) => {
|
||||
uni.hideLoading();//结束加载中动画
|
||||
if ("success" == res.data.result) {
|
||||
_this.count = res.data.count;
|
||||
}
|
||||
|
||||
}
|
||||
})
|
||||
},
|
||||
}
|
||||
}
|
||||
uni.showModal({
|
||||
title: '提示',
|
||||
showCancel:false,
|
||||
content: '您处于离岗状态,无需检查清单。',
|
||||
confirmText: "返回", // 确认按钮文字
|
||||
success: (res) => {
|
||||
}
|
||||
})
|
||||
},
|
||||
// getData(){
|
||||
// var _this = this;
|
||||
// uni.showLoading({
|
||||
// title:"加载中..."
|
||||
// });//加载中动画
|
||||
// uni.request({
|
||||
// url: basePath +'/app/hoisting/countCheck',
|
||||
// method: 'POST',
|
||||
// dataType: 'json',
|
||||
// header: {
|
||||
// 'Content-type':'application/x-www-form-urlencoded'
|
||||
// },
|
||||
// data: {
|
||||
// tm:new Date().getTime(),
|
||||
// CORPINFO_ID:loginUser.CORPINFO_ID,
|
||||
// USER_ID:loginUser.USER_ID,
|
||||
// },
|
||||
// success: (res) => {
|
||||
// uni.hideLoading();//结束加载中动画
|
||||
// if ("success" == res.data.result) {
|
||||
// _this.count = res.data.count;
|
||||
// }
|
||||
//
|
||||
// }
|
||||
// })
|
||||
// },
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.app-banner{
|
||||
width: 100%;
|
||||
height: 380upx;
|
||||
}
|
||||
.app-banner image{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.apps-box {}
|
||||
.app-banner{
|
||||
width: 100%;
|
||||
height: 380upx;
|
||||
}
|
||||
.app-banner image{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.apps-box {}
|
||||
|
||||
.apps-row {
|
||||
padding: 20upx 20upx 10upx 20upx;
|
||||
background-color: #fff;
|
||||
margin-top: 20upx;
|
||||
}
|
||||
.apps-row:first-child{
|
||||
margin-top: 0;
|
||||
}
|
||||
.apps-row {
|
||||
padding: 20upx 20upx 10upx 20upx;
|
||||
background-color: #fff;
|
||||
margin-top: 20upx;
|
||||
}
|
||||
.apps-row:first-child{
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.apps-title {
|
||||
position: relative;
|
||||
padding-left: 20upx;
|
||||
color: #989898;
|
||||
padding-bottom: 20upx;
|
||||
}
|
||||
.apps-title {
|
||||
position: relative;
|
||||
padding-left: 20upx;
|
||||
color: #989898;
|
||||
padding-bottom: 20upx;
|
||||
}
|
||||
|
||||
.apps-title-line {
|
||||
display: inline-block;
|
||||
background-color: #37a6ff;
|
||||
width: 10upx;
|
||||
height: 23upx;
|
||||
position: absolute;
|
||||
left: 0upx;
|
||||
top: 11upx;
|
||||
}
|
||||
.apps-title-line {
|
||||
display: inline-block;
|
||||
background-color: #37a6ff;
|
||||
width: 10upx;
|
||||
height: 23upx;
|
||||
position: absolute;
|
||||
left: 0upx;
|
||||
top: 11upx;
|
||||
}
|
||||
|
||||
.apps-warp {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.apps-warp {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.apps-item {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
width: 25%;
|
||||
font-size: 25upx;
|
||||
margin-bottom: 20upx;
|
||||
}
|
||||
.apps-item .text-semi{
|
||||
margin-top: 6upx;
|
||||
}
|
||||
.apps-item .action{
|
||||
position: relative;
|
||||
}
|
||||
.apps-item .action .cu-tag.badge{
|
||||
right: -20upx;
|
||||
}
|
||||
.apps-item .imgs {
|
||||
width: 50upx;
|
||||
height: 50upx;
|
||||
}
|
||||
.apps-item {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
width: 25%;
|
||||
font-size: 25upx;
|
||||
margin-bottom: 20upx;
|
||||
}
|
||||
.apps-item .text-semi{
|
||||
margin-top: 6upx;
|
||||
}
|
||||
.apps-item .action{
|
||||
position: relative;
|
||||
}
|
||||
.apps-item .action .cu-tag.badge{
|
||||
right: -20upx;
|
||||
}
|
||||
.apps-item .imgs {
|
||||
width: 50upx;
|
||||
height: 50upx;
|
||||
}
|
||||
|
||||
.apps-item .imgs image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.apps-item .imgs image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -12,150 +12,119 @@
|
|||
<text>动火作业审批管理</text>
|
||||
</view>
|
||||
<view class="apps-warp">
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hotwork/hotwork-list/index?flow=提交申请">
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hotwork/hotwork-apply/hotwork-apply-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-yxkj-1.png" mode=""></image>
|
||||
<view v-if="count.CREATE" class="cu-tag badge">{{count.CREATE}}</view>
|
||||
<view v-if="count.COUNTBACK" class="cu-tag badge">{{count.COUNTBACK}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>动火作业</view>
|
||||
<view>申请</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hotwork/hotwork-list/index?flow=气体检测">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-zl-8.png" mode=""></image>
|
||||
<view v-if="count.ANALYZE" class="cu-tag badge">{{count.ANALYZE}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>气体分析</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hotwork/hotwork-list/index?flow=设置安全措施确认人">
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hotwork/hotwork-gas/hotwork-gas-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-zl-8.png" mode=""></image>
|
||||
<view v-if="count.COUNTANALYZE" class="cu-tag badge">{{count.COUNTANALYZE}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>气体分析</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hotwork/hotwork-confirm/hotwork-confirm-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-yh-1.png" mode=""></image>
|
||||
<view v-if="count.MEASURES_SET" class="cu-tag badge">{{count.MEASURES_SET}}</view>
|
||||
<view v-if="count.COUNTCONFIRM" class="cu-tag badge">{{count.COUNTCONFIRM}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>设置安全</view>
|
||||
<view>措施确认人</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hotwork/hotwork-list/index?flow=安全措施确认">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-yh-1.png" mode=""></image>
|
||||
<view v-if="count.MEASURES_CONFIRM" class="cu-tag badge">{{count.MEASURES_CONFIRM}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>安全措施确认</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hotwork/hotwork-list/index?flow=监护人签字">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-zl-9.png" mode=""></image>
|
||||
<view v-if="count.GUARDIAN" class="cu-tag badge">{{count.GUARDIAN}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>监护人</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hotwork/hotwork-list/index?flow=安全交底人签字">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-807.png" mode=""></image>
|
||||
<view v-if="count.CONFESS" class="cu-tag badge">{{count.CONFESS}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>安全交底人</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hotwork/hotwork-list/index?flow=接受交底人签字">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-yxkj-4.png" mode=""></image>
|
||||
<view v-if="count.ACCEPT_CONFESS" class="cu-tag badge">{{count.ACCEPT_CONFESS}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>接受交底人</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hotwork/hotwork-list/index?flow=作业负责人签字">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-yxkj-2.png" mode=""></image>
|
||||
<view v-if="count.CONFIRM" class="cu-tag badge">{{count.CONFIRM}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>作业负责人</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hotwork/hotwork-list/index?flow=所在单位签字">
|
||||
<!-- <navigator class="apps-item" hover-class="none" url="/pages/application/hotwork/hotwork-guardian/hotwork-guardian-list">-->
|
||||
<!-- <view class="imgs action">-->
|
||||
<!-- <image src="../../../static/icon-apps/icon-zl-9.png" mode=""></image>-->
|
||||
<!-- <view v-if="count.COUNTGUARDIAN" class="cu-tag badge">{{count.COUNTGUARDIAN}}</view>-->
|
||||
<!-- </view>-->
|
||||
<!-- <view class="text-semi" style="text-align: center;">-->
|
||||
<!-- <view>监护人</view>-->
|
||||
<!-- <view>意见</view>-->
|
||||
<!-- </view>-->
|
||||
<!-- </navigator>-->
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hotwork/hotwork-leader/hotwork-leader-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-907.png" mode=""></image>
|
||||
<view v-if="count.LEADER" class="cu-tag badge">{{count.LEADER}}</view>
|
||||
<image src="../../../static/icon-apps/icon-807.png" mode=""></image>
|
||||
<view v-if="count.COUNTLEADER" class="cu-tag badge">{{count.COUNTLEADER}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>所在单位</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hotwork/hotwork-list/index?flow=安全管理部门签字">
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hotwork/hotwork-audit/hotwork-audit-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-901.png" mode=""></image>
|
||||
<view v-if="count.AUDIT" class="cu-tag badge">{{count.AUDIT}}</view>
|
||||
<image src="../../../static/icon-apps/icon-yxkj-4.png" mode=""></image>
|
||||
<view v-if="count.COUNTAUDIT" class="cu-tag badge">{{count.COUNTAUDIT}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>安全管理部门</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hotwork/hotwork-list/index?flow=审批人签字">
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hotwork/hotwork-approve/hotwork-approve-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-901.png" mode=""></image>
|
||||
<view v-if="count.APPROVE" class="cu-tag badge">{{count.APPROVE}}</view>
|
||||
<image src="../../../static/icon-apps/icon-yxkj-2.png" mode=""></image>
|
||||
<view v-if="count.COUNTAPPROVE" class="cu-tag badge">{{count.COUNTAPPROVE}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>动火审批人</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hotwork/hotwork-monitor/hotwork-monitor-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-907.png" mode=""></image>
|
||||
<view v-if="count.COUNTMONITOR" class="cu-tag badge">{{count.COUNTMONITOR}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>班长验票</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hotwork/hotwork-accept/hotwork-accept-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-901.png" mode=""></image>
|
||||
<view v-if="count.COUNTACCEPT" class="cu-tag badge">{{count.COUNTACCEPT}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>完工验收</view>
|
||||
</view>
|
||||
</navigator>
|
||||
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hotwork/hotwork-list/index?flow=当班班长验票">
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hotwork/hotwork-guardian/hotwork-guardian-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-jh-1.png" mode=""></image>
|
||||
<view v-if="count.MONITOR" class="cu-tag badge">{{count.MONITOR}}</view>
|
||||
<view v-if="count.COUNTGUARDIAN" class="cu-tag badge">{{count.COUNTGUARDIAN}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>当班班长验票</view>
|
||||
<view>监护人</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hotwork/hotwork-list/index?flow=开始作业">
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hotwork/hotwork-confess/hotwork-confess-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-aq-1.png" mode=""></image>
|
||||
<view v-if="count.WORK_START" class="cu-tag badge">{{count.WORK_START}}</view>
|
||||
<view v-if="count.COUNTCONFESS" class="cu-tag badge">{{count.COUNTCONFESS}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>开始作业时间</view>
|
||||
<view>安全交底人</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hotwork/hotwork-list/index?flow=结束作业">
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hotwork/hotwork-acceptconfess/hotwork-acceptconfess-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-js-1.png" mode=""></image>
|
||||
<view v-if="count.WORK_END" class="cu-tag badge">{{count.WORK_END}}</view>
|
||||
<view v-if="count.COUNTACCEPTCONFESS" class="cu-tag badge">{{count.COUNTACCEPTCONFESS}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>结束作业时间</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/hotwork/hotwork-list/index?flow=验收签字">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-js-1.png" mode=""></image>
|
||||
<view v-if="count.ACCEPT" class="cu-tag badge">{{count.ACCEPT}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>验收归档</view>
|
||||
<view>接受交底人</view>
|
||||
</view>
|
||||
</navigator>
|
||||
</view>
|
||||
|
|
@ -219,32 +188,32 @@
|
|||
}
|
||||
})
|
||||
},
|
||||
getData(){
|
||||
var _this = this;
|
||||
uni.showLoading({
|
||||
title:"加载中..."
|
||||
});//加载中动画
|
||||
uni.request({
|
||||
url: basePath +'/app/hotwork/checkWorkCount',
|
||||
method: 'POST',
|
||||
dataType: 'json',
|
||||
header: {
|
||||
'Content-type':'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: {
|
||||
tm:new Date().getTime(),
|
||||
CORPINFO_ID:loginUser.CORPINFO_ID,
|
||||
USER_ID:loginUser.USER_ID,
|
||||
},
|
||||
success: (res) => {
|
||||
uni.hideLoading();//结束加载中动画
|
||||
if ("success" == res.data.result) {
|
||||
_this.count = res.data.count;
|
||||
}
|
||||
|
||||
}
|
||||
})
|
||||
},
|
||||
// getData(){
|
||||
// var _this = this;
|
||||
// uni.showLoading({
|
||||
// title:"加载中..."
|
||||
// });//加载中动画
|
||||
// uni.request({
|
||||
// url: basePath +'/app/hotwork/countCheck',
|
||||
// method: 'POST',
|
||||
// dataType: 'json',
|
||||
// header: {
|
||||
// 'Content-type':'application/x-www-form-urlencoded'
|
||||
// },
|
||||
// data: {
|
||||
// tm:new Date().getTime(),
|
||||
// CORPINFO_ID:loginUser.CORPINFO_ID,
|
||||
// USER_ID:loginUser.USER_ID,
|
||||
// },
|
||||
// success: (res) => {
|
||||
// uni.hideLoading();//结束加载中动画
|
||||
// if ("success" == res.data.result) {
|
||||
// _this.count = res.data.count;
|
||||
// }
|
||||
//
|
||||
// }
|
||||
// })
|
||||
// },
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,263 @@
|
|||
<template>
|
||||
<view>
|
||||
<cu-custom bgColor="bg-gradual-blueness" :isBack="true" :isRingt="true">
|
||||
<block slot="backText">返回</block>
|
||||
<block slot="content">断路安全作业</block>
|
||||
</cu-custom>
|
||||
|
||||
<view class="apps-box">
|
||||
<view class="apps-row">
|
||||
<view class="apps-title">
|
||||
<text class="apps-title-line"></text>
|
||||
<text>断路安全作业审批管理</text>
|
||||
</view>
|
||||
<view class="apps-warp">
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/open-circuit/open-circuit-apply/open-circuit-apply-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-yxkj-1.png" mode=""></image>
|
||||
<view v-if="count.COUNTBACK" class="cu-tag badge">{{count.COUNTBACK}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>断路安全</view>
|
||||
<view>作业申请</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/open-circuit/open-circuit-construction/open-circuit-construction-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-903.png" mode=""></image>
|
||||
<view v-if="count.COUNTCONSTRUCTION" class="cu-tag badge">{{count.COUNTCONSTRUCTION}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>作业负责人</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/open-circuit/open-circuit-production/open-circuit-production-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-902.png" mode=""></image>
|
||||
<view v-if="count.COUNTPRODUCTION" class="cu-tag badge">{{count.COUNTPRODUCTION}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>所在单位</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/open-circuit/open-circuit-safety/open-circuit-safety-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-906.png" mode=""></image>
|
||||
<view v-if="count.COUNTSAFETY" class="cu-tag badge">{{count.COUNTSAFETY}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>消防、安全</view>
|
||||
<view>管理部门意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
</view>
|
||||
<view class="apps-warp">
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/open-circuit/open-circuit-leader/open-circuit-leader-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-904.png" mode=""></image>
|
||||
<view v-if="count.COUNTLEADER" class="cu-tag badge">{{count.COUNTLEADER}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>审批部门</view>
|
||||
<view>意见</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/open-circuit/open-circuit-accept/open-circuit-accept-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-905.png" mode=""></image>
|
||||
<view v-if="count.COUNTACCEPT" class="cu-tag badge">{{count.COUNTACCEPT}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>完工验收</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/open-circuit/open-circuit-guardian/open-circuit-guardian-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-jh-1.png" mode=""></image>
|
||||
<view v-if="count.COUNTGUARDIAN" class="cu-tag badge">{{count.COUNTGUARDIAN}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>监护人</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/open-circuit/open-circuit-confess/open-circuit-confess-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-aq-1.png" mode=""></image>
|
||||
<view v-if="count.COUNTCONFESS" class="cu-tag badge">{{count.COUNTCONFESS}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>安全交底人</view>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/open-circuit/open-circuit-acceptconfess/open-circuit-acceptconfess-list">
|
||||
<view class="imgs action">
|
||||
<image src="../../../static/icon-apps/icon-js-1.png" mode=""></image>
|
||||
<view v-if="count.COUNTACCEPTCONFESS" class="cu-tag badge">{{count.COUNTACCEPTCONFESS}}</view>
|
||||
</view>
|
||||
<view class="text-semi" style="text-align: center;">
|
||||
<view>接受交底人</view>
|
||||
</view>
|
||||
</navigator>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- <view class="apps-row">
|
||||
<view class="apps-title">
|
||||
<text class="apps-title-line"></text>
|
||||
<text>其他应用</text>
|
||||
</view>
|
||||
<view class="apps-warp">
|
||||
<navigator class="apps-item" hover-class="none" url="/pages/application/other-apps/videos/videos">
|
||||
<view class="imgs action">
|
||||
<image src="../../static/icon-apps/icon-zl-7.png" mode=""></image>
|
||||
</view>
|
||||
<view class="text-semi">视频中心</view>
|
||||
</navigator>
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="cu-tabbar-height"></view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
basePath,
|
||||
loginUserId,
|
||||
formatDate,
|
||||
corpinfoId,
|
||||
loginUser,
|
||||
setloginUserId,
|
||||
setCorpinfoId,
|
||||
setloginUser,
|
||||
setDeptId,
|
||||
isRest
|
||||
} from '@/common/tool.js';
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
isRest :'',
|
||||
count : {}
|
||||
};
|
||||
},
|
||||
mounted(){
|
||||
this.isRest = isRest;
|
||||
|
||||
},
|
||||
onShow() {
|
||||
this.getData();
|
||||
},
|
||||
methods: {
|
||||
showRest(){
|
||||
|
||||
uni.showModal({
|
||||
title: '提示',
|
||||
showCancel:false,
|
||||
content: '您处于离岗状态,无需检查清单。',
|
||||
confirmText: "返回", // 确认按钮文字
|
||||
success: (res) => {
|
||||
}
|
||||
})
|
||||
},
|
||||
// getData(){
|
||||
// var _this = this;
|
||||
// uni.showLoading({
|
||||
// title:"加载中..."
|
||||
// });//加载中动画
|
||||
// uni.request({
|
||||
// url: basePath +'/app/cutroad/countCheck',
|
||||
// method: 'POST',
|
||||
// dataType: 'json',
|
||||
// header: {
|
||||
// 'Content-type':'application/x-www-form-urlencoded'
|
||||
// },
|
||||
// data: {
|
||||
// tm:new Date().getTime(),
|
||||
// CORPINFO_ID:loginUser.CORPINFO_ID,
|
||||
// USER_ID:loginUser.USER_ID,
|
||||
// },
|
||||
// success: (res) => {
|
||||
// uni.hideLoading();//结束加载中动画
|
||||
// if ("success" == res.data.result) {
|
||||
// _this.count = res.data.count;
|
||||
// _this.$forceUpdate()
|
||||
// }
|
||||
//
|
||||
// }
|
||||
// })
|
||||
// },
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.app-banner{
|
||||
width: 100%;
|
||||
height: 380upx;
|
||||
}
|
||||
.app-banner image{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.apps-box {}
|
||||
|
||||
.apps-row {
|
||||
padding: 20upx 20upx 10upx 20upx;
|
||||
background-color: #fff;
|
||||
margin-top: 20upx;
|
||||
}
|
||||
.apps-row:first-child{
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.apps-title {
|
||||
position: relative;
|
||||
padding-left: 20upx;
|
||||
color: #989898;
|
||||
padding-bottom: 20upx;
|
||||
}
|
||||
|
||||
.apps-title-line {
|
||||
display: inline-block;
|
||||
background-color: #37a6ff;
|
||||
width: 10upx;
|
||||
height: 23upx;
|
||||
position: absolute;
|
||||
left: 0upx;
|
||||
top: 11upx;
|
||||
}
|
||||
|
||||
.apps-warp {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.apps-item {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
width: 25%;
|
||||
font-size: 25upx;
|
||||
margin-bottom: 20upx;
|
||||
}
|
||||
.apps-item .text-semi{
|
||||
margin-top: 6upx;
|
||||
}
|
||||
.apps-item .action{
|
||||
position: relative;
|
||||
}
|
||||
.apps-item .action .cu-tag.badge{
|
||||
right: -20upx;
|
||||
}
|
||||
.apps-item .imgs {
|
||||
width: 50upx;
|
||||
height: 50upx;
|
||||
}
|
||||
|
||||
.apps-item .imgs image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
|
|
@ -47,7 +47,7 @@
|
|||
</view>
|
||||
<view class="de-item">
|
||||
<view class="de-sub-title">
|
||||
<text class="text-grey" style="white-space: nowrap">申辩是否成立</text>
|
||||
<text class="text-grey">申辩是否成立</text>
|
||||
</view>
|
||||
<view style="display: flex">
|
||||
<view class="group mr20">
|
||||
|
|
@ -62,7 +62,7 @@
|
|||
</view>
|
||||
<view v-if="INSPECTION_STATUS==='3'" class="de-item-sp">
|
||||
<view class="de-sub-title">
|
||||
<text class="text-grey" style="white-space: nowrap">不成立理由</text>
|
||||
<text class="text-grey">不成立理由内容</text>
|
||||
</view>
|
||||
<input name="input" ref="INSPECTION_PLACE" :disabled="forbidEdit" v-model="form.INSPECTED_EXPLAIN_REFUSE" placeholder="请输入理由"></input>
|
||||
</view>
|
||||
|
|
@ -122,7 +122,7 @@
|
|||
import {
|
||||
basePath,loginUserId,loginSession,baseImgPath,formatDate,loginUser
|
||||
} from '@/common/tool.js';
|
||||
|
||||
|
||||
import sign from '@/components/sign/sign.vue';
|
||||
export default {
|
||||
components: {
|
||||
|
|
@ -263,7 +263,7 @@
|
|||
},
|
||||
delImg(e) {
|
||||
uni.showModal({
|
||||
title: '温馨提示',
|
||||
title: '双控平台',
|
||||
content: '确定要删除这张图片吗?',
|
||||
cancelColor: "#000000",
|
||||
cancelText: '取消',
|
||||
|
|
@ -399,11 +399,14 @@
|
|||
});
|
||||
},
|
||||
ViewShowImage2(e) {
|
||||
let fullPath = this.baseImgPath + this.form.INSPECTED_SITEUSER_SIGN_IMG;
|
||||
uni.previewImage({
|
||||
urls: [fullPath], // 确保这里是一个数组,即使只有一个图片路径
|
||||
current: fullPath // 当前显示图片的http链接
|
||||
});
|
||||
let files = [];
|
||||
for (var i = 0; i < this.files2.length; i++) {
|
||||
files.push(baseImgPath+this.files2[i].FILEPATH)
|
||||
}
|
||||
uni.previewImage({
|
||||
urls: files,
|
||||
current: e.currentTarget.dataset.index
|
||||
});
|
||||
},
|
||||
|
||||
ViewShowImage4(e) {
|
||||
|
|
|
|||
|
|
@ -229,25 +229,26 @@
|
|||
</view>
|
||||
<view v-if="type&& type === 'detail'" class="form">
|
||||
<view class="wui-form-list">
|
||||
<view class="cu-form-group" v-if="form.INSPECTION_STATUS === '3'">
|
||||
<view class="title">被检查单位现场负责人意见:</view>
|
||||
<text>{{ form.INSPECTED_EXPLAIN }}</text>
|
||||
</view>
|
||||
<view class="cu-form-group">
|
||||
<view class="title">被检查单位现场负责人意见:</view>
|
||||
<text> {{ validStr(form.INSPECTED_EXPLAIN) ? '申辩' : '同意' }}</text>
|
||||
</view>
|
||||
<view class="cu-form-textarea" v-if="form.INSPECTED_EXPLAIN">
|
||||
<view class="cu-form-title text-hui">申辩说明</view>
|
||||
<view class="cu-form-textarea">
|
||||
<textarea disabled v-model="form.INSPECTED_EXPLAIN"></textarea>
|
||||
</view>
|
||||
</view>
|
||||
<view class="cu-form-group" v-if="form.INSPECTION_STATUS === '3'">
|
||||
<view class="title">被检查单位现场负责人签字:</view>
|
||||
<view>
|
||||
<view>
|
||||
<image :src="baseImgPath + form.INSPECTED_SITEUSER_SIGN_IMG" style="width: 180upx;height: 100upx"></image>
|
||||
</view>
|
||||
<view style="text-align: center">{{ form.INSPECTED_SITEUSER_SIGN_TIME }}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="cu-form-group">
|
||||
<view class="title">被检查单位现场负责人签字:</view>
|
||||
<view>
|
||||
<view>
|
||||
<image :src="baseImgPath + form.INSPECTED_SITEUSER_SIGN_IMG"
|
||||
style="width: 180upx;height: 100upx"></image>
|
||||
</view>
|
||||
<view style="text-align: center">{{ form.INSPECTED_SITEUSER_SIGN_TIME }}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="cu-bar btn-group" style="margin-top: 30upx;">
|
||||
|
|
@ -321,12 +322,10 @@
|
|||
<view class="cu-form-group">
|
||||
<view class="title">隐患部位</view>
|
||||
<view class="picker-tree-box">
|
||||
<!-- <view v-if="hiddenIsEdit" class="picker-tree" @tap="showZgTree('tkiTree3', 3)">-->
|
||||
<!-- {{ hiddenForm.HIDDENPART_NAME ? hiddenForm.HIDDENPART_NAME : hiddenForm.HIDDENPART || '请选择' }}-->
|
||||
<!-- </view>-->
|
||||
<input v-if="hiddenIsEdit" v-model="hiddenForm.HIDDENPART" class="input-text" type="text" placeholder="请输入隐患部位"></input>
|
||||
|
||||
<view v-else>{{
|
||||
<view v-if="hiddenIsEdit" class="picker-tree" @tap="showZgTree('tkiTree3', 3)">
|
||||
{{ hiddenForm.HIDDENPART_NAME ? hiddenForm.HIDDENPART_NAME : hiddenForm.HIDDENPART || '请选择' }}
|
||||
</view>
|
||||
<view v-else>{{
|
||||
hiddenForm.HIDDENPART_NAME ? hiddenForm.HIDDENPART_NAME : hiddenForm.HIDDENPART
|
||||
}}
|
||||
</view>
|
||||
|
|
@ -343,76 +342,63 @@
|
|||
</view>
|
||||
<view v-else>{{ hiddenForm.HIDDENLEVEL_NAME }}</view> -->
|
||||
<picker @change="hiddenLevelChange" :disabled="forbidEdit || !hiddenIsEdit"
|
||||
:value="hiddenForm.HIDDENLEVEL_INDEX" :range="hiddenLevelTreeList" range-key="NAME">
|
||||
:value="hiddenForm.HIDDENLEVEL_INDEX" :range="hiddenLevelTreeList" range-key="label">
|
||||
<view class="picker">
|
||||
{{ hiddenForm.HIDDENLEVEL_NAME || '请选择' }}
|
||||
</view>
|
||||
</picker>
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="cu-form-group">-->
|
||||
<!-- <view class="title">隐患类型</view>-->
|
||||
<!-- <view class="picker-tree-box">-->
|
||||
<!-- <view v-if="hiddenIsEdit" class="picker-tree" @tap="showZgTree('tkiTree5', 5)">-->
|
||||
<!-- {{hiddenForm.HIDDENTYPE_NAME || '请选择'}}-->
|
||||
<!-- </view>-->
|
||||
<!-- <view v-else>{{ hiddenForm.HIDDENTYPE_NAME }}</view>-->
|
||||
<!-- </view>-->
|
||||
<!-- <tki-tree ref="tkiTree5" :selectParent=false :range="hiddenTypeTreeList" rangeKey="name"-->
|
||||
<!-- @confirm="zgtreeConfirm($event,'hiddenTypeTreeList')" @cancel="zgtreeCancel">-->
|
||||
<!-- </tki-tree>-->
|
||||
<!-- </view>-->
|
||||
<view class="cu-form-group">
|
||||
<view class="title">隐患类型</view>
|
||||
<view class="picker-tree-box">
|
||||
<view class="picker-tree" @tap="showZgTree2">{{hiddenForm.HIDDENTYPENAME?hiddenForm.HIDDENTYPENAME:'请选择'}}</view>
|
||||
</view>
|
||||
<tki-tree ref="tkiTree2"
|
||||
:selectParent="true"
|
||||
:range="hiddenTypeList"
|
||||
rangeKey="name"
|
||||
@confirm="zgtreeConfirm2"
|
||||
@cancel="zgtreeCancel2">
|
||||
</tki-tree>
|
||||
</view>
|
||||
<!-- <view class="cu-form-group margin-top">-->
|
||||
<!-- <view class="title text-hui asterisk">是否相关方</view>-->
|
||||
<!-- <radio-group v-if="hiddenIsEdit" class="selected">-->
|
||||
<!-- <view class="group mr20">-->
|
||||
<!-- <radio class='radio' value="1" :checked="hiddenForm.ISRELEVANT=='1'"-->
|
||||
<!-- @click="radioISRELEVANT('1')"></radio>-->
|
||||
<!-- <text>是</text>-->
|
||||
<!-- <radio class='radio' value="2" :checked="hiddenForm.ISRELEVANT=='2'"-->
|
||||
<!-- @click="radioISRELEVANT('2')"></radio>-->
|
||||
<!-- <text>否</text>-->
|
||||
<!-- </view>-->
|
||||
<!-- </radio-group>-->
|
||||
<!-- <view v-else>{{ hiddenForm.ISRELEVANT=='1'?'是':'否' }}</view>-->
|
||||
<!-- </view>-->
|
||||
<view class="cu-form-group">
|
||||
<view class="title">隐患类型</view>
|
||||
<view class="picker-tree-box">
|
||||
<view v-if="hiddenIsEdit" class="picker-tree" @tap="showZgTree('tkiTree5', 5)">
|
||||
{{hiddenForm.HIDDENTYPE_NAME || '请选择'}}
|
||||
</view>
|
||||
<view v-else>{{ hiddenForm.HIDDENTYPE_NAME }}</view>
|
||||
</view>
|
||||
<tki-tree ref="tkiTree5" :selectParent=false :range="hiddenTypeTreeList" rangeKey="name"
|
||||
@confirm="zgtreeConfirm($event,'hiddenTypeTreeList')" @cancel="zgtreeCancel">
|
||||
</tki-tree>
|
||||
</view>
|
||||
<view class="cu-form-group margin-top">
|
||||
<view class="title text-hui asterisk">是否相关方</view>
|
||||
<radio-group v-if="hiddenIsEdit" class="selected">
|
||||
<view class="group mr20">
|
||||
<radio class='radio' value="1" :checked="hiddenForm.ISRELEVANT=='1'"
|
||||
@click="radioISRELEVANT('1')"></radio>
|
||||
<text>是</text>
|
||||
<radio class='radio' value="2" :checked="hiddenForm.ISRELEVANT=='2'"
|
||||
@click="radioISRELEVANT('2')"></radio>
|
||||
<text>否</text>
|
||||
</view>
|
||||
</radio-group>
|
||||
<view v-else>{{ hiddenForm.ISRELEVANT=='1'?'是':'否' }}</view>
|
||||
</view>
|
||||
<view class="cu-form-group">
|
||||
<view class="title">隐患发现时间</view>
|
||||
<ruiDatePicker :disabled="!hiddenIsEdit" fields="minute"
|
||||
:value="hiddenForm.CREATTIME || '请选择'" @change="changeDiscoverDate"></ruiDatePicker>
|
||||
:value="hiddenForm.DISCOVERYTIME || '请选择'" @change="changeDiscoverDate"></ruiDatePicker>
|
||||
</view>
|
||||
<view class="cu-form-group">
|
||||
<view class="title">隐患上报位置:</view>
|
||||
<button v-if="hiddenIsEdit" class="cu-btn bg-green shadow" @tap="showMapModal">定位</button>
|
||||
</view>
|
||||
<view class="cu-form-group" v-if="hiddenForm.LONGITUDE && hiddenForm.LONGITUDE != 'undefined'">
|
||||
<view class="sign-title">经度:</view>
|
||||
<view class="wui-sign-cotent">{{hiddenForm.LONGITUDE}}</view>
|
||||
</view>
|
||||
<view class="cu-form-group" v-if="hiddenForm.LATITUDE && hiddenForm.LATITUDE != 'undefined'">
|
||||
<view class="sign-title">纬度:</view>
|
||||
<view class="wui-sign-cotent">{{hiddenForm.LATITUDE}}</view>
|
||||
</view>
|
||||
<view class="cu-form-group">
|
||||
<view class="title">隐患位置描述:</view>
|
||||
<!-- <textarea maxlength="-1" :disabled="modalName!=null" v-model="hiddenForm.POSITIONDESC"
|
||||
placeholder="请输入隐患位置描述"></textarea> -->
|
||||
<input name="input" ref="POSITIONDESC" :disabled="modalName!=null"
|
||||
v-model="hiddenForm.POSITIONDESC" placeholder="请输入隐患位置描述"></input>
|
||||
</view>
|
||||
<!-- <view class="cu-form-group">-->
|
||||
<!-- <view class="title">隐患上报位置:</view>-->
|
||||
<!-- <button v-if="hiddenIsEdit" class="cu-btn bg-green shadow" @tap="showMapModal">定位</button>-->
|
||||
<!-- </view>-->
|
||||
<!-- <view class="cu-form-group" v-if="hiddenForm.LONGITUDE && hiddenForm.LONGITUDE != 'undefined'">-->
|
||||
<!-- <view class="sign-title">经度:</view>-->
|
||||
<!-- <view class="wui-sign-cotent">{{hiddenForm.LONGITUDE}}</view>-->
|
||||
<!-- </view>-->
|
||||
<!-- <view class="cu-form-group" v-if="hiddenForm.LATITUDE && hiddenForm.LATITUDE != 'undefined'">-->
|
||||
<!-- <view class="sign-title">纬度:</view>-->
|
||||
<!-- <view class="wui-sign-cotent">{{hiddenForm.LATITUDE}}</view>-->
|
||||
<!-- </view>-->
|
||||
<!-- <view class="cu-form-group">-->
|
||||
<!-- <view class="title">隐患位置描述:</view>-->
|
||||
<!-- <!– <textarea maxlength="-1" :disabled="modalName!=null" v-model="hiddenForm.POSITIONDESC"-->
|
||||
<!-- placeholder="请输入隐患位置描述"></textarea> –>-->
|
||||
<!-- <input name="input" ref="POSITIONDESC" :disabled="modalName!=null"-->
|
||||
<!-- v-model="hiddenForm.POSITIONDESC" placeholder="请输入隐患位置描述"></input>-->
|
||||
<!-- </view>-->
|
||||
<view class="cu-form-group">
|
||||
<view class="title">隐患发现人</view>
|
||||
<picker @change="creatorChange" :disabled="forbidEdit || !hiddenIsEdit"
|
||||
|
|
@ -491,7 +477,6 @@
|
|||
},
|
||||
data() {
|
||||
return {
|
||||
hiddenTypeList: [],
|
||||
buttonSubmit: false,
|
||||
baseImgPath: baseImgPath,
|
||||
isUps: false,
|
||||
|
|
@ -503,8 +488,6 @@
|
|||
inspectionTypeTreeList: [], // 检查类型下拉数据
|
||||
inspectorList: [], // 检查人员(二维数组)下拉数据
|
||||
form: {
|
||||
RECTIFICATIONTYPE: '2',//整改类型
|
||||
HIDDENTYPENAME: '',//隐患类型
|
||||
INSPECTION_ID: '', // 检查ID
|
||||
INSPECTION_SUBJECT: '', // 检查标题
|
||||
INSPECTION_SOURCE: '5', // 检查来源(4-监管端 5-企业端)
|
||||
|
|
@ -582,7 +565,7 @@
|
|||
showHiddenWindow: false, // 隐患添加窗口显隐
|
||||
hiddenIsEdit: true,
|
||||
hiddenRegionTreeList: [], // 隐患部位下拉数据
|
||||
hiddenLevelTreeList: [], // 隐患级别下拉数据
|
||||
hiddenLevelTreeList: [{ value: 'hiddenLevel1002', label: '一般隐患' }, { value: 'hiddenLevel1004', label: '轻微隐患' }], // 隐患级别下拉数据
|
||||
hiddenTypeTreeList: [], // 隐患类型下拉数据
|
||||
hiddenType2TreeList: [], // 隐患类型2下拉数据
|
||||
creatorList: [], // 隐患责任人下拉数据
|
||||
|
|
@ -600,7 +583,7 @@
|
|||
HIDDENTYPE2_NAME: '',
|
||||
LONGITUDE: '', // 隐患位置经度
|
||||
LATITUDE: '', // 隐患位置纬度
|
||||
CREATTIME: '', // 隐患发现时间
|
||||
DISCOVERYTIME: '', // 隐患发现时间
|
||||
HIDDENFINDDEPT: '', // 隐患发现部门(隐患责任人部门)
|
||||
HIDDENFINDDEPT_NAME: '',
|
||||
CREATOR: '', // 发现人(隐患责任人)
|
||||
|
|
@ -626,7 +609,7 @@
|
|||
message: '请选择隐患类型'
|
||||
},
|
||||
{
|
||||
name: 'CREATTIME',
|
||||
name: 'DISCOVERYTIME',
|
||||
message: '请选择隐患发现时间'
|
||||
},
|
||||
{
|
||||
|
|
@ -665,31 +648,10 @@
|
|||
// 初始化现场作业负责人
|
||||
this.getDept()
|
||||
this.getDict()
|
||||
this.getHiddenType();
|
||||
loginSession();
|
||||
|
||||
},
|
||||
methods: {
|
||||
showZgTree2(){
|
||||
this.isUps=true
|
||||
this.$refs.tkiTree2._show();
|
||||
},
|
||||
zgtreeConfirm2(e){
|
||||
this.isUps=false;
|
||||
if(e[0]?.parents.length === 1){
|
||||
this.hiddenForm.HIDDENTYPE = [e[0]?.parents[0]?.id || '', e[0]?.id || ''];
|
||||
this.hiddenForm.HIDDENTYPENAME = [e[0]?.parents[0]?.name || '', e[0]?.name || ''].join('/')
|
||||
}else if(e[0]?.parents.length === 2) {
|
||||
this.hiddenForm.HIDDENTYPE = [e[0]?.parents[0]?.id || '', e[0]?.parents[1]?.id || '', e[0]?.id || ''];
|
||||
this.hiddenForm.HIDDENTYPENAME = [e[0]?.parents[0]?.name || '', e[0]?.parents[1]?.name || '', e[0]?.name || ''].join('/')
|
||||
}else{
|
||||
this.hiddenForm.HIDDENTYPE = [e[0]?.id || ''];
|
||||
this.hiddenForm.HIDDENTYPENAME = [e[0]?.name || ''].join('/');
|
||||
}
|
||||
this.$forceUpdate();//强制刷新
|
||||
},
|
||||
zgtreeCancel2(e){
|
||||
this.isUps=false;
|
||||
},
|
||||
getData() {
|
||||
var _this = this;
|
||||
uni.showLoading({
|
||||
|
|
@ -708,7 +670,6 @@
|
|||
if ("success" == res.data.result) {
|
||||
uni.hideLoading();
|
||||
_this.form = res.data.pd; //参数map
|
||||
console.log("打印后端响应数据:", res.data.pd)
|
||||
for (let i = 0; i < _this.form.inspectorList.length; i++) {
|
||||
_this.inspectorList.push([])
|
||||
_this.getUserList('inspectorList', _this.form.inspectorList[i]
|
||||
|
|
@ -789,7 +750,7 @@
|
|||
for (let j = 0; j < this.form.hiddenList[i].hiddenImgs.length; j++) {
|
||||
if (!this.form.hiddenList[i].hiddenImgs[j].IMGFILES_ID) {
|
||||
var file = {};
|
||||
file.type = '3';
|
||||
file.type = 3;
|
||||
file.FILEPATH = this.form.hiddenList[i].hiddenImgs[j].FILEPATH;
|
||||
fileList.push(file);
|
||||
}
|
||||
|
|
@ -818,7 +779,6 @@
|
|||
INSPECTION_USER_NAME: loginUser.NAME
|
||||
})
|
||||
}
|
||||
|
||||
this.$set(this.form, 'INSPECTORJSON', JSON.stringify(this.form.inspectorList))
|
||||
this.$set(this.form, 'SITUATIONJSON', JSON.stringify(this.form.situationList))
|
||||
this.$set(this.form, 'HIDDENJSON', JSON.stringify(this.form.hiddenList))
|
||||
|
|
@ -830,9 +790,6 @@
|
|||
this.$set(this.form, 'CORPINFO_ID', corpinfoId)
|
||||
this.$set(this.form, 'ACTION_USER', loginUser.NAME)
|
||||
this.$set(this.form, 'OPERATOR', loginUser.USER_ID)
|
||||
this.form.hiddenList.forEach((hidden, index) => {
|
||||
console.log(`隐患项 ${index + 1} 的 POSITIONDESC 字段的值:`, hidden.POSITIONDESC);
|
||||
});
|
||||
this.submit(hiddenList)
|
||||
|
||||
},
|
||||
|
|
@ -993,15 +950,15 @@
|
|||
// this.hiddenForm.HIDDENLEVEL = e[0].id
|
||||
// this.hiddenForm.HIDDENLEVEL_NAME = e[0].name
|
||||
// }
|
||||
if (list === 'hiddenTypeTreeList') { // 隐患类型
|
||||
if (list === 'hiddenTypeTreeList') { // 隐患级别
|
||||
this.hiddenForm.HIDDENTYPE = e[0].id
|
||||
this.hiddenForm.HIDDENTYPE_NAME = e[0].name
|
||||
}
|
||||
if (list === 'hiddenType2TreeList') { // 隐患类型
|
||||
if (list === 'hiddenType2TreeList') { // 隐患级别
|
||||
this.hiddenForm.HIDDENTYPE2 = e[0].id
|
||||
this.hiddenForm.HIDDENTYPE2_NAME = e[0].name
|
||||
}
|
||||
if (list === 'creatorList') { // 隐患发现人
|
||||
if (list === 'creatorList') { // 隐患级别
|
||||
this.hiddenForm.HIDDENFINDDEPT = e[0].id
|
||||
this.hiddenForm.HIDDENFINDDEPT_NAME = e[0].name
|
||||
this.hiddenForm.CREATOR_INDEX = ''
|
||||
|
|
@ -1082,7 +1039,7 @@
|
|||
content: '确定移除发现问题吗?',
|
||||
success: function(res) {
|
||||
if (res.cancel) {
|
||||
console.info(_this.form,'打印数据2');
|
||||
console.info(_this.form)
|
||||
_this.form.hiddenList.splice(index, 1);
|
||||
if (item.HIDDEN_ID) {
|
||||
_this.delHiddens.push(item.HIDDEN_ID)
|
||||
|
|
@ -1127,71 +1084,52 @@
|
|||
}
|
||||
})
|
||||
this.hiddenForm = item
|
||||
this.hiddenForm.HIDDENTYPENAME = item.HIDDENTYPE_NAME || this.hiddenForm.HIDDENTYPENAME;
|
||||
this.$refs['showHiddenWindow'].open()
|
||||
this.showHiddenWindow = true
|
||||
this.hiddenIsEdit = false
|
||||
},
|
||||
// 保存隐患
|
||||
saveHidden() {
|
||||
let required = true;
|
||||
|
||||
// 检查隐患图片
|
||||
if (this.hiddenForm.hiddenImgs.length <= 0) {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: '请上传隐患图片',
|
||||
duration: 1500
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
// 检查隐患部位是否输入
|
||||
if (!this.hiddenForm.HIDDENPART) {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: '请输入隐患部位',
|
||||
duration: 1500
|
||||
});
|
||||
required = false;
|
||||
}
|
||||
|
||||
// 检查其他必填项
|
||||
this.hiddenRules.forEach(({ name, message }) => {
|
||||
if (!this.hiddenForm[name] || this.hiddenForm[name] === '请选择' || this.hiddenForm[name] === '请输入') {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: message,
|
||||
duration: 1500
|
||||
});
|
||||
required = false;
|
||||
}
|
||||
});
|
||||
|
||||
if (!required) {
|
||||
return;
|
||||
}
|
||||
|
||||
uni.showLoading({
|
||||
title: '请稍候'
|
||||
});
|
||||
|
||||
// 检查并设置发现人相关信息
|
||||
this.form.inspectorList.forEach(item => {
|
||||
if (item.INSPECTION_USER_ID === this.hiddenForm.CREATOR) {
|
||||
this.hiddenForm.HIDDENFINDDEPT = item.INSPECTION_DEPARTMENT_ID;
|
||||
}
|
||||
});
|
||||
|
||||
// 将当前隐患信息添加到列表中
|
||||
this.form.hiddenList.push(this.hiddenForm);
|
||||
|
||||
// 关闭并重置隐患信息输入窗口
|
||||
this.cancelHidden();
|
||||
|
||||
uni.hideLoading();
|
||||
},
|
||||
saveHidden() {
|
||||
let required = true
|
||||
|
||||
if (this.hiddenForm.hiddenImgs.length <= 0) {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: '请上传隐患图片',
|
||||
duration: 1500
|
||||
});
|
||||
return;
|
||||
}
|
||||
this.hiddenRules.map(({
|
||||
name,
|
||||
message
|
||||
}) => {
|
||||
if (!this.hiddenForm[name] || this.hiddenForm[name] === '请选择' || this.hiddenForm[name] ===
|
||||
'请输入') {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: message,
|
||||
duration: 1500
|
||||
});
|
||||
required = false
|
||||
}
|
||||
})
|
||||
if (!required) {
|
||||
return
|
||||
}
|
||||
uni.showLoading({
|
||||
title: '请稍候'
|
||||
})
|
||||
this.form.inspectorList.forEach(item => {
|
||||
if (item.INSPECTION_USER_ID === this.hiddenForm.CREATOR) {
|
||||
this.hiddenForm.HIDDENFINDDEPT = item.INSPECTION_DEPARTMENT_ID
|
||||
}
|
||||
})
|
||||
console.info(this.hiddenForm)
|
||||
this.form.hiddenList.push(this.hiddenForm)
|
||||
this.cancelHidden()
|
||||
uni.hideLoading();
|
||||
},
|
||||
// 取消添加隐患
|
||||
cancelHidden() {
|
||||
this.$refs['showHiddenWindow'].close()
|
||||
|
|
@ -1252,6 +1190,7 @@
|
|||
var _this = this;
|
||||
let i = e.currentTarget.dataset.index
|
||||
uni.showModal({
|
||||
title: '秦港-双基双控',
|
||||
content: '确定要删除这张图片吗?',
|
||||
cancelColor: "#000000",
|
||||
cancelText: '取消',
|
||||
|
|
@ -1308,6 +1247,7 @@
|
|||
var _this = this;
|
||||
let i = e.currentTarget.dataset.index
|
||||
uni.showModal({
|
||||
title: '秦港-双基双控',
|
||||
content: '确定要删除这张图片吗?',
|
||||
cancelColor: "#000000",
|
||||
cancelText: '取消',
|
||||
|
|
@ -1350,6 +1290,7 @@
|
|||
},
|
||||
DelVideo(e) {
|
||||
uni.showModal({
|
||||
title: '秦港-双基双控',
|
||||
content: '确定要删除这个视频吗?',
|
||||
cancelColor: "#000000",
|
||||
cancelText: '取消',
|
||||
|
|
@ -1393,7 +1334,7 @@
|
|||
this.modalShow = true
|
||||
},
|
||||
changeDiscoverDate(e) {
|
||||
this.hiddenForm.CREATTIME = e
|
||||
this.hiddenForm.DISCOVERYTIME = e
|
||||
this.$forceUpdate(); //强制刷新
|
||||
},
|
||||
creatorChange(e) {
|
||||
|
|
@ -1403,8 +1344,8 @@
|
|||
},
|
||||
hiddenLevelChange(e) {
|
||||
this.hiddenForm.HIDDENLEVEL_INDEX = e.detail.value;
|
||||
this.hiddenForm.HIDDENLEVEL = this.hiddenLevelTreeList[e.detail.value].BIANMA;
|
||||
this.hiddenForm.HIDDENLEVEL_NAME = this.hiddenLevelTreeList[e.detail.value].NAME;
|
||||
this.hiddenForm.HIDDENLEVEL = this.hiddenLevelTreeList[e.detail.value].value;
|
||||
this.hiddenForm.HIDDENLEVEL_NAME = this.hiddenLevelTreeList[e.detail.value].label;
|
||||
},
|
||||
/** 坐标定位 */
|
||||
showMapModal() {
|
||||
|
|
@ -1479,54 +1420,6 @@
|
|||
}
|
||||
})
|
||||
},
|
||||
filterHiddenLevels(){
|
||||
this.hiddenLevelTreeList = this.hiddenLevelTreeList.filter(item => item.NAME != '重大隐患' && item.NAME !='轻微隐患');
|
||||
},
|
||||
getHiddenType: function () {
|
||||
var _this = this;
|
||||
uni.request({
|
||||
method: 'POST',
|
||||
dataType: 'json',
|
||||
header: {
|
||||
'Content-type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
url: basePath + '/dictionaries/getLevels',
|
||||
data: {
|
||||
DICTIONARIES_ID: '3babc15144444bdc8d763d0af2bdfff8',
|
||||
CORPINFO_ID:loginUser.CORPINFO_ID,
|
||||
USER_ID:loginUser.USER_ID,
|
||||
},
|
||||
success: function ({data}) {
|
||||
for (let i = 0; i < data.list.length; i++) {
|
||||
if (data.list[i].BIANMA.indexOf(loginUser.PROVINCE) > -1) {
|
||||
_this.getTrainDicList(data.list[i].DICTIONARIES_ID)
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
getTrainDicList(parentId) { // trainDicList
|
||||
var _this = this;
|
||||
uni.request({
|
||||
method: 'POST',
|
||||
dataType: 'json',
|
||||
header: {
|
||||
'Content-type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
url: basePath + '/dictionaries/listAllDictToParId',
|
||||
data: {
|
||||
parentId,
|
||||
CORPINFO_ID:loginUser.CORPINFO_ID,
|
||||
USER_ID:loginUser.USER_ID,
|
||||
},
|
||||
success: function ({data}) {
|
||||
let zTreeNodes = data.zTreeNodes
|
||||
zTreeNodes = zTreeNodes.replace(/"nodes":\[/g, '"children":[')
|
||||
_this.hiddenTypeList = JSON.parse(zTreeNodes)
|
||||
}
|
||||
});
|
||||
},
|
||||
//获取数据字典数据
|
||||
getDict() {
|
||||
var _this = this;
|
||||
|
|
@ -1570,22 +1463,32 @@
|
|||
}
|
||||
})
|
||||
|
||||
uni.request({
|
||||
method: 'POST',
|
||||
dataType: 'json',
|
||||
header: {
|
||||
'Content-type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
url: basePath + '/dictionaries/getLevels?tm=' + new Date().getTime(),
|
||||
data: {
|
||||
DICTIONARIES_ID: '5e7cf8620ba54ad89719d0be62133c7a',
|
||||
},
|
||||
success: function (res) {
|
||||
_this.hiddenLevelTreeList = res.data.list;
|
||||
_this.filterHiddenLevels();
|
||||
}
|
||||
});
|
||||
|
||||
// uni.request({
|
||||
// method: 'POST',
|
||||
// dataType: 'json',
|
||||
// header: {
|
||||
// 'Content-type': 'application/x-www-form-urlencoded'
|
||||
// },
|
||||
// url: basePath + '/dictionaries/listSelectTreeByTkiTree?tm=' + new Date().getTime(),
|
||||
// data: {
|
||||
// DICTIONARIES_ID: '5e7cf8620ba54ad89719d0be62133c7a'
|
||||
// },
|
||||
// success: function(res) {
|
||||
// var data = JSON.parse(res.data.zTreeNodes);
|
||||
// for (let i = 0; i < data.length; i++) {
|
||||
// for (let j = 0; j < data[i].children.length; j++) {
|
||||
// if (data[i].children[j].id == 'jdyh001' || data[i].children[j].id ==
|
||||
// 'hiddenLevel1001') {
|
||||
// data[i].children.splice(j, 1)
|
||||
// }
|
||||
// }
|
||||
// if (data[i].id == 'hiddenLevel0002') {
|
||||
// data.splice(i, 1)
|
||||
// }
|
||||
// }
|
||||
// _this.hiddenLevelTreeList = data
|
||||
// }
|
||||
// })
|
||||
|
||||
uni.request({
|
||||
method: 'POST',
|
||||
|
|
@ -1595,7 +1498,7 @@
|
|||
},
|
||||
url: basePath + '/dictionaries/listSelectTreeByTkiTree?tm=' + new Date().getTime(),
|
||||
data: {
|
||||
DICTIONARIES_ID: 'b4a7325f96af40808ec64c85c162933d'
|
||||
DICTIONARIES_ID: '3babc15144444bdc8d763d0af2bdfff6'
|
||||
},
|
||||
success: function(res) {
|
||||
var jons = res.data.zTreeNodes;
|
||||
|
|
@ -1656,7 +1559,7 @@
|
|||
HIDDENTYPE2_NAME: '',
|
||||
LONGITUDE: '', // 隐患位置经度
|
||||
LATITUDE: '', // 隐患位置纬度
|
||||
CREATTIME: '', // 隐患发现时间
|
||||
DISCOVERYTIME: '', // 隐患发现时间
|
||||
HIDDENFINDDEPT: '', // 隐患发现部门(隐患责任人部门)
|
||||
HIDDENFINDDEPT_NAME: '',
|
||||
CREATOR: '', // 发现人(隐患责任人)
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@
|
|||
<button class="cu-btn bg-green margin-tb-sm lg" @click="goback()">返回
|
||||
</button>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</template>
|
||||
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
</picker>
|
||||
<view class="search-form radius" style="margin-left: 0;">
|
||||
<text class="cuIcon-search"></text>
|
||||
<input @input="InputBlur" placeholder="请输入被检查单位部门关键字"
|
||||
<input @input="InputBlur" placeholder="请输入关键字"
|
||||
confirm-type="search" />
|
||||
|
||||
</view>
|
||||
|
|
|
|||
|
|
@ -245,7 +245,7 @@
|
|||
<view class="picker-tree" @tap="showZgTree('tkiTree3', 3)">{{hiddenForm.HIDDENPART_NAME || '请选择'}}</view>
|
||||
</view>
|
||||
<view v-else class="picker-tree-box">
|
||||
<view>{{ hiddenForm.HIDDENPART }}</view>
|
||||
<view>{{ hiddenForm.HIDDENPART_NAME }}</view>
|
||||
</view>
|
||||
<tki-tree ref="tkiTree3" :selectParent=false :range="hiddenRegionTreeList" rangeKey="name" @confirm="zgtreeConfirm($event,'hiddenRegionTreeList')"
|
||||
@cancel="zgtreeCancel"></tki-tree>
|
||||
|
|
@ -274,31 +274,31 @@
|
|||
@cancel="zgtreeCancel">
|
||||
</tki-tree>
|
||||
</view>
|
||||
<!-- <view class="cu-form-group margin-top">-->
|
||||
<!-- <view class="title">是否相关方</view>-->
|
||||
<!-- <view >{{ hiddenForm.ISRELEVANT=='1'?'是':'否' }}</view>-->
|
||||
<!-- </view>-->
|
||||
<!-- <view class="cu-form-group">-->
|
||||
<!-- <view class="title">隐患部位描述</view>-->
|
||||
<!-- <text>{{ hiddenForm.POSITIONDESC }}</text>-->
|
||||
<!-- </view>-->
|
||||
<view class="cu-form-group margin-top">
|
||||
<view class="title">是否相关方</view>
|
||||
<view >{{ hiddenForm.ISRELEVANT=='1'?'是':'否' }}</view>
|
||||
</view>
|
||||
<view class="cu-form-group">
|
||||
<view class="title">隐患部位描述</view>
|
||||
<text>{{ hiddenForm.POSITIONDESC }}</text>
|
||||
</view>
|
||||
<view class="cu-form-group">
|
||||
<view class="title">隐患发现时间</view>
|
||||
<ruiDatePicker :start="todayDate" :disabled="forbidEdit" fields="minute" :value="hiddenForm.CREATTIME || '请选择'"
|
||||
<ruiDatePicker :start="todayDate" :disabled="forbidEdit" fields="minute" :value="hiddenForm.DISCOVERYTIME || '请选择'"
|
||||
@change="changeDiscoverDate"></ruiDatePicker>
|
||||
</view>
|
||||
<!-- <view class="cu-form-group">-->
|
||||
<!-- <view class="title">隐患上报位置:</view>-->
|
||||
<!-- <button v-if="!forbidEdit" class="cu-btn bg-green shadow" @tap="showMapModal" >定位</button>-->
|
||||
<!-- </view>-->
|
||||
<!-- <view class="cu-form-group" v-if="hiddenForm.LONGITUDE && hiddenForm.LONGITUDE != 'undefined'">-->
|
||||
<!-- <view class="sign-title">经度:</view>-->
|
||||
<!-- <view class="wui-sign-cotent">{{hiddenForm.LONGITUDE}}</view>-->
|
||||
<!-- </view>-->
|
||||
<!-- <view class="cu-form-group" v-if="hiddenForm.LATITUDE && hiddenForm.LATITUDE != 'undefined'">-->
|
||||
<!-- <view class="sign-title">纬度:</view>-->
|
||||
<!-- <view class="wui-sign-cotent">{{hiddenForm.LATITUDE}}</view>-->
|
||||
<!-- </view>-->
|
||||
<view class="cu-form-group">
|
||||
<view class="title">隐患上报位置:</view>
|
||||
<button v-if="!forbidEdit" class="cu-btn bg-green shadow" @tap="showMapModal" >定位</button>
|
||||
</view>
|
||||
<view class="cu-form-group" v-if="hiddenForm.LONGITUDE && hiddenForm.LONGITUDE != 'undefined'">
|
||||
<view class="sign-title">经度:</view>
|
||||
<view class="wui-sign-cotent">{{hiddenForm.LONGITUDE}}</view>
|
||||
</view>
|
||||
<view class="cu-form-group" v-if="hiddenForm.LATITUDE && hiddenForm.LATITUDE != 'undefined'">
|
||||
<view class="sign-title">纬度:</view>
|
||||
<view class="wui-sign-cotent">{{hiddenForm.LATITUDE}}</view>
|
||||
</view>
|
||||
<view class="cu-form-group">
|
||||
<view class="title">隐患发现人</view>
|
||||
<picker @change="creatorChange" :disabled="forbidEdit" :value="hiddenForm.CREATOR_INDEX"
|
||||
|
|
@ -426,7 +426,7 @@
|
|||
HIDDENTYPE2_NAME: '',
|
||||
LONGITUDE: '', // 隐患位置经度
|
||||
LATITUDE: '', // 隐患位置纬度
|
||||
CREATTIME: '', // 隐患发现时间
|
||||
DISCOVERYTIME: '', // 隐患发现时间
|
||||
HIDDENFINDDEPT: '', // 隐患发现部门(隐患责任人部门)
|
||||
HIDDENFINDDEPT_NAME: '',
|
||||
CREATOR: '', // 发现人(隐患责任人)
|
||||
|
|
@ -446,7 +446,7 @@
|
|||
/*{name:'HIDDENTYPE2',message:'请选择隐患类型2'},*/
|
||||
{name:'LONGITUDE',message:'请选择隐患位置'},
|
||||
{name:'LATITUDE',message:'请选择隐患位置'},
|
||||
{name:'CREATTIME',message:'请选择隐患发现时间'},
|
||||
{name:'DISCOVERYTIME',message:'请选择隐患发现时间'},
|
||||
// {name:'HIDDENFINDDEPT',message:'请选择隐患责任人部门'},
|
||||
{name:'CREATOR',message:'请选择隐患责任人'}
|
||||
],
|
||||
|
|
@ -886,6 +886,7 @@
|
|||
var _this = this;
|
||||
let i=e.currentTarget.dataset.index
|
||||
uni.showModal({
|
||||
title: '秦港-双基双控',
|
||||
content: '确定要删除这张图片吗?',
|
||||
cancelColor:"#000000",
|
||||
cancelText: '取消',
|
||||
|
|
@ -969,6 +970,7 @@
|
|||
},
|
||||
DelVideo(e){
|
||||
uni.showModal({
|
||||
title: '秦港-双基双控',
|
||||
content: '确定要删除这个视频吗?',
|
||||
cancelColor: "#000000",
|
||||
cancelText: '取消',
|
||||
|
|
@ -1007,7 +1009,7 @@
|
|||
this.modalShow = true
|
||||
},
|
||||
changeDiscoverDate(e) {
|
||||
this.hiddenForm.CREATTIME = e
|
||||
this.hiddenForm.DISCOVERYTIME = e
|
||||
this.$forceUpdate();//强制刷新
|
||||
},
|
||||
creatorChange(e) {
|
||||
|
|
@ -1203,7 +1205,7 @@
|
|||
LATITUDE: '', // 隐患位置纬度
|
||||
// LONGITUDE: '119.65772151947023', // 隐患位置经度
|
||||
// LATITUDE: '39.93767832107088', // 隐患位置纬度
|
||||
CREATTIME: '', // 隐患发现时间
|
||||
DISCOVERYTIME: '', // 隐患发现时间
|
||||
HIDDENFINDDEPT: '', // 隐患发现部门(隐患责任人部门)
|
||||
HIDDENFINDDEPT_NAME: '',
|
||||
CREATOR: '', // 发现人(隐患责任人)
|
||||
|
|
|
|||
|
|
@ -6,14 +6,9 @@
|
|||
</cu-custom>
|
||||
<scroll-view scroll-y>
|
||||
<view class="de-card-list de-list">
|
||||
<view class="cu-form-group">
|
||||
<view class="title">
|
||||
<text>隐患描述</text>
|
||||
</view>
|
||||
<view>
|
||||
<text>{{pd.HIDDENDESCR}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="de-item">
|
||||
<text class="text-semi">{{pd.HIDDENDESCR}}</text>
|
||||
</view>
|
||||
<!-- <view class="de-title">
|
||||
<text class="text-semi">隐患信息</text>
|
||||
</view> -->
|
||||
|
|
@ -24,8 +19,8 @@
|
|||
<view class="uni-flex-item text-right">
|
||||
<text v-if="pd.SOURCE=='1'" class="text-semi">隐患快报</text>
|
||||
<text v-if="pd.SOURCE=='2' || pd.SOURCE=='3'" class="text-semi">清单排查</text>
|
||||
<text v-if="pd.SOURCE=='4'" class="text-semi">安全环保检查</text>
|
||||
<text v-if="pd.SOURCE=='5'" class="text-semi">安全环保检查</text>
|
||||
<text v-if="pd.SOURCE=='4'" class="text-semi">安全环保检查(监管端)</text>
|
||||
<text v-if="pd.SOURCE=='5'" class="text-semi">安全环保检查(企业端)</text>
|
||||
<text v-if="pd.SOURCE=='6'" class="text-semi">消防检查</text>
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -53,16 +48,16 @@
|
|||
<text class="text-semi">{{pd.RISK_DESCR}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="de-item">-->
|
||||
<!-- <view style="width: 200px" class="de-sub-title">-->
|
||||
<!-- <text class="text-grey" >隐患上报位置(经纬度)</text>-->
|
||||
<!-- </view>-->
|
||||
<!-- <view class="uni-flex-item text-right" v-if="pd.LONGITUDE">-->
|
||||
<!-- <text class="text-semi">-->
|
||||
<!-- {{ pd.LONGITUDE && pd.LONGITUDE.length>6?pd.LONGITUDE.substr(0,6):pd.LONGITUDE}},{{pd.LATITUDE && pd.LATITUDE.length>6?pd.LATITUDE.substr(0,6):pd.LATITUDE}}-->
|
||||
<!-- </text>-->
|
||||
<!-- </view>-->
|
||||
<!-- </view>-->
|
||||
<view class="de-item">
|
||||
<view style="width: 200px" class="de-sub-title">
|
||||
<text class="text-grey" >隐患上报位置(经纬度)</text>
|
||||
</view>
|
||||
<view class="uni-flex-item text-right" v-if="pd.LONGITUDE">
|
||||
<text class="text-semi">
|
||||
{{ pd.LONGITUDE && pd.LONGITUDE.length>6?pd.LONGITUDE.substr(0,6):pd.LONGITUDE}},{{pd.LATITUDE && pd.LATITUDE.length>6?pd.LATITUDE.substr(0,6):pd.LATITUDE}}
|
||||
</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="de-item" v-if="pd.SOURCE==2">
|
||||
<view class="de-sub-title">
|
||||
<text class="text-grey">风险分级</text>
|
||||
|
|
@ -87,14 +82,14 @@
|
|||
<text class="text-semi">{{pd.HIDDENDESCR}}</text>
|
||||
</view>
|
||||
</view> -->
|
||||
<!-- <view class="de-item">-->
|
||||
<!-- <view class="de-sub-title">-->
|
||||
<!-- <text class="text-grey">隐患部位</text>-->
|
||||
<!-- </view>-->
|
||||
<!-- <view class="uni-flex-item text-right">-->
|
||||
<!-- <text class="text-semi">{{pd.hregionName}}</text>-->
|
||||
<!-- </view>-->
|
||||
<!-- </view>-->
|
||||
<view class="de-item">
|
||||
<view class="de-sub-title">
|
||||
<text class="text-grey">隐患部位</text>
|
||||
</view>
|
||||
<view class="uni-flex-item text-right">
|
||||
<text class="text-semi">{{pd.hregionName}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="de-item" v-for="(item, index) in hiddenFindPeople" :key="index">
|
||||
<view class="de-sub-title">
|
||||
<text class="text-grey">隐患发现人</text>
|
||||
|
|
@ -116,7 +111,7 @@
|
|||
<text class="text-grey">隐患类型</text>
|
||||
</view>
|
||||
<view class="uni-flex-item text-right">
|
||||
<text class="text-semi">{{pd.HIDDENTYPE_NAME}}</text>
|
||||
<text class="text-semi">{{pd.HIDDENTYPENAME}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<!--<view class="de-item">
|
||||
|
|
@ -185,14 +180,14 @@
|
|||
<view class="de-title">
|
||||
<text class="text-semi">整改信息</text>
|
||||
</view>
|
||||
<view class="de-item">
|
||||
<view class="de-sub-title">
|
||||
<text class="text-grey">整改描述</text>
|
||||
</view>
|
||||
<view class="uni-flex-item text-right">
|
||||
<text class="text-semi">{{pd.RECTIFYDESCR}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="de-item-sp">
|
||||
<view class="de-sub-title">
|
||||
<text class="text-grey">整改描述</text>
|
||||
</view>
|
||||
<view class="de-sub-content">
|
||||
<text class="text-semi">{{pd.RECTIFYDESCR}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="de-item">
|
||||
<view class="de-sub-title">
|
||||
<text class="text-grey">整改部门</text>
|
||||
|
|
@ -343,30 +338,12 @@
|
|||
</scroll-view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="de-item-sp">
|
||||
<view class="de-sub-title">
|
||||
<text class="text-grey">计划图片</text>
|
||||
</view>
|
||||
<view class="de-sub-content">
|
||||
<scroll-view scroll-x class="bg-white nav" scroll-with-animation>
|
||||
<view class="cu-item" v-for="(item,index) in files5" v-bind:key="index">
|
||||
<view class="imgs">
|
||||
<image :src="baseImgPath+item.FILEPATH" :data-index="index" @click="ViewShowImage5" mode=""></image>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</scroll-view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
|
||||
<view v-show="pd.STATE==4" class="de-card-list de-list" v-for="(item,index) of checkList" :key="index" :data-id="item.HIDDENCHECK_ID">
|
||||
<view class="de-title">
|
||||
<text class="text-semi">验收信息</text>
|
||||
</view>
|
||||
<view class="de-item">
|
||||
<view class="de-item-sp">
|
||||
<view class="de-sub-title">
|
||||
<text class="text-grey">验收描述</text>
|
||||
</view>
|
||||
|
|
@ -435,7 +412,7 @@
|
|||
<text>是</text>
|
||||
</view>
|
||||
<view class="group">
|
||||
<radio class='radio' value="2" :checked="form.FINAL_CHECK==='2'" @click="radioCheck('2')"></radio>
|
||||
<radio class='radio' value="0" :checked="form.FINAL_CHECK==='0'" @click="radioCheck('0')"></radio>
|
||||
<text>否</text>
|
||||
</view>
|
||||
</radio-group>
|
||||
|
|
@ -519,7 +496,6 @@
|
|||
files2: [],
|
||||
files3: [],
|
||||
files4: [],
|
||||
files5: [],
|
||||
checkList: [],
|
||||
CHECKDESCR: '',
|
||||
basePath:basePath,
|
||||
|
|
@ -581,7 +557,6 @@
|
|||
_this.files2 = res.data.rImgs;
|
||||
_this.files3 = res.data.cImgs;
|
||||
_this.files4 = res.data.sImgs;
|
||||
_this.files5 = res.data.pImgs;
|
||||
_this.checkList = res.data.checkList;
|
||||
_this.hiddenVideo = res.data.hiddenVideo;
|
||||
_this.hiddenFindPeople = res.data.hiddenFindPeople
|
||||
|
|
@ -618,7 +593,7 @@
|
|||
},
|
||||
DelImg(e) {
|
||||
uni.showModal({
|
||||
title: '温馨提示',
|
||||
title: '双控平台',
|
||||
content: '确定要删除这张图片吗?',
|
||||
cancelColor: "#000000",
|
||||
cancelText: '取消',
|
||||
|
|
@ -796,26 +771,6 @@
|
|||
current: e.currentTarget.dataset.index
|
||||
});
|
||||
},
|
||||
ViewShowImage5(e) {
|
||||
let files = [];
|
||||
for (var i = 0; i < this.files5.length; i++) {
|
||||
files.push(baseImgPath + this.files5[i].FILEPATH)
|
||||
}
|
||||
uni.previewImage({
|
||||
urls: files,
|
||||
current: e.currentTarget.dataset.index
|
||||
});
|
||||
},
|
||||
ViewShowImages(imgs, index) {
|
||||
let files = [];
|
||||
for (var i = 0; i < imgs.length; i++) {
|
||||
files.push(baseImgPath +imgs[i].FILEPATH)
|
||||
}
|
||||
uni.previewImage({
|
||||
urls: files,
|
||||
current: index
|
||||
});
|
||||
},
|
||||
playVideo(e) {
|
||||
this.videoSrc = e.currentTarget.dataset.src
|
||||
this.modalShow = true
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<view>
|
||||
<cu-custom bgColor="bg-gradual-blueness" :isBack="true">
|
||||
<block slot="backText">返回</block>
|
||||
<block slot="content">安全环保检查指派</block>
|
||||
<block slot="content">安全环保检查指派确认人</block>
|
||||
</cu-custom>
|
||||
<view class="form">
|
||||
<view class="wui-form-list">
|
||||
|
|
@ -14,8 +14,8 @@
|
|||
<text class="title">隐患来源</text>
|
||||
<text v-if="form.SOURCE=='1'" class="text-semi">隐患快报</text>
|
||||
<text v-if="form.SOURCE=='2' || form.SOURCE=='3'" class="text-semi">清单排查</text>
|
||||
<text v-if="form.SOURCE=='4'" class="text-semi">安全环保检查</text>
|
||||
<text v-if="form.SOURCE=='5'" class="text-semi">安全环保检查</text>
|
||||
<text v-if="form.SOURCE=='4'" class="text-semi">安全环保检查(监管端)</text>
|
||||
<text v-if="form.SOURCE=='5'" class="text-semi">安全环保检查(企业端)</text>
|
||||
<text v-if="form.SOURCE=='6'" class="text-semi">消防检查</text>
|
||||
</view>
|
||||
<view class="cu-form-group">
|
||||
|
|
@ -25,35 +25,33 @@
|
|||
<view class="cu-form-group">
|
||||
<text class="title">隐患级别</text>
|
||||
<text class="text-semi">{{ form.HIDDENLEVELNAME }}</text>
|
||||
|
||||
</view>
|
||||
<view class="cu-form-group">
|
||||
<text class="title">隐患类型</text>
|
||||
<text class="text-semi">{{form.HIDDENTYPE_NAME}}</text>
|
||||
<text class="text-semi">{{form.HIDDENTYPENAME}}</text>
|
||||
</view>
|
||||
<view class="cu-form-group">
|
||||
<text class="title">整改类型</text>
|
||||
<text v-if="form.RECTIFICATIONTYPE=='1'" class="text-semi">立即整改</text>
|
||||
<text v-else-if="form.RECTIFICATIONTYPE=='2'" class="text-semi">限期整改</text>
|
||||
</view>
|
||||
<!-- <view v-if="form.RECTIFICATIONTYPE=='2'"class="cu-form-group">-->
|
||||
<!-- <text class="title">整改期限</text>-->
|
||||
<!-- <text class="text-semi">{{form.RECTIFICATIONDEADLINE}}</text>-->
|
||||
<!-- </view>-->
|
||||
<view v-if="form.RECTIFICATIONTYPE=='2'"class="cu-form-group">
|
||||
<text class="title">整改期限</text>
|
||||
<text class="text-semi">{{form.RECTIFICATIONDEADLINE}}</text>
|
||||
</view>
|
||||
<view class="cu-form-group">
|
||||
<text class="title">隐患照片</text>
|
||||
<view class="de-sub-content">
|
||||
<scroll-view scroll-x class="bg-white nav" scroll-with-animation>
|
||||
<view class="cu-item" v-for="(item,index) in files" v-bind:key="index">
|
||||
<view class="imgs" style="width: 80upx;height: 80upx;">
|
||||
<image :src="baseImgPath+item.FILEPATH" :data-index="index"
|
||||
<image :src="baseImgPath+'/'+item.FILEPATH" :data-index="index"
|
||||
@click="ViewShowImage" mode=""></image>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="cu-form-group" >-->
|
||||
<view class="cu-form-group" v-if="hiddenVideo.length>0">
|
||||
<text class="title">隐患视频</text>
|
||||
<view class="de-sub-content" style="background-color: #000;width: 120upx;">
|
||||
|
|
@ -70,26 +68,26 @@
|
|||
<text class="title">发现时间</text>
|
||||
<text class="text-semi">{{form.CREATTIME}}</text>
|
||||
</view>
|
||||
<!-- <view class="cu-form-group">-->
|
||||
<!-- <text class="title">是否相关方</text>-->
|
||||
<!-- <text class="text-semi">{{form.ISRELEVANT =="1"?"是":"否"}}</text>-->
|
||||
<!-- </view>-->
|
||||
<!-- <view class="cu-form-group">-->
|
||||
<!-- <text class="title">隐患上报位置</text>-->
|
||||
<!-- <text class="text-semi">-->
|
||||
<!-- 经度:{{form.LATITUDE&&form.LATITUDE}}-->
|
||||
<!-- 纬度:{{form.LATITUDE&&form.LONGITUDE}}-->
|
||||
<!-- </text>-->
|
||||
<!-- </view>-->
|
||||
<!-- <view class="cu-form-group">-->
|
||||
<!-- <text class="title">隐患位置描述</text>-->
|
||||
<!-- <text class="text-semi">{{ form.POSITIONDESC }}</text>-->
|
||||
<!-- </view>-->
|
||||
<view class="cu-form-group">
|
||||
<text class="title">是否相关方</text>
|
||||
<text class="text-semi">{{form.ISRELEVANT =="1"?"是":"否"}}</text>
|
||||
</view>
|
||||
<view class="cu-form-group">
|
||||
<text class="title">隐患上报位置</text>
|
||||
<text class="text-semi">
|
||||
经度:{{form.LATITUDE&&form.LATITUDE}}
|
||||
纬度:{{form.LATITUDE&&form.LONGITUDE}}
|
||||
</text>
|
||||
</view>
|
||||
<view class="cu-form-group">
|
||||
<text class="title">隐患位置描述</text>
|
||||
<text class="text-semi">{{ form.POSITIONDESC }}</text>
|
||||
</view>
|
||||
|
||||
<!-- <view class="cu-form-group" @click="seeHiddenConfirm=='2'?seeHiddenConfirm='1':seeHiddenConfirm='2'">-->
|
||||
<!-- <text class="title">隐患确认信息 </text>-->
|
||||
<!-- <text class="text-semi"> <a>查看</a></text>-->
|
||||
<!-- </view>-->
|
||||
<view class="cu-form-group" @click="seeHiddenConfirm=='2'?seeHiddenConfirm='1':seeHiddenConfirm='2'">
|
||||
<text class="title">隐患确认信息 </text>
|
||||
<text class="text-semi"> <a>查看</a></text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
|
@ -102,17 +100,11 @@
|
|||
</view>
|
||||
<view class="cu-form-group margin-top">
|
||||
<view class="title">隐患级别</view>
|
||||
<view class="picker-tree-box" >
|
||||
<view class="picker-tree-box">
|
||||
<view class="uni-flex-item text-right">
|
||||
<text class="text-semi">{{item.editLevelName}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<tki-tree ref="hiddenLevenTree"
|
||||
:selectParent=false
|
||||
:range="levelList"
|
||||
rangeKey="name"
|
||||
@confirm="hiddenLevenConfirm"
|
||||
@cancel="hiddentreeCancel"></tki-tree>
|
||||
</view>
|
||||
<view class="cu-form-group margin-top">
|
||||
<view class="title">整改负责人</view>
|
||||
|
|
@ -290,59 +282,21 @@
|
|||
</view>
|
||||
</div>
|
||||
|
||||
<view class="form" >
|
||||
<!-- <view class="form" v-if="HIDDEN_STATUS === '-2' ">-->
|
||||
<view class="form" v-if="HIDDEN_STATUS === '-2' ">
|
||||
<view class="wui-form-list" style="padding: 30upx 20upx;">
|
||||
<view class="title1">
|
||||
安全环保检查隐患指派整改人
|
||||
安全环保检查隐患指派确认人
|
||||
</view>
|
||||
|
||||
|
||||
<view class="cu-form-group margin-top">
|
||||
<view class="title">整改负责人部门</view>
|
||||
<!-- <view class="picker-tree-box">-->
|
||||
<!-- <view class="uni-flex-item text-right">-->
|
||||
<!-- <text class="text-semi">{{ form.RECTIFICATIONDEPTNAME }}</text>-->
|
||||
<!-- </view>-->
|
||||
<!-- </view>-->
|
||||
<view class="picker-tree-box">
|
||||
<view class="picker-tree" @tap="showZgTree('tkiTree1')">
|
||||
{{ form.RECTIFICATIONDEPTNAME || '请选择' }}
|
||||
</view>
|
||||
</view>
|
||||
<tki-tree ref="tkiTree1" :selectParent=true :range="treeNode" rangeKey="name"
|
||||
@confirm="zgtreeConfirm($event,'principalList')"
|
||||
@cancel="zgtreeCancel"></tki-tree>
|
||||
</view>
|
||||
<view class="cu-form-group">
|
||||
<view class="title">整改负责人:</view>
|
||||
<!-- <view class="picker-tree-box">-->
|
||||
<!-- <view class="uni-flex-item text-right">-->
|
||||
<!-- <text class="text-semi">{{ form.RECTIFICATIONORNAME }}</text>-->
|
||||
<!-- </view>-->
|
||||
<!-- </view>-->
|
||||
<picker @change="principalChange" :value="form.PRINCIPAL_INDEX"
|
||||
:range="principalList" range-key="NAME">
|
||||
<view class="picker">
|
||||
{{ form.RECTIFICATIONORNAME || '请选择' }}
|
||||
</view>
|
||||
<view class="cu-form-group margin-top">
|
||||
<view class="title">隐患确认人</view>
|
||||
<picker v-if="HIDDEN_STATUS === '-2'" @change="setConUser" :value="form.conUserIndex"
|
||||
:range="confirmUserAllList" range-key="NAME">
|
||||
<view class="picker">
|
||||
{{form.conUserName?form.conUserName:'请选择'}}
|
||||
</view>
|
||||
</picker>
|
||||
</view>
|
||||
<view class="cu-form-group margin-top">
|
||||
<view class="title">整改期限</view>
|
||||
<picker mode="date" :value="form.RECTIFICATIONDEADLINE" :start="rectifyPlanCompletionStartTime"
|
||||
@change="changeDate">
|
||||
<view class="picker">
|
||||
{{ form.RECTIFICATIONDEADLINE ? form.RECTIFICATIONDEADLINE : '请选择' }}
|
||||
</view>
|
||||
</picker>
|
||||
<!-- <view class="picker-tree-box">-->
|
||||
<!-- <view class="uni-flex-item text-right">-->
|
||||
<!-- <text class="text-semi">{{ form.RECTIFICATIONDEADLINE }}</text>-->
|
||||
<!-- </view>-->
|
||||
<!-- </view>-->
|
||||
</view>
|
||||
|
||||
<text v-else class="text-semi">{{form.conUserName}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="cu-bar btn-group" style="margin-top: 30upx;">
|
||||
|
|
@ -391,42 +345,39 @@
|
|||
baseImgPath: baseImgPath,
|
||||
isUps: false,
|
||||
noClick: true,
|
||||
levelList: [],
|
||||
treeNode: [],//部门下拉数据
|
||||
INSPECTION_ID: '', // 检查ID
|
||||
HIDDEN_ID: '', // 检查ID
|
||||
HIDDEN_STATUS: '', // 检查ID
|
||||
principalList: [],
|
||||
form: {
|
||||
RECTIFICATIONORNAME:'',
|
||||
HIDDENDESCR: '', // 隐患描述
|
||||
CREATORNAME: '', // 隐患责任人
|
||||
HIDDENLEVELNAME: '', // 隐患级别
|
||||
DISCOVERYTIME: '', // 隐患发现时间
|
||||
hregionName: '', // 隐患部位
|
||||
HIDDENPART: '', // 隐患部位
|
||||
HIDDENTYPE_NAME: '', // 隐患类型1
|
||||
HIDDENTYPENAME: '', // 隐患类型1
|
||||
HIDDENTYPENAME2: '', // 隐患类型2
|
||||
LONGITUDE: '', // 隐患坐标经度
|
||||
LATITUDE: '', // 隐患坐标纬度
|
||||
hiddenImgs: [], // 隐患图片
|
||||
hiddenVideos: [], // 隐患视频
|
||||
PRINCIPAL_INDEX: '',
|
||||
|
||||
RECTIFICATIONTYPE: '2', // 隐患处置
|
||||
conUserIndex: '',
|
||||
CONFIRM_USER: '', // 隐患确认人
|
||||
conUserName: '',
|
||||
HIDDEN_ID: '',
|
||||
POSITIONDESC: '',//隐患位置描述
|
||||
POSITIONDESC: '',
|
||||
},// 数据
|
||||
files: [],
|
||||
hiddenVideo: [],
|
||||
confirmUserAllList: [], // 隐患确认人下拉数据
|
||||
videoSrc: '',
|
||||
todayDate: '',
|
||||
modalShow: false,
|
||||
seeHiddenConfirm: '2',
|
||||
hiddenExamineList:[],
|
||||
rectifyPlanCompletionStartTime: '',
|
||||
hiddenExamineList:[]
|
||||
|
||||
}
|
||||
},
|
||||
|
|
@ -439,82 +390,14 @@
|
|||
this.HIDDEN_ID = event.HIDDEN_ID;
|
||||
this.HIDDEN_STATUS = event.HIDDEN_STATUS;
|
||||
this.getData();
|
||||
|
||||
// 初始化现场作业负责人
|
||||
this.getDept()
|
||||
this.getDict()
|
||||
loginSession();
|
||||
this.rectifyPlanCompletionStartTime = formatDate(tomorrow, 'yyyy-MM-dd');
|
||||
|
||||
},
|
||||
methods: {
|
||||
changeDate(e) {
|
||||
this.form.RECTIFICATIONDEADLINE = e.detail.value
|
||||
this.$forceUpdate();//强制刷新
|
||||
},
|
||||
showZgTree(ref) {
|
||||
this.$refs[ref]._show();
|
||||
},
|
||||
principalChange(e) {
|
||||
this.$set(this.form, 'RECTIFICATIONOR', this.principalList[e.detail.value].USER_ID)
|
||||
this.$set(this.form, 'RECTIFICATIONORNAME', this.principalList[e.detail.value].NAME)
|
||||
},
|
||||
zgtreeConfirm(e, list) {
|
||||
if (list === "principalList") {
|
||||
this.$set(this.form, 'RECTIFICATIONDEPT', e[0].id)
|
||||
this.$set(this.form, 'RECTIFICATIONDEPTNAME', e[0].name)
|
||||
this.$set(this.form, 'RECTIFICATIONORNAME', '')
|
||||
}
|
||||
this.getUserList(list, e[0].id);
|
||||
},
|
||||
zgtreeCancel(e) {
|
||||
this.isUps = false;
|
||||
},
|
||||
hiddenLevenConfirm(e) {
|
||||
this.isUps = false;
|
||||
this.pd.HIDDENLEVEL = e[0].id;
|
||||
this.pd.HIDDENLEVELNAME = e[0].name;
|
||||
|
||||
if (e[0].id == 'hiddenLevel1001') {
|
||||
this.showStatus = false
|
||||
} else {
|
||||
this.showStatus = true
|
||||
}
|
||||
},
|
||||
// 取消回调事件
|
||||
hiddentreeCancel(e) {
|
||||
this.isUps = false;
|
||||
},
|
||||
showHiddenLevenTreeTree() {
|
||||
var _this = this;
|
||||
uni.request({
|
||||
method: 'POST',
|
||||
dataType: 'json',
|
||||
header: {
|
||||
'Content-type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
url: basePath + '/dictionaries/listSelectTreeByTkiTree?tm=' + new Date().getTime(),
|
||||
data: {DICTIONARIES_ID: '5e7cf8620ba54ad89719d0be62133c7a'},
|
||||
success: function (res) {
|
||||
// _this.levelList = JSON.parse(data.zTreeNodes) res.data.zTreeNodes;
|
||||
var jons = res.data.zTreeNodes;
|
||||
// var json2 = jons.replace('nodes', 'children');
|
||||
// console.info(json2)
|
||||
var data = JSON.parse(jons);
|
||||
for (let i = 0; i < data.length; i++) {
|
||||
for (let j = 0; j < data[i].children.length; j++) {
|
||||
if (data[i].children[j].id == 'jdyh001') {
|
||||
data[i].children.splice(j, 1)
|
||||
}
|
||||
}
|
||||
if (data[i].id == 'hiddenLevel0002') {
|
||||
data.splice(i, 1)
|
||||
}
|
||||
}
|
||||
_this.levelList = data
|
||||
}
|
||||
});
|
||||
this.isUps = true
|
||||
_this.$refs.hiddenLevenTree._show();
|
||||
},
|
||||
getData() {
|
||||
var _this = this;
|
||||
uni.showLoading({
|
||||
|
|
@ -533,9 +416,7 @@
|
|||
if ("success" == res.data.result) {
|
||||
uni.hideLoading();
|
||||
_this.form = Object.assign(this.form, res.data.pd) //参数map
|
||||
console.info( _this.form,'打印数据')
|
||||
console.log("隐患位置描述:", _this.form.POSITIONDESC);
|
||||
console.log("图片:", res.data.hImgs);
|
||||
console.info( _this.form.conUserName)
|
||||
_this.files = res.data.hImgs;
|
||||
_this.hiddenVideo = res.data.hiddenVideo
|
||||
_this.hiddenExamineList = res.data.hiddenExa
|
||||
|
|
@ -551,7 +432,7 @@
|
|||
ViewShowImage(e) {
|
||||
let files = [];
|
||||
for (var i = 0; i < this.files.length; i++) {
|
||||
files.push(baseImgPath + this.files[i].FILEPATH)
|
||||
files.push(baseImgPath + '/' + this.files[i].FILEPATH)
|
||||
}
|
||||
uni.previewImage({
|
||||
urls: files,
|
||||
|
|
@ -562,109 +443,58 @@
|
|||
this.videoSrc = e.currentTarget.dataset.src
|
||||
this.modalShow = true
|
||||
},
|
||||
submit() {
|
||||
var _this = this;
|
||||
// 在发送请求之前进行非空校验
|
||||
if (!_this.form.RECTIFICATIONDEPT) {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: '整改负责人部门不能为空',
|
||||
duration: 2000
|
||||
});
|
||||
return;
|
||||
}
|
||||
if (!_this.form.RECTIFICATIONOR) {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: '整改负责人不能为空',
|
||||
duration: 2000
|
||||
});
|
||||
return;
|
||||
}
|
||||
if (!_this.form.RECTIFICATIONDEADLINE) {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: '整改期限不能为空',
|
||||
duration: 2000
|
||||
});
|
||||
return;
|
||||
}
|
||||
uni.showLoading({
|
||||
title: '数据保存中'
|
||||
});
|
||||
uni.request({
|
||||
url: basePath + "/app/hidden/confirm",
|
||||
method: 'POST',
|
||||
dataType: 'json',
|
||||
header: {
|
||||
'Content-type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: {
|
||||
..._this.form,
|
||||
CORPINFO_ID: corpinfoId,
|
||||
USER_ID: loginUser.USER_ID,
|
||||
USERNAME: loginUser.NAME,
|
||||
HIDDEN_ID: _this.form.HIDDEN_ID,
|
||||
HIDDENLEVEL: _this.form.HIDDENLEVEL,
|
||||
RECTIFICATIONDEPT: _this.form.RECTIFICATIONDEPT,
|
||||
RECTIFICATIONDEADLINE: _this.form.RECTIFICATIONDEADLINE,
|
||||
RECTIFICATIONOR: _this.form.RECTIFICATIONOR,
|
||||
OPERATOR: loginUser.USER_ID,
|
||||
NAME: loginUser.NAME,
|
||||
HIDDEN_STATUS: this.HIDDEN_STATUS,
|
||||
INSPECTION_ID: this.INSPECTION_ID,
|
||||
HIDDENDESCR: this.form.HIDDENDESCR
|
||||
},
|
||||
success: (res) => {
|
||||
if ("success" == res.data.result) {
|
||||
uni.hideLoading();
|
||||
_this.goback()
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: res.data.msaesge,
|
||||
duration: 2000
|
||||
});
|
||||
setConUser(e) {
|
||||
this.form.conUserIndex = e.detail.value;
|
||||
this.form.CONFIRM_USER = this.confirmUserAllList[e.detail.value].USER_ID;
|
||||
this.form.conUserName = this.confirmUserAllList[e.detail.value].NAME;
|
||||
this.$forceUpdate();//强制刷新
|
||||
},
|
||||
submit() {
|
||||
var _this = this;
|
||||
let required = true
|
||||
uni.showLoading({
|
||||
title: '数据保存中'
|
||||
})
|
||||
if(_this.form.CONFIRM_USER == ""){
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: '请选择确认人',
|
||||
duration: 1500
|
||||
});
|
||||
required = false
|
||||
}
|
||||
},
|
||||
fail: (err) => {
|
||||
uni.hideLoading();
|
||||
uni.showModal({
|
||||
content: err.errMsg,
|
||||
showCancel: false
|
||||
if (!required) {
|
||||
return
|
||||
}
|
||||
uni.request({
|
||||
url: basePath + '/app/hidden/assign',
|
||||
method: 'POST',
|
||||
dataType: 'json',
|
||||
header: {
|
||||
'Content-type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: {
|
||||
..._this.form,
|
||||
OPERATOR: loginUser.USER_ID,
|
||||
NAME: loginUser.NAME,
|
||||
CORPINFO_ID: corpinfoId,
|
||||
HIDDEN_STATUS: this.HIDDEN_STATUS,
|
||||
INSPECTION_ID: this.INSPECTION_ID,
|
||||
HIDDENDESCR: this.form.HIDDENDESCR
|
||||
},
|
||||
success: (res) => {
|
||||
if ("success" == res.data.result) {
|
||||
uni.hideLoading();
|
||||
_this.goback()
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: res.data.msaesge,
|
||||
duration: 2000
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
// // 提交请求
|
||||
// uni.request({
|
||||
// url: basePath + '/app/hidden/assign',
|
||||
// method: 'POST',
|
||||
// dataType: 'json',
|
||||
// header: {
|
||||
// 'Content-type': 'application/x-www-form-urlencoded'
|
||||
// },
|
||||
// data: {
|
||||
// ..._this.form,
|
||||
// OPERATOR: loginUser.USER_ID,
|
||||
// NAME: loginUser.NAME,
|
||||
// CORPINFO_ID: corpinfoId,
|
||||
// HIDDEN_STATUS: this.HIDDEN_STATUS,
|
||||
// INSPECTION_ID: this.INSPECTION_ID,
|
||||
// HIDDENDESCR: this.form.HIDDENDESCR
|
||||
// },
|
||||
// success: (res) => {
|
||||
// if ("success" == res.data.result) {
|
||||
// uni.hideLoading();
|
||||
// _this.goback()
|
||||
// } else {
|
||||
// uni.showToast({
|
||||
// title: res.data.msaesge,
|
||||
// duration: 2000
|
||||
// });
|
||||
// }
|
||||
// }
|
||||
// });
|
||||
},
|
||||
},
|
||||
|
||||
getDept() {
|
||||
var _this = this;
|
||||
|
|
@ -721,6 +551,35 @@
|
|||
}
|
||||
})
|
||||
},
|
||||
//获取数据字典数据
|
||||
getDict() {
|
||||
var _this = this;
|
||||
|
||||
uni.request({
|
||||
method: 'POST',
|
||||
dataType: 'json',
|
||||
header: {
|
||||
'Content-type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
url: basePath + '/app/user/getHiddenConfirm',
|
||||
data: {
|
||||
corpinfoId: corpinfoId,
|
||||
IS_HAZARDCONFIRMER: '1',
|
||||
tm: new Date().getTime()
|
||||
},
|
||||
success: function (res) {
|
||||
if ("success" == res.data.result) {
|
||||
_this.confirmUserAllList = res.data.userList;
|
||||
_this.$forceUpdate();//强制刷新
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: res.data.message,
|
||||
duration: 2000
|
||||
});
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
goback() {
|
||||
var pages = getCurrentPages(); // 获取当前页面栈
|
||||
|
|
@ -757,6 +616,7 @@
|
|||
},
|
||||
downloadAppendix(DISPOSAL_FILE) {
|
||||
plus.runtime.openURL(this.baseImgPath + DISPOSAL_FILE, function (res) {
|
||||
console.log(res);
|
||||
});
|
||||
},
|
||||
}
|
||||
|
|
@ -766,12 +626,12 @@
|
|||
<style>
|
||||
.title1 {
|
||||
font-weight: bold;
|
||||
padding-left: 10upx;
|
||||
padding-left: 10 upx;
|
||||
border-left: 4px solid #0081FF;
|
||||
}
|
||||
|
||||
.imgs {
|
||||
width: 80upx !important;
|
||||
height: 80upx !important;
|
||||
width: 80 upx !important;
|
||||
height: 80 upx !important;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -176,7 +176,7 @@
|
|||
<view class="cu-form-group">
|
||||
<view class="grid col-4 grid-square flex-sub">
|
||||
<view class="bg-img" v-for="(item,index) in hiddenForm.hiddenImgs" :key="item.IMGFILES_ID" @tap="ViewImage" data-type="0" :data-url="item.FILEPATH">
|
||||
<image :src="baseImgPath + item.FILEPATH" mode="aspectFill"></image>
|
||||
<image :src="baseImgPath+ '/' + item.FILEPATH" mode="aspectFill"></image>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -204,10 +204,10 @@
|
|||
<view class="title">隐患部位</view>
|
||||
<text>{{ hiddenForm.HIDDENPART_NAME?hiddenForm.HIDDENPART_NAME:hiddenForm.HIDDENPART }}</text>
|
||||
</view>
|
||||
<!-- <view class="cu-form-textarea">-->
|
||||
<!-- <view class="cu-form-title text-hui">隐患位置描述</view>-->
|
||||
<!-- <textarea maxlength="-1" :disabled="true" v-model="hiddenForm.POSITIONDESC" placeholder="请对隐患进行详细描述(必填项)"></textarea>-->
|
||||
<!-- </view>-->
|
||||
<view class="cu-form-textarea">
|
||||
<view class="cu-form-title text-hui">隐患位置描述</view>
|
||||
<textarea maxlength="-1" :disabled="true" v-model="hiddenForm.POSITIONDESC" placeholder="请对隐患进行详细描述(必填项)"></textarea>
|
||||
</view>
|
||||
|
||||
<view class="cu-form-group">
|
||||
<view class="title">隐患级别</view>
|
||||
|
|
@ -223,29 +223,29 @@
|
|||
<view class="title">隐患类型2</view>
|
||||
<text>{{ hiddenForm.HIDDENTYPE2_NAME }}</text>
|
||||
</view>-->
|
||||
<!-- <view class="cu-form-group">-->
|
||||
<!-- <text class="title">是否相关方</text>-->
|
||||
<view class="cu-form-group">
|
||||
<text class="title">是否相关方</text>
|
||||
|
||||
<!-- <view class="uni-flex-item text-right">-->
|
||||
<!-- <text v-if="hiddenForm.ISRELEVANT=='1'" class="text-semi">是</text>-->
|
||||
<!-- <text v-else-if="hiddenForm.ISRELEVANT=='2'" class="text-semi">否</text>-->
|
||||
<!-- </view>-->
|
||||
<!-- </view>-->
|
||||
<view class="uni-flex-item text-right">
|
||||
<text v-if="hiddenForm.ISRELEVANT=='1'" class="text-semi">是</text>
|
||||
<text v-else-if="hiddenForm.ISRELEVANT=='2'" class="text-semi">否</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="cu-form-group">
|
||||
<view class="title">隐患发现时间</view>
|
||||
<text>{{ hiddenForm.CREATTIME }}</text>
|
||||
<text>{{ hiddenForm.DISCOVERYTIME }}</text>
|
||||
</view>
|
||||
<view class="cu-form-group">
|
||||
<view class="title">隐患上报位置:</view>
|
||||
</view>
|
||||
<view class="cu-form-group" v-if="hiddenForm.LONGITUDE && hiddenForm.LONGITUDE != 'undefined'">
|
||||
<view class="sign-title">经度:</view>
|
||||
<view class="wui-sign-cotent">{{hiddenForm.LONGITUDE}}</view>
|
||||
</view>
|
||||
<view class="cu-form-group" v-if="hiddenForm.LATITUDE && hiddenForm.LATITUDE != 'undefined'">
|
||||
<view class="sign-title">纬度:</view>
|
||||
<view class="wui-sign-cotent">{{hiddenForm.LATITUDE}}</view>
|
||||
</view>
|
||||
<!-- <view class="cu-form-group">-->
|
||||
<!-- <view class="title">隐患上报位置:</view>-->
|
||||
<!-- </view>-->
|
||||
<!-- <view class="cu-form-group" v-if="hiddenForm.LONGITUDE && hiddenForm.LONGITUDE != 'undefined'">-->
|
||||
<!-- <view class="sign-title">经度:</view>-->
|
||||
<!-- <view class="wui-sign-cotent">{{hiddenForm.LONGITUDE}}</view>-->
|
||||
<!-- </view>-->
|
||||
<!-- <view class="cu-form-group" v-if="hiddenForm.LATITUDE && hiddenForm.LATITUDE != 'undefined'">-->
|
||||
<!-- <view class="sign-title">纬度:</view>-->
|
||||
<!-- <view class="wui-sign-cotent">{{hiddenForm.LATITUDE}}</view>-->
|
||||
<!-- </view>-->
|
||||
<view class="cu-form-group">
|
||||
<view class="title">隐患发现人</view>
|
||||
<text>
|
||||
|
|
@ -375,7 +375,7 @@ export default {
|
|||
HIDDENTYPE2_NAME: '',
|
||||
LONGITUDE: '', // 隐患位置经度
|
||||
LATITUDE: '', // 隐患位置纬度
|
||||
CREATTIME: '', // 隐患发现时间
|
||||
DISCOVERYTIME: '', // 隐患发现时间
|
||||
HIDDENFINDDEPT: '', // 隐患发现部门(隐患责任人部门)
|
||||
HIDDENFINDDEPT_NAME: '',
|
||||
CREATOR: '', // 发现人(隐患责任人)
|
||||
|
|
@ -395,7 +395,7 @@ export default {
|
|||
/*{name:'HIDDENTYPE2',message:'请选择隐患类型2'},*/
|
||||
{name:'LONGITUDE',message:'请选择隐患位置'},
|
||||
{name:'LATITUDE',message:'请选择隐患位置'},
|
||||
{name:'CREATTIME',message:'请选择隐患发现时间'},
|
||||
{name:'DISCOVERYTIME',message:'请选择隐患发现时间'},
|
||||
// {name:'HIDDENFINDDEPT',message:'请选择隐患责任人部门'},
|
||||
{name:'CREATOR',message:'请选择隐患责任人'}
|
||||
],
|
||||
|
|
@ -457,6 +457,17 @@ export default {
|
|||
uni.navigateBack({delta: 1});
|
||||
uni.hideLoading();
|
||||
},
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
uploadImg(hiddenList){
|
||||
return new Promise((resolve, reject) => {
|
||||
var _this = this;
|
||||
|
|
@ -882,7 +893,7 @@ export default {
|
|||
HIDDENTYPE2_NAME: '',
|
||||
LONGITUDE: '', // 隐患位置经度
|
||||
LATITUDE: '', // 隐患位置纬度
|
||||
CREATTIME: '', // 隐患发现时间
|
||||
DISCOVERYTIME: '', // 隐患发现时间
|
||||
HIDDENFINDDEPT: '', // 隐患发现部门(隐患责任人部门)
|
||||
HIDDENFINDDEPT_NAME: '',
|
||||
CREATOR: '', // 发现人(隐患责任人)
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@
|
|||
{ ID: '', NAME: '请选择' },
|
||||
{ ID: '1', NAME: '待整改' },
|
||||
{ ID: '2', NAME: '待验收' },
|
||||
{ ID: '3', NAME: '已整改' },
|
||||
{ ID: '3', NAME: '已复查' },
|
||||
{ ID: '4', NAME: '已验收' },
|
||||
{ ID: '5', NAME: '忽略隐患' },
|
||||
{ ID: '6', NAME: '重大隐患' },
|
||||
|
|
@ -94,7 +94,7 @@
|
|||
{ ID: '16', NAME: '确认打回' },
|
||||
{ ID: '100', NAME: '安全环保检查暂存的隐患' },
|
||||
{ ID: '100', NAME: '检查已归档,待指派' },
|
||||
{ ID: '101', NAME: '待指派整改人' },
|
||||
{ ID: '101', NAME: '待指派确认人' },
|
||||
{ ID: '-1', NAME: '已过期' },
|
||||
{ ID: '-2', NAME: '待确认' }
|
||||
],
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
<view class="cu-bar search bg-white">
|
||||
<view class="search-form radius">
|
||||
<text class="cuIcon-search"></text>
|
||||
<input @input="InputBlur" placeholder="请输入被检查单位部门关键字"
|
||||
<input @input="InputBlur" placeholder="请输入关键字"
|
||||
confirm-type="search" />
|
||||
|
||||
</view>
|
||||
|
|
|
|||
|
|
@ -125,6 +125,7 @@
|
|||
}
|
||||
})
|
||||
},
|
||||
<<<<<<<< HEAD:pages/application/safety-environmental-inspection/home.vue
|
||||
getData(){
|
||||
var _this = this;
|
||||
uni.showLoading({
|
||||
|
|
@ -156,6 +157,35 @@
|
|||
}
|
||||
})
|
||||
},
|
||||
========
|
||||
// getData(){
|
||||
// var _this = this;
|
||||
// uni.showLoading({
|
||||
// title:"加载中..."
|
||||
// });//加载中动画
|
||||
// uni.request({
|
||||
// url: basePath +'/app/breakground/countCheck',
|
||||
// method: 'POST',
|
||||
// dataType: 'json',
|
||||
// header: {
|
||||
// 'Content-type':'application/x-www-form-urlencoded'
|
||||
// },
|
||||
// data: {
|
||||
// tm:new Date().getTime(),
|
||||
// CORPINFO_ID:loginUser.CORPINFO_ID,
|
||||
// USER_ID:loginUser.USER_ID,
|
||||
// },
|
||||
// success: (res) => {
|
||||
// uni.hideLoading();//结束加载中动画
|
||||
// if ("success" == res.data.result) {
|
||||
// _this.count = res.data.count;
|
||||
// _this.$forceUpdate()
|
||||
// }
|
||||
//
|
||||
// }
|
||||
// })
|
||||
// },
|
||||
>>>>>>>> origin/master:pages/application/break-ground/home.vue
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -125,7 +125,7 @@
|
|||
<view class="title">检查人签字:</view>
|
||||
<view>
|
||||
<view>
|
||||
<image :src="baseImgPath + item.INSPECTION_USER_SIGN_IMG" style="width: 180upx;height: 100upx"></image>
|
||||
<image :src="baseImgPath+ '/' + item.INSPECTION_USER_SIGN_IMG" style="width: 180upx;height: 100upx"></image>
|
||||
</view>
|
||||
<view style="text-align: center">{{item.INSPECTION_USER_SIGN_TIME}}</view>
|
||||
</view>
|
||||
|
|
@ -220,10 +220,10 @@
|
|||
<text>{{ hiddenForm.HIDDENPART_NAME?hiddenForm.HIDDENPART_NAME:hiddenForm.HIDDENPART }}</text>
|
||||
</view>
|
||||
|
||||
<!-- <view class="cu-form-group">-->
|
||||
<!-- <view class="title">隐患位置描述</view>-->
|
||||
<!-- <text>{{ hiddenForm.POSITIONDESC }}</text>-->
|
||||
<!-- </view>-->
|
||||
<view class="cu-form-group">
|
||||
<view class="title">隐患位置描述</view>
|
||||
<text>{{ hiddenForm.POSITIONDESC }}</text>
|
||||
</view>
|
||||
|
||||
<view class="cu-form-group">
|
||||
<view class="title">隐患级别</view>
|
||||
|
|
@ -235,10 +235,10 @@
|
|||
<text>{{ hiddenForm.HIDDENTYPE_NAME }}</text>
|
||||
</view>
|
||||
|
||||
<!-- <view class="cu-form-group">-->
|
||||
<!-- <view class="title">是否相关方</view>-->
|
||||
<!-- <text>{{ hiddenForm.ISRELEVANT == '1'?'是':'否' }}</text>-->
|
||||
<!-- </view>-->
|
||||
<view class="cu-form-group">
|
||||
<view class="title">是否相关方</view>
|
||||
<text>{{ hiddenForm.ISRELEVANT == '1'?'是':'否' }}</text>
|
||||
</view>
|
||||
|
||||
|
||||
<!--<view class="cu-form-group">
|
||||
|
|
@ -247,19 +247,19 @@
|
|||
</view>-->
|
||||
<view class="cu-form-group">
|
||||
<view class="title">隐患发现时间</view>
|
||||
<text>{{ hiddenForm.CREATTIME }}</text>
|
||||
<text>{{ hiddenForm.DISCOVERYTIME }}</text>
|
||||
</view>
|
||||
<view class="cu-form-group">
|
||||
<view class="title">隐患上报位置:</view>
|
||||
</view>
|
||||
<view class="cu-form-group" v-if="hiddenForm.LONGITUDE && hiddenForm.LONGITUDE != 'undefined'">
|
||||
<view class="sign-title">经度:</view>
|
||||
<view class="wui-sign-cotent">{{hiddenForm.LONGITUDE}}</view>
|
||||
</view>
|
||||
<view class="cu-form-group" v-if="hiddenForm.LATITUDE && hiddenForm.LATITUDE != 'undefined'">
|
||||
<view class="sign-title">纬度:</view>
|
||||
<view class="wui-sign-cotent">{{hiddenForm.LATITUDE}}</view>
|
||||
</view>
|
||||
<!-- <view class="cu-form-group">-->
|
||||
<!-- <view class="title">隐患上报位置:</view>-->
|
||||
<!-- </view>-->
|
||||
<!-- <view class="cu-form-group" v-if="hiddenForm.LONGITUDE && hiddenForm.LONGITUDE != 'undefined'">-->
|
||||
<!-- <view class="sign-title">经度:</view>-->
|
||||
<!-- <view class="wui-sign-cotent">{{hiddenForm.LONGITUDE}}</view>-->
|
||||
<!-- </view>-->
|
||||
<!-- <view class="cu-form-group" v-if="hiddenForm.LATITUDE && hiddenForm.LATITUDE != 'undefined'">-->
|
||||
<!-- <view class="sign-title">纬度:</view>-->
|
||||
<!-- <view class="wui-sign-cotent">{{hiddenForm.LATITUDE}}</view>-->
|
||||
<!-- </view>-->
|
||||
<view class="cu-form-group">
|
||||
<view class="title">隐患发现人</view>
|
||||
<text>
|
||||
|
|
@ -347,8 +347,7 @@
|
|||
INSPECTION_DEPARTMENT_NAME: '',
|
||||
INSPECTION_USER_ID: '', //检查人员ID
|
||||
INSPECTION_USER_INDEX: '',
|
||||
INSPECTION_USER_NAME: '',
|
||||
INSPECTION_USER_SIGN_IMG: '',
|
||||
INSPECTION_USER_NAME: ''
|
||||
}], // 检查人员
|
||||
inspectorVerifyList: [],
|
||||
situationList:
|
||||
|
|
@ -391,7 +390,7 @@
|
|||
HIDDENTYPE2_NAME: '',
|
||||
LONGITUDE: '', // 隐患位置经度
|
||||
LATITUDE: '', // 隐患位置纬度
|
||||
CREATTIME: '', // 隐患发现时间
|
||||
DISCOVERYTIME: '', // 隐患发现时间
|
||||
HIDDENFINDDEPT: '', // 隐患发现部门(隐患责任人部门)
|
||||
HIDDENFINDDEPT_NAME: '',
|
||||
CREATOR: '', // 发现人(隐患责任人)
|
||||
|
|
@ -414,7 +413,7 @@
|
|||
/*{name:'HIDDENTYPE2',message:'请选择隐患类型2'},*/
|
||||
{name:'LONGITUDE',message:'请选择隐患位置'},
|
||||
{name:'LATITUDE',message:'请选择隐患位置'},
|
||||
{name:'CREATTIME',message:'请选择隐患发现时间'},
|
||||
{name:'DISCOVERYTIME',message:'请选择隐患发现时间'},
|
||||
// {name:'HIDDENFINDDEPT',message:'请选择隐患责任人部门'},
|
||||
{name:'CREATOR',message:'请选择隐患发现人'}
|
||||
],
|
||||
|
|
@ -468,10 +467,6 @@
|
|||
if ("success" == res.data.result) {
|
||||
uni.hideLoading();
|
||||
_this.form = res.data.pd; //参数map
|
||||
console.log("打印后端响应数据:",res.data.pd)
|
||||
_this.form.inspectorList.forEach((inspector, index) => {
|
||||
console.log(`检查人员${index + 1}签字信息:`, inspector);
|
||||
});
|
||||
for (let i = 0; i < _this.form.inspectorList.length; i++) {
|
||||
_this.inspectorList.push([])
|
||||
_this.getUserList('inspectorList', _this.form.inspectorList[i].INSPECTION_DEPARTMENT_ID, i)
|
||||
|
|
@ -502,6 +497,7 @@
|
|||
var _this = this;
|
||||
let i = e.currentTarget.dataset.index
|
||||
uni.showModal({
|
||||
title: '秦港-双基双控',
|
||||
content: '确定要删除这张图片吗?',
|
||||
cancelColor: "#000000",
|
||||
cancelText: '取消',
|
||||
|
|
@ -842,7 +838,7 @@
|
|||
this.modalShow1 = true
|
||||
},
|
||||
changeDiscoverDate(e) {
|
||||
this.hiddenForm.CREATTIME = e
|
||||
this.hiddenForm.DISCOVERYTIME = e
|
||||
this.$forceUpdate();//强制刷新
|
||||
},
|
||||
creatorChange(e) {
|
||||
|
|
@ -1018,7 +1014,7 @@
|
|||
HIDDENTYPE2_NAME: '',
|
||||
LONGITUDE: '', // 隐患位置经度
|
||||
LATITUDE: '', // 隐患位置纬度
|
||||
CREATTIME: '', // 隐患发现时间
|
||||
DISCOVERYTIME: '', // 隐患发现时间
|
||||
HIDDENFINDDEPT: '', // 隐患发现部门(隐患责任人部门)
|
||||
HIDDENFINDDEPT_NAME: '',
|
||||
CREATOR: '', // 发现人(隐患责任人)
|
||||
|
|
|
|||
|
|
@ -137,6 +137,7 @@
|
|||
</view>
|
||||
<view class="form">
|
||||
<view class="wui-form-list">
|
||||
|
||||
<view class="cu-form-group" v-if="!forbidEdit">
|
||||
<view class="title">核实结果:</view>
|
||||
<radio-group @change="changeRadioGroup($event)">
|
||||
|
|
@ -220,10 +221,10 @@
|
|||
<view class="title">隐患部位</view>
|
||||
<text>{{ hiddenForm.HIDDENPART_NAME?hiddenForm.HIDDENPART_NAME:hiddenForm.HIDDENPART }}</text>
|
||||
</view>
|
||||
<!-- <view class="cu-form-group">-->
|
||||
<!-- <view class="title">隐患部位描述</view>-->
|
||||
<!-- <text>{{ hiddenForm.POSITIONDESC }}</text>-->
|
||||
<!-- </view>-->
|
||||
<view class="cu-form-group">
|
||||
<view class="title">隐患部位描述</view>
|
||||
<text>{{ hiddenForm.POSITIONDESC }}</text>
|
||||
</view>
|
||||
|
||||
<view class="cu-form-group">
|
||||
<view class="title">隐患级别</view>
|
||||
|
|
@ -232,27 +233,27 @@
|
|||
|
||||
<view class="cu-form-group">
|
||||
<view class="title">隐患类型</view>
|
||||
<text>{{ hiddenForm.HIDDENTYPE_NAME || hiddenForm.HIDDENTYPE2_NAME }}</text>
|
||||
<text>{{ hiddenForm.HIDDENTYPE_NAME }}</text>
|
||||
</view>
|
||||
<!-- <view class="cu-form-group">-->
|
||||
<!-- <view class="title">是否相关方</view>-->
|
||||
<!-- <text>{{ hiddenForm.ISRELEVANT == '1'?'是':'否' }}</text>-->
|
||||
<!-- </view>-->
|
||||
<view class="cu-form-group">
|
||||
<view class="title">是否相关方</view>
|
||||
<text>{{ hiddenForm.ISRELEVANT == '1'?'是':'否' }}</text>
|
||||
</view>
|
||||
<view class="cu-form-group">
|
||||
<view class="title">隐患发现时间</view>
|
||||
<text>{{ hiddenForm.CREATTIME }}</text>
|
||||
<text>{{ hiddenForm.DISCOVERYTIME }}</text>
|
||||
</view>
|
||||
<view class="cu-form-group">
|
||||
<view class="title">隐患上报位置:</view>
|
||||
</view>
|
||||
<view class="cu-form-group" v-if="hiddenForm.LONGITUDE && hiddenForm.LONGITUDE != 'undefined'">
|
||||
<view class="sign-title">经度:</view>
|
||||
<view class="wui-sign-cotent">{{hiddenForm.LONGITUDE}}</view>
|
||||
</view>
|
||||
<view class="cu-form-group" v-if="hiddenForm.LATITUDE && hiddenForm.LATITUDE != 'undefined'">
|
||||
<view class="sign-title">纬度:</view>
|
||||
<view class="wui-sign-cotent">{{hiddenForm.LATITUDE}}</view>
|
||||
</view>
|
||||
<!-- <view class="cu-form-group">-->
|
||||
<!-- <view class="title">隐患上报位置:</view>-->
|
||||
<!-- </view>-->
|
||||
<!-- <view class="cu-form-group" v-if="hiddenForm.LONGITUDE && hiddenForm.LONGITUDE != 'undefined'">-->
|
||||
<!-- <view class="sign-title">经度:</view>-->
|
||||
<!-- <view class="wui-sign-cotent">{{hiddenForm.LONGITUDE}}</view>-->
|
||||
<!-- </view>-->
|
||||
<!-- <view class="cu-form-group" v-if="hiddenForm.LATITUDE && hiddenForm.LATITUDE != 'undefined'">-->
|
||||
<!-- <view class="sign-title">纬度:</view>-->
|
||||
<!-- <view class="wui-sign-cotent">{{hiddenForm.LATITUDE}}</view>-->
|
||||
<!-- </view>-->
|
||||
<view class="cu-form-group">
|
||||
<view class="title">隐患发现人</view>
|
||||
<text>
|
||||
|
|
@ -382,7 +383,7 @@
|
|||
HIDDENTYPE2_NAME: '',
|
||||
LONGITUDE: '', // 隐患位置经度
|
||||
LATITUDE: '', // 隐患位置纬度
|
||||
CREATTIME: '', // 隐患发现时间
|
||||
DISCOVERYTIME: '', // 隐患发现时间
|
||||
HIDDENFINDDEPT: '', // 隐患发现部门(隐患责任人部门)
|
||||
HIDDENFINDDEPT_NAME: '',
|
||||
CREATOR: '', // 发现人(隐患责任人)
|
||||
|
|
@ -404,7 +405,7 @@
|
|||
/*{name:'HIDDENTYPE2',message:'请选择隐患类型2'},*/
|
||||
{name:'LONGITUDE',message:'请选择隐患位置'},
|
||||
{name:'LATITUDE',message:'请选择隐患位置'},
|
||||
{name:'CREATTIME',message:'请选择隐患发现时间'},
|
||||
{name:'DISCOVERYTIME',message:'请选择隐患发现时间'},
|
||||
// {name:'HIDDENFINDDEPT',message:'请选择隐患责任人部门'},
|
||||
{name:'CREATOR',message:'请选择隐患责任人'}
|
||||
],
|
||||
|
|
@ -464,7 +465,6 @@
|
|||
if ("success" == res.data.result) {
|
||||
uni.hideLoading();
|
||||
_this.form = res.data.pd; //参数map
|
||||
_this.form.hiddenForm = res.data.pd.hiddenList[0];
|
||||
for (let i = 0; i < _this.form.inspectorList.length; i++) {
|
||||
_this.inspectorList.push([])
|
||||
_this.getUserList('inspectorList', _this.form.inspectorList[i].INSPECTION_DEPARTMENT_ID, i)
|
||||
|
|
@ -489,7 +489,6 @@
|
|||
subCanvas (e) {
|
||||
this.signImgList.splice(0, this.signImgList.length);
|
||||
this.signImgList.push(e);
|
||||
this.inspectorForm.INSPECTION_USER_SIGN_IMG = e.filePath;
|
||||
this.$set(this.inspectorForm, 'INSPECTION_USER_SIGN_TIME', formatDate(new Date(), 'yyyy-MM-dd hh:mm'))
|
||||
this.modalShow = false;
|
||||
},
|
||||
|
|
@ -497,6 +496,7 @@
|
|||
var _this = this;
|
||||
let i = e.currentTarget.dataset.index
|
||||
uni.showModal({
|
||||
title: '秦港-双基双控',
|
||||
content: '确定要删除这张图片吗?',
|
||||
cancelColor: "#000000",
|
||||
cancelText: '取消',
|
||||
|
|
@ -571,6 +571,7 @@
|
|||
}
|
||||
})
|
||||
},
|
||||
|
||||
changeStartDate(e) {
|
||||
this.form.INSPECTION_TIME_START = e
|
||||
this.$forceUpdate();//强制刷新
|
||||
|
|
@ -615,19 +616,19 @@
|
|||
this.hiddenForm.HIDDENPART = e[0].id
|
||||
this.hiddenForm.HIDDENPART_NAME = e[0].name
|
||||
}
|
||||
if (list === 'hiddenLevelTreeList') {
|
||||
if (list === 'hiddenLevelTreeList') { // 隐患级别
|
||||
this.hiddenForm.HIDDENLEVEL = e[0].id
|
||||
this.hiddenForm.HIDDENLEVEL_NAME = e[0].name
|
||||
}
|
||||
if (list === 'hiddenTypeTreeList') {
|
||||
if (list === 'hiddenTypeTreeList') { // 隐患级别
|
||||
this.hiddenForm.HIDDENTYPE = e[0].id
|
||||
this.hiddenForm.HIDDENTYPE_NAME = e[0].name
|
||||
}
|
||||
if (list === 'hiddenType2TreeList') {
|
||||
if (list === 'hiddenType2TreeList') { // 隐患级别
|
||||
this.hiddenForm.HIDDENTYPE2 = e[0].id
|
||||
this.hiddenForm.HIDDENTYPE2_NAME = e[0].name
|
||||
}
|
||||
if (list === 'creatorList') {
|
||||
if (list === 'creatorList') { // 隐患级别
|
||||
this.hiddenForm.HIDDENFINDDEPT = e[0].id
|
||||
this.hiddenForm.HIDDENFINDDEPT_NAME = e[0].name
|
||||
this.hiddenForm.CREATOR_INDEX = ''
|
||||
|
|
@ -725,6 +726,7 @@
|
|||
},
|
||||
ViewImage(e) {
|
||||
if(e.currentTarget.dataset.type==0) {
|
||||
console.info(33333)
|
||||
let files =[];
|
||||
for(var i=0;i<this.hiddenForm.hiddenImgs.length;i++){
|
||||
files.push(this.baseImgPath + this.hiddenForm.hiddenImgs[i].FILEPATH)
|
||||
|
|
@ -754,7 +756,7 @@
|
|||
this.modalVideoShow = true
|
||||
},
|
||||
changeDiscoverDate(e) {
|
||||
this.hiddenForm.CREATTIME = e
|
||||
this.hiddenForm.DISCOVERYTIME = e
|
||||
this.$forceUpdate();//强制刷新
|
||||
},
|
||||
creatorChange(e) {
|
||||
|
|
@ -864,6 +866,7 @@
|
|||
if("success" == res.data.result){
|
||||
var json = res.data.zTreeNodes
|
||||
_this.hiddenRegionTreeList = JSON.parse(json) ;
|
||||
console.log('打印!!!:', _this.hiddenRegionTreeList);
|
||||
}else{
|
||||
uni.showToast({
|
||||
title: res.data.message,
|
||||
|
|
@ -938,7 +941,7 @@
|
|||
HIDDENTYPE2_NAME: '',
|
||||
LONGITUDE: '', // 隐患位置经度
|
||||
LATITUDE: '', // 隐患位置纬度
|
||||
CREATTIME: '', // 隐患发现时间
|
||||
DISCOVERYTIME: '', // 隐患发现时间
|
||||
HIDDENFINDDEPT: '', // 隐患发现部门(隐患责任人部门)
|
||||
HIDDENFINDDEPT_NAME: '',
|
||||
CREATOR: '', // 发现人(隐患责任人)
|
||||
|
|
|
|||
|
|
@ -478,7 +478,7 @@
|
|||
},
|
||||
DelImg(e) {
|
||||
uni.showModal({
|
||||
title: '温馨提示',
|
||||
title: '双控平台',
|
||||
content: '确定要删除这张图片吗?',
|
||||
cancelColor: "#000000",
|
||||
cancelText: '取消',
|
||||
|
|
@ -514,7 +514,7 @@
|
|||
},
|
||||
DelImg_fa(e) {
|
||||
uni.showModal({
|
||||
title: '温馨提示',
|
||||
title: '双控平台',
|
||||
content: '确定要删除这张图片吗?',
|
||||
cancelColor: "#000000",
|
||||
cancelText: '取消',
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -5,9 +5,9 @@
|
|||
<block slot="content">设置密码</block>
|
||||
</cu-custom>
|
||||
<view class="register">
|
||||
<view class="reg-title mb40">
|
||||
<text>修改密码</text>
|
||||
</view>
|
||||
<view class="user_main">
|
||||
<view >账号:{{USERNAME}}</view>
|
||||
</view>
|
||||
<view class="reg-form">
|
||||
<view class="reg-input">
|
||||
<input password @input="oldInpPwd" placeholder="旧密码" name="input"></input>
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
</view>
|
||||
</view>
|
||||
<view class="reg-title">
|
||||
<text class="text-gray">需8-20位字符</text>
|
||||
<text class="text-gray">需8-20位字母大小写、数字、字符混合</text>
|
||||
</view>
|
||||
<view class="flex flex-direction mt50">
|
||||
<button :loading="buttonloading" class="cu-btn bg-blue lg round" @click="updateUserPwd()">提交</button>
|
||||
|
|
@ -44,6 +44,7 @@
|
|||
nowPwd :'',
|
||||
buttonloading: false,
|
||||
confirmPwd :'',
|
||||
USERNAME: loginUser.USERNAME
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
@ -112,6 +113,15 @@
|
|||
});
|
||||
return
|
||||
}
|
||||
var reg1 = /^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[~!@#$%^&*.])[\da-zA-Z~!@#$%^&*.]{8,}$/
|
||||
if (!reg1.test(_this.nowPwd)) {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: '密码必须包含大小写字母、数字、特殊符号',
|
||||
duration: 2000
|
||||
});
|
||||
return
|
||||
}
|
||||
this.buttonloading = true
|
||||
uni.request({
|
||||
url: basePath +'/app/user/editUserPwd' ,
|
||||
|
|
@ -132,16 +142,31 @@
|
|||
this.buttonloading = false
|
||||
if (res.data != null) {
|
||||
var result = res.data.result;
|
||||
if ("success" == result) {
|
||||
uni.showToast({
|
||||
title: "密码修改成功",
|
||||
duration: 1000
|
||||
});
|
||||
uni.navigateTo({
|
||||
url: '/pages/login/home',
|
||||
});
|
||||
var Code = res.data.code;
|
||||
console.log(res.data.code)
|
||||
if ("success" === result) {
|
||||
if("9999" === Code){
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: "旧密码错误",
|
||||
duration: 2000
|
||||
});
|
||||
}else{
|
||||
uni.showToast({
|
||||
title: "密码修改成功",
|
||||
duration: 1500, // 适当延长显示时间
|
||||
success: function() {
|
||||
// 使用 setTimeout 确保提示框完全显示后再跳转
|
||||
setTimeout(function() {
|
||||
uni.navigateTo({
|
||||
url: '/pages/login/home',
|
||||
});
|
||||
}, 1500); // 延迟时间与 duration 一致或略长
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
} else if ("usererror" == result) {
|
||||
} else if ("usererror" === result) {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: "密码有误",
|
||||
|
|
@ -179,4 +204,13 @@
|
|||
page{
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
.user_main{
|
||||
width: 100%;
|
||||
padding:30upx 20upx ;
|
||||
background: #d8e9ff;
|
||||
border-radius: 10upx;
|
||||
box-sizing: border-box;
|
||||
margin-bottom: 40upx;
|
||||
font-size: 30upx;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
<template>
|
||||
<view
|
||||
style="background: url(../../static/bg-login.png) no-repeat;background-size:100% auto;height:100vh;background-color: #058cf5; position: fixed; width: 100%;">
|
||||
<view style="background: url(../../static/bg-login.png) no-repeat;background-size:100% auto;height:100vh;background-color: #058cf5; position: fixed; width: 100%;">
|
||||
<!-- <view class="bottom-img">
|
||||
<image src="../../static/hg-bottom.png" mode=""></image>
|
||||
</view> -->
|
||||
|
|
@ -11,17 +10,16 @@
|
|||
</view>
|
||||
<view class="login-text">
|
||||
<text>欢迎使用,</text>
|
||||
<text>交通运输安全生产综合管理平台!</text>
|
||||
<text>秦安安全云平台!</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="login-content">
|
||||
<view class="input-row">
|
||||
<view class="title">
|
||||
<text class="">登录帐号</text>
|
||||
<text class="">手机号码</text>
|
||||
</view>
|
||||
<view class="m-input-view">
|
||||
<input v-model="userName" class="m-input" placeholder-style="color: #5caceb;font-size: 34upx;"
|
||||
placeholder="请输入身份证号..." />
|
||||
<input v-model="userName" class="m-input" placeholder-style="color: #5caceb;font-size: 34upx;" placeholder="请输入手机号..." />
|
||||
</view>
|
||||
</view>
|
||||
<view class="input-row mt30">
|
||||
|
|
@ -29,8 +27,8 @@
|
|||
<text class="">密码</text>
|
||||
</view>
|
||||
<view class="m-input-view">
|
||||
<input v-model="userPwd" class="m-input" placeholder-style="color: #5caceb;font-size: 34upx;"
|
||||
password type="text" placeholder="请输入密码..." />
|
||||
<input v-model="userPwd" class="m-input" placeholder-style="color: #5caceb;font-size: 34upx;" password type="text"
|
||||
placeholder="请输入密码..." />
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -38,30 +36,29 @@
|
|||
<button class="cu-btn bg-login margin-tb-sm lg" @click="$noMultipleClicks(login)">登 录</button>
|
||||
</view>
|
||||
<view class="bar-forget">
|
||||
<!-- <navigator class="title" url="/pages/login/forget/forget">
|
||||
<!-- <navigator class="title" url="/pages/login/forget/forget">
|
||||
忘记密码
|
||||
</navigator> -->
|
||||
<navigator class="title" url="/pages/login/register/index">
|
||||
从业人员注册
|
||||
</navigator>
|
||||
<!-- <view class="title">
|
||||
注册
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view
|
||||
style="width: 100%;color: #fff;position: absolute;left: 50%;transform: translateX(-50%);bottom: 50upx;display: flex;justify-content: center;align-items: center">
|
||||
<radio-group>
|
||||
<radio :checked="radio === '1'" @click="radioChange"></radio>
|
||||
</radio-group>
|
||||
<view style="margin-left: 20upx;display: flex">
|
||||
<text>我已阅读并同意</text>
|
||||
<navigator style="color: #041d8c" url="/pages/my/agreement/agreement">
|
||||
《服务协议》
|
||||
</navigator>
|
||||
<text>和</text>
|
||||
<navigator style="color: #041d8c" url="/pages/my/privacy/privacy">
|
||||
《隐私政策》
|
||||
</navigator>
|
||||
</view>
|
||||
</view>-->
|
||||
<view style="width: 100%;color: #fff;position: absolute;left: 50%;transform: translateX(-50%);bottom: 50upx;display: flex;justify-content: center;align-items: center">
|
||||
<radio-group>
|
||||
<radio :checked="radio === '1'" @click="radioChange"></radio>
|
||||
</radio-group>
|
||||
<view style="margin-left: 20upx;display: flex">
|
||||
<text>我已阅读并同意</text>
|
||||
<navigator style="color: #041d8c" url="/pages/my/agreement/agreement">
|
||||
《服务协议》
|
||||
</navigator>
|
||||
<text>和</text>
|
||||
<navigator style="color: #041d8c" url="/pages/my/privacy/privacy">
|
||||
《隐私政策》
|
||||
</navigator>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
|
|
@ -79,37 +76,51 @@
|
|||
setIsRest,
|
||||
isRest,
|
||||
loginUser,
|
||||
setPremission,
|
||||
publicKey
|
||||
setPremission,
|
||||
publicKey
|
||||
} from '@/common/tool.js';
|
||||
import JSEncrypt from '../../static/js/jsencrypt.min'
|
||||
import JSEncrypt from '../../static/js/jsencrypt.min'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
noClick: true,
|
||||
userName: '',
|
||||
noClick:true,
|
||||
userName : '',
|
||||
userPwd: '',
|
||||
radio: ''
|
||||
push_clientid:'',
|
||||
radio:''
|
||||
}
|
||||
},
|
||||
async onLoad() {
|
||||
this.getRemember()
|
||||
this.getLoginUser()
|
||||
this.getRemember()
|
||||
uni.getPushClientId({
|
||||
success: (res) => {
|
||||
this.push_clientid = res.cid
|
||||
this.getLoginUser()
|
||||
console.log('客户端推送标识:',res.cid)
|
||||
},
|
||||
fail(err) {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: "获取用户标识失败,请重新登录",
|
||||
duration: 2000
|
||||
});
|
||||
}
|
||||
});
|
||||
// this.getLoginUser()
|
||||
//this.getUrlVersion();
|
||||
},
|
||||
methods: {
|
||||
getRemember() {
|
||||
uni.getStorage({
|
||||
key: 'remember',
|
||||
success: async (res) => {
|
||||
if (res.data && res.data.username) {
|
||||
this.userName = res.data.username
|
||||
this.userPwd = res.data.userPwd
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
getRemember(){
|
||||
uni.getStorage({
|
||||
key: 'remember',
|
||||
success: async (res) => {
|
||||
if (res.data && res.data.username) {
|
||||
this.userName = res.data.username
|
||||
this.userPwd = res.data.userPwd
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
getLoginUser() {
|
||||
uni.getStorage({
|
||||
key: 'USER',
|
||||
|
|
@ -122,24 +133,18 @@
|
|||
setDeptLevel(res.data.DEPARTMENT_LEVEL);
|
||||
|
||||
setloginUser(res.data);
|
||||
if (loginUser.CORPINFO_ID) {
|
||||
// 查看是否离岗
|
||||
this.handleLoginCheck(res.data.USER_ID).then(() => {
|
||||
uni.navigateTo({
|
||||
url: '/pages/index/index',
|
||||
});
|
||||
})
|
||||
} else {
|
||||
uni.navigateTo({
|
||||
url: '/pages/index/index',
|
||||
});
|
||||
}
|
||||
// 查看是否离岗
|
||||
this.handleLoginCheck(res.data.USER_ID).then(()=>{
|
||||
uni.navigateTo({
|
||||
url: '/pages/index/index',
|
||||
});
|
||||
})
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
handleLoginCheck(USER_ID) {
|
||||
return new Promise((resolve, reject) => {
|
||||
handleLoginCheck(USER_ID){
|
||||
return new Promise((resolve,reject)=>{
|
||||
uni.request({
|
||||
url: basePath + '/app/offduty/isRest',
|
||||
method: 'POST',
|
||||
|
|
@ -152,6 +157,7 @@
|
|||
USER_ID: loginUser.USER_ID,
|
||||
},
|
||||
success: (res1) => {
|
||||
this.updatePushCid(USER_ID, this.push_clientid)
|
||||
if ("success" == res1.data.result) {
|
||||
if (res1.data.ISREST != null) {
|
||||
setIsRest(res1.data.ISREST);
|
||||
|
|
@ -159,14 +165,14 @@
|
|||
setIsRest(res.data.ISREST);
|
||||
}
|
||||
resolve()
|
||||
} else if ("usercorperror" == res1.data.result) {
|
||||
}else if ("usercorperror" == res1.data.result) {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: "您的企业已停用,请联系管理员",
|
||||
duration: 2000
|
||||
});
|
||||
reject()
|
||||
} else if ("userUSEerror" == res1.data.result) {
|
||||
}else if ("userUSEerror" == res1.data.result) {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: "您的企业已到使用期限,请联系管理员",
|
||||
|
|
@ -199,13 +205,13 @@
|
|||
this.userPwd = e.detail.value
|
||||
},
|
||||
login() {
|
||||
/*if (this.radio !== '1') {
|
||||
if (this.radio !== '1') {
|
||||
uni.showToast({
|
||||
title: '请先阅读并同意《服务协议》和《隐私政策》',
|
||||
icon: 'none'
|
||||
})
|
||||
return;
|
||||
}*/
|
||||
}
|
||||
var _this = this;
|
||||
var userName = _this.userName;
|
||||
var userPwd = _this.userPwd;
|
||||
|
|
@ -215,7 +221,7 @@
|
|||
// var keydataVal = 'zcloudchina' + userName + ',zy,' + userPwd;
|
||||
|
||||
|
||||
var myreg = /^\d{6}(18|19|20)?\d{2}(0[1-9]|1[0-2])(([0-2][1-9])|10|20|30|31)\d{3}(\d|X|x)$/;
|
||||
var myreg = /^(((13[0-9]{1})|159)+\d{8})$/;
|
||||
|
||||
if (userName == '') {
|
||||
uni.showToast({
|
||||
|
|
@ -227,7 +233,7 @@
|
|||
} else if (userName.length != 11 && !myreg.test(userName)) {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: '身份证号格式不正确',
|
||||
title: '手机号格式不正确',
|
||||
duration: 2000
|
||||
});
|
||||
return;
|
||||
|
|
@ -247,7 +253,7 @@
|
|||
title: '请稍候'
|
||||
})
|
||||
uni.request({
|
||||
url: basePath + '/admin/checkPractitioner',
|
||||
url: basePath + '/admin/check',
|
||||
method: 'POST',
|
||||
dataType: 'json',
|
||||
header: {
|
||||
|
|
@ -265,32 +271,35 @@
|
|||
title: res.data.msg,
|
||||
duration: 2000
|
||||
});
|
||||
if ("success" == result) {
|
||||
if ("success" === result) {
|
||||
setloginUserId(res.data.USER_ID);
|
||||
setCorpinfoId(res.data.CORPINFO_ID);
|
||||
setDeptId(res.data.DEPARTMENT_ID);
|
||||
setDeptLevel(res.data.DEPARTMENT_LEVEL);
|
||||
setIsRest(res.data.ISREST);
|
||||
setloginUser(res.data);
|
||||
uni.setStorage({
|
||||
key: 'USER',
|
||||
data: res.data
|
||||
});
|
||||
const remember = {}
|
||||
remember.username = userName
|
||||
remember.userPwd = userPwd
|
||||
uni.setStorage({
|
||||
key: 'remember',
|
||||
data: remember
|
||||
});
|
||||
uni.hideLoading();
|
||||
uni.showToast({
|
||||
title: "登录成功",
|
||||
duration: 1000
|
||||
});
|
||||
uni.redirectTo({
|
||||
url: '/pages/index/index'
|
||||
});
|
||||
if(res.data.passwordType === '0'){
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: "登录的密码强度为弱,请修改密码!",
|
||||
duration: 2000 // 显示2秒
|
||||
});
|
||||
|
||||
// 延迟2000ms后再执行页面跳转
|
||||
setTimeout(() => {
|
||||
uni.navigateTo({
|
||||
url: '/pages/login/forget/forget-reset'
|
||||
});
|
||||
}, 2000); // 延迟时间必须大于等于toast的duration
|
||||
return
|
||||
}
|
||||
uni.setStorage({key: 'USER', data: res.data});
|
||||
const remember = {}
|
||||
remember.username = userName
|
||||
remember.userPwd = userPwd
|
||||
uni.setStorage({key: 'remember', data: remember});
|
||||
this.getMenu()
|
||||
this.updatePushCid(res.data.USER_ID, this.push_clientid)
|
||||
} else if ("usererror" == result) {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
|
|
@ -321,13 +330,13 @@
|
|||
title: res.data.msg,
|
||||
duration: 2000
|
||||
});
|
||||
} else if ("maintainDeactivateError" == result) {
|
||||
}else if ("maintainDeactivateError" == result) {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: "企业处于维护停用阶段,暂时无法登录",
|
||||
duration: 2000
|
||||
});
|
||||
} else if ("exception" == result) {
|
||||
}else if ("exception" == result) {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: res.data.exception,
|
||||
|
|
@ -343,10 +352,115 @@
|
|||
duration: 2000
|
||||
});
|
||||
}
|
||||
})
|
||||
},
|
||||
getMenu() {
|
||||
var _this = this;
|
||||
uni.showLoading({
|
||||
title: '请稍候'
|
||||
})
|
||||
uni.request({
|
||||
url: basePath + '/app/main/index',
|
||||
method: 'POST',
|
||||
dataType: 'json',
|
||||
header: {
|
||||
'Content-type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: {
|
||||
USER_ID: loginUser.USER_ID,
|
||||
},
|
||||
success: (res) => {
|
||||
|
||||
if ("success" == res.data.result) {
|
||||
|
||||
var menuList = res.data.menuList
|
||||
var premissionList = new Map()
|
||||
|
||||
menuList.map(item => {
|
||||
if (item.menu_NAME == '安全承诺' && item.hasMenu) {
|
||||
premissionList.set('commitment', true)
|
||||
if (item.subMenu && item.subMenu.length > 0) {
|
||||
item.subMenu.map(child => {
|
||||
if (child.menu_NAME == '公司级承诺公告' && child.hasMenu) {
|
||||
premissionList.set('commitment-company', true)
|
||||
}
|
||||
if (child.menu_NAME == '车间级承诺公告' && child.hasMenu) {
|
||||
premissionList.set('commitment-workshop', true)
|
||||
}
|
||||
if (child.menu_NAME == '班组级承诺公告' && child.hasMenu) {
|
||||
premissionList.set('commitment-team', true)
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
if (item.menu_NAME == '受限空间作业管理' && item.hasMenu) {
|
||||
premissionList.set('eightWork', true)
|
||||
premissionList.set('confinedspace', true)
|
||||
}
|
||||
if (item.menu_NAME == '动火作业管理' && item.hasMenu) {
|
||||
premissionList.set('eightWork', true)
|
||||
premissionList.set('hotwork', true)
|
||||
}
|
||||
if (item.menu_NAME == '高处作业管理' && item.hasMenu) {
|
||||
premissionList.set('eightWork', true)
|
||||
premissionList.set('high-work', true)
|
||||
}
|
||||
if (item.menu_NAME == '吊装作业管理' && item.hasMenu) {
|
||||
premissionList.set('eightWork', true)
|
||||
premissionList.set('hoisting', true)
|
||||
}
|
||||
if (item.menu_NAME == '盲板抽堵作业管理' && item.hasMenu) {
|
||||
premissionList.set('eightWork', true)
|
||||
premissionList.set('blind-board', true)
|
||||
}
|
||||
if (item.menu_NAME == '动土作业管理' && item.hasMenu) {
|
||||
premissionList.set('eightWork', true)
|
||||
premissionList.set('break-ground', true)
|
||||
}
|
||||
if (item.menu_NAME == '临时用电作业管理' && item.hasMenu) {
|
||||
premissionList.set('eightWork', true)
|
||||
premissionList.set('electricity', true)
|
||||
}
|
||||
if (item.menu_NAME == '断路作业管理' && item.hasMenu) {
|
||||
premissionList.set('eightWork', true)
|
||||
premissionList.set('open-circuit', true)
|
||||
}
|
||||
if (item.menu_NAME == '在线学习与考试' && item.hasMenu) {
|
||||
premissionList.set('education', true)
|
||||
}
|
||||
|
||||
if (item.menu_NAME == '设备设施管理' && item.hasMenu) {
|
||||
premissionList.set('speEquip', true)
|
||||
}
|
||||
})
|
||||
setPremission(Object.fromEntries(premissionList));
|
||||
uni.hideLoading();
|
||||
uni.showToast({
|
||||
title: "登录成功",
|
||||
duration: 1000
|
||||
});
|
||||
uni.redirectTo({
|
||||
url: '/pages/index/index'
|
||||
});
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: res.data.message,
|
||||
duration: 2000
|
||||
});
|
||||
}
|
||||
},
|
||||
fail: (res) => {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: "服务器正在升级,请稍后再试。",
|
||||
duration: 2000
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
getUrlVersion() {
|
||||
plus.runtime.getProperty(plus.runtime.appid, function(inf) {
|
||||
plus.runtime.getProperty(plus.runtime.appid, function (inf) {
|
||||
var _this = this;
|
||||
// 路径
|
||||
uni.request({
|
||||
|
|
@ -375,23 +489,35 @@
|
|||
});
|
||||
});
|
||||
},
|
||||
updatePushCid(userId, pushCid) {
|
||||
uni.request({
|
||||
url: basePath + '/app/user/updatePushCid',
|
||||
method: 'POST',
|
||||
dataType: 'json',
|
||||
header: {
|
||||
'Content-type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: {
|
||||
USER_ID: userId,
|
||||
PUSH_CID: pushCid
|
||||
},
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.bottom-img {
|
||||
.bottom-img{
|
||||
height: 298upx;
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.bottom-img image {
|
||||
.bottom-img image{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.bg-login {
|
||||
background-color: #72b0ed;
|
||||
color: #1f63ae;
|
||||
|
|
@ -423,18 +549,15 @@
|
|||
align-items: center;
|
||||
padding-top: 46upx;
|
||||
}
|
||||
|
||||
.login-logo {
|
||||
.login-logo{
|
||||
margin-right: 26upx;
|
||||
margin-top: 10upx;
|
||||
}
|
||||
|
||||
.login-logo image {
|
||||
.login-logo image{
|
||||
width: 100upx;
|
||||
height: 100upx;
|
||||
}
|
||||
|
||||
.login-text {
|
||||
.login-text{
|
||||
color: #fff;
|
||||
font-size: 44upx;
|
||||
font-weight: 500;
|
||||
|
|
@ -450,8 +573,7 @@
|
|||
|
||||
.input-row .title {
|
||||
color: #8ee6ff;
|
||||
margin-top: 10upx;
|
||||
right: 0;
|
||||
margin-bottom: 10upx;
|
||||
}
|
||||
|
||||
.bar-forget {
|
||||
|
|
|
|||
Loading…
Reference in New Issue