浏览代码

Merge remote-tracking branch 'origin/master'

lizhenhao 2 年之前
父节点
当前提交
b05c0984e7

+ 4 - 4
src/views/modules/cw/reportCancellApplyArchived/ReportCancellApplyArchivedForm.vue

@@ -36,8 +36,8 @@
                                 {required: true, message:'项目名称不能为空', trigger:'blur'},
                                 {required: true, message:'项目名称不能为空', trigger:'change'}
                    ]">
-                    <el-input :readonly="true" v-model="inputForm.cwProjectRecordsDTO.projectName" placeholder="请填写项目名称" clearable>
-                      <el-button slot="append" :disabled="formReadOnly" @click="openChooseProject" icon="el-icon-search"></el-button>
+                    <el-input :disabled="true" :readonly="true" v-model="inputForm.cwProjectRecordsDTO.projectName" placeholder="请填写项目名称" clearable>
+                      <el-button slot="append" :disabled="true" @click="openChooseProject" icon="el-icon-search"></el-button>
                     </el-input>
                   </el-form-item>
                 </el-col>
@@ -207,8 +207,8 @@
                                 {required: true, message:'报告文号不能为空', trigger:'blur'},
                                 {required: true, message:'报告文号不能为空', trigger:'change'}
                    ]">
-                    <el-input :readonly="true" v-model="inputForm.reportNo" placeholder="请填写报告文号" clearable>
-                      <el-button slot="append" :disabled="formReadOnly" @click="openReportChoose" icon="el-icon-search"></el-button>
+                    <el-input :disabled="true" :readonly="true" v-model="inputForm.reportNo" placeholder="请填写报告文号" clearable>
+                      <el-button :disabled="true" slot="append" @click="openReportChoose" icon="el-icon-search"></el-button>
                     </el-input>
                   </el-form-item>
                 </el-col>

+ 1 - 0
src/views/modules/cw/reportCancellApplyArchived/ReportCancellApplyArchivedList.vue

@@ -378,6 +378,7 @@
       }, */
       // 查看流程结果
       detail (row) {
+        console.log('row', row)
         if (row.applyFileType !== '0' && row.applyFileType !== '1') {
           this.reportCancellApplyArchivedService.findByContractInfoId(row.id).then(({data}) => {
             if (!this.commonJS.isEmpty(data.id)) {

+ 4 - 4
src/views/modules/cw/reportCancellApplyArchived/ReportCancellApplyArchivedTaskForm.vue

@@ -27,8 +27,8 @@
                                 {required: true, message:'项目名称不能为空', trigger:'blur'},
                                 {required: true, message:'项目名称不能为空', trigger:'change'}
                    ]">
-                <el-input :readonly="true" v-model="inputForm.cwProjectRecordsDTO.projectName" placeholder="请填写项目名称" clearable>
-                  <el-button slot="append" :disabled="formReadOnly" @click="openChooseProject" icon="el-icon-search"></el-button>
+                <el-input :disabled="true" :readonly="true" v-model="inputForm.cwProjectRecordsDTO.projectName" placeholder="请填写项目名称" clearable>
+                  <el-button :disabled="true" slot="append" @click="openChooseProject" icon="el-icon-search"></el-button>
                 </el-input>
               </el-form-item>
             </el-col>
@@ -198,8 +198,8 @@
                                 {required: true, message:'报告文号不能为空', trigger:'blur'},
                                 {required: true, message:'报告文号不能为空', trigger:'change'}
                    ]">
-                <el-input :readonly="true" v-model="inputForm.reportNo" placeholder="请填写报告文号" clearable>
-                  <el-button slot="append" :disabled="formReadOnly" @click="openReportChoose" icon="el-icon-search"></el-button>
+                <el-input :disabled="true" :readonly="true" v-model="inputForm.reportNo" placeholder="请填写报告文号" clearable>
+                  <el-button :disabled="true" slot="append" @click="openReportChoose" icon="el-icon-search"></el-button>
                 </el-input>
               </el-form-item>
             </el-col>

+ 32 - 10
src/views/modules/cw/reportManagement/ReportManagementAddForm.vue

@@ -551,7 +551,8 @@
           signatureAnnotator1: '',
           signatureAnnotator2: '',
           signatureType: '',
-          projectMasterId: '',
+          projectMasterId1: '',
+          projectMasterId2: '',
           projectMasterName: '',
           cwProjectInfoList: [],
           cwFileInfoList: [],
@@ -623,8 +624,16 @@
             this.$refs.userSelect1.clearSelectData()
             this.$forceUpdate()
           })
-        } else if (this.commonJS.isNotEmpty(this.inputForm.signatureAnnotator2) && this.inputForm.projectMasterId !== this.inputForm.signatureAnnotator2 &&
-          this.inputForm.projectMasterId !== value && this.commonJS.isNotEmpty(value)) {
+        } else if (this.commonJS.isNotEmpty(this.inputForm.signatureAnnotator2) &&
+          this.inputForm.projectMasterId1 !== this.inputForm.signatureAnnotator2 &&
+          this.inputForm.projectMasterId2 !== this.inputForm.signatureAnnotator2 &&
+          this.inputForm.projectMasterId1 !== value &&
+          this.inputForm.projectMasterId2 !== value &&
+          this.commonJS.isNotEmpty(value)) {
+          console.log('项目经理1', this.inputForm.projectMasterId1)
+          console.log('项目经理2', this.inputForm.projectMasterId2)
+          console.log('签字注师2', this.inputForm.signatureAnnotator2)
+          console.log('签字注师1', value)
           this.$message.warning('签字注师1和签字注师2至少有一个与项目经理相同')
           this.$nextTick(() => {
             this.inputForm.signatureAnnotator1 = ''
@@ -645,8 +654,15 @@
             this.$refs.userSelect2.clearSelectData()
             this.$forceUpdate()
           })
-        } else if (this.commonJS.isNotEmpty(this.inputForm.signatureAnnotator1) && this.inputForm.projectMasterId !== this.inputForm.signatureAnnotator1 &&
-          this.inputForm.projectMasterId !== value && this.commonJS.isNotEmpty(value)) {
+        } else if (this.commonJS.isNotEmpty(this.inputForm.signatureAnnotator1) &&
+          this.inputForm.projectMasterId1 !== this.inputForm.signatureAnnotator1 &&
+          this.inputForm.projectMasterId2 !== this.inputForm.signatureAnnotator1 &&
+          this.inputForm.projectMasterId1 !== value && this.commonJS.isNotEmpty(value) &&
+          this.inputForm.projectMasterId2 !== value) {
+          console.log('项目经理1', this.inputForm.projectMasterId1)
+          console.log('项目经理2', this.inputForm.projectMasterId2)
+          console.log('签字注师1', this.inputForm.signatureAnnotator1)
+          console.log('签字注师2', value)
           this.$message.warning('签字注师1和签字注师2至少有一个与项目经理相同')
           this.$nextTick(() => {
             this.inputForm.signatureAnnotator2 = ''
@@ -707,7 +723,8 @@
           signatureAnnotator2: '',
           signatureType: '',
           projectMasterName: '',
-          projectMasterId: '',
+          projectMasterId1: '',
+          projectMasterId2: '',
           cwProjectInfoList: [],
           realCreate: ''
         }
@@ -761,11 +778,13 @@
         }
       },
       getContract (row) {
+        console.log('row', row)
         this.inputForm.projectName = row.projectName // 项目名称
         this.inputForm.projectId = row.id // 项目id
         this.inputForm.projectNumber = row.projectNumber // 项目编号
         this.inputForm.projectMasterName = row.projectMasterName // 项目经理
-        this.inputForm.projectMasterId = row.projectMasterId // 项目经理id
+        this.inputForm.projectMasterId1 = row.projectMasterId // 项目经理1id
+        this.inputForm.projectMasterId2 = row.realHeader // 项目经理2id
         this.clearClientList()
         this.$forceUpdate()
         this.inputForm.cwProjectInfoList = []
@@ -817,14 +836,16 @@
                 return new Promise((resolve, reject) => {
                   if (_this.commonJS.isNotEmpty(_this.inputForm.signatureAnnotator1) &&
                     _this.commonJS.isEmpty(_this.inputForm.signatureAnnotator2) &&
-                    _this.inputForm.signatureAnnotator1 !== _this.inputForm.projectMasterId) {
+                    _this.inputForm.signatureAnnotator1 !== _this.inputForm.projectMasterId1 &&
+                    _this.inputForm.signatureAnnotator1 !== _this.inputForm.projectMasterId2) {
                     _this.$message.error('签字注师1和签字注师2至少有一个与项目经理相同')
                     _num = 1
                     _this.loading = false
                   }
                   if (_this.commonJS.isNotEmpty(_this.inputForm.signatureAnnotator2) &&
                     _this.commonJS.isEmpty(_this.inputForm.signatureAnnotator1) &&
-                    _this.inputForm.signatureAnnotator2 !== _this.inputForm.projectMasterId) {
+                    _this.inputForm.signatureAnnotator2 !== _this.inputForm.projectMasterId1 &&
+                    _this.inputForm.signatureAnnotator1 !== _this.inputForm.projectMasterId2) {
                     _this.$message.error('签字注师1和签字注师2至少有一个与项目经理相同')
                     _num = 1
                     _this.loading = false
@@ -1017,7 +1038,8 @@
           signatureAnnotator1: '',
           signatureAnnotator2: '',
           signatureType: '',
-          projectMasterId: '',
+          projectMasterId1: '',
+          projectMasterId2: '',
           projectMasterName: '',
           cwProjectInfoList: [],
           cwFileInfoList: [],

+ 228 - 9
src/views/modules/cw/reportManagement/ReportManagementForm.vue

@@ -467,6 +467,150 @@
                 </el-form-item>
               </el-col>
             </el-row>
+            <el-divider content-position="left"><i class="el-icon-document"></i>一级复核</el-divider>
+            <el-row :gutter="15" >
+              <vxe-table
+                border
+                show-overflow
+                ref="details"
+                class="vxe-table-element"
+                :data="inputForm.detailFor1010"
+                style="margin-left: 5em"
+                @cell-click=""
+                @edit-closed=""
+                highlight-current-row
+                :key="tableKeyClient"
+                :edit-config="{trigger: 'click', mode: 'cell', showStatus: true, autoClear: true}"
+              >
+                <vxe-table-column field="typeName" title="复核的主要内容" :edit-render="{}">
+                  <template v-slot:edit="scope">
+                    <el-input :disabled="true"  v-model="scope.row.typeName" ></el-input>
+                  </template>
+                </vxe-table-column>
+                <vxe-table-column width="450px" field="reviewComments" title="复核结果(是/否/不适用)" :edit-render="{name: '$select', options: $dictUtils.getDictList('yes_no_notApplicable')}">
+                  <template v-slot:edit="scope">
+                    <vxe-select :disabled="method === 'view'" v-model="scope.row.reviewComments" transfer>
+                      <vxe-option
+                        v-for="item in $dictUtils.getDictList('yes_no_notApplicable')"
+                        :key="item.value"
+                        :value="item.value"
+                        :label="item.label">
+                      </vxe-option>
+                    </vxe-select>
+                  </template>
+                </vxe-table-column>
+              </vxe-table>
+              <el-col style="margin-top: 15px">
+                <el-form-item label="关注或修改的事项" prop="needUpdate1"
+                              :rules="[
+                   ]">
+                  <el-input size="medium"  type="textarea" v-model="inputForm.needUpdate1" placeholder="请填写需提请关注或修改的事项"></el-input>
+                </el-form-item>
+              </el-col>
+              <el-col>
+                <el-form-item label="备注" prop="remark1"
+                              :rules="[
+                   ]">
+                  <el-input size="medium" type="textarea" v-model="inputForm.remark1" placeholder="请填写一级复核备注"></el-input>
+                </el-form-item>
+              </el-col>
+            </el-row>
+            <el-divider content-position="left"><i class="el-icon-document"></i>二级复核</el-divider>
+            <el-row :gutter="15" >
+              <vxe-table
+                border
+                show-overflow
+                ref="details"
+                class="vxe-table-element"
+                :data="inputForm.detailFor1020"
+                style="margin-left: 5em"
+                @cell-click=""
+                @edit-closed=""
+                highlight-current-row
+                :key="tableKeyClient2"
+                :edit-config="{trigger: 'click', mode: 'cell', showStatus: true, autoClear: true}"
+              >
+                <vxe-table-column field="typeName" title="复核的主要内容" :edit-render="{}">
+                  <template v-slot:edit="scope">
+                    <el-input :disabled="true" v-model="scope.row.typeName" ></el-input>
+                  </template>
+                </vxe-table-column>
+                <vxe-table-column width="450px" field="reviewComments" title="复核结果(是/否/不适用)" :edit-render="{name: '$select', options: $dictUtils.getDictList('yes_no_notApplicable')}">
+                  <template v-slot:edit="scope">
+                    <vxe-select :disabled="method === 'view'" v-model="scope.row.reviewComments" transfer>
+                      <vxe-option
+                        v-for="item in $dictUtils.getDictList('yes_no_notApplicable')"
+                        :key="item.value"
+                        :value="item.value"
+                        :label="item.label">
+                      </vxe-option>
+                    </vxe-select>
+                  </template>
+                </vxe-table-column>
+              </vxe-table>
+              <el-col style="margin-top: 15px">
+                <el-form-item label="关注或修改的事项" prop="needUpdate2"
+                              :rules="[
+                   ]">
+                  <el-input size="medium" type="textarea" v-model="inputForm.needUpdate2" placeholder="请填写二级复核需提请关注或修改的事项"></el-input>
+                </el-form-item>
+              </el-col>
+              <el-col>
+                <el-form-item label="备注" prop="remark2"
+                              :rules="[
+                   ]">
+                  <el-input size="medium" type="textarea" v-model="inputForm.remark2" placeholder="请填写二级复核备注"></el-input>
+                </el-form-item>
+              </el-col>
+            </el-row>
+            <el-divider content-position="left"><i class="el-icon-document"></i>三级复核</el-divider>
+            <el-row :gutter="15" >
+              <vxe-table
+                border
+                show-overflow
+                ref="details"
+                class="vxe-table-element"
+                :data="inputForm.detailFor1030"
+                style="margin-left: 5em"
+                @cell-click=""
+                @edit-closed=""
+                highlight-current-row
+                :key="tableKeyClient3"
+                :edit-config="{trigger: 'click', mode: 'cell', showStatus: true, autoClear: true}"
+              >
+                <vxe-table-column field="typeName" title="复核的主要内容" :edit-render="{}">
+                  <template v-slot:edit="scope">
+                    <el-input :disabled="true" v-model="scope.row.typeName" ></el-input>
+                  </template>
+                </vxe-table-column>
+                <vxe-table-column width="450px" field="reviewComments" title="复核结果(是/否/不适用)" :edit-render="{name: '$select', options: $dictUtils.getDictList('yes_no_notApplicable')}">
+                  <template v-slot:edit="scope">
+                    <vxe-select :disabled="method === 'view'" v-model="scope.row.reviewComments" transfer>
+                      <vxe-option
+                        v-for="item in $dictUtils.getDictList('yes_no_notApplicable')"
+                        :key="item.value"
+                        :value="item.value"
+                        :label="item.label">
+                      </vxe-option>
+                    </vxe-select>
+                  </template>
+                </vxe-table-column>
+              </vxe-table>
+              <el-col style="margin-top: 15px">
+                <el-form-item label="关注或修改的事项" prop="needUpdate3"
+                              :rules="[
+                   ]">
+                  <el-input size="medium" type="textarea" v-model="inputForm.needUpdate3" placeholder="请填写三级复核需提请关注或修改的事项"></el-input>
+                </el-form-item>
+              </el-col>
+              <el-col>
+                <el-form-item label="备注" prop="remark3"
+                              :rules="[
+                   ]">
+                  <el-input size="medium" type="textarea" v-model="inputForm.remark3" placeholder="三级复核备注"></el-input>
+                </el-form-item>
+              </el-col>
+            </el-row>
           </el-form>
           <el-tabs v-model="activeName" type="border-card" @tab-click="tabHandleClick">
             <!--<el-tab-pane label="报告信息列表" name="newRow">
@@ -683,7 +827,7 @@
   import UpLoadComponent from '@/views/common/UpLoadComponentV2.1'
   import SelectUserTree from '@/views/modules/utils/treeUserSelect'
   import SelectTree from '@/components/treeSelect/treeSelect.vue'
-  import UserSelect from '@/components/userSelect'
+  import UserSelect from '../workClientInfo/clientUserSelect'
   import ProjectRecordsService from '@/api/cw/projectRecords/ProjectRecordsService'
   import EnterpriseSearchService from '@/api/cw/common/EnterpriseSearchService'
   // import WorkClientChooseForm from '../workClientInfo/WorkClientChooseForm'
@@ -713,6 +857,25 @@
         method: '',
         loading: false,
         inputForm: {
+          reviewBy: '', // 下一个节点审核人
+          detailFor1010: [],
+          detailFor1020: [],
+          detailFor1030: [],
+          details: [],
+          reportNewLineId: '',
+          allPrintNum: '',
+          issueNum: '',
+          placeOnFileNum: '',
+          printedBy: '',
+          checkAutograph: '',
+          computerNo: '',
+          reportTitleType: '',
+          needUpdate1: '',
+          needUpdate2: '',
+          needUpdate3: '',
+          remark1: '',
+          remark2: '',
+          remark3: '',
           projectMasterId: '',
           reviewStatus: '',
           taskName: '',
@@ -760,6 +923,8 @@
         tableKey: '',
         tableKeyClient: '1',
         tableKeyContact: '2',
+        tableKeyClient2: '1',
+        tableKeyClient3: '1',
         visible: false
       }
     },
@@ -843,16 +1008,43 @@
         this.projectReportService = new ProjectReportService()
         this.method = method
         this.inputForm = {
+          reviewBy: '', // 下一个节点审核人
+          detailFor1010: [],
+          detailFor1020: [],
+          detailFor1030: [],
+          details: [],
+          reportNewLineId: '',
+          allPrintNum: '',
+          issueNum: '',
+          placeOnFileNum: '',
+          printedBy: '',
+          checkAutograph: '',
+          computerNo: '',
+          reportTitleType: '',
+          needUpdate1: '',
+          needUpdate2: '',
+          needUpdate3: '',
+          remark1: '',
+          remark2: '',
+          remark3: '',
           projectMasterId: '',
-          auditBusinessType: '',
-          opinionType: '',
-          reportNo: '',
-          reportReviewNo: '',
+          reviewStatus: '',
+          taskName: '',
+          sealType: '',
           reportNumber: '',
           reportType: '',
+          businessType: '',
+          auditBusinessType: '',
           reportDate: '',
           servedUnitName: '', // 被服务单位
+          registerAddress: '',
+          securityBusiness: '',
+          businessLocation: '',
           auditFees: '',
+          userName: '',
+          opinionType: '',
+          reportNo: '',
+          reportReviewNo: '',
           projectId: '',
           id: '',
           createDate: '',
@@ -860,8 +1052,7 @@
             id: '',
             name: JSON.parse(localStorage.getItem('user')).name
           },
-          reviewStatus: '',
-          taskName: '',
+          remarks: '',
           documentNo: '',
           projectName: '',
           projectNumber: '',
@@ -876,8 +1067,7 @@
           signatureFileList: [],
           servedUnitId: '',
           status: '',
-          realCreate: '',
-          cwWorkClientContactDTOList: []
+          realCreate: ''
         }
         this.inputForm.id = id
         this.loading = false
@@ -928,6 +1118,11 @@
             if (this.formReadOnly) {
               method = 'view'
             }
+            if (this.commonJS.isEmpty(data.details)) {
+              this.reportReviewService.list('1').then(({data}) => { this.detailDivide(data) })
+            } else {
+              this.detailDivide(data.details)
+            }
             this.$refs.enclosure.newUpload(method, data.cwFileInfoList2, 'cwWorkContract', null, null, null, null, false)
             // this.$refs.archiveFile.newUpload(method, data.cwFileInfoList, 'cwWorkContract', null, null, null, null, false)
             this.$refs.signatureFile.newUpload(method, data.signatureFileList, 'cwWorkContract', null, null, null, null, false)
@@ -944,6 +1139,25 @@
           // })
         })
       },
+      detailDivide (details) {
+        this.inputForm.detailFor1010 = []
+        this.inputForm.detailFor1020 = []
+        this.inputForm.detailFor1030 = []
+        details.forEach(item => {
+          if (item.sort.toString().startsWith('1010')) {
+            this.inputForm.detailFor1010.push(item)
+            this.tableKeyClient = Math.random()
+          }
+          if (item.sort.toString().startsWith('1020')) {
+            this.inputForm.detailFor1020.push(item)
+            this.tableKeyClient2 = Math.random()
+          }
+          if (item.sort.toString().startsWith('1030')) {
+            this.inputForm.detailFor1030.push(item)
+            this.tableKeyClient3 = Math.random()
+          }
+        })
+      },
       openContractForm () {
         if (!this.commonJS.isEmpty(this.inputForm.contractId)) {
           // this.$refs.projectInfoForm.init(this.inputForm.contractId)
@@ -984,6 +1198,11 @@
               this.inputForm.signatureFileList = data
             })
           }
+          // 列表处理
+          this.inputForm.details = []
+          this.inputForm.detailFor1010.forEach(item => { this.inputForm.details.push(item) })
+          this.inputForm.detailFor1020.forEach(item => { this.inputForm.details.push(item) })
+          this.inputForm.detailFor1030.forEach(item => { this.inputForm.details.push(item) })
           this.reportReviewService.save(this.inputForm)
           this.projectReportService.saveForm(this.inputForm).then(({data}) => {
             // callback(data.businessTable, data.businessId, this.inputForm)

+ 22 - 0
src/views/modules/cw/reportManagement/ReportManagementList.vue

@@ -43,6 +43,26 @@
       <el-form-item label="审计收费(税前、元)" prop="contractAmounts">
         <InputNumber :disabled="false" :precision="num" v-model="searchForm.contractAmounts"></InputNumber>
       </el-form-item>
+      <el-form-item label="复核状态" prop="reviewStatus">
+        <el-select v-model="searchForm.reviewStatus" placeholder="请选择" style="width:100%;">
+          <el-option
+            v-for="item in $dictUtils.getDictList('cw_status')"
+            :key="item.value"
+            :label="item.label"
+            :value="item.value">
+          </el-option>
+        </el-select>
+      </el-form-item>
+      <el-form-item label="签章状态" prop="status1">
+        <el-select v-model="searchForm.status1" placeholder="请选择" style="width:100%;">
+          <el-option
+            v-for="item in $dictUtils.getDictList('cw_status')"
+            :key="item.value"
+            :label="item.label"
+            :value="item.value">
+          </el-option>
+        </el-select>
+      </el-form-item>
       <el-form-item label="创建时间" prop="contractDates">
         <el-date-picker
           placement="bottom-start"
@@ -209,6 +229,8 @@
         searchForm: {
           contractAmounts: [],
           reportNo: '',
+          reviewStatus: '',
+          status1: '',
           projectNumber: '',
           projectName: '',
           projectMasterId: '',

+ 37 - 21
src/views/modules/cw/reportManagement/reportReview/ReportReviewForm.vue

@@ -325,8 +325,7 @@
             </el-col>
             <el-col :span="12">
               <el-form-item label="业务所在地" prop="businessLocation"
-                            :rules="[
-                   ]">
+                            :rules="[]">
                 <el-input :disabled="true" v-model="inputForm.businessLocation" placeholder="请填写业务所在地" clearable>
                 </el-input>
               </el-form-item>
@@ -335,7 +334,7 @@
               <el-form-item label="是否数据证券业务" prop="securityBusiness"
                             :rules="[
                    ]">
-                <el-select v-model="inputForm.securityBusiness" placeholder="请选择报告类别" style="width:100%;">
+                <el-select v-model="inputForm.securityBusiness" placeholder="请选择是否数据证券业务" style="width:100%;">
                   <el-option
                     v-for="item in $dictUtils.getDictList('cw_report_negotiable')"
                     :key="item.value"
@@ -353,6 +352,7 @@
             <el-col :span="12">
               <el-form-item label="下一节点审核人" prop="reviewBy"
                             :rules="[
+                              {required: true, message:'下一节点审核人不能为空', trigger:'blur'}
                    ]">
                 <el-select v-model="inputForm.reviewBy" placeholder="请选择下一节点审核人" style="width:100%;">
                   <el-option
@@ -393,7 +393,7 @@
               <el-form-item label="存档份数(大写)" prop="placeOnFileNum"
                             :rules="[
                    ]">
-                <el-input size="medium" v-model="inputForm.placeOnFileNum" placeholder="请输入发出份数">
+                <el-input size="medium" v-model="inputForm.placeOnFileNum" placeholder="请输入存档份数">
                 </el-input>
               </el-form-item>
             </el-col>
@@ -417,7 +417,7 @@
               <el-form-item label="计算机文号" prop="computerNo"
                             :rules="[
                    ]">
-                <el-input size="medium" v-model="inputForm.computerNo" placeholder="请输入校对人签名">
+                <el-input size="medium" v-model="inputForm.computerNo" placeholder="请输入计算机文号">
                 </el-input>
               </el-form-item>
             </el-col>
@@ -444,7 +444,7 @@
               </vxe-table-column>
               <vxe-table-column width="450px" field="reviewComments" title="复核结果(是/否/不适用)" :edit-render="{name: '$select', options: $dictUtils.getDictList('yes_no_notApplicable')}">
                 <template v-slot:edit="scope">
-                  <vxe-select v-model="scope.row.reviewComments" transfer>
+                  <vxe-select :disabled="inputForm.taskName === '二级复核' || inputForm.taskName === '三级复核'" v-model="scope.row.reviewComments" transfer>
                     <vxe-option
                       v-for="item in $dictUtils.getDictList('yes_no_notApplicable')"
                       :key="item.value"
@@ -470,7 +470,8 @@
               </el-form-item>
             </el-col>
           </el-row>
-          <el-form size="middle" :model="inputForm" ref="inputForm" v-loading="loading" :class="method==='view'?'readonly':''" v-if="this.inputForm.taskName === '二级复核' || this.inputForm.reviewStatus === '5'"
+          <el-form size="middle" :model="inputForm" ref="inputForm" v-loading="loading" :class="method==='view'?'readonly':''" v-if="this.inputForm.taskName === '二级复核' || this.inputForm.reviewStatus === '5'
+                      || this.inputForm.taskName === '三级复核' || this.inputForm.reviewStatus === '4'"
                    label-width="135px" @submit.native.prevent>
             <el-divider content-position="left"><i class="el-icon-document"></i>二级复核</el-divider>
             <el-row :gutter="15" >
@@ -494,7 +495,7 @@
                 </vxe-table-column>
                 <vxe-table-column width="450px" field="reviewComments" title="复核结果(是/否/不适用)" :edit-render="{name: '$select', options: $dictUtils.getDictList('yes_no_notApplicable')}">
                   <template v-slot:edit="scope">
-                    <vxe-select v-model="scope.row.reviewComments" transfer>
+                    <vxe-select :disabled="inputForm.reviewStatus === '4' || inputForm.taskName === '三级复核'" v-model="scope.row.reviewComments" transfer>
                       <vxe-option
                         v-for="item in $dictUtils.getDictList('yes_no_notApplicable')"
                         :key="item.value"
@@ -509,14 +510,14 @@
                 <el-form-item label="关注或修改的事项" prop="needUpdate2"
                               :rules="[
                    ]">
-                  <el-input size="medium" type="textarea" v-model="inputForm.needUpdate2" placeholder="请填写二级复核需提请关注或修改的事项"></el-input>
+                  <el-input size="medium" :disabled="inputForm.taskName === '三级复核'" type="textarea" v-model="inputForm.needUpdate2" placeholder="请填写二级复核需提请关注或修改的事项"></el-input>
                 </el-form-item>
               </el-col>
               <el-col>
                 <el-form-item label="备注" prop="remark2"
                               :rules="[
                    ]">
-                  <el-input size="medium" type="textarea" v-model="inputForm.remark2" placeholder="请填写二级复核备注"></el-input>
+                  <el-input size="medium" :disabled="inputForm.taskName === '三级复核'"  type="textarea" v-model="inputForm.remark2" placeholder="请填写二级复核备注"></el-input>
                 </el-form-item>
               </el-col>
             </el-row>
@@ -545,7 +546,7 @@
                 </vxe-table-column>
                 <vxe-table-column width="450px" field="reviewComments" title="复核结果(是/否/不适用)" :edit-render="{name: '$select', options: $dictUtils.getDictList('yes_no_notApplicable')}">
                   <template v-slot:edit="scope">
-                    <vxe-select v-model="scope.row.reviewComments" transfer>
+                    <vxe-select :disabled="inputForm.taskName === '一级复核' || inputForm.reviewStatus === '4'" v-model="scope.row.reviewComments" transfer>
                       <vxe-option
                         v-for="item in $dictUtils.getDictList('yes_no_notApplicable')"
                         :key="item.value"
@@ -744,6 +745,7 @@
         this.keyWatch = keyWatch
       },
       init (method, id) {
+        console.log('method', method)
         this.activeName = 'enclosure'
         // this.projectReportService = new ProjectReportService()
         this.reportCancellApplyService = new ReportCancellApplyService()
@@ -935,6 +937,7 @@
         } else if (status === 'start') {
           // 送审  待审核
           this.inputForm.reviewStatus = '2'
+          this.inputForm.assignee = this.inputForm.reviewBy
         } else if (status === 'agree') {
           // 审核同意
           this.inputForm.agreeDate = this.moment(new Date()).format('YYYY-MM-DD HH:mm:ss')
@@ -950,7 +953,7 @@
               this.inputForm.createDate = this.moment(new Date()).format('YYYY-MM-DD HH:mm:ss')
             }
             // console.log('this.inputForm.reviewBy', this.inputForm.reviewBy)
-            this.inputForm.assignee = this.inputForm.reviewBy
+            // this.inputForm.assignee = this.inputForm.reviewBy
             // 列表处理
             this.inputForm.details = []
             this.inputForm.detailFor1010.forEach(item => { this.inputForm.details.push(item) })
@@ -975,15 +978,28 @@
               if (type === 'reject') {
                 // 驳回
                 let param
-                this.userService.is().then(({data}) => {
-                  if (data) {
-                    this.inputForm.reviewStatus = '2'
-                    // param = {status: '4', id: this.inputForm.id}
-                  } else {
-                    this.inputForm.reviewStatus = '4'
-                  }
-                })
-                param = {reviewStatus: this.inputForm.reviewStatus, id: this.inputForm.id}
+                // this.userService.is().then(({data}) => {
+                //   if (data) {
+                //     this.inputForm.reviewStatus = '2'
+                //     // param = {status: '4', id: this.inputForm.id}
+                //   } else {
+                //     this.inputForm.reviewStatus = '4'
+                //   }
+                // })
+                this.inputForm.reviewStatus = '4'
+                // 列表处理
+                this.inputForm.details = []
+                this.inputForm.detailFor1010.forEach(item => { this.inputForm.details.push(item) })
+                this.inputForm.detailFor1020.forEach(item => { this.inputForm.details.push(item) })
+                this.inputForm.detailFor1030.forEach(item => { this.inputForm.details.push(item) })
+                param = {reviewStatus: this.inputForm.reviewStatus,
+                  id: this.inputForm.id,
+                  needUpdate2: this.inputForm.needUpdate2,
+                  needUpdate3: this.inputForm.needUpdate3,
+                  remark2: this.inputForm.remark2,
+                  remark3: this.inputForm.remark3,
+                  details: this.inputForm.details
+                }
                 this.reportReviewService.updateReviewStatysByReportId(param).then(() => {
                   callback()
                 })