|
@@ -14,7 +14,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
<!-- 基础设置 -->
|
|
<!-- 基础设置 -->
|
|
|
<div class="basic-border">
|
|
<div class="basic-border">
|
|
|
- <basicSet :data="setInfo" v-if="setInfo"></basicSet>
|
|
|
|
|
|
|
+ <basicSet ref="basicRef" @onSuccess="querySite_Parameter"></basicSet>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</normalCompany>
|
|
</normalCompany>
|
|
@@ -104,7 +104,6 @@ export default {
|
|
|
isquerytarget:'',
|
|
isquerytarget:'',
|
|
|
isqueryfollow:'',
|
|
isqueryfollow:'',
|
|
|
|
|
|
|
|
- setInfo:[]
|
|
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
computed:{
|
|
computed:{
|
|
@@ -136,68 +135,33 @@ export default {
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
- this.setInfo = res.data
|
|
|
|
|
-
|
|
|
|
|
- this.obj = {
|
|
|
|
|
- password_needcapital:res.data.password_needcapital,
|
|
|
|
|
- password_needlowercase:res.data.password_needlowercase,
|
|
|
|
|
- password_neednum:res.data.password_neednum,
|
|
|
|
|
- password_needspecialchar:res.data.password_needspecialchar,
|
|
|
|
|
- password_length:res.data.password_length,
|
|
|
|
|
- loginmode_account:res.data.loginmode_account,
|
|
|
|
|
- loginmode_phonenumber:res.data.loginmode_phonenumber,
|
|
|
|
|
- loginmode_wechat:res.data.loginmode_wechat
|
|
|
|
|
- }
|
|
|
|
|
- this.project_occupancy_ratio = res.data.project_occupancy_ratio
|
|
|
|
|
- this.quotedpricerecheck = res.data.quotedpricerecheck
|
|
|
|
|
- this.project_tradefield = res.data.project_tradefield
|
|
|
|
|
- this.querysaledata = res.data.querysaledata
|
|
|
|
|
- this.queryhistoryproject = res.data.queryhistoryproject
|
|
|
|
|
- this.isitemclass = res.data.isitemclass
|
|
|
|
|
- console.log(res.data,'数据2');
|
|
|
|
|
- this.projectrepeatnum = res.data.projectrepeatnum
|
|
|
|
|
- this.ischeckcontract = res.data.ischeckcontract
|
|
|
|
|
- this.isquerytarget = res.data.isquerytarget
|
|
|
|
|
- this.isqueryfollow = res.data.isqueryfollow
|
|
|
|
|
- this.setData = res.data
|
|
|
|
|
- this.$refs.messageTips.form = Object.assign({},this.$refs.messageTips.form,res.data)
|
|
|
|
|
- this.$refs.changeSite.form = Object.assign({},this.$refs.changeSite.form,res.data)
|
|
|
|
|
- },
|
|
|
|
|
- /*企业水印*/
|
|
|
|
|
- async queryEnterpriseWatermark(){
|
|
|
|
|
- console.log(this.siteinfo,'1111水印')
|
|
|
|
|
- const res = await this.$api.requested({
|
|
|
|
|
- "classname": "system.attachment.Attachment",
|
|
|
|
|
- "method": "queryFileLink",
|
|
|
|
|
- "content": {
|
|
|
|
|
- "ownertable": 'sys_site',
|
|
|
|
|
- "ownerid": this.siteinfo.siteuid || 0,
|
|
|
|
|
- "usetype":'watermark'//传空返回有所
|
|
|
|
|
- }
|
|
|
|
|
- })
|
|
|
|
|
- console.log(res,'企业水印信息')
|
|
|
|
|
- this.watermarkImage = {
|
|
|
|
|
- length:res.data.length,
|
|
|
|
|
- image:res.data.length !== 0 ? res.data[0].url: ''
|
|
|
|
|
- }
|
|
|
|
|
- console.log(this.watermarkImage)
|
|
|
|
|
- },
|
|
|
|
|
- /*产品默认图*/
|
|
|
|
|
- async queryProductImage(){
|
|
|
|
|
- const res = await this.$api.requested({
|
|
|
|
|
- "classname": "system.attachment.Attachment",
|
|
|
|
|
- "method": "queryFileLink",
|
|
|
|
|
- "content": {
|
|
|
|
|
- "ownertable": 'system',
|
|
|
|
|
- "ownerid": 1,
|
|
|
|
|
- "usetype":'defaultImage'//传空返回有所
|
|
|
|
|
- }
|
|
|
|
|
- })
|
|
|
|
|
- this.productImage = {
|
|
|
|
|
- length:res.data.length,
|
|
|
|
|
- image:res.data.length !== 0 ? res.data[0].url: ''
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ this.$refs.basicRef.setBasic(res.data)
|
|
|
|
|
+ // this.obj = {
|
|
|
|
|
+ // password_needcapital:res.data.password_needcapital,
|
|
|
|
|
+ // password_needlowercase:res.data.password_needlowercase,
|
|
|
|
|
+ // password_neednum:res.data.password_neednum,
|
|
|
|
|
+ // password_needspecialchar:res.data.password_needspecialchar,
|
|
|
|
|
+ // password_length:res.data.password_length,
|
|
|
|
|
+ // loginmode_account:res.data.loginmode_account,
|
|
|
|
|
+ // loginmode_phonenumber:res.data.loginmode_phonenumber,
|
|
|
|
|
+ // loginmode_wechat:res.data.loginmode_wechat
|
|
|
|
|
+ // }
|
|
|
|
|
+ // this.project_occupancy_ratio = res.data.project_occupancy_ratio
|
|
|
|
|
+ // this.quotedpricerecheck = res.data.quotedpricerecheck
|
|
|
|
|
+ // this.project_tradefield = res.data.project_tradefield
|
|
|
|
|
+ // this.querysaledata = res.data.querysaledata
|
|
|
|
|
+ // this.queryhistoryproject = res.data.queryhistoryproject
|
|
|
|
|
+ // this.isitemclass = res.data.isitemclass
|
|
|
|
|
+ // console.log(res.data,'数据2');
|
|
|
|
|
+ // this.projectrepeatnum = res.data.projectrepeatnum
|
|
|
|
|
+ // this.ischeckcontract = res.data.ischeckcontract
|
|
|
|
|
+ // this.isquerytarget = res.data.isquerytarget
|
|
|
|
|
+ // this.isqueryfollow = res.data.isqueryfollow
|
|
|
|
|
+ // this.setData = res.data
|
|
|
|
|
+ // this.$refs.messageTips.form = Object.assign({},this.$refs.messageTips.form,res.data)
|
|
|
|
|
+ // this.$refs.changeSite.form = Object.assign({},this.$refs.changeSite.form,res.data)
|
|
|
},
|
|
},
|
|
|
|
|
+
|
|
|
/*查重规则*/
|
|
/*查重规则*/
|
|
|
async queryRule(){
|
|
async queryRule(){
|
|
|
const res = await this.$api.requested({
|
|
const res = await this.$api.requested({
|
|
@@ -215,8 +179,8 @@ export default {
|
|
|
async mounted () {
|
|
async mounted () {
|
|
|
this.infoData()
|
|
this.infoData()
|
|
|
this.querySite_Parameter()
|
|
this.querySite_Parameter()
|
|
|
- this.queryEnterpriseWatermark()
|
|
|
|
|
- this.queryProductImage()
|
|
|
|
|
|
|
+ // this.queryEnterpriseWatermark()
|
|
|
|
|
+ // this.queryProductImage()
|
|
|
this.queryRule()
|
|
this.queryRule()
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|