|
@@ -1,6 +1,7 @@
|
|
<template>
|
|
<template>
|
|
<div class="main_right_height">
|
|
<div class="main_right_height">
|
|
- <div>
|
|
|
|
|
|
+ <TopDes :flag="true" topDesFont="用户聊天记录"></TopDes>
|
|
|
|
+ <!-- <div>
|
|
<el-row>
|
|
<el-row>
|
|
<el-col :span="1"> </el-col>
|
|
<el-col :span="1"> </el-col>
|
|
<el-col :span="22">
|
|
<el-col :span="22">
|
|
@@ -18,11 +19,11 @@
|
|
|
|
|
|
<el-col :span="1"> </el-col>
|
|
<el-col :span="1"> </el-col>
|
|
</el-row>
|
|
</el-row>
|
|
- </div>
|
|
|
|
|
|
+ </div> -->
|
|
<div>
|
|
<div>
|
|
<el-row style="margin-bottom: 15px">
|
|
<el-row style="margin-bottom: 15px">
|
|
<el-col :span="1"> </el-col>
|
|
<el-col :span="1"> </el-col>
|
|
- <el-col :span="20" style="margin-top:15px">
|
|
|
|
|
|
+ <el-col :span="20" style="margin-top: 15px" class="xl_input">
|
|
<div style="display: flex">
|
|
<div style="display: flex">
|
|
<el-date-picker
|
|
<el-date-picker
|
|
v-model="value1"
|
|
v-model="value1"
|
|
@@ -37,13 +38,14 @@
|
|
<el-input
|
|
<el-input
|
|
placeholder="请输入量表名称"
|
|
placeholder="请输入量表名称"
|
|
v-model="nameSearch"
|
|
v-model="nameSearch"
|
|
- class="input-with-select"
|
|
|
|
|
|
+ @input="searchEle"
|
|
|
|
+ prefix-icon="el-icon-search"
|
|
>
|
|
>
|
|
- <el-button
|
|
|
|
|
|
+ <!-- <el-button
|
|
slot="append"
|
|
slot="append"
|
|
@click="searchEle"
|
|
@click="searchEle"
|
|
icon="el-icon-search"
|
|
icon="el-icon-search"
|
|
- ></el-button>
|
|
|
|
|
|
+ ></el-button> -->
|
|
</el-input>
|
|
</el-input>
|
|
</div>
|
|
</div>
|
|
</el-col>
|
|
</el-col>
|
|
@@ -85,7 +87,12 @@
|
|
:data="tableData"
|
|
:data="tableData"
|
|
style="width: 100%"
|
|
style="width: 100%"
|
|
@selection-change="handleSelectionChange"
|
|
@selection-change="handleSelectionChange"
|
|
- :header-cell-style="{ background: head_style }"
|
|
|
|
|
|
+ :header-cell-style="{
|
|
|
|
+ background: '#66B497',
|
|
|
|
+ color: '#FFFFFF',
|
|
|
|
+ 'letter-spacing': '4px',
|
|
|
|
+ }"
|
|
|
|
+ :row-class-name="tableRowClassName"
|
|
border
|
|
border
|
|
>
|
|
>
|
|
<el-table-column type="selection" align="center" width="55">
|
|
<el-table-column type="selection" align="center" width="55">
|
|
@@ -112,7 +119,7 @@
|
|
<el-col :span="1"> </el-col>
|
|
<el-col :span="1"> </el-col>
|
|
</el-row>
|
|
</el-row>
|
|
</div>
|
|
</div>
|
|
- <p align="center" style='margin-bottom:40px'>
|
|
|
|
|
|
+ <p align="center" style="margin-bottom: 40px">
|
|
<el-pagination
|
|
<el-pagination
|
|
@size-change="handleSizeChange"
|
|
@size-change="handleSizeChange"
|
|
@current-change="handleCurrentChange"
|
|
@current-change="handleCurrentChange"
|
|
@@ -124,6 +131,7 @@
|
|
>
|
|
>
|
|
</el-pagination>
|
|
</el-pagination>
|
|
</p>
|
|
</p>
|
|
|
|
+ <FootDes></FootDes>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<script>
|
|
<script>
|
|
@@ -150,6 +158,14 @@ export default {
|
|
this.queryEle();
|
|
this.queryEle();
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ tableRowClassName({ rowIndex }) {
|
|
|
|
+ if (rowIndex % 2 === 0) {
|
|
|
|
+ return "warning-row";
|
|
|
|
+ } else if (rowIndex % 2 === 1) {
|
|
|
|
+ return "success-row";
|
|
|
|
+ }
|
|
|
|
+ return "success-row";
|
|
|
|
+ },
|
|
//返回上一页
|
|
//返回上一页
|
|
goBack() {
|
|
goBack() {
|
|
this.$router.go(-1);
|
|
this.$router.go(-1);
|
|
@@ -213,7 +229,7 @@ export default {
|
|
this.startDate = this.fomatterDate(this.value1[0]);
|
|
this.startDate = this.fomatterDate(this.value1[0]);
|
|
this.endDate = this.fomatterDate(this.value1[1]);
|
|
this.endDate = this.fomatterDate(this.value1[1]);
|
|
}
|
|
}
|
|
- this.pageNum=1;
|
|
|
|
|
|
+ this.pageNum = 1;
|
|
this.queryEle();
|
|
this.queryEle();
|
|
},
|
|
},
|
|
//格式化时间格式
|
|
//格式化时间格式
|
|
@@ -341,9 +357,10 @@ export default {
|
|
</script>
|
|
</script>
|
|
<style scoped>
|
|
<style scoped>
|
|
.main_right_height {
|
|
.main_right_height {
|
|
- height: 95vh !important;
|
|
|
|
|
|
+ height: 100vh !important;
|
|
display: block !important;
|
|
display: block !important;
|
|
overflow-y: auto !important;
|
|
overflow-y: auto !important;
|
|
|
|
+ background: #ffffff;
|
|
}
|
|
}
|
|
.el-input-group {
|
|
.el-input-group {
|
|
line-height: normal;
|
|
line-height: normal;
|
|
@@ -352,17 +369,7 @@ export default {
|
|
border-collapse: separate;
|
|
border-collapse: separate;
|
|
border-spacing: 0;
|
|
border-spacing: 0;
|
|
}
|
|
}
|
|
-.xl_d_button,
|
|
|
|
-.xl_d_button:hover,
|
|
|
|
-.xl_d_button:focus {
|
|
|
|
- background: rgb(87, 172, 187);
|
|
|
|
- opacity: 1;
|
|
|
|
- /* border-radius: 18px; */
|
|
|
|
- /* font-size: 14px; */
|
|
|
|
- font-family: PingFang SC;
|
|
|
|
- font-weight: 400;
|
|
|
|
- color: #ffffff;
|
|
|
|
-}
|
|
|
|
|
|
+
|
|
.xl_d_button.is-disabled,
|
|
.xl_d_button.is-disabled,
|
|
.xl_d_button.is-disabled:focus,
|
|
.xl_d_button.is-disabled:focus,
|
|
.xl_d_button.is-disabled:hover {
|
|
.xl_d_button.is-disabled:hover {
|