add
This commit is contained in:
@@ -1,35 +1,35 @@
|
||||
<template>
|
||||
<div class="page-card">
|
||||
<h3>Feedback</h3>
|
||||
<h3>反馈处理</h3>
|
||||
<el-table :data="items" stripe>
|
||||
<el-table-column prop="id" label="ID" width="80" />
|
||||
<el-table-column prop="elderId" label="Elder ID" />
|
||||
<el-table-column prop="type" label="Type" />
|
||||
<el-table-column prop="content" label="Content" />
|
||||
<el-table-column prop="status" label="Status" width="120" />
|
||||
<el-table-column label="Actions" width="200">
|
||||
<el-table-column prop="id" label="编号" width="80" />
|
||||
<el-table-column prop="elderId" label="长者ID" />
|
||||
<el-table-column prop="type" label="类型" />
|
||||
<el-table-column prop="content" label="内容" />
|
||||
<el-table-column prop="status" label="状态" width="120" />
|
||||
<el-table-column label="操作" width="200">
|
||||
<template slot-scope="scope">
|
||||
<el-button size="mini" @click="openReply(scope.row)">Reply</el-button>
|
||||
<el-button size="mini" @click="openReply(scope.row)">回复</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
||||
<el-dialog title="Reply" :visible.sync="showReply">
|
||||
<el-dialog title="回复处理" :visible.sync="showReply">
|
||||
<el-form :model="replyForm" label-width="120px">
|
||||
<el-form-item label="Status">
|
||||
<el-form-item label="状态">
|
||||
<el-select v-model="replyForm.status">
|
||||
<el-option label="New" value="NEW" />
|
||||
<el-option label="Processing" value="PROCESSING" />
|
||||
<el-option label="Closed" value="CLOSED" />
|
||||
<el-option label="新建" value="NEW" />
|
||||
<el-option label="处理中" value="PROCESSING" />
|
||||
<el-option label="已关闭" value="CLOSED" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="Reply">
|
||||
<el-form-item label="回复">
|
||||
<el-input v-model="replyForm.reply" type="textarea" />
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<span slot="footer">
|
||||
<el-button @click="showReply = false">Cancel</el-button>
|
||||
<el-button type="primary" @click="saveReply">Save</el-button>
|
||||
<el-button @click="showReply = false">取消</el-button>
|
||||
<el-button type="primary" @click="saveReply">保存</el-button>
|
||||
</span>
|
||||
</el-dialog>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user