|
@@ -1,32 +1,39 @@
|
|
|
<template>
|
|
<template>
|
|
|
- <div class="index-container">
|
|
|
|
|
-
|
|
|
|
|
- </div>
|
|
|
|
|
|
|
+ <div class="index-container">
|
|
|
|
|
+ <top-bar ref="topbar"></top-bar>
|
|
|
|
|
+ <!-- 步骤条 -->
|
|
|
|
|
+ <van-tabs class="tab-tabs" color="#008cd6" @click="tabClickHandler" v-if="tabOptions && tabOptions.length > 0">
|
|
|
|
|
+ <van-tab :title="item.taskTypeText" :name="item.label" v-for="item in workList" :key="item.taskType"></van-tab>
|
|
|
|
|
+ </van-tabs>
|
|
|
|
|
+
|
|
|
|
|
+ </div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
-<script>
|
|
|
|
|
-import TopBar from '@/components/TopBar'
|
|
|
|
|
|
|
+<script>
|
|
|
|
|
+import TopBar from '@/components/TopBar'
|
|
|
|
|
+import OrgInfo from './components/orgInfo.vue';
|
|
|
|
|
+import QuestionInfo from './components/questionInfo.vue';
|
|
|
|
|
+import TaskInfo from './components/taskInfo.vue';
|
|
|
export default {
|
|
export default {
|
|
|
- name: 'works',
|
|
|
|
|
- components: { TopBar },
|
|
|
|
|
- data(){
|
|
|
|
|
- return {
|
|
|
|
|
- tabOptions:[
|
|
|
|
|
- {
|
|
|
|
|
- value:1,
|
|
|
|
|
- label:'履职情况'
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- value:2,
|
|
|
|
|
- label:'机构统计'
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- value:3,
|
|
|
|
|
- label:'隐患整改'
|
|
|
|
|
- },
|
|
|
|
|
- ]
|
|
|
|
|
|
|
+ name: 'works',
|
|
|
|
|
+ components: { TopBar },
|
|
|
|
|
+ data() {
|
|
|
|
|
+ return {
|
|
|
|
|
+ tabOptions: [
|
|
|
|
|
+ {
|
|
|
|
|
+ value: 1,
|
|
|
|
|
+ label: '任务情况'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ value: 2,
|
|
|
|
|
+ label: '机构统计'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ value: 3,
|
|
|
|
|
+ label: '隐患整改'
|
|
|
}
|
|
}
|
|
|
|
|
+ ]
|
|
|
}
|
|
}
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
</script>
|
|
</script>
|
|
|
-
|
|
|