diff --git a/src/views/modules/heart/actuserclock-detail.vue b/src/views/modules/heart/actuserclock-detail.vue index fcead7e..03a1649 100644 --- a/src/views/modules/heart/actuserclock-detail.vue +++ b/src/views/modules/heart/actuserclock-detail.vue @@ -19,6 +19,7 @@ v-model="dataForm.failureReason" type="textarea" placeholder="请写明理由,100字以内" + style="width: 460px !important;" > @@ -368,6 +369,9 @@ export default { .project-handle .el-input { width: 100px !important; } +.project-handle .el-pagination .el-input .project-handle .el-textarea { + width: 100px !important; +} .project-handle .handle-operation { background: #fff; } diff --git a/src/views/modules/heart/map-select.vue b/src/views/modules/heart/map-select.vue index 6bddc6c..d029101 100644 --- a/src/views/modules/heart/map-select.vue +++ b/src/views/modules/heart/map-select.vue @@ -80,6 +80,7 @@ export default { this.dataForm.latitude = position.lat this.dataForm.longitude = position.lng this.dataForm.city = position.city + this.getAddress(position.lat,position.lng) this.setMap() }, showErr () { @@ -122,6 +123,9 @@ export default { position: myLatlng, map: map }) + qq.maps.event.addListener(marker,'click',function (event) { + that.addressCheckHandle() + }) markerList.push(marker) // 添加监听事件 获取鼠标单击事件 qq.maps.event.addListener(map, 'click', function (event) { diff --git a/src/views/modules/points/volunteer-points-log.vue b/src/views/modules/points/volunteer-points-log.vue index 5687e09..ab7fdab 100644 --- a/src/views/modules/points/volunteer-points-log.vue +++ b/src/views/modules/points/volunteer-points-log.vue @@ -7,12 +7,12 @@ > - + + :key="item.behaviorCode" + :label="item.behaviorDesc" + :value="item.behaviorCode"> @@ -20,8 +20,8 @@ - - + + @@ -51,7 +51,7 @@ export default { }, visible: false, dataForm: { - volunteerId: '', + userId: '', behaviorCode: '' }, behaviorTypeList: [], @@ -67,7 +67,7 @@ export default { this.visible = true this.$nextTick(() => { this.$refs['dataForm'].resetFields() - if (this.dataForm.volunteerId) { + if (this.dataForm.userId) { this.getDataList() } }) @@ -86,17 +86,16 @@ export default { .catch(() => {}) }, showOperationTypeFormatter: function (row, column) { - if (row.operationType) { - let dict = this.operationTypeList.filter(item => item.dictValue === row.operationType)[0] - if (dict) { - return dict.dictName - } + if (row.operationType === '0') { + return '减积分'; + } + if (row.operationType === '1') { + return '加积分'; } - return '' }, getBehaviorTypeList () { this.$http - .get(`/sys/dict/listSimple/pointsrule_behavior`) + .get(`/points/pointsbehavior/getBehaviorDesc`) .then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) @@ -105,15 +104,6 @@ export default { }) .catch(() => {}) }, - showBehaviorCodeFormatter: function (row, column) { - if (row.behaviorCode) { - let dict = this.behaviorTypeList.filter(item => item.dictValue === row.behaviorCode)[0] - if (dict) { - return dict.dictName - } - } - return '' - }, queryByBehaviorCode () { this.getDataList() } diff --git a/src/views/modules/property/propertyproject.vue b/src/views/modules/property/propertyproject.vue index fc9f3b5..7b85673 100644 --- a/src/views/modules/property/propertyproject.vue +++ b/src/views/modules/property/propertyproject.vue @@ -5,7 +5,7 @@ - + -