Browse Source

fix : 重新核查信息显示

梦辉 5 months ago
parent
commit
ba0650a6fd

+ 59 - 0
src/subPages/pages/commitment/commitmentDetail/components/IndicatorComponents.vue

@@ -82,6 +82,11 @@ export default {
     }
   },
   methods: {
+    /* 重新核查 */
+    handleReCommitment(indicateItem) {
+      indicateItem.auditResult = 3
+      indicateItem.auditScore = ''
+    },
     onCheckResultSubmit(indicateItem) {
       editVerifyTask([
         {
@@ -198,7 +203,61 @@ export default {
               </view>
             </template>
           </van-field>
+          <!--核查人员-->
+          <van-field
+              style="margin-top: 16px"
+              name="auditor"
+              label="核查人员"
+          >
+            <template #input>
+              {{ item.auditor }}
+            </template>
+          </van-field>
+          <!--核查时间-->
+          <van-field
+              name="auditTime"
+              label="核查时间"
+          >
+            <template #input>
+              {{ item.auditTime }}
+            </template>
+          </van-field>
+
+          <view v-if="item.approvalStatus !== 0">
+            <van-divider></van-divider>
+            <view class="other-title">核查审批</view>
+            <!--审批人员-->
+            <van-field
+                name="approvalPerson"
+                label="审批人员"
+            >
+              <template #input>
+                {{ item.approvalPerson }}
+              </template>
+            </van-field>
+            <!--审批时间-->
+            <van-field
+                name="approvalTime"
+                label="审批时间"
+            >
+              <template #input>
+                {{ item.approvalTime }}
+              </template>
+            </van-field>
+            <!--审批说明-->
+            <van-field
+                name="approvalRemark"
+                label="审批说明"
+            >
+              <template #input>
+                {{ item.approvalRemark }}
+              </template>
+            </van-field>
+          </view>
         </van-form>
+        <view v-if="item.approvalStatus === 2" style="margin: 16px;">
+          <van-button round block type="info" @click="handleReCommitment(item)">重新核查</van-button>
+        </view>
       </view>
     </view>
   </view>