|
@@ -11,70 +11,66 @@
|
|
|
:key="i.taskType"
|
|
:key="i.taskType"
|
|
|
:badge="i.nums"
|
|
:badge="i.nums"
|
|
|
>
|
|
>
|
|
|
|
|
+ <template v-for="item in workList">
|
|
|
|
|
+ <!-- 列表 -->
|
|
|
|
|
+ <div class="cellMargin" v-if="item.taskType == i.taskType" :key="item.taskType">
|
|
|
|
|
+ <!-- 标题区域 -->
|
|
|
|
|
+ <!-- lz -->
|
|
|
|
|
+ <van-cell
|
|
|
|
|
+ :value="item.nums"
|
|
|
|
|
+ is-link
|
|
|
|
|
+ :to="{ path: worksLink(3, item.taskType) }"
|
|
|
|
|
+ :id="worksLink(1, item.taskType)"
|
|
|
|
|
+ >
|
|
|
|
|
+ <!-- 使用 title 插槽来自定义标题 -->
|
|
|
|
|
+ <template #title>
|
|
|
|
|
+ <span class="titleLeft"> </span>
|
|
|
|
|
+ <span class="custom-title">{{ item.taskTypeText }} </span>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </van-cell>
|
|
|
|
|
+ <!-- 待办区域 -->
|
|
|
|
|
+ <div class="marginCls" v-if="item.taskType == i.taskType">
|
|
|
|
|
+ <!-- <van-empty description="暂无数据" /> -->
|
|
|
|
|
+ <van-cell-group>
|
|
|
|
|
+ <van-cell
|
|
|
|
|
+ @click.stop="isFalgHandler(i, item.taskType, item.id)"
|
|
|
|
|
+ v-for="(i, index) in item.dataList"
|
|
|
|
|
+ :key="index"
|
|
|
|
|
+ class="mainTitle"
|
|
|
|
|
+ :value="worksLink(2, item.taskType, i.recStatus ? i.recStatus : i.status)"
|
|
|
|
|
+ :label="
|
|
|
|
|
+ i.startTime.substring(5, i.startTime.length - 3) +
|
|
|
|
|
+ '至' +
|
|
|
|
|
+ i.endTime.substring(5, i.endTime.length - 3)
|
|
|
|
|
+ "
|
|
|
|
|
+ :value-class="iColorClas(item.taskType, i.status)"
|
|
|
|
|
+ >
|
|
|
|
|
+ <template #title>
|
|
|
|
|
+ <span class="custom-title"
|
|
|
|
|
+ >{{ i.taskName }}
|
|
|
|
|
+ <van-tag
|
|
|
|
|
+ class="resetDy"
|
|
|
|
|
+ @click.stop="resetHandler(i.id)"
|
|
|
|
|
+ v-if="i.status == 1 && item.taskType == 3"
|
|
|
|
|
+ type="primary"
|
|
|
|
|
+ >重新调阅</van-tag
|
|
|
|
|
+ ></span
|
|
|
|
|
+ >
|
|
|
|
|
+ </template>
|
|
|
|
|
|
|
|
- <template v-for="item in workList" >
|
|
|
|
|
- <!-- 列表 -->
|
|
|
|
|
- <div class="cellMargin" v-if="item.taskType==i.taskType" :key="item.taskType">
|
|
|
|
|
- <!-- 标题区域 -->
|
|
|
|
|
- <!-- lz -->
|
|
|
|
|
- <van-cell
|
|
|
|
|
- :value="item.nums"
|
|
|
|
|
- is-link
|
|
|
|
|
- :to="{ path: worksLink(3, item.taskType) }"
|
|
|
|
|
- :id="worksLink(1, item.taskType)"
|
|
|
|
|
-
|
|
|
|
|
- >
|
|
|
|
|
- <!-- 使用 title 插槽来自定义标题 -->
|
|
|
|
|
- <template #title>
|
|
|
|
|
- <span class="titleLeft"> </span>
|
|
|
|
|
- <span class="custom-title">{{ item.taskTypeText }} </span>
|
|
|
|
|
- </template>
|
|
|
|
|
- </van-cell>
|
|
|
|
|
- <!-- 待办区域 -->
|
|
|
|
|
- <div class="marginCls" v-if="item.taskType==i.taskType">
|
|
|
|
|
- <!-- <van-empty description="暂无数据" /> -->
|
|
|
|
|
- <van-cell-group >
|
|
|
|
|
- <van-cell
|
|
|
|
|
-
|
|
|
|
|
- @click.stop="isFalgHandler(i, item.taskType, item.id)"
|
|
|
|
|
- v-for="(i, index) in item.dataList"
|
|
|
|
|
- :key="index"
|
|
|
|
|
- class="mainTitle"
|
|
|
|
|
- :value="worksLink(2, item.taskType, i.recStatus ? i.recStatus : i.status)"
|
|
|
|
|
- :label="
|
|
|
|
|
- i.startTime.substring(5, i.startTime.length - 3) + '至' + i.endTime.substring(5, i.endTime.length - 3)
|
|
|
|
|
- "
|
|
|
|
|
- :value-class="iColorClas(item.taskType, i.status)"
|
|
|
|
|
- >
|
|
|
|
|
- <template #title>
|
|
|
|
|
- <span class="custom-title"
|
|
|
|
|
- >{{ i.taskName }}
|
|
|
|
|
- <van-tag
|
|
|
|
|
- class="resetDy"
|
|
|
|
|
- @click.stop="resetHandler(i.id)"
|
|
|
|
|
- v-if="i.status == 1 && item.taskType == 3"
|
|
|
|
|
- type="primary"
|
|
|
|
|
- >重新调阅</van-tag
|
|
|
|
|
- ></span
|
|
|
|
|
- >
|
|
|
|
|
- </template>
|
|
|
|
|
-
|
|
|
|
|
- <template #right-icon>
|
|
|
|
|
- <van-icon name="arrow" class="rightIcon" />
|
|
|
|
|
- </template>
|
|
|
|
|
- </van-cell>
|
|
|
|
|
- </van-cell-group>
|
|
|
|
|
|
|
+ <template #right-icon>
|
|
|
|
|
+ <van-icon name="arrow" class="rightIcon" />
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </van-cell>
|
|
|
|
|
+ </van-cell-group>
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
- </div>
|
|
|
|
|
- </template>
|
|
|
|
|
-
|
|
|
|
|
|
|
+ </template>
|
|
|
</van-tab>
|
|
</van-tab>
|
|
|
</van-tabs>
|
|
</van-tabs>
|
|
|
|
|
|
|
|
-
|
|
|
|
|
- <!-- 扫描弹框 -->
|
|
|
|
|
- <scandialog ref="scandialog" @input="resultImg" @changeNFC="getNFC"></scandialog>
|
|
|
|
|
-
|
|
|
|
|
|
|
+ <!-- 扫描弹框 -->
|
|
|
|
|
+ <scandialog ref="scandialog" @input="resultImg" @changeNFC="getNFC"></scandialog>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
@@ -112,7 +108,7 @@ export default {
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
iColorClas(type, status) {
|
|
iColorClas(type, status) {
|
|
|
- if (status == 0 || (type == 0 && status == 1) || (type == 2 && status == 1)) {
|
|
|
|
|
|
|
+ if (status == 0|| (type == 9 && status == 1)|| (type == 9 && status == 10) || (type == 0 && status == 1) || (type == 2 && status == 1)) {
|
|
|
return 'wj-title-blue'
|
|
return 'wj-title-blue'
|
|
|
} else {
|
|
} else {
|
|
|
return 'wj-title-orange'
|
|
return 'wj-title-orange'
|
|
@@ -130,7 +126,7 @@ export default {
|
|
|
this.falg = false
|
|
this.falg = false
|
|
|
this.taskId = i.id
|
|
this.taskId = i.id
|
|
|
this.$refs.scandialog.visible = true
|
|
this.$refs.scandialog.visible = true
|
|
|
- this.globalLoading=true
|
|
|
|
|
|
|
+ this.globalLoading = true
|
|
|
} else {
|
|
} else {
|
|
|
this.falg = true
|
|
this.falg = true
|
|
|
this.$router.push({ path: this.worksLink(4, taskType, i.status, i.id, i) })
|
|
this.$router.push({ path: this.worksLink(4, taskType, i.status, i.id, i) })
|
|
@@ -192,7 +188,14 @@ export default {
|
|
|
str = '/wbpj'
|
|
str = '/wbpj'
|
|
|
strName = '待评价'
|
|
strName = '待评价'
|
|
|
path = '/resumptionEvaluate'
|
|
path = '/resumptionEvaluate'
|
|
|
- pathInfo = '/evaluate/' + id+'_add'
|
|
|
|
|
|
|
+ pathInfo = '/evaluate/' + id + '_add'
|
|
|
|
|
+
|
|
|
|
|
+ break
|
|
|
|
|
+ case 9:
|
|
|
|
|
+ str = '/wtzg'
|
|
|
|
|
+ strName = '待确认'
|
|
|
|
|
+ path = '/problemItem'
|
|
|
|
|
+ pathInfo = '/problemDetail?id=' + id + '&type=confirm'
|
|
|
|
|
|
|
|
break
|
|
break
|
|
|
case '/qt':
|
|
case '/qt':
|
|
@@ -235,13 +238,33 @@ export default {
|
|
|
} else if (val == 5 && taskType == 4) {
|
|
} else if (val == 5 && taskType == 4) {
|
|
|
strName = '待提交'
|
|
strName = '待提交'
|
|
|
}
|
|
}
|
|
|
|
|
+ //问题整改
|
|
|
|
|
+ if (val == 9 && taskType == 0) {
|
|
|
|
|
+ strName = '待确认'
|
|
|
|
|
+ } else if (val == 9 && taskType == 10) {
|
|
|
|
|
+ strName = '待整改'
|
|
|
|
|
+ } else if (val == 9 && taskType == 1) {
|
|
|
|
|
+ strName = '待审批'
|
|
|
|
|
+ }
|
|
|
return strName
|
|
return strName
|
|
|
} else if (type == 3) {
|
|
} else if (type == 3) {
|
|
|
//返回列表路径
|
|
//返回列表路径
|
|
|
return path
|
|
return path
|
|
|
} else {
|
|
} else {
|
|
|
//返回详情路径
|
|
//返回详情路径
|
|
|
- // taskType==status
|
|
|
|
|
|
|
+
|
|
|
|
|
+ //问题整改
|
|
|
|
|
+ if (val == 9 && taskType == 1) {
|
|
|
|
|
+ strName = '待审批'
|
|
|
|
|
+ // pathInfo = '/consultInfo/' + id + '_1'
|
|
|
|
|
+ pathInfo = '/problemDetail?id=' + id + '&type=confirmDissent'
|
|
|
|
|
+
|
|
|
|
|
+ }
|
|
|
|
|
+ if (val == 9 && taskType == 10) {
|
|
|
|
|
+ strName = '待整改'
|
|
|
|
|
+ pathInfo = '/problemDetail?id=' + id + '&type=reform'
|
|
|
|
|
+
|
|
|
|
|
+ }
|
|
|
//监控调阅
|
|
//监控调阅
|
|
|
if (val == 3 && taskType == 1) {
|
|
if (val == 3 && taskType == 1) {
|
|
|
strName = '调阅中'
|
|
strName = '调阅中'
|
|
@@ -371,7 +394,7 @@ export default {
|
|
|
}
|
|
}
|
|
|
.cellMargin {
|
|
.cellMargin {
|
|
|
margin: 20px;
|
|
margin: 20px;
|
|
|
- margin-top:0px;
|
|
|
|
|
|
|
+ margin-top: 0px;
|
|
|
height: calc(100vh - 380px);
|
|
height: calc(100vh - 380px);
|
|
|
box-shadow: 0 1px 4px #ccc;
|
|
box-shadow: 0 1px 4px #ccc;
|
|
|
background-color: #fff;
|
|
background-color: #fff;
|