|
@@ -422,8 +422,8 @@ export default {
|
|
|
async createJson(data) {
|
|
|
let param = {
|
|
|
data: { criterias: data },
|
|
|
- ProjId: this.$route.query.projId,
|
|
|
- secret: this.$route.query.secret
|
|
|
+ ProjId: this.projectId,
|
|
|
+ secret: this.secret
|
|
|
}
|
|
|
param.data.criterias.map(item => {
|
|
|
if (!!item.infos.DPSupplierID && !!item.infos.DPSupplierID[0].value) {
|
|
@@ -488,8 +488,8 @@ export default {
|
|
|
async EqCreateAs(list) {
|
|
|
let param = {
|
|
|
FmList: [],
|
|
|
- ProjId: this.$route.query.projId,
|
|
|
- UserId: this.$route.query.userId
|
|
|
+ ProjId: this.projectId,
|
|
|
+ UserId: this.userId
|
|
|
}
|
|
|
list.map(item => {
|
|
|
param.FmList.push({
|
|
@@ -498,7 +498,7 @@ export default {
|
|
|
FmName: item.EquipLocalName || "",
|
|
|
Family: this.deviceType.assetType,
|
|
|
FamilyName: this.deviceType.assetName,
|
|
|
- ProjId: this.$route.query.projId,
|
|
|
+ ProjId: this.projectId,
|
|
|
Inofs: {
|
|
|
DPManufacturerID: item.infos.DPManufacturerID ? item.infos.DPManufacturerID[0].value : null,
|
|
|
DPSpecificationID: item.infos.DPSpecificationID ? item.infos.DPSpecificationID[0].value : null,
|
|
@@ -915,13 +915,14 @@ export default {
|
|
|
|
|
|
//上传图片弹窗触发事件
|
|
|
imgChange(keys) {
|
|
|
- console.log(keys, "keys", this.messKey.split("."), this.row)
|
|
|
+ console.log(keys, "keys", this.messKey.split("."), this.row,'22222222222222')
|
|
|
this.setDataToMain(keys, this.messKey.split(".")[1], this.row)
|
|
|
tools.setItem(this.deviceType.code, this.main)
|
|
|
},
|
|
|
|
|
|
//设备图片弹窗改变事件
|
|
|
changePics(keys) {
|
|
|
+ console.log(keys, "keys", this.messKey.split("."), this.row,'22222222222222')
|
|
|
this.setDataToMain(keys, this.messKey.split(".")[1], this.row)
|
|
|
tools.setItem(this.deviceType.code, this.main)
|
|
|
},
|