|
|
@@ -66,10 +66,10 @@
|
|
|
<el-dialog :close-on-click-modal="false" title="点赞审批" :visible.sync="dialogFormVisible" width="40%">
|
|
|
<el-form :rules="rules" ref="dataForm" :model="dataForm" status-icon label-position="left" label-width="80px">
|
|
|
<el-form-item label="积分" prop="integral" v-if="flag == 0">
|
|
|
- <el-input-number :min="0" :step="1" v-model="dataForm.integral" style="width: 200px"></el-input-number>
|
|
|
+ <el-input-number :min="0" :step="1" v-model="dataForm.integral" style="width: 100%"></el-input-number>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="审批内容" prop="content" v-else>
|
|
|
- <el-input type="textarea" :rows="2" placeholder="请输入审批内容" v-model="dataForm.content" style="width: 200px"></el-input>
|
|
|
+ <el-input type="textarea" :rows="2" placeholder="请输入审批内容" v-model="dataForm.content" style="width: 100%"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
@@ -181,7 +181,7 @@ export default {
|
|
|
handleComplete() {
|
|
|
this.$refs["dataForm"].validate((valid) => {
|
|
|
if (valid) {
|
|
|
- complete({ uploadInfoId: uploadInfoId, flag: flag, integral: this.dataForm.integral, content: this.dataForm.content }).then(() => {
|
|
|
+ complete({ uploadInfoId: this.uploadInfoId, flag: this.flag, integral: this.dataForm.integral, content: this.dataForm.content }).then(() => {
|
|
|
this.dialogFormVisible = false;
|
|
|
this.$notify({
|
|
|
title: "成功",
|