|
@@ -444,12 +444,9 @@ export default {
|
|
|
...mapState({ user: (state) => state.user }),
|
|
|
},
|
|
|
created() {
|
|
|
- this.form.orgId = this.$route.params.rootOrgId;
|
|
|
+ this.form.orgId = this.$route.query.rootOrgId;
|
|
|
this.rootOrgName =
|
|
|
- this.$route.params.rootOrgName +
|
|
|
- "(" +
|
|
|
- this.$route.params.rootOrgCode +
|
|
|
- ")";
|
|
|
+ this.$route.query.rootOrgName + "(" + this.$route.query.rootOrgCode + ")";
|
|
|
if (!this.form.orgId) {
|
|
|
this.form.orgId = sessionStorage.getItem("org_prop_info_org_id");
|
|
|
this.rootOrgName = sessionStorage.getItem("org_prop_info_org_name");
|
|
@@ -473,7 +470,7 @@ export default {
|
|
|
methods: {
|
|
|
initAiNums(msg) {
|
|
|
getAiNums({
|
|
|
- rootOrgId: this.$route.params.rootOrgId,
|
|
|
+ rootOrgId: this.$route.query.rootOrgId,
|
|
|
}).then((res) => {
|
|
|
if (res.data) {
|
|
|
this.leftCount = res.data?.leftCount;
|
|
@@ -486,7 +483,7 @@ export default {
|
|
|
},
|
|
|
updateAiNums() {
|
|
|
updateAiNums({
|
|
|
- rootOrgId: this.$route.params.rootOrgId,
|
|
|
+ rootOrgId: this.$route.query.rootOrgId,
|
|
|
}).then(() => {
|
|
|
this.initAiNums("更新成功");
|
|
|
});
|