|
|
@@ -1,378 +1,384 @@
|
|
|
-<template>
|
|
|
- <div class="record_detail">
|
|
|
- <div class="title">
|
|
|
- <p class="data_detail">数据详情</p>
|
|
|
- </div>
|
|
|
- <div class="content">
|
|
|
- <div class="content_datail">
|
|
|
- <div class="detail">
|
|
|
- <p style="width: 65px">资料名称:</p>
|
|
|
- <p>{{ detailData.informationName }}</p>
|
|
|
- </div>
|
|
|
- <div class="detail">
|
|
|
- <p style="width: 65px">上传时间:</p>
|
|
|
- <p>{{ detailData.filePulishTime }}</p>
|
|
|
- </div>
|
|
|
- <div class="multiDetail">
|
|
|
- <div class="time">
|
|
|
- <p style="width: 65px">素材时间:</p>
|
|
|
- <p>{{ detailData.fileUploadDate }}</p>
|
|
|
- </div>
|
|
|
- <div class="range">
|
|
|
- <p style="width: 75px">经销商范围:</p>
|
|
|
- <p style="margin-right: 10px">
|
|
|
- {{ detailData.accountScope === 1 ? "共通" : "部分" }}
|
|
|
- </p>
|
|
|
- <p>
|
|
|
- 可查看经销商<span @click="showTable">{{
|
|
|
- detailData.totalCount
|
|
|
- }}</span
|
|
|
- >家
|
|
|
- </p>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="detail">
|
|
|
- <p style="width: 65px">资料描述:</p>
|
|
|
- <p>{{ detailData.fileDiscription }}</p>
|
|
|
- </div>
|
|
|
- <div class="files">
|
|
|
- <p style="width: 65px">附件:</p>
|
|
|
- <div class="filesName">
|
|
|
- <p
|
|
|
- v-for="(item, index) in filesList"
|
|
|
- :key="index"
|
|
|
- @click="downloadFile(index)"
|
|
|
- >
|
|
|
- {{ item.fileName }}
|
|
|
- </p>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="table" v-show="isShowTable">
|
|
|
- <div class="table_option">
|
|
|
- <select @change="seletByArea" v-model="optionValue">
|
|
|
- <option value="" selected>全区</option>
|
|
|
- <option value="s">南区</option>
|
|
|
- <option value="n">北区</option>
|
|
|
- <option value="e">东区</option>
|
|
|
- <option value="self">自定义分组</option>
|
|
|
- </select>
|
|
|
- <div class="hidTable" @click="hidTable">
|
|
|
- <img src="../../../img/crossMark.png" />
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="count">
|
|
|
- <Count :sum="sum"></Count>
|
|
|
- </div>
|
|
|
- <Table :tableData="tableData"> </Table>
|
|
|
- <TablePage
|
|
|
- :totalPage="totalPage"
|
|
|
- :currentPage="currentPage"
|
|
|
- @change_page="changePage"
|
|
|
- @jump_page="jumpPage"
|
|
|
- ></TablePage>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="download">
|
|
|
- <p class="download_record">下载记录</p>
|
|
|
- <div class="btn">
|
|
|
- <div class="current_button" @click="downloadExcel">导出</div>
|
|
|
- </div>
|
|
|
- <p class="tip">点击导出,查看该资料下载记录</p>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-</template>
|
|
|
-
|
|
|
-<script>
|
|
|
-import Table from "./RecordDetailTable";
|
|
|
-import Count from "../../../components/Count";
|
|
|
-import TablePage from "../../../components/TablePage";
|
|
|
-export default {
|
|
|
- props: {
|
|
|
- detailData: {
|
|
|
- type: Object,
|
|
|
- default: () => {
|
|
|
- return {};
|
|
|
- },
|
|
|
- },
|
|
|
- },
|
|
|
- components: {
|
|
|
- Table,
|
|
|
- Count,
|
|
|
- TablePage,
|
|
|
- },
|
|
|
- mounted() {
|
|
|
- let id = this.detailData['id'];
|
|
|
- let data = {informationId: id};
|
|
|
- console.log(this.detailData, 11);
|
|
|
- this.selectInformationFileList(data);
|
|
|
- },
|
|
|
- data() {
|
|
|
- return {
|
|
|
- isShowTable: false,
|
|
|
- sum: 100, // 表格总数据
|
|
|
- currentPage: 1,
|
|
|
- pageSize: 20,
|
|
|
- tableData: [],
|
|
|
- optionValue: "",
|
|
|
- filesList: []
|
|
|
- };
|
|
|
- },
|
|
|
- computed: {
|
|
|
- // 表格总页数
|
|
|
- totalPage() {
|
|
|
- return Math.ceil(this.sum / this.pageSize);
|
|
|
- },
|
|
|
- },
|
|
|
- methods: {
|
|
|
- showTable: function () {
|
|
|
- this.isShowTable = !this.isShowTable;
|
|
|
- let id = this.detailData["id"];
|
|
|
- let dataObj= {
|
|
|
- informationId: id,
|
|
|
- };
|
|
|
- this.getDlrData(dataObj);
|
|
|
- },
|
|
|
- hidTable: function () {
|
|
|
- this.isShowTable = false;
|
|
|
- },
|
|
|
- seletByArea: function () {
|
|
|
- console.log(this.optionValue, 111);
|
|
|
- let dataObj = {
|
|
|
- localArea: ['东区', '南区']
|
|
|
- }
|
|
|
- this.getDlrData(dataObj);
|
|
|
- },
|
|
|
- // 获取某一页面的数据,展示在表格
|
|
|
- changePage: function (page) {
|
|
|
- this.currentPage = page;
|
|
|
- console.log(page);
|
|
|
- },
|
|
|
- // 点击上一页,下一页,首页,尾页
|
|
|
- jumpPage: function (item) {
|
|
|
- switch (item) {
|
|
|
- case 1:
|
|
|
- this.currentPage = 1;
|
|
|
- break;
|
|
|
- case 2:
|
|
|
- this.currentPage = this.currentPage - 1;
|
|
|
- break;
|
|
|
- case 3:
|
|
|
- this.currentPage = this.currentPage + 1;
|
|
|
- break;
|
|
|
- case 4:
|
|
|
- this.currentPage = this.totalPage;
|
|
|
- break;
|
|
|
- }
|
|
|
- console.log(this.currentPage);
|
|
|
- },
|
|
|
- // 下载附件
|
|
|
- downloadFile: function (i) {
|
|
|
- console.log(i);
|
|
|
- let dataObj = {
|
|
|
- fileId: this.filesList[i]['id'],
|
|
|
- informationId: this.detailData['id'],
|
|
|
- agentId: this.filesList[i]['informationId']
|
|
|
- }
|
|
|
- console.log(dataObj);
|
|
|
- this.dealerDownload(dataObj);
|
|
|
- },
|
|
|
- // 导出文件
|
|
|
- downloadExcel: function () {
|
|
|
- let id = this.detailData["id"];
|
|
|
- let data = {
|
|
|
- informationId: id
|
|
|
- }
|
|
|
- this.exportTem(data);
|
|
|
- },
|
|
|
- // 导出 接口
|
|
|
- exportTem: function (data) {
|
|
|
- return new Promise((resolve, reject) => {
|
|
|
- this.$http({
|
|
|
- url: "/export",
|
|
|
- method: "post",
|
|
|
- data: data,
|
|
|
- // responseType: "blob",
|
|
|
- })
|
|
|
- .then((res) => {
|
|
|
- console.log(res);
|
|
|
- resolve(res);
|
|
|
- let link = document.createElement("a");
|
|
|
- link.href = window.URL.createObjectURL(new Blob([res.data]));
|
|
|
- link.target = "_blank";
|
|
|
- //文件名和格式
|
|
|
- link.download = "下载记录.xlsx";
|
|
|
- document.body.appendChild(link);
|
|
|
- link.click();
|
|
|
- document.body.removeChild(link);
|
|
|
- })
|
|
|
- .catch((err) => {
|
|
|
- reject(err);
|
|
|
- });
|
|
|
- });
|
|
|
- },
|
|
|
- // 分页获取所有进销商信息接口
|
|
|
- getDlrData: function (dataObj={}) {
|
|
|
- this.$http({
|
|
|
- method: "post",
|
|
|
- url: "/sys/agent/selectAgentInfoPage",
|
|
|
- data: dataObj
|
|
|
- })
|
|
|
- .then((res) => {
|
|
|
- if (res.data && res.data.code === 200) {
|
|
|
- console.log(res.data.data);
|
|
|
- this.tableData = res.data.data;
|
|
|
- this.sum = res.data.count;
|
|
|
- } else {
|
|
|
- console.log(res);
|
|
|
- }
|
|
|
- })
|
|
|
- .catch((err) => {
|
|
|
- console.log(err);
|
|
|
- });
|
|
|
- },
|
|
|
- // 文件详情 接口
|
|
|
- selectInformationFileList(data) {
|
|
|
- this.$http({
|
|
|
- method: "post",
|
|
|
- url: "/selectInformationFileList",
|
|
|
- data: data
|
|
|
- })
|
|
|
- .then((res) => {
|
|
|
- if (res.data && res.data.code === 200) {
|
|
|
- this.filesList = res.data.data;
|
|
|
- console.log(res.data.data , '文件');
|
|
|
- } else {
|
|
|
- console.log(res);
|
|
|
- }
|
|
|
- })
|
|
|
- .catch((err) => {
|
|
|
- console.log(err);
|
|
|
- });
|
|
|
- },
|
|
|
- // 文件下载接口
|
|
|
- dealerDownload: function(data) {
|
|
|
- this.$http({
|
|
|
- method: "post",
|
|
|
- url: "/dealerDownload",
|
|
|
- data: data
|
|
|
- })
|
|
|
- .then((res) => {
|
|
|
- if (res.data && res.data.code === 200) {
|
|
|
- this.filesList = res.data.data;
|
|
|
- console.log(res.data.data , '文件下载');
|
|
|
- } else {
|
|
|
- console.log(res);
|
|
|
- }
|
|
|
- })
|
|
|
- .catch((err) => {
|
|
|
- console.log(err);
|
|
|
- });
|
|
|
- }
|
|
|
- },
|
|
|
-};
|
|
|
-</script>
|
|
|
-
|
|
|
-<style scoped lang="less">
|
|
|
-.record_detail {
|
|
|
- .title {
|
|
|
- border-top: 1px solid #ccc;
|
|
|
- .data_detail {
|
|
|
- padding-left: 10px;
|
|
|
- font-size: 14px;
|
|
|
- font-weight: bolder;
|
|
|
- height: 30.8px;
|
|
|
- vertical-align: bottom;
|
|
|
- display: table-cell;
|
|
|
- }
|
|
|
- }
|
|
|
- .content {
|
|
|
- display: flex;
|
|
|
- // justify-content: ;
|
|
|
- border: 1px solid #ccc;
|
|
|
- padding: 20px;
|
|
|
- .content_datail {
|
|
|
- width: 420px;
|
|
|
- height: 390px;
|
|
|
- padding: 20px 30px 0;
|
|
|
- .detail {
|
|
|
- width: 100%;
|
|
|
- min-height: 50px;
|
|
|
- display: flex;
|
|
|
- }
|
|
|
- .multiDetail {
|
|
|
- // display: flex;
|
|
|
- min-height: 50px;
|
|
|
- .time {
|
|
|
- // width: 126px;
|
|
|
- min-height: 50px;
|
|
|
- display: flex;
|
|
|
- }
|
|
|
- .range {
|
|
|
- display: flex;
|
|
|
- // width: 268px;
|
|
|
- min-height: 50px;
|
|
|
- span {
|
|
|
- color: #0056a0;
|
|
|
- margin: 0 10px;
|
|
|
- &:hover {
|
|
|
- cursor: pointer;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- .files {
|
|
|
- display: flex;
|
|
|
- .filesName {
|
|
|
- p {
|
|
|
- color: #0056a0;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- .table {
|
|
|
- width: 568px;
|
|
|
- height: 390px;
|
|
|
- background-color: #fff;
|
|
|
- padding: 10px;
|
|
|
- .table_option {
|
|
|
- height: 28px;
|
|
|
- width: 100%;
|
|
|
- display: flex;
|
|
|
- justify-content: space-between;
|
|
|
- select {
|
|
|
- width: 144px;
|
|
|
- height: 28px;
|
|
|
- border: 1px solid #ccc;
|
|
|
- color: #555;
|
|
|
- }
|
|
|
- }
|
|
|
- .count {
|
|
|
- display: flex;
|
|
|
- justify-content: flex-end;
|
|
|
- }
|
|
|
- .hidTable {
|
|
|
- width: 41px;
|
|
|
- height: 26px;
|
|
|
- padding-left: 15px;
|
|
|
- img {
|
|
|
- width: 26px;
|
|
|
- height: 26px;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- .download {
|
|
|
- padding: 10px;
|
|
|
- .download_record {
|
|
|
- font-size: 14px;
|
|
|
- }
|
|
|
- .btn {
|
|
|
- margin: 20px 50px 10px;
|
|
|
- }
|
|
|
- .tip {
|
|
|
- margin-left: 68px;
|
|
|
- }
|
|
|
- }
|
|
|
-}
|
|
|
-</style>
|
|
|
+<template>
|
|
|
+ <div class="record_detail">
|
|
|
+ <div class="title">
|
|
|
+ <p class="data_detail">数据详情</p>
|
|
|
+ </div>
|
|
|
+ <div class="content">
|
|
|
+ <div class="content_datail">
|
|
|
+ <div class="detail">
|
|
|
+ <p style="width: 65px">资料名称:</p>
|
|
|
+ <p>{{ detailData.informationName }}</p>
|
|
|
+ </div>
|
|
|
+ <div class="detail">
|
|
|
+ <p style="width: 65px">上传时间:</p>
|
|
|
+ <p>{{ detailData.filePulishTime }}</p>
|
|
|
+ </div>
|
|
|
+ <div class="multiDetail">
|
|
|
+ <div class="time">
|
|
|
+ <p style="width: 65px">素材时间:</p>
|
|
|
+ <p>{{ detailData.fileUploadDate }}</p>
|
|
|
+ </div>
|
|
|
+ <div class="range">
|
|
|
+ <p style="width: 75px">经销商范围:</p>
|
|
|
+ <p style="margin-right: 10px">
|
|
|
+ {{ detailData.accountScope === 1 ? "共通" : "部分" }}
|
|
|
+ </p>
|
|
|
+ <p>
|
|
|
+ 可查看经销商<span @click="showTable">{{
|
|
|
+ detailData.totalCount
|
|
|
+ }}</span
|
|
|
+ >家
|
|
|
+ </p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="detail">
|
|
|
+ <p style="width: 65px">资料描述:</p>
|
|
|
+ <p>{{ detailData.fileDiscription }}</p>
|
|
|
+ </div>
|
|
|
+ <div class="files">
|
|
|
+ <p style="width: 65px">附件:</p>
|
|
|
+ <div class="filesName">
|
|
|
+ <p
|
|
|
+ v-for="(item, index) in filesList"
|
|
|
+ :key="index"
|
|
|
+ @click="downloadFile(index)"
|
|
|
+ >
|
|
|
+ {{ item.fileName }}
|
|
|
+ </p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="table" v-show="isShowTable">
|
|
|
+ <div class="table_option">
|
|
|
+ <select @change="seletByArea" v-model="optionValue">
|
|
|
+ <option value="" selected>全区</option>
|
|
|
+ <option value="s">南区</option>
|
|
|
+ <option value="n">北区</option>
|
|
|
+ <option value="e">东区</option>
|
|
|
+ <option value="self">自定义分组</option>
|
|
|
+ </select>
|
|
|
+ <div class="hidTable" @click="hidTable">
|
|
|
+ <img src="../../../img/crossMark.png" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="count">
|
|
|
+ <Count :sum="sum"></Count>
|
|
|
+ </div>
|
|
|
+ <Table :tableData="tableData"> </Table>
|
|
|
+ <TablePage
|
|
|
+ :totalPage="totalPage"
|
|
|
+ :currentPage="currentPage"
|
|
|
+ @change_page="changePage"
|
|
|
+ @jump_page="jumpPage"
|
|
|
+ ></TablePage>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="download">
|
|
|
+ <p class="download_record">下载记录</p>
|
|
|
+ <div class="btn">
|
|
|
+ <div class="current_button" @click="downloadExcel">导出</div>
|
|
|
+ </div>
|
|
|
+ <p class="tip">点击导出,查看该资料下载记录</p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+import Table from "./RecordDetailTable";
|
|
|
+import Count from "../../../components/Count";
|
|
|
+import TablePage from "../../../components/TablePage";
|
|
|
+export default {
|
|
|
+ props: {
|
|
|
+ detailData: {
|
|
|
+ type: Object,
|
|
|
+ default: () => {
|
|
|
+ return {};
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
+ components: {
|
|
|
+ Table,
|
|
|
+ Count,
|
|
|
+ TablePage,
|
|
|
+ },
|
|
|
+ mounted() {
|
|
|
+ let id = this.detailData['id'];
|
|
|
+ let data = {informationId: id};
|
|
|
+ console.log(this.detailData, 11);
|
|
|
+ this.selectInformationFileList(data);
|
|
|
+ },
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ isShowTable: false,
|
|
|
+ sum: 100, // 表格总数据
|
|
|
+ currentPage: 1,
|
|
|
+ pageSize: 20,
|
|
|
+ tableData: [],
|
|
|
+ optionValue: "",
|
|
|
+ filesList: []
|
|
|
+ };
|
|
|
+ },
|
|
|
+ computed: {
|
|
|
+ // 表格总页数
|
|
|
+ totalPage() {
|
|
|
+ return Math.ceil(this.sum / this.pageSize);
|
|
|
+ },
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ showTable: function () {
|
|
|
+ this.isShowTable = !this.isShowTable;
|
|
|
+ let id = this.detailData["id"];
|
|
|
+ let dataObj= {
|
|
|
+ informationId: id,
|
|
|
+ };
|
|
|
+ this.getDlrData(dataObj);
|
|
|
+ },
|
|
|
+ hidTable: function () {
|
|
|
+ this.isShowTable = false;
|
|
|
+ },
|
|
|
+ seletByArea: function () {
|
|
|
+ console.log(this.optionValue, 111);
|
|
|
+ let dataObj = {
|
|
|
+ localArea: ['东区', '南区']
|
|
|
+ }
|
|
|
+ this.getDlrData(dataObj);
|
|
|
+ },
|
|
|
+ // 获取某一页面的数据,展示在表格
|
|
|
+ changePage: function (page) {
|
|
|
+ this.currentPage = page;
|
|
|
+ console.log(page);
|
|
|
+ },
|
|
|
+ // 点击上一页,下一页,首页,尾页
|
|
|
+ jumpPage: function (item) {
|
|
|
+ switch (item) {
|
|
|
+ case 1:
|
|
|
+ this.currentPage = 1;
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ this.currentPage = this.currentPage - 1;
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ this.currentPage = this.currentPage + 1;
|
|
|
+ break;
|
|
|
+ case 4:
|
|
|
+ this.currentPage = this.totalPage;
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ console.log(this.currentPage);
|
|
|
+ },
|
|
|
+ // 下载附件
|
|
|
+ downloadFile: function (i) {
|
|
|
+ console.log(i);
|
|
|
+ let dataObj = {
|
|
|
+ fileId: this.filesList[i]['id'],
|
|
|
+ informationId: this.filesList[i]['informationId'],
|
|
|
+ //agentId: this.filesList[i]['agentId'] 如果是厂商下载不传agentId
|
|
|
+ }
|
|
|
+ console.log(dataObj);
|
|
|
+ this.dealerDownload(dataObj);
|
|
|
+ },
|
|
|
+ // 导出文件
|
|
|
+ downloadExcel: function () {
|
|
|
+ let id = this.detailData["id"];
|
|
|
+ let data = {
|
|
|
+ informationId: id
|
|
|
+ }
|
|
|
+ this.exportTem(data);
|
|
|
+ },
|
|
|
+ // 导出 接口
|
|
|
+ exportTem: function (data) {
|
|
|
+ return new Promise((resolve, reject) => {
|
|
|
+ this.$http({
|
|
|
+ url: "/export",
|
|
|
+ method: "post",
|
|
|
+ data: data,
|
|
|
+ // responseType: "blob",
|
|
|
+ })
|
|
|
+ .then((res) => {
|
|
|
+ console.log(res);
|
|
|
+ resolve(res);
|
|
|
+ let link = document.createElement("a");
|
|
|
+ link.href = window.URL.createObjectURL(new Blob([res.data]));
|
|
|
+ link.target = "_blank";
|
|
|
+ //文件名和格式
|
|
|
+ link.download = "下载记录.xlsx";
|
|
|
+ document.body.appendChild(link);
|
|
|
+ link.click();
|
|
|
+ document.body.removeChild(link);
|
|
|
+ })
|
|
|
+ .catch((err) => {
|
|
|
+ reject(err);
|
|
|
+ });
|
|
|
+ });
|
|
|
+ },
|
|
|
+ // 分页获取所有进销商信息接口
|
|
|
+ getDlrData: function (dataObj={}) {
|
|
|
+ this.$http({
|
|
|
+ method: "post",
|
|
|
+ url: "/sys/agent/selectAgentInfoPage",
|
|
|
+ data: dataObj
|
|
|
+ })
|
|
|
+ .then((res) => {
|
|
|
+ if (res.data && res.data.code === 200) {
|
|
|
+ console.log(res.data.data);
|
|
|
+ this.tableData = res.data.data;
|
|
|
+ this.sum = res.data.count;
|
|
|
+ } else {
|
|
|
+ console.log(res);
|
|
|
+ }
|
|
|
+ })
|
|
|
+ .catch((err) => {
|
|
|
+ console.log(err);
|
|
|
+ });
|
|
|
+ },
|
|
|
+ // 文件详情 接口
|
|
|
+ selectInformationFileList(data) {
|
|
|
+ this.$http({
|
|
|
+ method: "post",
|
|
|
+ url: "/selectInformationFileList",
|
|
|
+ data: data
|
|
|
+ })
|
|
|
+ .then((res) => {
|
|
|
+ if (res.data && res.data.code === 200) {
|
|
|
+ this.filesList = res.data.data;
|
|
|
+ console.log(res.data.data , '文件');
|
|
|
+ } else {
|
|
|
+ console.log(res);
|
|
|
+ }
|
|
|
+ })
|
|
|
+ .catch((err) => {
|
|
|
+ console.log(err);
|
|
|
+ });
|
|
|
+ },
|
|
|
+ // 文件下载接口
|
|
|
+ dealerDownload: function(data) {
|
|
|
+ this.$http({
|
|
|
+ method: "post",
|
|
|
+ url: "/dealerDownload",
|
|
|
+ data: data
|
|
|
+ })
|
|
|
+ .then((res) => {
|
|
|
+ if (res.data.code === 200) {
|
|
|
+ let link = document.createElement("a");
|
|
|
+ link.href = window.URL.createObjectURL(new Blob([res.data]));
|
|
|
+ link.target = "_blank";
|
|
|
+ //文件名和格式
|
|
|
+ link.download = "文件模板.zip";
|
|
|
+ document.body.appendChild(link);
|
|
|
+ link.click();
|
|
|
+ document.body.removeChild(link);
|
|
|
+ } else {
|
|
|
+ console.log(res);
|
|
|
+ }
|
|
|
+ })
|
|
|
+ .catch((err) => {
|
|
|
+ console.log(err);
|
|
|
+ });
|
|
|
+ }
|
|
|
+ },
|
|
|
+};
|
|
|
+</script>
|
|
|
+
|
|
|
+<style scoped lang="less">
|
|
|
+.record_detail {
|
|
|
+ .title {
|
|
|
+ border-top: 1px solid #ccc;
|
|
|
+ .data_detail {
|
|
|
+ padding-left: 10px;
|
|
|
+ font-size: 14px;
|
|
|
+ font-weight: bolder;
|
|
|
+ height: 30.8px;
|
|
|
+ vertical-align: bottom;
|
|
|
+ display: table-cell;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .content {
|
|
|
+ display: flex;
|
|
|
+ // justify-content: ;
|
|
|
+ border: 1px solid #ccc;
|
|
|
+ padding: 20px;
|
|
|
+ .content_datail {
|
|
|
+ width: 420px;
|
|
|
+ height: 390px;
|
|
|
+ padding: 20px 30px 0;
|
|
|
+ .detail {
|
|
|
+ width: 100%;
|
|
|
+ min-height: 50px;
|
|
|
+ display: flex;
|
|
|
+ }
|
|
|
+ .multiDetail {
|
|
|
+ // display: flex;
|
|
|
+ min-height: 50px;
|
|
|
+ .time {
|
|
|
+ // width: 126px;
|
|
|
+ min-height: 50px;
|
|
|
+ display: flex;
|
|
|
+ }
|
|
|
+ .range {
|
|
|
+ display: flex;
|
|
|
+ // width: 268px;
|
|
|
+ min-height: 50px;
|
|
|
+ span {
|
|
|
+ color: #0056a0;
|
|
|
+ margin: 0 10px;
|
|
|
+ &:hover {
|
|
|
+ cursor: pointer;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .files {
|
|
|
+ display: flex;
|
|
|
+ .filesName {
|
|
|
+ p {
|
|
|
+ color: #0056a0;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .table {
|
|
|
+ width: 568px;
|
|
|
+ height: 390px;
|
|
|
+ background-color: #fff;
|
|
|
+ padding: 10px;
|
|
|
+ .table_option {
|
|
|
+ height: 28px;
|
|
|
+ width: 100%;
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ select {
|
|
|
+ width: 144px;
|
|
|
+ height: 28px;
|
|
|
+ border: 1px solid #ccc;
|
|
|
+ color: #555;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .count {
|
|
|
+ display: flex;
|
|
|
+ justify-content: flex-end;
|
|
|
+ }
|
|
|
+ .hidTable {
|
|
|
+ width: 41px;
|
|
|
+ height: 26px;
|
|
|
+ padding-left: 15px;
|
|
|
+ img {
|
|
|
+ width: 26px;
|
|
|
+ height: 26px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .download {
|
|
|
+ padding: 10px;
|
|
|
+ .download_record {
|
|
|
+ font-size: 14px;
|
|
|
+ }
|
|
|
+ .btn {
|
|
|
+ margin: 20px 50px 10px;
|
|
|
+ }
|
|
|
+ .tip {
|
|
|
+ margin-left: 68px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+</style>
|