Commit 691f6708 by wangql

改BUG

1 parent 9ddd1746
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
placeholder="请输入标题" placeholder="请输入标题"
name="title" name="title"
data-vv-as="标题" data-vv-as="标题"
v-validate="'required|max:100'" v-validate="'required|max:25'"
clearable clearable
></gl-input> ></gl-input>
<span <span
...@@ -150,8 +150,8 @@ ...@@ -150,8 +150,8 @@
<div class="modal-body ofy-visible"> <div class="modal-body ofy-visible">
<div class="detail_title">{{noticeForm.titile}}</div> <div class="detail_title">{{noticeForm.titile}}</div>
<div> <div>
<span class="subTitle">发布时间:{{noticeForm.publishTime}}</span> <span class="subTitle">发布时间:{{noticeForm.recordId ? noticeForm.publishTime : new Date().format('yyyy/MM/dd HH:mm:ss')}}</span>
<span class="subTitle f-r">消息来自:{{noticeForm.merchantName}}</span> <span class="subTitle f-r">消息来自:广联</span>
</div> </div>
<div class="content" ng-bind-html="content | htmlTrusted" v-html="noticeForm.context"></div> <div class="content" ng-bind-html="content | htmlTrusted" v-html="noticeForm.context"></div>
<div>附件:<a class="btn btn-link text-info btn-xs" :href="noticeForm.attachment" v-show="noticeForm.attachment">点击下载资料</a></div> <div>附件:<a class="btn btn-link text-info btn-xs" :href="noticeForm.attachment" v-show="noticeForm.attachment">点击下载资料</a></div>
...@@ -282,7 +282,6 @@ export default { ...@@ -282,7 +282,6 @@ export default {
handleComfrim() { handleComfrim() {
this.$validator.validateAll().then((result) => { this.$validator.validateAll().then((result) => {
if (result) { if (result) {
console.log(this.$validator)
if (this.noticeForm.publishStatus === 3) { // 当此通知为取消发布时,审核发布操作应新建一个通知 if (this.noticeForm.publishStatus === 3) { // 当此通知为取消发布时,审核发布操作应新建一个通知
this.noticeForm.recordId && (this.noticeForm.recordId = '') this.noticeForm.recordId && (this.noticeForm.recordId = '')
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!