Browse Source

机构负责人

lihongxiao 2 years ago
parent
commit
a192d9d4e2
1 changed files with 9 additions and 9 deletions
  1. 9 9
      src/views/PeopleManage/InstitutionalPremium.vue

+ 9 - 9
src/views/PeopleManage/InstitutionalPremium.vue

@@ -27,8 +27,8 @@
               <div slot="tip" class="el-upload__tip">请上传线下转账记录</div>
             </el-upload>
           </el-form-item>
-          <el-form-item label="驳回原因" prop="remark">
-            <el-input v-model="ruleForm.remark" style="width: 220px;" size="small" placeholder="请输入驳回原因"></el-input>
+          <el-form-item label="审批意见" prop="remark">
+            <el-input v-model="ruleForm.remark" style="width: 220px;" size="small" placeholder="请输入审批意见"></el-input>
           </el-form-item>
         </el-form>
 
@@ -216,7 +216,7 @@ export default {
           { message: '请上传转账截图', trigger: 'blur' },
         ],
         remark: [
-          { required: true, message: '请输入驳回原因', trigger: 'blur' },
+          { required: true, message: '请输入审批意见', trigger: 'blur' },
         ],
 
 
@@ -327,12 +327,12 @@ export default {
       this.imageUrl = '';
       this.ruleForm = {}
       this.rowId = params.id
-      //  this.$prompt('是否审核通过,输入驳回原因', '提示', {
+      //  this.$prompt('是否审核通过,输入审批意见', '提示', {
       //           confirmButtonText: '审核驳回',
       //           cancelButtonText: '审核通过',
       //           inputPattern: /^.+$/,
       //           distinguishCancelAndClose: true,
-      //           inputErrorMessage: '输入驳回原因!'
+      //           inputErrorMessage: '输入审批意见!'
       //       }).then(({ value }) => {
       //         this.$api.insCompany
       //   .sysAgencyFeeApprovalEdit({ id: params.id, status: '2', remark: value }).then(res => {
@@ -427,7 +427,7 @@ export default {
       params.append("type", "image");
       this.$api.letter.uploadFile(params).then((res) => {
         if (res.code == "200") {
-          this.ruleForm.pictureUrl = res.data.url
+          this.ruleForm.picture = res.data.url
           this.$refs.upload1.clearFiles();
         } else {
           this.$message.error(res.msg);
@@ -436,15 +436,15 @@ export default {
     },
     onDrivingupload(status) {
       if (status == 2 && !this.ruleForm.remark ) {
-        this.$message.error('请输入驳回原因!')
+        this.$message.error('请输入审批意见!')
         return
       }
-      if (status == 1 && !this.ruleForm.pictureUrl) {
+      if (status == 1 && !this.ruleForm.picture) {
         this.$message.error('请上传转账截图!')
         return
       }
       this.$api.insCompany
-        .sysAgencyFeeApprovalCon({ id: this.rowId, status, ...this.ruleForm })
+        .sysAgencyFeeApprovalEdit({ id: this.rowId, status, ...this.ruleForm })
         .then((res) => {
           if (res.code == 200) {
             this.$message({