|
|
@ -2,39 +2,56 @@ |
|
|
<div class="project-handle" |
|
|
<div class="project-handle" |
|
|
style="background: #ffffff;"> |
|
|
style="background: #ffffff;"> |
|
|
<div class="project-detail"> |
|
|
<div class="project-detail"> |
|
|
<div class="project-detail-tip">处理操作 :</div> |
|
|
<div v-if="dataForm.status=='2'"> |
|
|
<el-form ref="dataForm" |
|
|
<div class="project-detail-tip">处理操作 :</div> |
|
|
:model="dataForm" |
|
|
<el-form ref="dataForm" |
|
|
:rules="dataRule" |
|
|
:model="dataForm" |
|
|
@keyup.enter.native="dataFormSubmitHandle()"> |
|
|
:rules="dataRule" |
|
|
<el-form-item label="是否加积分 :" |
|
|
@keyup.enter.native="dataFormSubmitHandle()"> |
|
|
prop="status"> |
|
|
<el-form-item label="是否加积分 :" |
|
|
<el-radio v-model="dataForm.status" |
|
|
prop="status"> |
|
|
:disabled="isAble" |
|
|
<el-radio v-model="dataForm.status" |
|
|
label="5">确认加积分</el-radio> |
|
|
label="5">确认加积分</el-radio> |
|
|
<el-radio v-model="dataForm.status" |
|
|
<el-radio v-model="dataForm.status" |
|
|
:disabled="isAble" |
|
|
label="6">拒绝加积分</el-radio> |
|
|
label="6">拒绝加积分</el-radio> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item label="处理意见 :" |
|
|
<el-form-item label="处理意见 :" |
|
|
prop="failureReason"> |
|
|
prop="failureReason"> |
|
|
<el-input :rows="4" |
|
|
<el-input :rows="4" |
|
|
v-model="dataForm.failureReason" |
|
|
v-model="dataForm.failureReason" |
|
|
type="textarea" |
|
|
:disabled="isAble" |
|
|
placeholder="请写明理由,100字以内"></el-input> |
|
|
type="textarea" |
|
|
</el-form-item> |
|
|
placeholder="请写明理由,100字以内"></el-input> |
|
|
<el-form-item style="float: right;"> |
|
|
</el-form-item> |
|
|
<el-button size="small" |
|
|
<el-form-item style="float: right;"> |
|
|
style="width: 95px" |
|
|
<el-button size="small" |
|
|
type="primary" |
|
|
style="width: 95px" |
|
|
@click="dataFormSubmitHandle()">{{ $t('confirm') }}</el-button> |
|
|
type="primary" |
|
|
<el-button size="small" |
|
|
:disabled="isAble" |
|
|
style="width: 95px" |
|
|
@click="dataFormSubmitHandle()">{{ $t('confirm') }}</el-button> |
|
|
@click="backToActClockList">{{ '返回' }}</el-button> |
|
|
<el-button size="small" |
|
|
</el-form-item> |
|
|
style="width: 95px" |
|
|
</el-form> |
|
|
@click="backToActClockList">{{ '返回' }}</el-button> |
|
|
</div> |
|
|
</el-form-item> |
|
|
<div class="info" |
|
|
</el-form> |
|
|
v-if="dataForm.status=='5'"> |
|
|
|
|
|
{{dataForm.status}} |
|
|
|
|
|
<div>本次活动已确认加积分</div> |
|
|
|
|
|
<div>如有积分调整,请在“志愿者管理-积分调整”里对该用户进行增或减积分操作</div> |
|
|
|
|
|
<el-button size="small" |
|
|
|
|
|
style="width: 95px" |
|
|
|
|
|
@click="backToActClockList">{{ '返回' }}</el-button> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="info" |
|
|
|
|
|
v-if="dataForm.status=='6'"> |
|
|
|
|
|
{{dataForm.status}} |
|
|
|
|
|
<div>本次活动已拒绝加积分</div> |
|
|
|
|
|
<div>如有积分调整,请在“志愿者管理-积分调整”里对该用户进行增或减积分操作</div> |
|
|
|
|
|
<el-button size="small" |
|
|
|
|
|
style="width: 95px" |
|
|
|
|
|
@click="backToActClockList">{{ '返回' }}</el-button> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
<div class="container"> |
|
|
<div class="container"> |
|
|
<div class="location"><span style="font-weight: bold;color: #606266">打卡位置 :</span> {{dataForm.address}}</div> |
|
|
<div class="location"><span style="font-weight: bold;color: #606266">打卡位置 :</span> {{dataForm.address}}</div> |
|
|
@ -259,12 +276,13 @@ export default { |
|
|
...this.dataForm, |
|
|
...this.dataForm, |
|
|
...res.data |
|
|
...res.data |
|
|
} |
|
|
} |
|
|
if (res.data.status !== '5' && res.data.status !== '6') { |
|
|
this.dataForm.status = '5'; |
|
|
this.dataForm.status = '5' |
|
|
// if (res.data.status != '5' && res.data.status != '6') { |
|
|
this.dataForm.failureReason = '' |
|
|
// this.dataForm.status = '5'; |
|
|
} else { |
|
|
// this.dataForm.failureReason = ''; |
|
|
this.isAble = true |
|
|
// } else { |
|
|
} |
|
|
// this.isAble = true; |
|
|
|
|
|
// } |
|
|
this.setMap(res.data) |
|
|
this.setMap(res.data) |
|
|
|
|
|
|
|
|
this.getDataList() |
|
|
this.getDataList() |
|
|
@ -306,9 +324,9 @@ export default { |
|
|
if (this.dataForm.failureReason.length > 100) { |
|
|
if (this.dataForm.failureReason.length > 100) { |
|
|
return this.$message.error('处理意见不超过100字') |
|
|
return this.$message.error('处理意见不超过100字') |
|
|
} |
|
|
} |
|
|
this.isAble = true |
|
|
// this.isAble = true |
|
|
this.$http['post']('/heart/actuserclocklog/pointCheck', this.dataForm).then(({ data: res }) => { |
|
|
this.$http['post']('/heart/actuserclocklog/pointCheck', this.dataForm).then(({ data: res }) => { |
|
|
this.isAble = false |
|
|
// this.isAble = false |
|
|
if (res.code !== 0) { |
|
|
if (res.code !== 0) { |
|
|
return this.$message.error(res.msg) |
|
|
return this.$message.error(res.msg) |
|
|
} |
|
|
} |
|
|
@ -458,5 +476,10 @@ export default { |
|
|
text-align: center; |
|
|
text-align: center; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
.info { |
|
|
|
|
|
height: 100%; |
|
|
|
|
|
background: #fff; |
|
|
|
|
|
margin-bottom: 0px; |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
</style> |
|
|
</style> |
|
|
|