diff --git a/common/tool.js b/common/tool.js index 5bf74d7..915f9dd 100644 --- a/common/tool.js +++ b/common/tool.js @@ -1,4 +1,4 @@ -export var basePath = "http://192.168.0.42:8099/"; +export var basePath = "http://192.168.0.69:8091/"; // export var basePath = "https://gateway.qhdsafety.com/"; export const baseImgPath = "https://file.zcloudchina.com/YTHFile"; export const adminPath = "http://192.168.0.18:8085"; diff --git a/pages.json b/pages.json index 8d632bd..da0d574 100644 --- a/pages.json +++ b/pages.json @@ -272,6 +272,44 @@ "path": "pages/application/check-record/imgs_details", "style": {} }, + // 隐患排查清单 Begin + { + "path": "pages/application/hidden-danger-check-standard/custom/list", + "style": {} + }, + { + "path": "pages/application/hidden-danger-check-standard/custom/list-item", + "style": {} + }, + { + "path": "pages/application/hidden-danger-check-standard/custom/list-item-check-list", + "style": {} + }, + { + "path": "pages/application/hidden-danger-check-standard/custom/list-item-check-hidden-form", + "style": {} + }, + { + "path": "pages/application/hidden-danger-check-standard/custom/list-item-check-imgs", + "style": {} + }, + { + "path": "pages/application/hidden-danger-check-standard/custom/list-item-check-next", + "style": {} + }, + { + "path": "pages/application/hidden-danger-check-standard/record/custom-list", + "style": {} + }, + { + "path": "pages/application/hidden-danger-check-standard/record/record-list", + "style": {} + }, + { + "path": "pages/application/hidden-danger-check-standard/record/record-info", + "style": {} + }, + // 隐患排查清单 End { "path": "pages/my/offduty/index", "style": {} diff --git a/pages/application/check-record/check_listmanager.vue b/pages/application/check-record/check_listmanager.vue index 7f94d07..0eff450 100644 --- a/pages/application/check-record/check_listmanager.vue +++ b/pages/application/check-record/check_listmanager.vue @@ -2,7 +2,7 @@ 返回 - 清单检查记录 + 风险检查记录 查询 diff --git a/pages/application/hidden-danger-check-standard/custom/list-item-check-hidden-form.vue b/pages/application/hidden-danger-check-standard/custom/list-item-check-hidden-form.vue new file mode 100644 index 0000000..cf902c2 --- /dev/null +++ b/pages/application/hidden-danger-check-standard/custom/list-item-check-hidden-form.vue @@ -0,0 +1,1126 @@ + + + + + diff --git a/pages/application/hidden-danger-check-standard/custom/list-item-check-imgs.vue b/pages/application/hidden-danger-check-standard/custom/list-item-check-imgs.vue new file mode 100644 index 0000000..232571d --- /dev/null +++ b/pages/application/hidden-danger-check-standard/custom/list-item-check-imgs.vue @@ -0,0 +1,377 @@ + + + + + diff --git a/pages/application/hidden-danger-check-standard/custom/list-item-check-list.vue b/pages/application/hidden-danger-check-standard/custom/list-item-check-list.vue new file mode 100644 index 0000000..71ba647 --- /dev/null +++ b/pages/application/hidden-danger-check-standard/custom/list-item-check-list.vue @@ -0,0 +1,394 @@ + + + + diff --git a/pages/application/hidden-danger-check-standard/custom/list-item-check-next.vue b/pages/application/hidden-danger-check-standard/custom/list-item-check-next.vue new file mode 100644 index 0000000..68925ef --- /dev/null +++ b/pages/application/hidden-danger-check-standard/custom/list-item-check-next.vue @@ -0,0 +1,1208 @@ + + + + + + + diff --git a/pages/application/hidden-danger-check-standard/custom/list-item.vue b/pages/application/hidden-danger-check-standard/custom/list-item.vue new file mode 100644 index 0000000..d00e454 --- /dev/null +++ b/pages/application/hidden-danger-check-standard/custom/list-item.vue @@ -0,0 +1,261 @@ + + + + + diff --git a/pages/application/hidden-danger-check-standard/custom/list.vue b/pages/application/hidden-danger-check-standard/custom/list.vue new file mode 100644 index 0000000..b36f872 --- /dev/null +++ b/pages/application/hidden-danger-check-standard/custom/list.vue @@ -0,0 +1,441 @@ + + + + + diff --git a/pages/application/hidden-danger-check-standard/record/custom-list.vue b/pages/application/hidden-danger-check-standard/record/custom-list.vue new file mode 100644 index 0000000..b29e31c --- /dev/null +++ b/pages/application/hidden-danger-check-standard/record/custom-list.vue @@ -0,0 +1,540 @@ + + + + + diff --git a/pages/application/hidden-danger-check-standard/record/record-info.vue b/pages/application/hidden-danger-check-standard/record/record-info.vue new file mode 100644 index 0000000..934a64e --- /dev/null +++ b/pages/application/hidden-danger-check-standard/record/record-info.vue @@ -0,0 +1,439 @@ + + + + + diff --git a/pages/application/hidden-danger-check-standard/record/record-list.vue b/pages/application/hidden-danger-check-standard/record/record-list.vue new file mode 100644 index 0000000..1273d90 --- /dev/null +++ b/pages/application/hidden-danger-check-standard/record/record-list.vue @@ -0,0 +1,285 @@ + + + + + diff --git a/pages/application/home.vue b/pages/application/home.vue index fa14ad9..dc68ee6 100644 --- a/pages/application/home.vue +++ b/pages/application/home.vue @@ -4,29 +4,37 @@ + + + + 隐患快报 + + + + + + + 隐患快报 + + + - 隐患排查 + 风险排查 - 隐患排查 + 风险排查 - 隐患排查 - - - - - - 隐患快报 + 风险排查 @@ -35,7 +43,32 @@ 检查记录 - + + + + 隐患排查 + + + + + + + 隐患排查 + + + + + + 隐患排查 + + + + + + 检查记录 + + + diff --git a/uniCloud-aliyun/cloudfunctions/unipush/index.js b/uniCloud-aliyun/cloudfunctions/unipush/index.js deleted file mode 100644 index 62eed8c..0000000 --- a/uniCloud-aliyun/cloudfunctions/unipush/index.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; -exports.main = async (event, context) => { - let body = event.body; - if (event.isBase64Encoded) {body = Buffer.from(body);} - if(!body) {return { message: 'no body'};} - - const param = JSON.parse(body); - - // 云函数是通用的,和项目没有直接的关系。通过传递 appId,可以为多个项目进行推送 - const uniPush = uniCloud.getPushManager({appId:"__UNI__C846DA5"}); - return await uniPush.sendMessage(param); -}; \ No newline at end of file diff --git a/uniCloud-aliyun/cloudfunctions/unipush/package.json b/uniCloud-aliyun/cloudfunctions/unipush/package.json deleted file mode 100644 index 0799df8..0000000 --- a/uniCloud-aliyun/cloudfunctions/unipush/package.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "name": "unipush", - "version": "1.0.0", - "main": "index.js", - "description": "消息推送", - "extensions": { - "uni-cloud-push": {} - } -} \ No newline at end of file diff --git a/uniCloud-aliyun/database/opendb-device.schema.json b/uniCloud-aliyun/database/opendb-device.schema.json deleted file mode 100644 index 7c6cb44..0000000 --- a/uniCloud-aliyun/database/opendb-device.schema.json +++ /dev/null @@ -1,142 +0,0 @@ -{ - "bsonType": "object", - "required": [], - "permission": { - "read": false, - "create": false, - "update": false, - "delete": false - }, - "properties": { - "_id": { - "description": "ID,系统自动生成" - }, - "appid": { - "bsonType": "string", - "description": "DCloud appid" - }, - "device_id": { - "bsonType": "string", - "description": "设备唯一标识" - }, - "vendor": { - "bsonType": "string", - "description": "设备厂商" - }, - "push_clientid": { - "bsonType": "string", - "description": "推送设备客户端标识" - }, - "imei": { - "bsonType": "string", - "description": "国际移动设备识别码IMEI(International Mobile Equipment Identity)" - }, - "oaid": { - "bsonType": "string", - "description": "移动智能设备标识公共服务平台提供的匿名设备标识符(OAID)" - }, - "idfa": { - "bsonType": "string", - "description": "iOS平台配置应用使用广告标识(IDFA)" - }, - "imsi": { - "bsonType": "string", - "description": "国际移动用户识别码(International Mobile Subscriber Identification Number)" - }, - "model": { - "bsonType": "string", - "description": "设备型号" - }, - "platform": { - "bsonType": "string", - "description": "平台类型" - }, - "uni_platform": { - "bsonType": "string", - "description": "uni-app 运行平台,与条件编译平台相同。" - }, - "os_name": { - "bsonType": "string", - "description": "ios|android|windows|mac|linux " - }, - "os_version": { - "bsonType": "string", - "description": "操作系统版本号 " - }, - "os_language": { - "bsonType": "string", - "description": "操作系统语言 " - }, - "os_theme": { - "bsonType": "string", - "description": "操作系统主题 light|dark" - }, - "pixel_ratio": { - "bsonType": "string", - "description": "设备像素比 " - }, - "network_model": { - "bsonType": "string", - "description": "设备网络型号wifi/3G/4G/" - }, - "window_width": { - "bsonType": "string", - "description": "设备窗口宽度 " - }, - "window_height": { - "bsonType": "string", - "description": "设备窗口高度" - }, - "screen_width": { - "bsonType": "string", - "description": "设备屏幕宽度" - }, - "screen_height": { - "bsonType": "string", - "description": "设备屏幕高度" - }, - "rom_name": { - "bsonType": "string", - "description": "rom 名称" - }, - "rom_version": { - "bsonType": "string", - "description": "rom 版本" - }, - "location_latitude": { - "bsonType": "double", - "description": "纬度" - }, - "location_longitude": { - "bsonType": "double", - "description": "经度" - }, - "location_country": { - "bsonType": "string", - "description": "国家" - }, - "location_province": { - "bsonType": "string", - "description": "省份" - }, - "location_city": { - "bsonType": "string", - "description": "城市" - }, - "create_date": { - "bsonType": "timestamp", - "description": "创建时间", - "forceDefaultValue": { - "$env": "now" - } - }, - "last_update_date": { - "bsonType": "timestamp", - "description": "最后一次修改时间", - "forceDefaultValue": { - "$env": "now" - } - } - }, - "version": "0.0.1" -} \ No newline at end of file diff --git a/uniCloud-aliyun/database/opendb-tempdata.schema.json b/uniCloud-aliyun/database/opendb-tempdata.schema.json deleted file mode 100644 index 1b4f191..0000000 --- a/uniCloud-aliyun/database/opendb-tempdata.schema.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "bsonType": "object", - "required": [ - "value", - "expired" - ], - "permission": { - "read": false, - "create": false, - "update": false, - "delete": false - }, - "properties": { - "_id": { - "description": "ID,系统自动生成" - }, - "value": { - "description": "值" - }, - "expired": { - "description": "过期时间", - "bsonType": "timestamp" - } - }, - "version": "0.0.1" -} \ No newline at end of file diff --git a/uniCloud-aliyun/database/uni-id-device.schema.json b/uniCloud-aliyun/database/uni-id-device.schema.json deleted file mode 100644 index 4981d75..0000000 --- a/uniCloud-aliyun/database/uni-id-device.schema.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "bsonType": "object", - "required": [ - "user_id" - ], - "properties": { - "_id": { - "description": "ID,系统自动生成" - }, - "user_id": { - "bsonType": "string", - "description": "用户id,参考uni-id-users表" - }, - "ua": { - "bsonType": "string", - "description": "userAgent" - }, - "uuid": { - "bsonType": "string", - "description": "设备唯一标识(需要加密存储)" - }, - "os_name": { - "bsonType": "string", - "description": "ios|android|windows|mac|linux " - }, - "os_version": { - "bsonType": "string", - "description": "操作系统版本号 " - }, - "os_language": { - "bsonType": "string", - "description": "操作系统语言 " - }, - "os_theme": { - "bsonType": "string", - "description": "操作系统主题 light|dark" - }, - "vendor": { - "bsonType": "string", - "description": "设备厂商" - }, - "push_clientid": { - "bsonType": "string", - "description": "推送设备客户端标识" - }, - "imei": { - "bsonType": "string", - "description": "国际移动设备识别码IMEI(International Mobile Equipment Identity)" - }, - "oaid": { - "bsonType": "string", - "description": "移动智能设备标识公共服务平台提供的匿名设备标识符(OAID)" - }, - "idfa": { - "bsonType": "string", - "description": "iOS平台配置应用使用广告标识(IDFA)" - }, - "model": { - "bsonType": "string", - "description": "设备型号" - }, - "platform": { - "bsonType": "string", - "description": "平台类型" - }, - "create_date": { - "bsonType": "timestamp", - "description": "创建时间", - "forceDefaultValue": { - "$env": "now" - } - }, - "last_active_date": { - "bsonType": "timestamp", - "description": "最后登录时间" - }, - "last_active_ip": { - "bsonType": "string", - "description": "最后登录IP" - } - }, - "version": "0.0.1" -} \ No newline at end of file