diff --git a/pages.json b/pages.json
index 37ad9e6..c6caa89 100644
--- a/pages.json
+++ b/pages.json
@@ -560,6 +560,13 @@
"navigationBarTitleText": "",
"navigationStyle": "custom"
}
+ },
+ {
+ "path": "pages/statistics/myOutputValue/index",
+ "style": {
+ "navigationBarTitleText": "我的产值",
+ "navigationStyle": "custom"
+ }
}
],
"globalStyle": {
diff --git a/pages/staff/staff-my.vue b/pages/staff/staff-my.vue
index eed8a2f..e5be249 100644
--- a/pages/staff/staff-my.vue
+++ b/pages/staff/staff-my.vue
@@ -38,6 +38,17 @@
-->
+
+
+
+
+
+ 我的产值
+
+
+
+
+
@@ -224,24 +235,30 @@
url: '/pages/modifyPassword/modifyPassword' // 修改密码页面路径
});
},
- generateUniCode(code) {
- this.$nextTick(() => {
- // 获取uQRCode实例
- const qr = new UQRCode();
- // 设置二维码内容
- qr.data = this.shareUrl + code;
- // 设置二维码大小,必须与canvas设置的宽高一致
- qr.size = 200;
- // 调用制作二维码方法
- qr.make();
- // 获取canvas上下文
- const canvasContext = uni.createCanvasContext('qrcode', this); // 如果是组件,this必须传入
- // 设置uQRCode实例的canvas上下文
- qr.canvasContext = canvasContext;
- // 调用绘制方法将二维码图案绘制到canvas上
- qr.drawCanvas();
- })
- },
+ goOutputValue() {
+ // 跳转到个人产值页面
+ uni.navigateTo({
+ url: '/pages/statistics/myOutputValue/index'
+ });
+ },
+ generateUniCode(code) {
+ this.$nextTick(() => {
+ // 获取uQRCode实例
+ const qr = new UQRCode();
+ // 设置二维码内容
+ qr.data = this.shareUrl + code;
+ // 设置二维码大小,必须与canvas设置的宽高一致
+ qr.size = 200;
+ // 调用制作二维码方法
+ qr.make();
+ // 获取canvas上下文
+ const canvasContext = uni.createCanvasContext('qrcode', this); // 如果是组件,this必须传入
+ // 设置uQRCode实例的canvas上下文
+ qr.canvasContext = canvasContext;
+ // 调用绘制方法将二维码图案绘制到canvas上
+ qr.drawCanvas();
+ })
+ },
dialogConfirm() {
this.tui()
this.$refs.alertDialog.close()
diff --git a/pages/statistics/myOutputValue/assets/banner.png b/pages/statistics/myOutputValue/assets/banner.png
new file mode 100644
index 0000000..a9b73dd
Binary files /dev/null and b/pages/statistics/myOutputValue/assets/banner.png differ
diff --git a/pages/statistics/myOutputValue/assets/icon_tap.png b/pages/statistics/myOutputValue/assets/icon_tap.png
new file mode 100644
index 0000000..0a69a0d
Binary files /dev/null and b/pages/statistics/myOutputValue/assets/icon_tap.png differ
diff --git a/pages/statistics/myOutputValue/assets/name.png b/pages/statistics/myOutputValue/assets/name.png
new file mode 100644
index 0000000..0caaf82
Binary files /dev/null and b/pages/statistics/myOutputValue/assets/name.png differ
diff --git a/pages/statistics/myOutputValue/index.vue b/pages/statistics/myOutputValue/index.vue
new file mode 100644
index 0000000..bc55a0e
--- /dev/null
+++ b/pages/statistics/myOutputValue/index.vue
@@ -0,0 +1,466 @@
+
+
+
+
+
+
+
+
+ 我的产值统计
+
+
+
+
+
+
+
+ {{item.label || "无"}}
+
+
+
+
+
+
+
+ {{queryParams.datetimeRange[0]}}
+ ~
+ {{queryParams.datetimeRange[1]}}
+
+
+
+
+
+
+
+
+
+
+
+ {{ userInfo.nickname || '未设置昵称' }}
+ 服务{{ myStatistics.totalCount }}次
+
+
+
+
+ {{ item.projectName }}
+ {{ item.count }}
+
+
+ 产值
+ {{ item.outputValue }}
+
+
+ 占比
+ {{ item.percentage }}%
+
+
+
+
+
+
+
+
+
+
+
+ {{ userInfo.nickname || '未设置昵称' }}
+ 总产值{{ myOutputStatistics.totalPassOutputValue }}
+
+
+
+ 初检公示产值
+ {{ myOutputStatistics.initialInspectionOutputValue }}
+
+
+ 复检公示产值
+ {{ myOutputStatistics.recheckInspectionOutputValue }}
+
+
+ 初检合格产值
+ {{ myOutputStatistics.initialInspectionPassOutputValue }}
+
+
+ 复检合格产值
+ {{ myOutputStatistics.recheckInspectionPassOutputValue }}
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file