MrShi
12 小时以前 ec9047869bd2642821d1dfc5bbd339313d910d66
admin/src/views/business/tiktokConfiguration.vue
@@ -32,7 +32,11 @@
      <el-form ref="storeForm" :model="storeForm" label-width="100px" class="config-form">
        <el-form-item label="门店名称">
          <el-select v-model="storeForm.poiId" placeholder="请点击右侧查询按钮获取门店信息" style="width: 400px;">
            <el-option v-for="item in storeList" :key="item" :label="item" :value="item"></el-option>
            <el-option
              v-for="item in storeList"
              :key="item.poiId"
              :label="item.poiName"
              :value="item.poiId" />
          </el-select>
          <el-button @click="queryStore" style="margin-left: 10px;">查询门店</el-button>
        </el-form-item>
@@ -74,6 +78,9 @@
          this.form.accountId = res.accountId || ''
          this.storeForm.poiId = res.poiId || ''
        }
        if (this.form.appkey && this.form.secret && this.form.accountId) {
          this.queryStore()
        }
      }).catch(e => {
        this.$tip.apiFailed(e)
      })
@@ -88,6 +95,7 @@
        clientKey: this.form.appkey,
        clientSecret: this.form.secret
      }).then(() => {
        this.queryStore()
        this.$message.success('保存成功')
      }).catch(e => {
        this.$tip.apiFailed(e)