liuhj 4 ヶ月 前
コミット
08d450db43
共有2 個のファイルを変更した13 個の追加4 個の削除を含む
  1. 11 2
      src/components/MarketplacePick.vue
  2. 2 2
      src/components/OP/PickupList.vue

+ 11 - 2
src/components/MarketplacePick.vue

@@ -111,6 +111,7 @@ export default {
             names:[],
             names:[],
             groupId:'',
             groupId:'',
             groupNames:[],
             groupNames:[],
+            userid:'',
         }
         }
     },
     },
     methods:{
     methods:{
@@ -129,7 +130,7 @@ export default {
         },
         },
         //或取基础数据
         //或取基础数据
         GroupOrderPreInfos(val) {
         GroupOrderPreInfos(val) {
-            var url = "/api/Groups/GroupOrderPreInfo/"
+            var url = "/api/Groups/GroupOrderPreInfo/"+this.userid
             var that = this
             var that = this
             this.$axios({
             this.$axios({
                 method: 'get',
                 method: 'get',
@@ -301,7 +302,7 @@ export default {
                     name: that.formname,
                     name: that.formname,
                     groupId: that.groupId==''?0:that.groupId,
                     groupId: that.groupId==''?0:that.groupId,
                     items: that.controlarr,
                     items: that.controlarr,
-                    currUserId: 208,
+                    currUserId: that.userid,
                 }
                 }
             }).then(function (res) {
             }).then(function (res) {
                 if (res.data.code==200) {
                 if (res.data.code==200) {
@@ -323,8 +324,16 @@ export default {
         }
         }
     },
     },
     mounted(){
     mounted(){
+        if (this.$route.query.userid!=undefined) {
+            this.userid=this.$route.query.userid;
+        }else{
+            that.$message.error('没有用户id');
+        }
+        console.log(this.userid);
+        
         this.GroupOrderPreInfos();
         this.GroupOrderPreInfos();
         this.CountryInit();
         this.CountryInit();
+        
         // this.GroupOrderPreInfo();
         // this.GroupOrderPreInfo();
     }
     }
 }
 }

+ 2 - 2
src/components/OP/PickupList.vue

@@ -2,7 +2,7 @@
     <div v-loading.fullscreen.lock="fullscreenLoading">
     <div v-loading.fullscreen.lock="fullscreenLoading">
         <el-dialog width="1150px" class="pickupList-ai" title="Ai识别客户名单" :visible.sync="AiVisible">
         <el-dialog width="1150px" class="pickupList-ai" title="Ai识别客户名单" :visible.sync="AiVisible">
             <div class="pickupList-ai-title">第一步:{{textToCopy}}<span @click="btn1">点击复制左侧文字</span></div>
             <div class="pickupList-ai-title">第一步:{{textToCopy}}<span @click="btn1">点击复制左侧文字</span></div>
-            <div class="pickupList-ai-title">第二步:打开<span @click="openkimi">KIML</span>,将上述文字和截图粘贴到KIMI文本框里</div>
+            <div class="pickupList-ai-title">第二步:打开<span @click="openkimi">KIMI</span>,将上述文字和截图粘贴到KIMI文本框里</div>
             <div class="pickupList-ai-title">第三步:将KIMI生成的内容复制到以下文本框</div>
             <div class="pickupList-ai-title">第三步:将KIMI生成的内容复制到以下文本框</div>
             <div class="pickupList-ai-textarea">
             <div class="pickupList-ai-textarea">
                 <el-input
                 <el-input
@@ -15,7 +15,7 @@
             </div>
             </div>
             <div class="pickupList-ai-btn">
             <div class="pickupList-ai-btn">
                 <el-button @click="recognizeclick" size="small"  type="primary">识别</el-button>
                 <el-button @click="recognizeclick" size="small"  type="primary">识别</el-button>
-            </div>
+            </div> 
         </el-dialog>
         </el-dialog>
         <div class="pickuplist-all">
         <div class="pickuplist-all">
             <div class="pickuplist-head">
             <div class="pickuplist-head">