Browse Source

修改留言管理

lcmxs 1 year ago
parent
commit
b04283989e
1 changed files with 6 additions and 7 deletions
  1. 6 7
      src/views/LEAVEMESSAGE/index.vue

+ 6 - 7
src/views/LEAVEMESSAGE/index.vue

@@ -1,9 +1,9 @@
 <template>
   <div class="app-container">
     <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch">
-      <el-form-item label="留言标题" prop="question">
-        <el-input v-model="queryParams.question" placeholder="请输入留言标题" clearable @keyup.enter.native="handleQuery" />
-      </el-form-item>
+<!--      <el-form-item label="留言标题" prop="question">-->
+<!--        <el-input v-model="queryParams.question" placeholder="请输入留言标题" clearable @keyup.enter.native="handleQuery" />-->
+<!--      </el-form-item>-->
       <el-form-item label="留言人姓名" prop="ansName">
         <el-input v-model="queryParams.ansName" placeholder="请输入留言人姓名" clearable @keyup.enter.native="handleQuery" />
       </el-form-item>
@@ -27,7 +27,7 @@
       <el-table-column type="selection" width="55" align="center" />
       <el-table-column label="创建人" align="center" prop="createBy" />
       <el-table-column label="留言人姓名" align="center" prop="ansName" />
-      <el-table-column label="留言标题" align="center" prop="question" :show-overflow-tooltip="true" />
+<!--      <el-table-column label="留言标题" align="center" prop="question" :show-overflow-tooltip="true" />-->
       <el-table-column label="留言详情" align="center" prop="questionDetail" :show-overflow-tooltip="true" />
       <el-table-column label="状态" align="center" prop="type">
         <template slot-scope="scope">
@@ -35,9 +35,9 @@
           <span v-if="scope.row.type == 1"><el-tag>已回复</el-tag></span>
         </template>
       </el-table-column>
-      <el-table-column label="留言时间" align="center" prop="questionTime">
+      <el-table-column label="留言时间" align="center" prop="createTime">
         <template slot-scope="scope">
-          <span>{{ parseTime(scope.row.questionTime, '{y}-{m}-{d}-{h}:{i}') }}</span>
+          <span>{{ parseTime(scope.row.createTime, '{y}-{m}-{d}-{h}:{i}') }}</span>
         </template>
       </el-table-column>
       <el-table-column label="更新时间" align="center" prop="updateTime">
@@ -131,7 +131,6 @@ export default {
         delFlag: null,
         deptId: null,
         question: null,
-        ansName: null,
         questionDetail: null,
         questionTime: null,
         ansName: null