diff --git a/pages/workPlan/dayPlan/index.vue b/pages/workPlan/dayPlan/index.vue
index 04ac27f..d2843d5 100644
--- a/pages/workPlan/dayPlan/index.vue
+++ b/pages/workPlan/dayPlan/index.vue
@@ -144,10 +144,34 @@
- 查看数据
+
+
+
+
+
+
+ 请选择
+ >
+
+
+
+
+ 请选择
+ >
+
+
+
+
-
@@ -205,7 +243,13 @@ export default {
dj: {
rules: [{ required: true, errorMessage: '请填写' }]
}
- }
+ },
+ popupType: 'center',
+ isType: false,
+ isAUditingList: [
+ { title: '未审核', value: 0 },
+ { title: '已审核', value: 1 }
+ ]
}
},
methods: {
@@ -223,6 +267,7 @@ export default {
},
onSelectProject() {
this.$refs.popup.open('center')
+ this.popupType = 'center'
},
onProjectChange() {
console.log('选择---')
@@ -251,6 +296,24 @@ export default {
},
onBackToday() {
this.currentTime = this.$moment().format('YYYY-MM-DD')
+ },
+ onViewSelectProject() {
+ this.$refs.popup.open('bottom')
+ this.popupType = 'bottom'
+ },
+ onSelectAllType() {
+ this.$refs.popup.open('bottom')
+ this.popupType = 'bottom'
+ this.isType = true
+ },
+ onClosePopup() {
+ this.$refs.popup.close()
+ if (this.isType) {
+ this.isType = !this.isType
+ }
+ },
+ onCheckAuditing(val) {
+ console.log(val, '----')
}
},
onLoad(options) {
@@ -374,4 +437,29 @@ export default {
.view-time {
margin: 0 35rpx;
}
+.popup-bottom-content {
+ height: 50vh;
+
+ .bottom-title {
+ height: 90rpx;
+ padding-right: 30rpx;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ border-bottom: 1px solid #ccc;
+ }
+ .bottom-title text:first-child {
+ color: transparent;
+ }
+
+ .select-item {
+ height: 90rpx;
+ line-height: 90rpx;
+ text-align: center;
+ border-bottom: 1px solid #ccc;
+ }
+ .select-item:hover {
+ background-color: rgb(224, 239, 249);
+ }
+}
diff --git a/pages/workPlan/workbench/components/infrastructure-model.vue b/pages/workPlan/workbench/components/infrastructure-model.vue
index 1c92159..9a47bf3 100644
--- a/pages/workPlan/workbench/components/infrastructure-model.vue
+++ b/pages/workPlan/workbench/components/infrastructure-model.vue
@@ -4,7 +4,7 @@
基建-计划审核
-
+
{{ icon.icon_title }}
@@ -16,11 +16,19 @@ export default {
data() {
return {
iconList: [
- { icon_title: '日计划', url: '/pages/workPlan/dayPlan/index' },
- { icon_title: '周计划', url: 'xxx' },
- { icon_title: '月计划', url: 'xxx' },
- { icon_title: '涉网计划', url: 'xxx' },
- { icon_title: '临时计划', url: 'xxx' }
+ {
+ icon_title: '日计划',
+ url: '/pages/workPlan/dayPlan/index',
+ img_src: require('../../../../static/images/workPlan/day_plan.png')
+ },
+ { icon_title: '周计划', url: 'xxx', img_src: require('../../../../static/images/workPlan/week_plan.png') },
+ { icon_title: '月计划', url: 'xxx', img_src: require('../../../../static/images/workPlan/month_plan.png') },
+ { icon_title: '涉网计划', url: 'xxx', img_src: require('../../../../static/images/workPlan/web_plan.png') },
+ {
+ icon_title: '临时计划',
+ url: 'xxx',
+ img_src: require('../../../../static/images/workPlan/temporary_plan.png')
+ }
]
}
},
diff --git a/pages/workPlan/workbench/components/production-model.vue b/pages/workPlan/workbench/components/production-model.vue
index e8b9dcb..29744f2 100644
--- a/pages/workPlan/workbench/components/production-model.vue
+++ b/pages/workPlan/workbench/components/production-model.vue
@@ -4,7 +4,7 @@
生产-计划审核
-
+
{{ icon.icon_title }}
@@ -16,11 +16,19 @@ export default {
data() {
return {
iconList: [
- { icon_title: '日计划', url: '/pages/workPlan/dayPlan/index' },
- { icon_title: '周计划', url: 'xxx' },
- { icon_title: '月计划', url: 'xxx' },
- { icon_title: '涉网计划', url: 'xxx' },
- { icon_title: '临时计划', url: 'xxx' }
+ {
+ icon_title: '日计划',
+ url: '/pages/workPlan/dayPlan/index',
+ img_src: require('../../../../static/images/workPlan/day_plan.png')
+ },
+ { icon_title: '周计划', url: 'xxx', img_src: require('../../../../static/images/workPlan/week_plan.png') },
+ { icon_title: '月计划', url: 'xxx', img_src: require('../../../../static/images/workPlan/month_plan.png') },
+ { icon_title: '涉网计划', url: 'xxx', img_src: require('../../../../static/images/workPlan/web_plan.png') },
+ {
+ icon_title: '临时计划',
+ url: 'xxx',
+ img_src: require('../../../../static/images/workPlan/temporary_plan.png')
+ }
]
}
},
diff --git a/static/images/workPlan/day_plan.png b/static/images/workPlan/day_plan.png
new file mode 100644
index 0000000..a7fde08
Binary files /dev/null and b/static/images/workPlan/day_plan.png differ
diff --git a/static/images/workPlan/month_plan.png b/static/images/workPlan/month_plan.png
new file mode 100644
index 0000000..1fc0e61
Binary files /dev/null and b/static/images/workPlan/month_plan.png differ
diff --git a/static/images/workPlan/temporary_plan.png b/static/images/workPlan/temporary_plan.png
new file mode 100644
index 0000000..0b017a1
Binary files /dev/null and b/static/images/workPlan/temporary_plan.png differ
diff --git a/static/images/workPlan/web_plan.png b/static/images/workPlan/web_plan.png
new file mode 100644
index 0000000..6df7905
Binary files /dev/null and b/static/images/workPlan/web_plan.png differ
diff --git a/static/images/workPlan/week_plan.png b/static/images/workPlan/week_plan.png
new file mode 100644
index 0000000..2cb1c97
Binary files /dev/null and b/static/images/workPlan/week_plan.png differ