浏览代码

认证通v1.7.2上正式

yuwenjun1997 2 年之前
父节点
当前提交
b010ad0ec8

+ 4 - 4
pages/_template/ldm/approve/club/index.vue

@@ -14,7 +14,7 @@
           <input
             type="text"
             placeholder="搜索店铺"
-            v-model="listQuery.clubName"
+            v-model="listQuery.authParty"
             @keyup.enter="onSearch"
           />
         </div>
@@ -38,9 +38,9 @@
             :key="item.authId"
             @click="toDetail(item)"
           >
-            <img class="cover" :src="item.logo || drawLogo(item.clubName)" />
+            <img class="cover" :src="item.logo || drawLogo(item.authParty)" />
             <div class="info">
-              <div class="name" v-text="item.clubName"></div>
+              <div class="name" v-text="item.authParty"></div>
               <div class="line"></div>
               <div class="mobile">{{ item.mobile || '暂无' }}</div>
               <div class="address">
@@ -76,7 +76,7 @@ export default {
       listQuery: {
         authUserId: '',
         lngAndLat: '',
-        clubName: '',
+        authParty: '',
         provinceId: '',
         cityId: '',
         townId: '',

+ 1 - 0
pages/_template/ross/form/components/form-club-device.vue

@@ -342,6 +342,7 @@ export default {
         obj.productName = formItem.productName
         obj.snCode = formItem.snCode
         obj.infoId = formItem.infoId
+        obj.relationId = formItem.relationId
         obj.productId = formItem.productId
         obj.source = 2
         obj.productTypeId = formItem.productTypeId

+ 1 - 1
pages/_template/ross/record/device/edit.vue

@@ -57,7 +57,7 @@ export default {
         await this.$http.api.authProducSave(this.formData)
         this.$toast('保存成功')
         this.$router.push(
-          `${this.routePrefix}/record/device/detail?id=${this.productId}`
+          `${this.routePrefix}/record/device/detail?id=${this.productId}&relationId=${this.relationId}`
         )
       } catch (error) {
         console.log(error)