Oliver
2022-12-12 22d9bd7152c6de2d71afade6ab7b5f788d023578
src/views/intelligentPatrol/studyJudge/index.vue
@@ -1,7 +1,9 @@
<template>
  <div class="study-judge">
    <div class="study-judge-header">
      <span>您有{{ countData.review }}条待审核报警信息,今日立案{{ countData.register }}条,再学习{{ countData.study }}条</span>
      <span>您有{{ countData.review }}条待审核报警信息,今日立案{{ countData.register }}条,再学习{{
          countData.study
        }}条</span>
    </div>
    <div class="study-judge-main">
      <div class="sjm-header">
@@ -49,7 +51,8 @@
                <span>{{ currentEvent.conntinueTime }}</span>
              </el-form-item>
              <el-form-item label="关联店铺" prop="store">
                <el-select v-model="eventInfoData.store" clearable @change="selectStoreChange" placeholder="请选择关联店铺">
                <el-select v-model="eventInfoData.store" clearable @change="selectStoreChange"
                           placeholder="请选择关联店铺">
                  <el-option v-for="store in storeList" :value="store.id" :label="store.storeName" :key="store.id" />
                </el-select>
              </el-form-item>
@@ -63,7 +66,8 @@
              </el-form-item>
              <el-form-item label="大类名称:" prop="categoryId">
                <el-select v-model="eventInfoData.categoryId" placeholder="请选择大类名称" @change="categoryChange">
                  <el-option v-for="category in categoryOptions" :key="category.id" :value="category.id" :label="category.name" />
                  <el-option v-for="category in categoryOptions" :key="category.id" :value="category.id"
                             :label="category.name"/>
                </el-select>
              </el-form-item>
              <el-form-item label="小类名称:" prop="typeId">
@@ -88,7 +92,8 @@
      </div>
    </div>
    <el-dialog :visible="isShowDialog" title="调度信息">
      <MyDispatch v-if="isShowDialog" :mytype="1" @getDispatchData="confirmInspection" :isGetData="true" @changeDialog="closeDialog"></MyDispatch>
      <MyDispatch v-if="isShowDialog" :mytype="1" @getDispatchData="confirmInspection" :isGetData="true"
                  @changeDialog="closeDialog"></MyDispatch>
    </el-dialog>
  </div>
</template>
@@ -279,6 +284,12 @@
    },
    selectStoreChange(id) {
      if (id === "") {
        this.eventInfoData.shopName = null
        this.eventInfoData.linkShop = 0
        this.eventInfoData.store = null
        return
      }
      const selectedStore = this.storeList.find(store => store.id === id);
      this.eventInfoData.shopName = selectedStore.id;
      this.eventInfoData.linkShop = 1;
@@ -293,6 +304,7 @@
  text-align: left;
  color: #4b9bb7;
  padding: 20px;
  .study-judge-header {
    line-height: 8vh;
  }