|
@@ -84,6 +84,18 @@ function handleConfirmReportTitle(){
|
|
|
showReportTitlePop.value=false
|
|
|
}
|
|
|
|
|
|
+//作者
|
|
|
+const showReportAuthorPop=ref(false)
|
|
|
+const temReportAuthorVal=ref('')
|
|
|
+function handleShowReportAuthor(){
|
|
|
+ temReportAuthorVal.value=baseInfo.author
|
|
|
+ showReportAuthorPop.value=true
|
|
|
+}
|
|
|
+function handleConfirmReportAuthor(){
|
|
|
+ baseInfo.author=temReportAuthorVal.value
|
|
|
+ showReportAuthorPop.value=false
|
|
|
+}
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
@@ -145,6 +157,7 @@ function handleSave(){
|
|
|
title="创建人"
|
|
|
is-link
|
|
|
:value="baseInfo.author"
|
|
|
+ @click="handleShowReportAuthor"
|
|
|
/>
|
|
|
<van-cell
|
|
|
value-class="cell-con"
|
|
@@ -206,6 +219,21 @@ function handleSave(){
|
|
|
</div>
|
|
|
</van-popup>
|
|
|
|
|
|
+ <!-- 作者 -->
|
|
|
+ <van-popup
|
|
|
+ v-model:show="showReportAuthorPop"
|
|
|
+ position="bottom"
|
|
|
+ :style="{ height: '100%' }"
|
|
|
+ >
|
|
|
+ <div class="input-report-title-pop">
|
|
|
+ <van-field v-model="temReportAuthorVal" placeholder="请输入作者" />
|
|
|
+ <div class="bot-btns">
|
|
|
+ <van-button class="bot-btn" type="default" @click="showReportAuthorPop=false">取消</van-button>
|
|
|
+ <van-button class="bot-btn" type="primary" :disabled="!temReportAuthorVal" @click="handleConfirmReportAuthor">确定</van-button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </van-popup>
|
|
|
+
|
|
|
<!-- 选择晨报的指标 -->
|
|
|
<van-popup
|
|
|
v-model:show="showTicketPop"
|