1
This commit is contained in:
parent
5c9d8b2e4c
commit
fbe4bf4c64
@ -218,11 +218,11 @@
|
||||
padding: 0 20rpx 0 20rpx;
|
||||
|
||||
.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;
|
||||
isplay: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
@ -207,7 +207,7 @@
|
||||
padding: 0 20rpx 0 20rpx;
|
||||
|
||||
.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;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
@ -204,8 +204,10 @@
|
||||
通告明细
|
||||
</view>
|
||||
<view class="item-value">
|
||||
<textarea v-model="dataObj.detail" style="height: 600rpx;" type="text"
|
||||
placeholder="请输入通告明细" />
|
||||
<fuck-textarea v-model="dataObj.detail" height="600rpx" placeholder="请输入内容"
|
||||
maxlength="3000"></fuck-textarea>
|
||||
<!-- <textarea v-model="dataObj.detail" style="height: 600rpx;" type="text"
|
||||
placeholder="请输入通告明细" /> -->
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -270,9 +272,11 @@
|
||||
saveNotice,
|
||||
getNoticeDetail
|
||||
} from '@/api/business/notice';
|
||||
import fuckTextarea from '@/components/fuck-textarea/fuck-textarea.vue'
|
||||
export default {
|
||||
components: {
|
||||
navigationBarVue,
|
||||
fuckTextarea
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@ -503,6 +507,9 @@
|
||||
if (this.validForm(this.dataObj)) {
|
||||
return
|
||||
}
|
||||
let str = this.dataObj.detail.replace(/\n|\r\n/g, "<br>")
|
||||
console.log(str, "str")
|
||||
this.dataObj.detail = str
|
||||
//草稿状态
|
||||
this.dataObj.approvalStatus = '8'
|
||||
if (this.fileList && this.fileList.length > 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user