| | |
| | | return { |
| | | content: "", |
| | | id: "", |
| | | title: "", |
| | | title: "评分", |
| | | isEdit: false, |
| | | score: 0 |
| | | } |
| | | }, |
| | | onLoad(option) { |
| | | this.id = option.id; |
| | | this.title = option.title; |
| | | // this.title = option.title; |
| | | if (option.data) { |
| | | let data = JSON.parse(option.data); |
| | | this.score = data.score; |
| | |
| | | methods: { |
| | | submitInfo(val) { |
| | | let data = val; |
| | | data.propertyCompanyid = this.id; |
| | | data.propertyCompanyId = this.id; |
| | | data.createUser = uni.getStorageSync("userInfo").user_id; |
| | | if (this.isEdit) { |
| | | delete data.content; |
| | |
| | | </script> |
| | | |
| | | <style> |
| | | page { |
| | | background-color: #f5f5f5; |
| | | } |
| | | |
| | | .container { |
| | | padding: 30rpx 30rpx 0; |
| | | } |