lrf402788946 4 年之前
父节点
当前提交
69eeb965f0
共有 1 个文件被更改,包括 16 次插入1 次删除
  1. 16 1
      src/views/userCenter/userScore/expertOpinion.vue

+ 16 - 1
src/views/userCenter/userScore/expertOpinion.vue

@@ -2,7 +2,12 @@
   <div id="expertOpinion">
     <el-row>
       <el-col :span="24" class="main">
-        <data-table :fields="fields" :opera="opera" :data="list" :total="total" @query="search" @view="toView"></data-table>
+        <el-col :span="24" class="top">
+          <el-button type="primary" size="mini" @click="back">返回</el-button>
+        </el-col>
+        <el-col :span="24" class="down">
+          <data-table :fields="fields" :opera="opera" :data="list" :total="total" @query="search" @view="toView"></data-table>
+        </el-col>
       </el-col>
     </el-row>
     <el-dialog class="dialog" title="意见详情" center width="40%" :visible.sync="dialog" @closed="handleClose" :destroy-on-close="true">
@@ -64,6 +69,10 @@ export default {
       this.form = {};
       this.dialog = false;
     },
+    // 返回
+    back() {
+      this.$router.push({ path: '/noExpertScore' });
+    },
   },
 
   computed: {
@@ -79,6 +88,12 @@ export default {
 </script>
 
 <style lang="less" scoped>
+.main {
+  .top {
+    text-align: right;
+    margin: 0 0 10px 0;
+  }
+}
 .dialog {
   /deep/.el-dialog__body {
     min-height: 330px;