Commit c4eb9615b76fa62ceb4edc2b70b458f6d2ebe154

Authored by 梁保满
1 parent 76693d69

日志页面调整

src/views/device/index.vue
... ... @@ -697,6 +697,7 @@ export default {
697 697 this.query.onlineStatus =
698 698 obj.name == "在线" ? 1 : obj.name == "离线" ? 0 : 2;
699 699 this.query.sn = "";
  700 + this.query.classId = [];
700 701 this.page = 1;
701 702 this._QueryData(false);
702 703 },
... ... @@ -714,6 +715,7 @@ export default {
714 715 ? 5
715 716 : 6;
716 717 this.query.sn = "";
  718 + this.query.classId = [];
717 719 this.page = 1;
718 720 this._QueryData(false);
719 721 },
... ...
src/views/device/log.vue
... ... @@ -81,18 +81,11 @@
81 81 prop="operationType"
82 82 label="请求类型"
83 83 align="center"
84   - width="200"
  84 + width="160"
85 85 ><template slot-scope="scoped">{{
86 86 setOperationType(scoped.row.operationType)
87 87 }}</template></el-table-column
88 88 >
89   - <el-table-column
90   - v-if="type == 2"
91   - width="100"
92   - prop="submit"
93   - label="提交次数"
94   - align="center"
95   - ></el-table-column>
96 89 <el-table-column
97 90 v-if="type == 2"
98 91 prop="electricity"
... ... @@ -106,11 +99,11 @@
106 99 align="center"
107 100 width="200"
108 101 ></el-table-column>
109   - <el-table-column
110   - prop="content"
111   - label="日志内容"
112   - align="center"
113   - ></el-table-column>
  102 + <el-table-column prop="content" label="日志内容" align="center"
  103 + ><template slot-scope="scoped">
  104 + <p style="text-align: left">{{ scoped.row.content }}</p></template
  105 + ></el-table-column
  106 + >
114 107 </el-table>
115 108 </div>
116 109 <div class="pagination-box">
... ...
src/views/login/index.vue
... ... @@ -93,16 +93,8 @@ export default {
93 93 disableClick: true,
94 94 passwordType: "password",
95 95 loginForm: {
96   - // username: "15911715665",
97   - // password: "715665",
98   - // username: "18314340313",
99   - // password: "Pw340313#",
100   - // username: "18687826606",
101   - // password: "Pw826606#",
102   - // username: "18893712576",
103   - // password: "712576",
104   - username: "13247726488",
105   - password: "726488",
  96 + username: "",
  97 + password: "",
106 98 },
107 99 loginRules: {
108 100 username: [
... ...