|
@@ -111,6 +111,7 @@ export default {
|
|
|
names:[],
|
|
|
groupId:'',
|
|
|
groupNames:[],
|
|
|
+ userid:'',
|
|
|
}
|
|
|
},
|
|
|
methods:{
|
|
@@ -129,7 +130,7 @@ export default {
|
|
|
},
|
|
|
//或取基础数据
|
|
|
GroupOrderPreInfos(val) {
|
|
|
- var url = "/api/Groups/GroupOrderPreInfo/"
|
|
|
+ var url = "/api/Groups/GroupOrderPreInfo/"+this.userid
|
|
|
var that = this
|
|
|
this.$axios({
|
|
|
method: 'get',
|
|
@@ -301,7 +302,7 @@ export default {
|
|
|
name: that.formname,
|
|
|
groupId: that.groupId==''?0:that.groupId,
|
|
|
items: that.controlarr,
|
|
|
- currUserId: 208,
|
|
|
+ currUserId: that.userid,
|
|
|
}
|
|
|
}).then(function (res) {
|
|
|
if (res.data.code==200) {
|
|
@@ -323,8 +324,16 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
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.CountryInit();
|
|
|
+
|
|
|
// this.GroupOrderPreInfo();
|
|
|
}
|
|
|
}
|