|
@@ -48,10 +48,10 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="消息标题" align="center" prop="msgTitle" cell-class-name="msg-title-cell"
|
|
|
- :cell-style="cellStyle" width="180"/>
|
|
|
+ :cell-style="cellStyle" width="180" />
|
|
|
<el-table-column label="通知时间" align="center" prop="msgTime">
|
|
|
<template #default="scope">
|
|
|
- <span>{{ parseTime(scope.row.msgTime, '{y}-{m}-{d} {h}:{m}:{s}') }}</span>
|
|
|
+ <span>{{ parseTime(scope.row.msgTime, '{y}-{m}-{d} {h}:{m}:{s}') }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="消息状态" align="center" prop="isRead" width="80">
|
|
@@ -61,6 +61,7 @@
|
|
|
</el-tag>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
+ <el-table-column label="投票原因" align="center" prop="voteReason" />
|
|
|
<el-table-column label="备注" align="center" prop="remark" />
|
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
|
|
<template #default="scope">
|
|
@@ -123,9 +124,15 @@
|
|
|
{{ dialogTitle.text }}
|
|
|
</a>
|
|
|
<el-col :span="24">
|
|
|
- <el-form-item label="内容">
|
|
|
- <editor v-model="noticeContent" :min-height="192" :toolbar="[]" />
|
|
|
- </el-form-item>
|
|
|
+ <el-form>
|
|
|
+ <el-form-item label="投票原因" v-if="isVote == '0' && msgType == '4'">
|
|
|
+ <el-input v-model="form.voteReason" placeholder="请输入投票原因" />
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="内容">
|
|
|
+ <editor v-model="noticeContent" :min-height="192" :toolbar="[]" />
|
|
|
+ </el-form-item>
|
|
|
+
|
|
|
+ </el-form>
|
|
|
</el-col>
|
|
|
|
|
|
<template #footer>
|
|
@@ -186,6 +193,7 @@ const data = reactive({
|
|
|
isRead: null,
|
|
|
ids: null, // 选中数据的id
|
|
|
stateName: null,
|
|
|
+ voteReason: null,
|
|
|
},
|
|
|
rules: {
|
|
|
},
|
|
@@ -280,6 +288,7 @@ function reset() {
|
|
|
remark: null,
|
|
|
ids: '',
|
|
|
stateName: null,
|
|
|
+ voteReason: null,
|
|
|
};
|
|
|
proxy.resetForm("messageRef");
|
|
|
}
|
|
@@ -381,8 +390,8 @@ function handleRead(row) {
|
|
|
/**点击展开小题标题对话框 */
|
|
|
const handleCellClick = (row, column) => {
|
|
|
if (column.property === 'msgTitle') {
|
|
|
- // 只有未读消息(isRead === '0')才调用接口
|
|
|
- if (row.isRead === '0') {
|
|
|
+ // 只有未读消息(isRead === '0')才调用接口
|
|
|
+ if (row.isRead === '0') {
|
|
|
MessageSetRead(row.equityMessageId)
|
|
|
.then(response => {
|
|
|
console.log("已调用 MessageSetRead 接口,返回数据:", response);
|
|
@@ -479,7 +488,7 @@ getList();
|
|
|
display: none !important;
|
|
|
}
|
|
|
|
|
|
->>>.editor{
|
|
|
+>>>.editor {
|
|
|
width: 550px
|
|
|
}
|
|
|
</style>
|