Compare commits
2 Commits
0820307fe6
...
5e018143b7
Author | SHA1 | Date | |
---|---|---|---|
![]() |
5e018143b7 | ||
![]() |
fbe4bf4c64 |
@ -218,11 +218,11 @@
|
|||||||
padding: 0 20rpx 0 20rpx;
|
padding: 0 20rpx 0 20rpx;
|
||||||
|
|
||||||
.dl-item-box {
|
.dl-item-box {
|
||||||
height: calc(100vh - var(--status-bar-height) - var(--window-bottom) - 337rpx);
|
height: calc(100vh - var(--status-bar-height) - var(--window-bottom) - 344rpx);
|
||||||
padding-top: 20rpx;
|
padding-top: 20rpx;
|
||||||
isplay: flex;
|
isplay: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
@ -207,7 +207,7 @@
|
|||||||
padding: 0 20rpx 0 20rpx;
|
padding: 0 20rpx 0 20rpx;
|
||||||
|
|
||||||
.dl-item-box {
|
.dl-item-box {
|
||||||
height: calc(100vh - var(--status-bar-height) - var(--window-bottom) - 337rpx);
|
height: calc(100vh - var(--status-bar-height) - var(--window-bottom) - 344rpx);
|
||||||
isplay: flex;
|
isplay: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
@ -204,8 +204,10 @@
|
|||||||
通告明细
|
通告明细
|
||||||
</view>
|
</view>
|
||||||
<view class="item-value">
|
<view class="item-value">
|
||||||
<textarea v-model="dataObj.detail" style="height: 600rpx;" type="text"
|
<fuck-textarea v-model="dataObj.detail" height="600rpx" placeholder="请输入内容"
|
||||||
placeholder="请输入通告明细" />
|
maxlength="3000"></fuck-textarea>
|
||||||
|
<!-- <textarea v-model="dataObj.detail" style="height: 600rpx;" type="text"
|
||||||
|
placeholder="请输入通告明细" /> -->
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -270,9 +272,11 @@
|
|||||||
saveNotice,
|
saveNotice,
|
||||||
getNoticeDetail
|
getNoticeDetail
|
||||||
} from '@/api/business/notice';
|
} from '@/api/business/notice';
|
||||||
|
import fuckTextarea from '@/components/fuck-textarea/fuck-textarea.vue'
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
navigationBarVue,
|
navigationBarVue,
|
||||||
|
fuckTextarea
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@ -503,6 +507,9 @@
|
|||||||
if (this.validForm(this.dataObj)) {
|
if (this.validForm(this.dataObj)) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
let str = this.dataObj.detail.replace(/\n|\r\n/g, "<br>")
|
||||||
|
console.log(str, "str")
|
||||||
|
this.dataObj.detail = str
|
||||||
//草稿状态
|
//草稿状态
|
||||||
this.dataObj.approvalStatus = '8'
|
this.dataObj.approvalStatus = '8'
|
||||||
if (this.fileList && this.fileList.length > 0) {
|
if (this.fileList && this.fileList.length > 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user