Browse Source

留言管理-修复自动回复、回复输入框不能选中

Sanmu8 1 year ago
parent
commit
497c058888
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/views/LEAVEMESSAGE/index.vue

+ 4 - 4
src/views/LEAVEMESSAGE/index.vue

@@ -31,8 +31,8 @@
       <el-table-column label="留言详情" align="center" prop="questionDetail" :show-overflow-tooltip="true" />
       <el-table-column label="状态" align="center" prop="type">
         <template slot-scope="scope">
-          <span v-if="scope.row.type == 1"><el-tag type="danger">未回复</el-tag></span>
-          <span v-if="scope.row.type == 0"><el-tag>已回复</el-tag></span>
+          <span v-if="scope.row.type == 0"><el-tag type="danger">未回复</el-tag></span>
+          <span v-if="scope.row.type == 1"><el-tag>已回复</el-tag></span>
         </template>
       </el-table-column>
       <el-table-column label="留言时间" align="center" prop="questionTime">
@@ -76,8 +76,8 @@
           <el-col :span="24">
             <el-form-item label="回复内容" prop="replyContent">
               <template slot-scope="scope">
-                <el-input v-if="form.type == 1" v-model="form.replyContent" type="textarea" rows="5" placeholder="请输入内容" />
-                <el-input v-else-if="form.type == 0" disabled v-model="form.replyContent" rows="5" type="textarea" />
+                <el-input v-if="form.type == 0" v-model="form.replyContent" type="textarea" rows="5" placeholder="请输入内容" />
+                <el-input v-else-if="form.type == 1" disabled v-model="form.replyContent" rows="5" type="textarea" />
               </template>
             </el-form-item>
           </el-col>