luobisheng
2022-12-09 b0363e2c04f6ef825f8dffc46e318af762941dac
src/views/intelligentPatrol/studyJudge/index.vue
@@ -1,7 +1,7 @@
<template>
  <div class="study-judge">
    <div class="study-judge-header">
      <span>您有{{ countData.register }}条待审核报警信息,今日立案{{ countData.review }}条,再学习{{ countData.study }}条</span>
      <span>您有{{ countData.review }}条待审核报警信息,今日立案{{ countData.register }}条,再学习{{ countData.study }}条</span>
    </div>
    <div class="study-judge-main">
      <div class="sjm-header">
@@ -87,7 +87,7 @@
      </div>
    </div>
    <el-dialog :visible="isShowDialog" title="调度信息">
      <MyDispatch v-if="isShowDialog" :mytype="1" @confirmInspection="handleConfirm" :isGetData="true" @changeDialog="closeDialog"></MyDispatch>
      <MyDispatch v-if="isShowDialog" :mytype="1" @getDispatchData="confirmInspection" :isGetData="true" @changeDialog="closeDialog"></MyDispatch>
    </el-dialog>
  </div>
</template>
@@ -172,17 +172,17 @@
      rules:{
        state:[
          {
            required: true, trigger:['blur', 'change'], message: '处理意见不能为空'
            required: true, trigger:['blur'], message: '处理意见不能为空'
          },
        ],
        categoryId:[
          {
            required: true, trigger:['blur', 'change'], message: '大类名称不能为空'
            required: true, trigger:['blur'], message: '大类名称不能为空'
          }
        ],
        typeId:[
          {
            required: true, trigger:['blur', 'change'], message: '小类名称不能为空'
            required: true, trigger:['blur'], message: '小类名称不能为空'
          }
        ],
        carNumber:[{ trigger:['blur', 'change'], validator: validateCarNumber }]
@@ -262,9 +262,6 @@
    },
    confirmInspection(data) {
      if (data) {
        data.baseCaseId = data.id;
      }
      const eventParams = Object.assign({}, this.eventInfoData);
      delete eventParams.store;
      basecase.confirmInspection({ ...eventParams, ...data })