|
@@ -71,6 +71,7 @@ export default {
|
|
|
fymxVisible:false,
|
|
|
formtype:[],
|
|
|
formtypestring:"",
|
|
|
+ itemId:'',
|
|
|
}
|
|
|
},
|
|
|
methods:{
|
|
@@ -91,11 +92,24 @@ export default {
|
|
|
Authorization: 'Bearer ' + that.token
|
|
|
},
|
|
|
}).then(function (res) {
|
|
|
+ var index=0;
|
|
|
if (res.data.code == 200) {
|
|
|
+ console.log(that.itemId);
|
|
|
+
|
|
|
that.classify=res.data.data;
|
|
|
setTimeout(function () {
|
|
|
- that.thisID=that.classify[0].id;
|
|
|
- that.menuliclick(that.thisID,0)
|
|
|
+ if (that.itemId==undefined) {
|
|
|
+ that.thisID=that.classify[0].id;
|
|
|
+ that.menuliclick(that.thisID,0)
|
|
|
+ }else{
|
|
|
+ for(let i=0;i<that.classify.length;i++){
|
|
|
+ if (that.itemId==that.classify[i].id) {
|
|
|
+ index=i
|
|
|
+ }
|
|
|
+ }
|
|
|
+ that.thisID=that.itemId;
|
|
|
+ that.menuliclick(that.thisID,index)
|
|
|
+ }
|
|
|
},500)
|
|
|
}else{
|
|
|
that.fullscreenLoading=false;
|
|
@@ -277,6 +291,7 @@ export default {
|
|
|
mounted(){
|
|
|
this.diid = this.$route.query.id;
|
|
|
this.uid = this.$route.query.uid;
|
|
|
+ this.itemId = this.$route.query.itemId;
|
|
|
this.PostShareGroupInfo();
|
|
|
this.PostGroupDirectionalClassificationInit();
|
|
|
|