youyawu 4 年之前
父節點
當前提交
521fe74103
共有 4 個文件被更改,包括 47 次插入15 次删除
  1. 3 1
      src/views/news/details.vue
  2. 1 1
      src/views/shops/details/index.vue
  3. 40 12
      src/views/shops/enter/index.vue
  4. 3 1
      src/views/shops/index.vue

+ 3 - 1
src/views/news/details.vue

@@ -7,7 +7,9 @@
         </div>
         <div class="deptDiv">
           <span
-            >{{ $t("page.views.news.details.time") }}:{{ detailObj.createTime }}</span
+            >{{ $t("page.views.news.details.time") }}:{{
+              detailObj.createTime
+            }}</span
           >
         </div>
         <div class="desCon" v-html="detailObj.noticeContent"></div>

+ 1 - 1
src/views/shops/details/index.vue

@@ -11,7 +11,7 @@
           <img src="@assets/guanzhu-2.png" />
           <span class="gz">{{
             $t("page.views.shops.details.index.alreadyConcerned")
-        }}</span>
+          }}</span>
         </div>
         <div v-else @click="gz">
           <img src="@assets/guanzhu.png" />

+ 40 - 12
src/views/shops/enter/index.vue

@@ -7,17 +7,26 @@
       }}</router-link>
     </div>
     <div class="container">
-      <div class="partTitle"><span class="orangeLine"></span>{{$t("page.views.shops.enter.index.title2")}}</div>
+      <div class="partTitle">
+        <span class="orangeLine"></span
+        >{{ $t("page.views.shops.enter.index.title2") }}
+      </div>
       <div class="cxtj">
         <span>{{ $t("page.views.shops.enter.add.companyName") }}:</span>
         <el-input
           v-model="companyName"
           clearable
           size="small"
-          :placeholder="`${$t(`inputPlaceholder`)}${$t(`page.views.shops.enter.add.companyName`)}`"
+          :placeholder="
+            `${$t(`inputPlaceholder`)}${$t(
+              `page.views.shops.enter.add.companyName`
+            )}`
+          "
           style="width:38rem;"
         ></el-input>
-        <span class="ml2rem">{{ $t("page.views.shops.enter.add.auditStatus") }}:</span>
+        <span class="ml2rem"
+          >{{ $t("page.views.shops.enter.add.auditStatus") }}:</span
+        >
         <el-select
           v-model="status"
           clearable
@@ -32,9 +41,9 @@
             :value="value"
           ></el-option>
         </el-select>
-        <el-button class="searchBtn" size="small" @click="search"
-          >{{ $t("page.views.shops.enter.index.search") }}</el-button
-        >
+        <el-button class="searchBtn" size="small" @click="search">{{
+          $t("page.views.shops.enter.index.search")
+        }}</el-button>
       </div>
       <el-table
         :empty-text="`${$t(`loading`)}`"
@@ -43,24 +52,43 @@
         v-if="items"
         :data="items"
       >
-        <el-table-column type="index" :label="`${$t(`page.views.shops.enter.index.serialNumber`)}`" width="50"></el-table-column>
-        <el-table-column prop="companyName" :label="`${$t(`page.views.shops.enter.add.companyName`)}`"></el-table-column>
+        <el-table-column
+          type="index"
+          :label="`${$t(`page.views.shops.enter.index.serialNumber`)}`"
+          width="50"
+        ></el-table-column>
+        <el-table-column
+          prop="companyName"
+          :label="`${$t(`page.views.shops.enter.add.companyName`)}`"
+        ></el-table-column>
         <el-table-column
           prop="detailAddress"
           :label="`${$t(`page.views.shops.enter.add.detailAddress`)}`"
         ></el-table-column>
-        <el-table-column prop="createTime" :label="`${$t(`page.views.shops.enter.index.applyDate`)}`"></el-table-column>
-        <el-table-column prop="address" :label="`${$t(`page.views.shops.enter.index.auditStatus`)}`">
+        <el-table-column
+          prop="createTime"
+          :label="`${$t(`page.views.shops.enter.index.applyDate`)}`"
+        ></el-table-column>
+        <el-table-column
+          prop="address"
+          :label="`${$t(`page.views.shops.enter.index.auditStatus`)}`"
+        >
           <template slot-scope="{ row: { status } }">
             {{ getStatusText(status) }}
           </template>
         </el-table-column>
-        <el-table-column prop="address" :label="`${$t(`page.views.shops.enter.index.auditDate`)}`">
+        <el-table-column
+          prop="address"
+          :label="`${$t(`page.views.shops.enter.index.auditDate`)}`"
+        >
           <template slot-scope="{ row: { companyExamine } }">
             {{ companyExamine && companyExamine.examineDate }}
           </template>
         </el-table-column>
-        <el-table-column prop="address" :label="`${$t(`page.views.shops.enter.index.rejectReason`)}`">
+        <el-table-column
+          prop="address"
+          :label="`${$t(`page.views.shops.enter.index.rejectReason`)}`"
+        >
           <template slot-scope="{ row: { companyExamine } }">
             {{ companyExamine && companyExamine.rejectReason }}
           </template>

+ 3 - 1
src/views/shops/index.vue

@@ -23,7 +23,9 @@
           <div class="details fl">
             <div class="name">{{ companyName }}</div>
             <div class="desc">
-              {{ $t("page.views.shops.index.primaryBusiness") }}:{{ primaryBusiness }}
+              {{ $t("page.views.shops.index.primaryBusiness") }}:{{
+                primaryBusiness
+              }}
             </div>
             <div class="total">
               {{ $t("page.views.shops.index.total") }}{{ goodsCount