Commit 6a77779a by xuyl

Merge branch 'v3.2.0' of http://192.168.3.233:8090/glsx-web/glsx-oss-task into xuyl_dev_v3.2.0

 Conflicts:
	src/views/task/addTask/index.vue
2 parents d0c29a30 328d2a44
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
width="800px" width="800px"
:before-close="handleClose" :before-close="handleClose"
> >
<div>修改任务开始日期不能晚于活动开始日期且不能早于当前日期。</div> <div>修改规则: 不能晚于活动开始日期且不能早于当前日期。</div>
<el-date-picker <el-date-picker
v-model="selectDateItem" v-model="selectDateItem"
type="date" type="date"
......
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
<el-tabs v-model="activeName" @tab-click="handleTabClick"> <el-tabs v-model="activeName" @tab-click="handleTabClick">
<el-tab-pane <el-tab-pane
:label="'全部' + '(' + listCount.totalCount + ')'" :label="'全部' + '(' + listCount.totalCount + ')'"
name="" name="first"
></el-tab-pane> ></el-tab-pane>
<el-tab-pane <el-tab-pane
:label="'未发布' + '(' + listCount.draftCount + ')'" :label="'未发布' + '(' + listCount.draftCount + ')'"
...@@ -167,6 +167,7 @@ const sceneOption = [ ...@@ -167,6 +167,7 @@ const sceneOption = [
}, },
] ]
const statusNum = { const statusNum = {
ALL: '',
UNPUBLISH: '1', UNPUBLISH: '1',
PUBLISHED: '2', PUBLISHED: '2',
FINISHIED: '3', FINISHIED: '3',
...@@ -259,7 +260,7 @@ export default { ...@@ -259,7 +260,7 @@ export default {
// 获取订单列表 // 获取订单列表
getListApi: taskApi.findMissionList, getListApi: taskApi.findMissionList,
status: false, status: false,
activeName: '', activeName: 'first',
} }
}, },
mounted() { mounted() {
...@@ -288,11 +289,12 @@ export default { ...@@ -288,11 +289,12 @@ export default {
} }
this.$nextTick(() => { this.$nextTick(() => {
this.$refs.taskTable.refreshTable() this.$refs.taskTable.refreshTable()
this.activeName = 'first'
}) })
}, },
// tab切换 // tab切换
handleTabClick(tab, event) { handleTabClick(tab, event) {
this.searchForm.activityStatus = tab.name this.searchForm.activityStatus = tab.name == 'first' ? '' : tab.name
this.$nextTick(() => { this.$nextTick(() => {
this.$refs.taskTable.refreshTable() this.$refs.taskTable.refreshTable()
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!