|
|
@@ -169,9 +169,6 @@
|
|
|
messageBoard () {
|
|
|
return this.$store.state.messageBoard.information.data
|
|
|
},
|
|
|
-// user () {
|
|
|
-// return this.$store.state.messageBoardIsLogin.login.data
|
|
|
-// },
|
|
|
user () {
|
|
|
return this.$store.state.option.user.data
|
|
|
},
|
|
|
@@ -197,12 +194,12 @@
|
|
|
let obj = {}
|
|
|
obj.img = url
|
|
|
this.dialogImageUrl.push(obj)
|
|
|
- console.log(this.dialogImageUrl)
|
|
|
},
|
|
|
isOpendMessage () {
|
|
|
this.$emit('openBoardEvent', false)
|
|
|
},
|
|
|
isOpenHistory () {
|
|
|
+ this.$store.dispatch('getMessageBoardInformation', {page: 1, count: 3})
|
|
|
this.showHistory = !this.showHistory
|
|
|
},
|
|
|
isHideHistory () {
|
|
|
@@ -220,7 +217,6 @@
|
|
|
this.isEmail = (/^([a-zA-Z0-9_.-])+@(([a-zA-Z0-9-])+.)+([a-zA-Z0-9]{2,4})+$/).test(this.messageBoard.email)
|
|
|
},
|
|
|
confirm () {
|
|
|
- console.log('messageBoard', this.$store.state.messageBoard.information.data)
|
|
|
this.$store.dispatch('uploadMessageBoardInformation', {question: this.messageBoard.question, role: this.messageBoard.role, submitTitle: '【优软商城】IC电子元器件现货采购交易平台商城', submitUrl: window.location.href, type: this.messageBoard.type, imgs: this.dialogImageUrl, userTel: '13333333333'})
|
|
|
if (this.messageBoard) {
|
|
|
if (!this.messageBoard.question) {
|