|
@@ -28,6 +28,8 @@ import baseData from "./baseData";
|
|
import AIApp from "./AIApp";
|
|
import AIApp from "./AIApp";
|
|
import teaing from "./teaing";
|
|
import teaing from "./teaing";
|
|
import teaMange from "./teaMange";
|
|
import teaMange from "./teaMange";
|
|
|
|
+import { getUser } from "@/api/user";
|
|
|
|
+
|
|
export default {
|
|
export default {
|
|
name:'dataBoardNew',
|
|
name:'dataBoardNew',
|
|
props:['oid','org','userid'],
|
|
props:['oid','org','userid'],
|
|
@@ -37,9 +39,6 @@ export default {
|
|
teaing,
|
|
teaing,
|
|
teaMange,
|
|
teaMange,
|
|
},
|
|
},
|
|
- mounted(){
|
|
|
|
- console.log('oid',this.oid);
|
|
|
|
- },
|
|
|
|
watch:{
|
|
watch:{
|
|
oid(newL){
|
|
oid(newL){
|
|
console.log(newL);
|
|
console.log(newL);
|
|
@@ -49,7 +48,7 @@ export default {
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
gotype: this.$route.query.gotype,
|
|
gotype: this.$route.query.gotype,
|
|
- useridL: this.$route.query.useridL,
|
|
|
|
|
|
+ useridL: this.$route.query.userid,
|
|
oidL: this.$route.query.oid,
|
|
oidL: this.$route.query.oid,
|
|
orgL: this.$route.query.org,
|
|
orgL: this.$route.query.org,
|
|
role: this.$route.query.role,
|
|
role: this.$route.query.role,
|
|
@@ -65,6 +64,14 @@ export default {
|
|
pageEnd: 0
|
|
pageEnd: 0
|
|
};
|
|
};
|
|
},
|
|
},
|
|
|
|
+ mounted(){
|
|
|
|
+ if (this.$route.query.userid) {
|
|
|
|
+ let userjson = getUser({ userid: this.$route.query.userid });
|
|
|
|
+ this.tType = userjson.data[0][0].type
|
|
|
|
+ this.role = userjson.data[0][0].role
|
|
|
|
+ }
|
|
|
|
+ console.log('oid',this.oid);
|
|
|
|
+ },
|
|
methods: {
|
|
methods: {
|
|
cutPage(val) {
|
|
cutPage(val) {
|
|
this.pageEnd = val
|
|
this.pageEnd = val
|