Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
<template slot="tabs">
|
<template slot="tabs">
|
||||||
<el-tabs v-model="currIndex">
|
<el-tabs v-model="currIndex">
|
||||||
<el-tab-pane v-for="(tab,i) in tabs" :key="i" :label="tab.label">
|
<el-tab-pane v-for="(tab,i) in tabs" :key="i" :label="tab.label">
|
||||||
<component :is="tab.comp" v-if="currIndex === String(i)" :ref="tab.name"
|
<component :is="tab.comp" v-if="currIndex === String(i)" :ref="tab.name" v-on="$listeners"
|
||||||
:areaId="areaId" :instance="instance" :dict="dict" :permissions="permissions"/>
|
:areaId="areaId" :instance="instance" :dict="dict" :permissions="permissions"/>
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
</el-tabs>
|
</el-tabs>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<section class="gridScoreDetail">
|
<section class="gridScoreDetail">
|
||||||
<!-- <ai-list> -->
|
<!-- <ai-list> -->
|
||||||
<ai-title slot="title" title="网格员积分详情" isShowBottomBorder :isShowBack="true" />
|
<ai-title slot="title" title="网格员积分详情" isShowBottomBorder :isShowBack="true" @onBackClick="cancel(false)"/>
|
||||||
<!-- </ai-list> -->
|
<!-- </ai-list> -->
|
||||||
<el-row style="margin-top: 20px;">
|
<el-row style="margin-top: 20px;">
|
||||||
<div class="card_list">
|
<div class="card_list">
|
||||||
@@ -160,6 +160,12 @@ export default {
|
|||||||
},
|
},
|
||||||
getTableData() {},
|
getTableData() {},
|
||||||
getListInit() {},
|
getListInit() {},
|
||||||
|
cancel(isRefresh) {
|
||||||
|
this.$emit('change', {
|
||||||
|
type: 'gridScoreManage',
|
||||||
|
isRefresh: !!isRefresh
|
||||||
|
})
|
||||||
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.getColEcherts()
|
this.getColEcherts()
|
||||||
@@ -174,9 +180,8 @@ export default {
|
|||||||
.gridScoreDetail {
|
.gridScoreDetail {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
padding: 0 0 20px 0;
|
padding: 0 20px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
margin-top: 20px;
|
|
||||||
.card_list {
|
.card_list {
|
||||||
display: flex;
|
display: flex;
|
||||||
.card {
|
.card {
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<ai-search-bar>
|
<ai-search-bar>
|
||||||
<template #left>
|
<template #left>
|
||||||
<el-button type="primary" size="small" icon="iconfont iconAdd" @click="dialog = true">批量调整积分</el-button>
|
<el-button type="primary" size="small" icon="iconfont iconAdd" @click="dialog = true">批量调整积分</el-button>
|
||||||
<el-button type="primary" size="small" icon="iconfont iconAdd" @click="toDetail">跳转详情</el-button>
|
<el-button type="primary" size="small" icon="iconfont iconAdd" @click="toDetail('')">跳转详情</el-button>
|
||||||
<el-select size="small" style="width: 200px;" v-model="search.girdId" placeholder="所属网格" clearable
|
<el-select size="small" style="width: 200px;" v-model="search.girdId" placeholder="所属网格" clearable
|
||||||
@change="getListInit()">
|
@change="getListInit()">
|
||||||
<el-option
|
<el-option
|
||||||
@@ -147,18 +147,15 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
onConfirm() {},
|
onConfirm() {},
|
||||||
toDetail() {
|
toDetail(id) {
|
||||||
console.log('跳转详情');
|
|
||||||
this.$emit('change', {
|
this.$emit('change', {
|
||||||
type: 'gridScoreDetail',
|
type: 'gridScoreDetail',
|
||||||
params: {
|
params: {
|
||||||
// id
|
id: id || ''
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
console.log('跳转');
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@@ -41,7 +41,6 @@
|
|||||||
<ai-empty v-if="false" style="height: 300px;"></ai-empty>
|
<ai-empty v-if="false" style="height: 300px;"></ai-empty>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
<ai-card>
|
<ai-card>
|
||||||
@@ -110,6 +109,13 @@
|
|||||||
<el-button @click="dialog = false">关闭</el-button>
|
<el-button @click="dialog = false">关闭</el-button>
|
||||||
</span>
|
</span>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
|
<ai-dialog :visible.sync="dialogDate" title="选择时间" width="500px" customFooter>
|
||||||
|
<el-date-picker v-model="timeList" size="small" type="daterange" value-format="yyyy-MM-dd"
|
||||||
|
range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期">
|
||||||
|
</el-date-picker>
|
||||||
|
<el-button slot="footer" @click="selectDete" type="primary">确认</el-button>
|
||||||
|
</ai-dialog>
|
||||||
</section>
|
</section>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -140,6 +146,8 @@ export default {
|
|||||||
timeCheck: ['昨日','近7天','近30天','自定义'],
|
timeCheck: ['昨日','近7天','近30天','自定义'],
|
||||||
currrntTime: '0',
|
currrntTime: '0',
|
||||||
dialog: false,
|
dialog: false,
|
||||||
|
dialogDate: false,
|
||||||
|
timeList: ''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@@ -290,7 +298,11 @@ export default {
|
|||||||
getTableData() {},
|
getTableData() {},
|
||||||
|
|
||||||
timeChange(index) {
|
timeChange(index) {
|
||||||
this.currrntTime = index
|
if(index == 3) {
|
||||||
|
this.dialogDate = true
|
||||||
|
} else {
|
||||||
|
this.currrntTime = index
|
||||||
|
}
|
||||||
},
|
},
|
||||||
open(id) {
|
open(id) {
|
||||||
this.dialog = true
|
this.dialog = true
|
||||||
@@ -298,9 +310,24 @@ export default {
|
|||||||
},
|
},
|
||||||
getDetail(id) {
|
getDetail(id) {
|
||||||
|
|
||||||
}
|
},
|
||||||
|
|
||||||
|
selectDete() {
|
||||||
|
if(!this.timeList || !this.timeList.length) {
|
||||||
|
return this.$message.error('请选择自定义时间');
|
||||||
|
}
|
||||||
|
|
||||||
|
if(this.isEffectTimeSelect) { //宣发效果
|
||||||
|
this.timeListEffect = this.timeList
|
||||||
|
this.effectType = 3
|
||||||
|
// this.getEffect()
|
||||||
|
} else { //宣发明细
|
||||||
|
this.timeListDepart = this.timeList
|
||||||
|
this.departType = 3
|
||||||
|
// this.getDepart()
|
||||||
|
}
|
||||||
|
this.dialogDate = false
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -616,8 +616,12 @@
|
|||||||
border: 1px solid #D0D4DC;
|
border: 1px solid #D0D4DC;
|
||||||
|
|
||||||
p {
|
p {
|
||||||
line-height: 1.3;
|
display: -webkit-box;
|
||||||
padding: 8px 12px;
|
-webkit-line-clamp: 1;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
line-height: 38px;
|
||||||
|
padding: 0px 12px;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.msg-bottom {
|
.msg-bottom {
|
||||||
|
|||||||
Reference in New Issue
Block a user