|
@@ -296,6 +296,7 @@ import bus from "@/bus";
|
|
|
import "vue-swatches/dist/vue-swatches.css";
|
|
|
import { SLineStyle } from "@saga-web/graph/lib";
|
|
|
import { uploadImg, queryGlsmsLocation,queryGlsmsAsset } from "@/api/editer.js";
|
|
|
+import {getUrlMsg} from '@/components/urlMsg.js'
|
|
|
export default {
|
|
|
name: "attr_select",
|
|
|
props: ["type", "focusItemList"],
|
|
@@ -538,7 +539,7 @@ export default {
|
|
|
}else{
|
|
|
params = {locationList:['']};
|
|
|
}
|
|
|
- queryGlsmsLocation({plazaId: '1000423'},params).then(res=>{
|
|
|
+ queryGlsmsLocation({plazaId: getUrlMsg().projectId},params).then(res=>{
|
|
|
this.spinning = false;
|
|
|
if(res.data.result =='success'){
|
|
|
this.attrCards = res.data.data||[];
|
|
@@ -553,7 +554,7 @@ export default {
|
|
|
}else{
|
|
|
params = {assetnumList:['']};
|
|
|
}
|
|
|
- queryGlsmsAsset({plazaId: '1000423'},params).then(res=>{
|
|
|
+ queryGlsmsAsset({plazaId: getUrlMsg().projectId},params).then(res=>{
|
|
|
this.spinning = false;
|
|
|
if(res.data.result =='success'){
|
|
|
this.attrCards = res.data.data||[];
|