From 86212069252ad7365c765ed550fa2b55168912b6 Mon Sep 17 00:00:00 2001
From: zzy <411037547@qq.com>
Date: Mon, 1 Aug 2022 14:34:38 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=95=86=E5=93=81=E4=B8=B4?=
=?UTF-8?q?=E6=9C=9F=E6=8E=88=E6=9D=83=E6=A8=A1=E5=9D=97?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/filesComponent/fileUnit.vue | 2 +-
pages.json | 104 ++--
pages/businessApproval/productDetail.vue | 22 +-
pages/commodity_temp/components/listUnit.vue | 122 +++++
pages/commodity_temp/detail.vue | 248 ++++++++++
pages/commodity_temp/index.vue | 471 +++++++++++++++++++
pages/index/components/menus.js | 370 ++++++++-------
7 files changed, 1108 insertions(+), 231 deletions(-)
create mode 100644 pages/commodity_temp/components/listUnit.vue
create mode 100644 pages/commodity_temp/detail.vue
create mode 100644 pages/commodity_temp/index.vue
diff --git a/components/filesComponent/fileUnit.vue b/components/filesComponent/fileUnit.vue
index e4c6342..b027e3f 100644
--- a/components/filesComponent/fileUnit.vue
+++ b/components/filesComponent/fileUnit.vue
@@ -35,7 +35,7 @@
uni.previewImage({urls:[_this.fileItem.path]})
}else{
uni.showLoading({
- title:"正在下载,请稍后"
+ title:"正在下载中..."
})
uni.downloadFile({
url:_this.fileItem.path,
diff --git a/pages.json b/pages.json
index f34717d..0a6cf48 100644
--- a/pages.json
+++ b/pages.json
@@ -29,27 +29,24 @@
// "navigationBarTitleText": "视频回放"
// }
// }
- ,{
- "path" : "pages/authorityApproval/index",
- "style" :
- {
- "navigationBarTitleText": "权限审批",
- "enablePullDownRefresh": true
-
- }
-
- }
- ,{
- "path" : "pages/authorityApproval/detail",
- "style" :
- {
- "navigationBarTitleText": "权限审批",
- "enablePullDownRefresh": false
-
- }
-
- }
- ],
+ , {
+ "path": "pages/authorityApproval/index",
+ "style": {
+ "navigationBarTitleText": "权限审批",
+ "enablePullDownRefresh": true
+
+ }
+
+ }, {
+ "path": "pages/authorityApproval/detail",
+ "style": {
+ "navigationBarTitleText": "权限审批",
+ "enablePullDownRefresh": false
+
+ }
+
+ }
+ ],
"subPackages": [
// {
// "root": "pages/additionalFeatures",
@@ -70,29 +67,27 @@
// },
{
"root": "pages/auditingPop",
- "pages": [
- {
- "path": "jointlySign",
- "style": {
- "navigationBarTitleText": "会签"
- }
- }, {
- "path": "transfer",
- "style": {
- "navigationBarTitleText": "移交"
- }
- }, {
- "path": "toExamine",
- "style": {
- "navigationBarTitleText": "审核"
- }
- }, {
- "path": "reject",
- "style": {
- "navigationBarTitleText": "驳回"
- }
+ "pages": [{
+ "path": "jointlySign",
+ "style": {
+ "navigationBarTitleText": "会签"
}
- ]
+ }, {
+ "path": "transfer",
+ "style": {
+ "navigationBarTitleText": "移交"
+ }
+ }, {
+ "path": "toExamine",
+ "style": {
+ "navigationBarTitleText": "审核"
+ }
+ }, {
+ "path": "reject",
+ "style": {
+ "navigationBarTitleText": "驳回"
+ }
+ }]
},
{
"root": "pages/operatingStatements",
@@ -318,7 +313,7 @@
"root": "pages/everdayRenven",
"pages": [{
"path": "index",
- "style": {
+ "style": {
"enablePullDownRefresh": false,
// "navigationStyle":"custom",
// "navigationBarTextStyle":"white",
@@ -454,14 +449,33 @@
}
},
{
- "path": "expenseDetail",
+ "path": "expenseDetail",
"style": {
"enablePullDownRefresh": true,
"navigationBarTitleText": "财务审批"
}
}
]
+ },
+ {
+ "root": "pages/commodity_temp",
+ "pages": [{
+ "path": "index",
+ "style": {
+ "enablePullDownRefresh": true,
+ "navigationBarTitleText": "资质审批"
+ }
+ },
+ {
+ "path": "detail",
+ "style": {
+ "enablePullDownRefresh": true,
+ "navigationBarTitleText": "资质审批"
+ }
+ }
+ ]
}
+
],
"globalStyle": {
diff --git a/pages/businessApproval/productDetail.vue b/pages/businessApproval/productDetail.vue
index 9f2b3ac..8f6c6d5 100644
--- a/pages/businessApproval/productDetail.vue
+++ b/pages/businessApproval/productDetail.vue
@@ -33,6 +33,15 @@
+
移交
@@ -243,17 +252,24 @@
uni.hideLoading()
let _data = rs.Data
_this.baseData = _data
+ // 解析附件信息
if (_data.FileList) {
-
_data.FileList.map(v => {
let name = v.ATTACHMENT_URL.split('.')
-
v.type = name[name.length - 1]
v.name = v.ATTACHMENT_DESC
v.path = v.ATTACHMENT_URL
})
}
-
+ // 解析资质文件信息
+ if (_data.QualificationList) {
+ _data.QualificationList.map(v => {
+ let name = v.IMAGE_URL.split('.')
+ v.type = name[name.length - 1]
+ v.name = v.IMAGE_TITLE
+ v.path = v.IMAGE_URL
+ })
+ }
_this.getChange()
_this.$forceUpdate()
diff --git a/pages/commodity_temp/components/listUnit.vue b/pages/commodity_temp/components/listUnit.vue
new file mode 100644
index 0000000..cb3ec8d
--- /dev/null
+++ b/pages/commodity_temp/components/listUnit.vue
@@ -0,0 +1,122 @@
+
+
+
+
+
+
+ {{item.COMMODITY_NAME}}
+
+
+ {{state[item.COMMODITY_TEMP_STATE]}}
+
+
+ {{i+1}}
+
+
+
+ {{item.SERVERPART_NAME}}
+
+
+
+
+
+ {{item.QUALIFICATION_DATE}}
+
+
+
+
+
+
+
+
+
+ {{item.STAFF_NAME}}
+
+
+ {{STATISTICS_DATE}}
+
+
+
+
+
+
+
+
diff --git a/pages/commodity_temp/detail.vue b/pages/commodity_temp/detail.vue
new file mode 100644
index 0000000..2d56397
--- /dev/null
+++ b/pages/commodity_temp/detail.vue
@@ -0,0 +1,248 @@
+
+
+
+
+
+
+ 商品资质
+
+
+
+
+
+
+ 商品类型:
+ {{dataDetail.COMMODITY_TYPENAME||''}}
+
+
+
+
+
+
+
+ 商品条码:
+ {{dataDetail.COMMODITY_BARCODE||''}}
+
+
+
+
+ 服务区名:
+ {{dataDetail.SERVERPART_NAME||''}}
+
+
+
+
+ 商品业态:
+ {{dataDetail.BUSINESSTYPE||''}}
+
+
+
+
+ 资质到期时间:
+ {{dataDetail.QUALIFICATION_DATE||''}}
+
+
+
+
+ 资质延期时间:
+ {{dataDetail.QUALIFICATION_DELAYDATE||''}}
+
+
+
+
+ 统计日期:
+ {{dataDetail.STATISTICS_DATE||''}}
+
+
+
+
+ 延期人员:
+ {{dataDetail.STAFF_NAME||''}}
+
+
+
+
+ 延期状态:
+ {{state[dataDetail.COMMODITY_TEMP_STATE]||''}}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/commodity_temp/index.vue b/pages/commodity_temp/index.vue
new file mode 100644
index 0000000..e2c7197
--- /dev/null
+++ b/pages/commodity_temp/index.vue
@@ -0,0 +1,471 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ 请选择其它日期进行查询。
+
+
+
+
+ {{!pageData.isEnd ? '正在加载,请稍后...':'——— 我是有底线的 ———'}}
+
+
+
+
+ 服务区名称
+
+
+ {{severpartList[pickerIndex].label}}
+
+
+
+ {{popData.dateName}}
+
+
+ {{d.name}}
+
+
+
+
+ {{searchTime[1]}}
+
+
+
+ 确定
+
+
+
+
+
+
+
+
diff --git a/pages/index/components/menus.js b/pages/index/components/menus.js
index f239c10..d913e7e 100644
--- a/pages/index/components/menus.js
+++ b/pages/index/components/menus.js
@@ -1,186 +1,192 @@
const yewu = [{
- "name": "财务审批",
- "id": "1a2907bd-c2f5-4ef9-9ead-70496650ace6",
- "modelName": "FinancialApproval",
- "imagePath": "/static/images/index/cwsp.png",
- "noImagePath": "/static/images/index/cwsp-no.png",
- "homeUrl": "/pages/expenseApproval/expenseApproval"
+ "name": "财务审批",
+ "id": "1a2907bd-c2f5-4ef9-9ead-70496650ace6",
+ "modelName": "FinancialApproval",
+ "imagePath": "/static/images/index/cwsp.png",
+ "noImagePath": "/static/images/index/cwsp-no.png",
+ "homeUrl": "/pages/expenseApproval/expenseApproval"
+}, {
+ "name": "招标投标",
+ "id": "916cdbb5-f05b-4624-b6c4-9f111d4389fc",
+ "modelName": "Tender",
+ "imagePath": "/static/images/index/zbtb.png",
+ "noImagePath": "/static/images/index/zbtb-no.png",
+ "homeUrl": "/pages/tender/tender"
+}, {
+ "name": "服务区报销",
+ "id": "8fea5036-d67e-476e-9e56-5f379ba6ae18",
+ "modelName": "ServerPartFinancialApproval",
+ "imagePath": "/static/images/index/fwqbx.png",
+ "noImagePath": "/static/images/index/fwqbx-no.png",
+ "homeUrl": "/pages/serviceAreaReimbursement/serviceAreaReimbursement"
+}, {
+ "name": "合同审批",
+ "id": "ac661db4-1af1-4732-88db-76bc05eec335",
+ "modelName": "ServerPartCompactApproval",
+ "imagePath": "/static/images/index/htsp.png",
+ "noImagePath": "/static/images/index/htsp-no.png",
+ "homeUrl": "/pages/contract/contract"
+}];
+const work = [{
+ "name": "公文阅办",
+ "id": "2580cb9f-ad2c-4d0b-b478-0be52eaf6ef6",
+ "modelName": "Publicity",
+ "imagePath": "/static/images/index/gwyb.png",
+ "noImagePath": "/static/images/index/gwyb-no.png",
+ "homeUrl": "/pages/officialDocManagement/officialDocManagement"
+ },
+ {
+ "name": "阳光公示",
+ "id": "c870b1bc-95c8-473d-81c8-8596eb793bd4",
+ "modelName": "Publicity",
+ "imagePath": "/static/images/index/publicity.png",
+ "noImagePath": "/static/images/index/publicity-no.png",
+ "homeUrl": "/pages/publicity/publicity"
}, {
- "name": "招标投标",
- "id": "916cdbb5-f05b-4624-b6c4-9f111d4389fc",
- "modelName": "Tender",
- "imagePath": "/static/images/index/zbtb.png",
- "noImagePath": "/static/images/index/zbtb-no.png",
- "homeUrl": "/pages/tender/tender"
+ "name": "请假加班",
+ "id": "1ceeaa5c-d11e-4dcd-8d33-0c3df4cd4937",
+ "modelName": "Publicity",
+ "imagePath": "/static/images/index/qjjb.png",
+ "noImagePath": "/static/images/index/qjjb-no.png",
+ "homeUrl": "/pages/askForLeave/askForLeave"
+ },
+ {
+ "name": "安全问答",
+ "id": "5733dfdd-29f6-4233-9ff0-6f077d80d778",
+ "modelName": "Questionnaire",
+ "imagePath": "/static/images/index/aqwd.png",
+ "noImagePath": "/static/images/index/aqwd-no.png",
+ "homeUrl": "/pages/webview/webview?name=questionnaire"
+ },
+ // {
+ // "name": "考勤打卡",
+ // "id": "ff04b551-c382-4638-a947-f95c42387ada",
+ // "modelName": "positionPunching",
+ // "imagePath": "/static/images/index/kqdk.png",
+ // "noImagePath": "/static/images/index/kqdk-no.png",
+ // "homeUrl": "/pages/additionalFeatures/positionPunching"
+ // }
+];
+const scene = [{
+ "name": "扫一扫",
+ "id": "1",
+ "modelName": "",
+ "imagePath": "/static/images/index/saoyisao.png",
+ "noImagePath": "/static/images/index/saoyisao-no.png",
+ "homeUrl": ""
}, {
- "name": "服务区报销",
- "id": "8fea5036-d67e-476e-9e56-5f379ba6ae18",
- "modelName": "ServerPartFinancialApproval",
- "imagePath": "/static/images/index/fwqbx.png",
- "noImagePath": "/static/images/index/fwqbx-no.png",
- "homeUrl": "/pages/serviceAreaReimbursement/serviceAreaReimbursement"
+ "name": "走动式管理",
+ "id": "c26c1620-2149-4b3d-ac2e-07e0c0494042",
+ "modelName": "Mbwa",
+ "imagePath": "/static/images/index/zdsgl.png",
+ "noImagePath": "/static/images/index/zdsgl-no.png",
+ "homeUrl": "/pages/mbwa/mbwa"
}, {
- "name": "合同审批",
- "id": "ac661db4-1af1-4732-88db-76bc05eec335",
- "modelName": "ServerPartCompactApproval",
- "imagePath": "/static/images/index/htsp.png",
- "noImagePath": "/static/images/index/htsp-no.png",
- "homeUrl": "/pages/contract/contract"
- }];
- const work = [{
- "name": "公文阅办",
- "id": "2580cb9f-ad2c-4d0b-b478-0be52eaf6ef6",
- "modelName": "Publicity",
- "imagePath": "/static/images/index/gwyb.png",
- "noImagePath": "/static/images/index/gwyb-no.png",
- "homeUrl": "/pages/officialDocManagement/officialDocManagement"
- },
- {
- "name": "阳光公示",
- "id": "c870b1bc-95c8-473d-81c8-8596eb793bd4",
- "modelName": "Publicity",
- "imagePath": "/static/images/index/publicity.png",
- "noImagePath": "/static/images/index/publicity-no.png",
- "homeUrl": "/pages/publicity/publicity"
- }, {
- "name": "请假加班",
- "id": "1ceeaa5c-d11e-4dcd-8d33-0c3df4cd4937",
- "modelName": "Publicity",
- "imagePath": "/static/images/index/qjjb.png",
- "noImagePath": "/static/images/index/qjjb-no.png",
- "homeUrl": "/pages/askForLeave/askForLeave"
- },
- {
- "name": "安全问答",
- "id": "5733dfdd-29f6-4233-9ff0-6f077d80d778",
- "modelName": "Questionnaire",
- "imagePath": "/static/images/index/aqwd.png",
- "noImagePath": "/static/images/index/aqwd-no.png",
- "homeUrl": "/pages/webview/webview?name=questionnaire"
- },
- // {
- // "name": "考勤打卡",
- // "id": "ff04b551-c382-4638-a947-f95c42387ada",
- // "modelName": "positionPunching",
- // "imagePath": "/static/images/index/kqdk.png",
- // "noImagePath": "/static/images/index/kqdk-no.png",
- // "homeUrl": "/pages/additionalFeatures/positionPunching"
- // }
- ];
- const scene = [{
- "name": "扫一扫",
- "id": "1",
- "modelName": "",
- "imagePath": "/static/images/index/saoyisao.png",
- "noImagePath": "/static/images/index/saoyisao-no.png",
- "homeUrl": ""
- },{
- "name": "走动式管理",
- "id": "c26c1620-2149-4b3d-ac2e-07e0c0494042",
- "modelName": "Mbwa",
- "imagePath": "/static/images/index/zdsgl.png",
- "noImagePath": "/static/images/index/zdsgl-no.png",
- "homeUrl": "/pages/mbwa/mbwa"
- }, {
- "name": "投诉建议",
- "id": "d405ae13-3388-41c0-a5f6-d11194d0a943",
- "modelName": "Suggestion",
- "imagePath": "/static/images/index/tsjy.png",
- "noImagePath": "/static/images/index/tsjy-no.png",
- "homeUrl": "/pages/suggestion/suggestion"
- },
- {
- "name": "收银稽核",
- "id": "ebd8cae4-d36d-4ea0-a7e9-61e566bf9e24",
- "modelName": "cashAudit",
- "imagePath": "/static/images/index/syjh.png",
- "noImagePath": "/static/images/index/syjh-no.png",
- "homeUrl": "/pages/cashAudit/list"
- }, {
- "name": "设备巡检",
- "id": "",
- "modelName": "",
- "imagePath": "/static/images/index/sbxj.png",
- "noImagePath": "/static/images/index/sbxj-no.png",
- "homeUrl": ""
- },
- {
- "name": "物业管理",
- "id": "",
- "modelName": "",
- "imagePath": "/static/images/index/wygl.png",
- "noImagePath": "/static/images/index/wygl-no.png",
- "homeUrl": ""
- },
- ]
- const management = [{
- "name": "每日营收",
- "id": "74934d31-385a-4eed-80bb-9c9ed7da29b5",
- "modelName": "EverdayRenven",
- "imagePath": "/static/images/index/mrys.png",
- "noImagePath": "/static/images/index/mrys-no.png",
- "homeUrl": "/pages/everdayRenven/index"
- },
- {
- "name": "日结校验",
- "id": "b0b63a75-56c9-4f1d-aacb-a26e62b47e3e",
- "modelName": "DataValidation",
- "imagePath": "/static/images/index/sjjy.png",
- "noImagePath": "/static/images/index/sjjy-no.png",
- "homeUrl": "/pages/dataSummary/dataSummary"
- },
- {
- "name": "商品审批",
- "id": "056b29d7-4721-47ee-ad25-660814e1f3a9",
- "modelName": "CommodityApproval",
- "imagePath": "/static/images/index/spsp.png",
- "noImagePath": "/static/images/index/spsp-no.png",
- "homeUrl": "/pages/businessApproval/businessApproval"
- },
- {
- "name": "招商审批",
- "id": "2290e96d-c6d7-4dde-b5b7-e699b615ff2f",
- "modelName": "Mnangement",
- "imagePath": "/static/images/index/zsgl.png",
- "noImagePath": "/static/images/index/zsgl-no.png",
- "homeUrl": "/pages/investment/investment"
- },{
- "name": "经营报表",
- "id": "4a34e1d4-47c9-4c06-8e8e-f38c6bd9450b",
- "modelName": "operatingStatements",
- "imagePath": "/static/images/index/jybb.png",
- "noImagePath": "/static/images/index/jybb-no.png",
- "homeUrl": "/pages/operatingStatements/index"
- },
- {
- "name": "商业BI",
- "id": "9125e837-1961-4d92-bdc1-2200260d9643",
- "modelName": "AnnualData",
- "imagePath": "/static/images/index/ndsj.png",
- "noImagePath": "/static/images/index/ndsj-no.png",
- "homeUrl": "/pages/webview/webview?src=https://eshangtech.com/questionnarie/business"
- },{
- "name": "权限审批",
- "id": "c802a38f-3bbd-4db0-89b6-34e404c8d8cc",
- "modelName": "authorityApproval",
- "imagePath": "/static/images/index/qxsp.png",
- "noImagePath": "/static/images/index/qxsp-no.png",
- "homeUrl": "/pages/authorityApproval/index"
- }
- ]
- export default [
- {
- name: '综合办公',
- list: work
- },{
- name: '业务审批',
- list:yewu
- },
- {
- name: '现场管理',
- list:scene
- },{
- name: '商业经营',
- list:management
- }
- ]
\ No newline at end of file
+ "name": "投诉建议",
+ "id": "d405ae13-3388-41c0-a5f6-d11194d0a943",
+ "modelName": "Suggestion",
+ "imagePath": "/static/images/index/tsjy.png",
+ "noImagePath": "/static/images/index/tsjy-no.png",
+ "homeUrl": "/pages/suggestion/suggestion"
+ },
+ {
+ "name": "收银稽核",
+ "id": "ebd8cae4-d36d-4ea0-a7e9-61e566bf9e24",
+ "modelName": "cashAudit",
+ "imagePath": "/static/images/index/syjh.png",
+ "noImagePath": "/static/images/index/syjh-no.png",
+ "homeUrl": "/pages/cashAudit/list"
+ }, {
+ "name": "设备巡检",
+ "id": "",
+ "modelName": "",
+ "imagePath": "/static/images/index/sbxj.png",
+ "noImagePath": "/static/images/index/sbxj-no.png",
+ "homeUrl": ""
+ },
+ {
+ "name": "物业管理",
+ "id": "",
+ "modelName": "",
+ "imagePath": "/static/images/index/wygl.png",
+ "noImagePath": "/static/images/index/wygl-no.png",
+ "homeUrl": ""
+ },
+]
+const management = [{
+ "name": "每日营收",
+ "id": "74934d31-385a-4eed-80bb-9c9ed7da29b5",
+ "modelName": "EverdayRenven",
+ "imagePath": "/static/images/index/mrys.png",
+ "noImagePath": "/static/images/index/mrys-no.png",
+ "homeUrl": "/pages/everdayRenven/index"
+ },
+ {
+ "name": "日结校验",
+ "id": "b0b63a75-56c9-4f1d-aacb-a26e62b47e3e",
+ "modelName": "DataValidation",
+ "imagePath": "/static/images/index/sjjy.png",
+ "noImagePath": "/static/images/index/sjjy-no.png",
+ "homeUrl": "/pages/dataSummary/dataSummary"
+ },
+ {
+ "name": "商品审批",
+ "id": "056b29d7-4721-47ee-ad25-660814e1f3a9",
+ "modelName": "CommodityApproval",
+ "imagePath": "/static/images/index/spsp.png",
+ "noImagePath": "/static/images/index/spsp-no.png",
+ "homeUrl": "/pages/businessApproval/businessApproval"
+ },
+ {
+ "name": "招商审批",
+ "id": "2290e96d-c6d7-4dde-b5b7-e699b615ff2f",
+ "modelName": "Mnangement",
+ "imagePath": "/static/images/index/zsgl.png",
+ "noImagePath": "/static/images/index/zsgl-no.png",
+ "homeUrl": "/pages/investment/investment"
+ }, {
+ "name": "经营报表",
+ "id": "4a34e1d4-47c9-4c06-8e8e-f38c6bd9450b",
+ "modelName": "operatingStatements",
+ "imagePath": "/static/images/index/jybb.png",
+ "noImagePath": "/static/images/index/jybb-no.png",
+ "homeUrl": "/pages/operatingStatements/index"
+ },
+ {
+ "name": "商业BI",
+ "id": "9125e837-1961-4d92-bdc1-2200260d9643",
+ "modelName": "AnnualData",
+ "imagePath": "/static/images/index/ndsj.png",
+ "noImagePath": "/static/images/index/ndsj-no.png",
+ "homeUrl": "/pages/webview/webview?src=https://eshangtech.com/questionnarie/business"
+ }, {
+ "name": "权限审批",
+ "id": "c802a38f-3bbd-4db0-89b6-34e404c8d8cc",
+ "modelName": "authorityApproval",
+ "imagePath": "/static/images/index/qxsp.png",
+ "noImagePath": "/static/images/index/qxsp-no.png",
+ "homeUrl": "/pages/authorityApproval/index"
+ }, {
+ "name": "资质审批",
+ "id": "d0bc5a4d-c509-4b22-ba2b-01ae675852d6",
+ "modelName": "commodity_temp",
+ "imagePath": "/static/images/index/qxsp.png",
+ "noImagePath": "/static/images/index/qxsp-no.png",
+ "homeUrl": "/pages/commodity_temp/index"
+ }
+]
+export default [{
+ name: '综合办公',
+ list: work
+ }, {
+ name: '业务审批',
+ list: yewu
+ },
+ {
+ name: '现场管理',
+ list: scene
+ }, {
+ name: '商业经营',
+ list: management
+ }
+]