整合通讯录组件渲染

This commit is contained in:
aixianling
2022-07-19 14:55:51 +08:00
parent bd410a9559
commit b5a0522fb9
14 changed files with 35 additions and 35 deletions

View File

@@ -139,7 +139,7 @@ export default {
this.$nextTick(() => {
this.loading = false
this.$initWxOpenData()
this.$store.dispatch('initOpenData')
})
} else {
this.loading = false

View File

@@ -16,7 +16,7 @@
</div>
</div>
<el-calendar v-model="calendarDate">
<template
<template
slot="dateCell"
slot-scope="{date, data}" >
<div class="flex-date">
@@ -155,7 +155,7 @@
if(this.chooseMonth != month) { // 日历点击不同月
this.searchMonth = ''
}
}
this.chooseDay = date
@@ -168,11 +168,11 @@
this.chooseMonth = month
this.chooseYear = year
}
},
created() {
this.$initWxOpenData()
this.$store.dispatch('initOpenData')
var year = this.calendarDate.getFullYear();
var month = this.calendarDate.getMonth() + 1;
var date = this.calendarDate.getDate()
@@ -196,7 +196,7 @@
if (res.code == 0) {
this.dateList = res.data
this.getTaskList(this.chooseDay)
}
}
})
},
getTaskList(day) {
@@ -221,7 +221,7 @@
this.setLineChart(xData, createData, 'createChart', ['#2891FF'])
this.setLineChart(xData, executeData, 'executeChart', ['#FFB865'])
this.setLineChart(xData, receiveData, 'receiveChart', ['#26D52B'])
}
}
})
},
setLineChart(xData, yData, id, colorList) {
@@ -266,9 +266,9 @@
if (res.code == 0) {
// this.dateList = res.data
// this.getTaskList(this.chooseDay)
this.setBarChart()
}
}
})
// var items = [{type: 'departmentName', id: '10', corpid: 'ww596787bb70f08288'}]
@@ -278,7 +278,7 @@
// }
// console.log(data)
// })
},
setBarChart() {
this.departBarChart = echarts.init(document.querySelector(`#departBarChart`))
@@ -340,7 +340,7 @@
}
]
};
// {
// tooltip: {
// trigger: 'axis',
@@ -553,16 +553,16 @@
}
}
}
}
#departBarChart{
width: 100%;
height: 300px;
}
}
::v-deep .el-calendar-table:not(.is-range) td.next,
::v-deep .el-calendar-table:not(.is-range) td.next,
::v-deep .el-calendar-table:not(.is-range) td.prev {
color: #ccc;
}
@@ -599,7 +599,7 @@
border-right: 1px solid #eee;
}
::v-deep .el-timeline-item__timestamp.is-top{
margin-bottom: 0;
margin-bottom: 0;
padding-top: 0;
}
::v-deep .el-timeline-item__node{

View File

@@ -574,7 +574,7 @@ export default {
this.$nextTick(() => {
this.loading = false
this.$initWxOpenData()
this.$store.dispatch('initOpenData')
})
} else {
this.loading = false

View File

@@ -167,7 +167,7 @@
</div>
<p>可以将生成的二维码或链接分享给居民</p>
<el-input size="small" :value="info.linkUrl">
<el-button slot="append" type="primary" @click="copy(info.linkUrl)">复制链接</el-button>
<el-button slot="append" type="primary" @click="copy(info.linkUrl)">复制链接</el-button>
</el-input>
</div>
<div class="step-right">
@@ -346,7 +346,7 @@
this.list = res.data.records
this.total = res.data.total
this.$initWxOpenData()
this.$store.dispatch('initOpenData')
this.loading = false
} else {
this.loading = false
@@ -359,7 +359,7 @@
this.instance.post(`/app/appquestionnairetemplate/release`, null, {
params: {
...this.editForm,
id: this.id,
id: this.id,
periodValidityEndTime: this.editForm.periodValidityType === '1' ? this.editForm.periodValidityEndTime : ''
}
}).then(res => {
@@ -538,7 +538,7 @@
li.active + li {
border-left: 1px solid #D0D4DC;
}
}
}
.publish {
.tips {
@@ -737,7 +737,7 @@
min-height: 450px;
margin: 0 auto;
}
.ai-dialog__success {
::v-deep .ai-dialog__content {
max-height: initial!important;

View File

@@ -232,7 +232,7 @@
mounted () {
this.getInfo()
this.getFormInfo()
this.dict.load(['wxUserType']).then(() => {
this.getList()
})
@@ -247,7 +247,7 @@
if (res.code == 0) {
this.tableData = res.data.records
this.total = res.data.total
this.$initWxOpenData()
this.$store.dispatch('initOpenData')
}
})
},
@@ -322,7 +322,7 @@
this.targetList = res.data.fields.map(item => {
return JSON.parse(item.fieldInfo)
})
this.$initWxOpenData()
this.$store.dispatch('initOpenData')
}
})
},
@@ -608,7 +608,7 @@
.statistics-wrapper__body--item {
margin-bottom: 20px;
background: #FFFFFF;
border-radius: 4px;
border-radius: 4px;
border: 1px solid #DDDDDD;
}

View File

@@ -142,7 +142,7 @@
if (res.code == 0) {
this.tableData = res.data.records
this.total = res.data.total
this.$initWxOpenData()
this.$store.dispatch('initOpenData')
}
})
},

View File

@@ -246,7 +246,7 @@ export default {
if (res?.data) {
this.info.attendees = res.data.records;
this.total = res.data.total;
this.$initWxOpenData()
this.$store.dispatch('initOpenData')
}
});
},

View File

@@ -135,7 +135,7 @@ export default {
if (res && res.data) {
this.tableData = res.data.records;
this.total = res.data.total;
this.$initWxOpenData()
this.$store.dispatch('initOpenData')
}
});
},

View File

@@ -108,7 +108,7 @@ export default {
if (res?.data) {
this.tableData = res.data.records
this.page.total = res.data.total
this.$initWxOpenData()
this.$store.dispatch('initOpenData')
}
})
},

View File

@@ -138,7 +138,7 @@
if(res && res.data){
Object.keys(this.form).map(e=>this.form[e] = res.data[e]);
this.form.type = res.data.releaseTime ? 1 : 0;
this.$initWxOpenData()
this.$store.dispatch('initOpenData')
}
})
},

View File

@@ -56,7 +56,7 @@
}).then(res => {
if (res && res.data) {
this.detailObj = res.data;
this.$initWxOpenData()
this.$store.dispatch('initOpenData')
}
})
}

View File

@@ -156,7 +156,7 @@
}).then(res => {
if (res && res.data) {
this.detailObj = res.data;
this.$initWxOpenData()
this.$store.dispatch('initOpenData')
}
})
},

View File

@@ -197,7 +197,7 @@
if(res && res.data){
this.readObj = res.data;
this.visible = true;
this.$initWxOpenData()
this.$store.dispatch('initOpenData')
}
})
},
@@ -213,7 +213,7 @@
if(res && res.data){
this.tableData = res.data.records;
this.total = res.data.total;
this.$initWxOpenData()
this.$store.dispatch('initOpenData')
}
})
}

View File

@@ -112,7 +112,7 @@
if (res && res.data) {
this.tableData = res.data.records;
this.total = res.data.total;
this.$initWxOpenData()
this.$store.dispatch('initOpenData')
}
});
},