| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230 |
- <template>
- <div class="inform">
- <el-card class="box-card" style="width: 1612px; height: 950px">
- <div slot="header" class="clearfix">
- <div class="inform-title">订单管理</div>
- </div>
- <div class="inform-body">
- <div class="order-top">
- <el-input
- placeholder="请输入内容"
- style="width: 261px"
- v-model="value"
- >
- <i slot="prefix" class="el-input__icon el-icon-search"></i>
- </el-input>
- <el-button @click="inquire">查询</el-button>
- <div class="paydate">
- <span class="demonstration">支付时间</span>
- <el-date-picker
- v-model="payTime"
- format="yyyy-MM-dd"
- value-format="yyyy-MM-dd"
- @change="timePay"
- :unlink-panels="true"
- type="daterange"
- :clearable="false"
- range-separator="至"
- start-placeholder="开始日期"
- end-placeholder="结束日期"
- >
- </el-date-picker>
- </div>
- <div class="paydate">
- <span class="demonstration">创建时间</span>
- <el-date-picker
- v-model="creationTime"
- format="yyyy-MM-dd"
- value-format="yyyy-MM-dd"
- @change="timeCreation"
- :unlink-panels="true"
- :clearable="false"
- type="daterange"
- range-separator="至"
- start-placeholder="开始日期"
- end-placeholder="结束日期"
- >
- </el-date-picker>
- </div>
- <div class="state">
- <span>状态</span>
- <el-select v-model="state" placeholder="请选择" @change="stateSel">
- <el-option
- v-for="item in options"
- :key="item.value"
- :value="item.value"
- :label="item.label"
- >
- </el-option>
- </el-select>
- </div>
- <div class="export" @click="exportExcel">导出订单</div>
- </div>
- <div class="inform-table">
- <el-table
- :data="data"
- @selection-change="handleSelectionChange"
- max-height="576"
- height="576"
- style="width: 1550px"
- stripe
- class="Devicetable"
- :cell-style="rowbg"
- :header-cell-style="{
- color: ' rgba(0, 0, 0, 1)',
- background: 'rgba(240, 243, 247, 1)',
- }"
- >
- <el-table-column
- type="selection"
- width="60"
- align="center"
- ></el-table-column>
- <el-table-column
- prop="orderNum"
- width="120"
- label="订单号"
- align="center"
- >
- </el-table-column>
- <el-table-column
- prop="state"
- width="100"
- align="center"
- label="状态"
- >
- </el-table-column>
- <el-table-column
- prop="room"
- width="160"
- align="center"
- label="房间"
- >
- </el-table-column>
- <el-table-column
- prop="electricity"
- align="center"
- width="130"
- label="电费(元)"
- >
- </el-table-column>
- <el-table-column
- prop="water"
- width="130"
- align="center"
- label="水费(元)"
- >
- </el-table-column>
- <el-table-column
- prop="imprest"
- align="center"
- width="150"
- label="收预付款(元)"
- >
- </el-table-column>
- <el-table-column
- prop="refund"
- width="150"
- align="center"
- label="退预付款(元)"
- >
- </el-table-column>
- <el-table-column
- prop="create"
- width="180"
- align="center"
- label="创建时间"
- >
- </el-table-column>
- <el-table-column
- prop="pay"
- width="180"
- align="center"
- label="支付时间"
- >
- </el-table-column>
- <el-table-column prop="address" align="center" label="操作">
- <template slot-scope="scope">
- <span
- @click="handleEdit(scope.$index, scope.row)"
- class="operate"
- >
- 详情
- </span>
- <el-dialog
- title="订单详情"
- :visible.sync="dialogVisible"
- width="30%"
- :before-close="handleClose"
- >
- <div class="userinfo">用户信息</div>
- <div class="info">
- <div class="user">
- <div class="name">姓名</div>
- <el-input value="刘老师"></el-input>
- </div>
- <div class="user">
- <div class="name">联系方式</div>
- <el-input value="13234564"></el-input>
- </div>
- </div>
- <div class="info">
- <div class="user">
- <div class="name">订单号</div>
- <el-input value="261691612"></el-input>
- </div>
- <div class="user">
- <div class="name">预付款金额(元)</div>
- <el-input value="20.00"></el-input>
- </div>
- </div>
- <div class="info">
- <div class="user">
- <div class="name">入住时间</div>
- <el-input value="2022-07-26"></el-input>
- </div>
- <div class="user">
- <div class="name">离住时间</div>
- <el-input value="2022-07-26"></el-input>
- </div>
- </div>
- <div class="info">
- <div class="user">
- <div class="name">入住天数</div>
- <el-input value="1"></el-input>
- </div>
- <div class="user">
- <div class="name">支付时间</div>
- <el-input value="2022-07-27 15:15:15"></el-input>
- </div>
- </div>
- <div class="rate">水费明细</div>
- <div class="water">
- 表计:101 楼层:12栋1单元2层01 抄表时间:2022-07-27 15:15:15
- </div>
- <el-table
- :data="waterTable"
- max-height="93"
- style="width: 832px"
- stripe
- :cell-style="rowbg"
- :header-cell-style="{
- color: ' rgba(0, 0, 0, 1)',
- background: 'rgba(240, 243, 247, 1)',
- }"
- >
- <el-table-column
- prop="start"
- width="100"
- label="始码"
- align="center"
- >
- </el-table-column>
- <el-table-column
- prop="end"
- width="100"
- align="center"
- label="终码"
- >
- </el-table-column>
- <el-table-column
- prop="flow"
- align="center"
- label="水量(吨)"
- >
- </el-table-column>
- <el-table-column
- prop="pirce"
- align="center"
- label="水价(元)"
- >
- </el-table-column>
- <el-table-column
- prop="subsidy"
- align="center"
- label="补助量(吨)"
- >
- </el-table-column>
- <el-table-column
- prop="production"
- align="center"
- label="产生水费(元)"
- >
- </el-table-column>
- </el-table>
- <div class="rate">电费明细</div>
- <div class="water">
- 表计:101 楼层:12栋1单元2层01 抄表时间:2022-07-27 15:15:15
- </div>
- <el-table
- :data="waterTable"
- max-height="93"
- style="width: 832px"
- stripe
- :cell-style="rowbg"
- :header-cell-style="{
- color: ' rgba(0, 0, 0, 1)',
- background: 'rgba(240, 243, 247, 1)',
- }"
- >
- <el-table-column
- prop="start"
- width="100"
- label="始码"
- align="center"
- >
- </el-table-column>
- <el-table-column
- prop="end"
- width="100"
- align="center"
- label="终码"
- >
- </el-table-column>
- <el-table-column
- prop="flow"
- align="center"
- label="电量(度)"
- >
- </el-table-column>
- <el-table-column
- prop="pirce"
- align="center"
- label="电价(元)"
- >
- </el-table-column>
- <el-table-column
- prop="subsidy"
- align="center"
- label="补助量(度)"
- >
- </el-table-column>
- <el-table-column
- prop="production"
- align="center"
- label="产生水费(元)"
- >
- </el-table-column>
- </el-table>
- </el-dialog>
- <span
- @click="handleDelete(scope.$index, scope.row)"
- class="operate"
- >
- 删除
- </span>
- </template>
- </el-table-column>
- </el-table>
- <el-table
- :data="tableData"
- max-height="576"
- height="576"
- style="width: 1550px"
- stripe
- class="execlTable"
- :cell-style="rowbg"
- :header-cell-style="{
- color: ' rgba(0, 0, 0, 1)',
- background: 'rgba(240, 243, 247, 1)',
- }"
- >
- <el-table-column
- prop="orderNum"
- width="120"
- label="订单号"
- align="center"
- >
- </el-table-column>
- <el-table-column
- prop="state"
- width="100"
- align="center"
- label="状态"
- >
- </el-table-column>
- <el-table-column
- prop="room"
- width="160"
- align="center"
- label="房间"
- >
- </el-table-column>
- <el-table-column
- prop="electricity"
- align="center"
- width="130"
- label="电费(元)"
- >
- </el-table-column>
- <el-table-column
- prop="water"
- width="130"
- align="center"
- label="水费(元)"
- >
- </el-table-column>
- <el-table-column
- prop="imprest"
- align="center"
- width="150"
- label="收预付款(元)"
- >
- </el-table-column>
- <el-table-column
- prop="refund"
- width="150"
- align="center"
- label="退预付款(元)"
- >
- </el-table-column>
- <el-table-column
- prop="create"
- width="180"
- align="center"
- label="创建时间"
- >
- </el-table-column>
- <el-table-column
- prop="pay"
- width="180"
- align="center"
- label="支付时间"
- >
- </el-table-column>
- </el-table>
- <el-table
- :data="selectionTable"
- max-height="576"
- height="576"
- style="width: 1550px"
- stripe
- class="selectTable"
- :cell-style="rowbg"
- :header-cell-style="{
- color: ' rgba(0, 0, 0, 1)',
- background: 'rgba(240, 243, 247, 1)',
- }"
- >
- <el-table-column
- prop="orderNum"
- width="120"
- label="订单号"
- align="center"
- >
- </el-table-column>
- <el-table-column
- prop="state"
- width="100"
- align="center"
- label="状态"
- >
- </el-table-column>
- <el-table-column
- prop="room"
- width="160"
- align="center"
- label="房间"
- >
- </el-table-column>
- <el-table-column
- prop="electricity"
- align="center"
- width="130"
- label="电费(元)"
- >
- </el-table-column>
- <el-table-column
- prop="water"
- width="130"
- align="center"
- label="水费(元)"
- >
- </el-table-column>
- <el-table-column
- prop="imprest"
- align="center"
- width="150"
- label="收预付款(元)"
- >
- </el-table-column>
- <el-table-column
- prop="refund"
- width="150"
- align="center"
- label="退预付款(元)"
- >
- </el-table-column>
- <el-table-column
- prop="create"
- width="180"
- align="center"
- label="创建时间"
- >
- </el-table-column>
- <el-table-column
- prop="pay"
- width="180"
- align="center"
- label="支付时间"
- >
- </el-table-column>
- </el-table>
- </div>
- <div class="block">
- <el-pagination
- background
- @current-change="handleCurrentChange"
- current-page.sync="1"
- :page-size="8"
- :current-page="currentPage"
- layout="prev, pager, next, jumper"
- :total="tableData.length"
- >
- </el-pagination>
- </div>
- </div>
- </el-card>
- </div>
- </template>
- <script>
- import FileSaver from "file-saver";
- import * as XLSX from "xlsx";
- export default {
- name: "Inform",
- data() {
- return {
- // 当前页显示的数据
- data: [],
- // 总数据
- Tdata: [],
- // 查询出来的总数据
- inquireTable: [],
- // 显示的总数据
- tableData: [
- {
- orderNum: "116161656",
- state: "已入住",
- room: "17栋1单元2层04房",
- electricity: "2.09",
- water: "0.00",
- imprest: "20.00",
- refund: "20.00",
- create: "2013.07.02 08:50:50",
- pay: "2013.07.02 08:50:50",
- },
- {
- orderNum: "116161656",
- state: "空房",
- room: "17栋1单元2层04房",
- electricity: "2.09",
- water: "0.00",
- imprest: "20.00",
- refund: "20.00",
- create: "2014.07.02 08:50:50",
- pay: "2014.07.02 08:50:50",
- },
- {
- orderNum: "116161656",
- state: "空房",
- room: "17栋1单元2层04房",
- electricity: "2.09",
- water: "0.00",
- imprest: "20.00",
- refund: "20.00",
- create: "2015.07.02 08:50:50",
- pay: "2015.07.02 08:50:50",
- },
- {
- orderNum: "116161656",
- state: "已锁定",
- room: "17栋1单元2层04房",
- electricity: "2.09",
- water: "0.00",
- imprest: "20.00",
- refund: "20.00",
- create: "2016.07.02 08:50:50",
- pay: "2016.07.02 08:50:50",
- },
- {
- orderNum: "116161656",
- state: "脏房",
- room: "17栋1单元2层04房",
- electricity: "2.09",
- water: "0.00",
- imprest: "20.00",
- refund: "20.00",
- create: "2014.07.02 08:50:50",
- pay: "2014.07.02 08:50:50",
- },
- {
- orderNum: "116161656",
- state: "脏房",
- room: "17栋1单元2层04房",
- electricity: "2.09",
- water: "0.00",
- imprest: "20.00",
- refund: "20.00",
- create: "2012.07.02 08:50:50",
- pay: "2012.07.02 08:50:50",
- },
- {
- orderNum: "216161656",
- state: "保留房",
- room: "17栋1单元2层04房",
- electricity: "2.09",
- water: "0.00",
- imprest: "20.00",
- refund: "20.00",
- create: "2021.07.02 08:50:50",
- pay: "2021.07.02 08:50:50",
- },
- {
- orderNum: "316161656",
- state: "空房",
- room: "17栋1单元2层04房",
- electricity: "2.09",
- water: "0.00",
- imprest: "20.00",
- refund: "20.00",
- create: "2020.07.02 08:50:50",
- pay: "2020.07.02 08:50:50",
- },
- {
- orderNum: "416161656",
- state: "已住",
- room: "17栋1单元2层04房",
- electricity: "2.09",
- water: "0.00",
- imprest: "20.00",
- refund: "20.00",
- create: "2019.07.02 08:50:50",
- pay: "2019.07.02 08:50:50",
- },
- {
- orderNum: "516161656",
- state: "已锁定",
- room: "17栋1单元2层04房",
- electricity: "2.09",
- water: "0.00",
- imprest: "20.00",
- refund: "20.00",
- create: "2012.07.02 08:50:50",
- pay: "2012.07.02 08:50:50",
- },
- {
- orderNum: "616161656",
- state: "已入住",
- room: "17栋1单元2层04房",
- electricity: "2.09",
- water: "0.00",
- imprest: "20.00",
- refund: "20.00",
- create: "2013.07.02 08:50:50",
- pay: "2013.07.02 08:50:50",
- },
- {
- orderNum: "716161656",
- state: "脏房",
- room: "17栋1单元2层04房",
- electricity: "2.09",
- water: "0.00",
- imprest: "20.00",
- refund: "20.00",
- create: "2022.07.02 08:50:50",
- pay: "2022.07.02 08:50:50",
- },
- {
- orderNum: "816161656",
- state: "脏房",
- room: "17栋1单元2层04房",
- electricity: "2.09",
- water: "0.00",
- imprest: "20.00",
- refund: "20.00",
- create: "2022.07.02 08:50:50",
- pay: "2022.07.02 08:50:50",
- },
- {
- orderNum: "916161656",
- state: "空房",
- room: "17栋1单元2层04房",
- electricity: "2.09",
- water: "0.00",
- imprest: "20.00",
- refund: "20.00",
- create: "2022.07.02 08:50:50",
- pay: "2022.07.02 08:50:50",
- },
- {
- orderNum: "106161656",
- state: "已锁定",
- room: "17栋1单元2层04房",
- electricity: "2.09",
- water: "0.00",
- imprest: "20.00",
- refund: "20.00",
- create: "2022.07.02 08:50:50",
- pay: "2022.07.02 08:50:50",
- },
- ],
- // 多选框按钮勾选的数据
- selectionTable: [],
- options: [
- {
- value: "已入住",
- label: "已入住",
- },
- {
- value: "已锁定",
- label: "已锁定",
- },
- {
- value: "空房",
- label: "空房",
- },
- {
- value: "脏房",
- label: "脏房",
- },
- {
- value: "保留房",
- label: "保留房",
- },
- ],
- state: "",
- value: "",
- payTime: "",
- creationTime: "",
- dialogVisible: false,
- waterTable: [
- {
- start: 36,
- end: 36,
- flow: 20,
- pirce: 2.0,
- subsidy: 5,
- production: 2,
- },
- ],
- currentPage: 1,
- };
- },
- mounted() {
- document.getElementsByClassName(
- "el-pagination__jump"
- )[0].childNodes[0].nodeValue = "跳转到";
- this.handleCurrentChange(this.currentPage);
- this.Tdata = this.tableData;
- },
- methods: {
- // 导出表格
- excel(id) {
- let xlsxParam = { raw: true };
- /* generate workbook object from table */
- let wb = XLSX.utils.table_to_book(document.querySelector(id));
- /* get binary string as output */
- let wbout = XLSX.write(wb, {
- bookType: "xlsx",
- bookSST: true,
- type: "array",
- });
- try {
- FileSaver.saveAs(
- new Blob([wbout], { type: "application/octet-stream" }),
- "订单管理.xlsx"
- );
- } catch (e) {
- if (typeof console !== "undefined") console.log(e, wbout);
- }
- return wbout;
- },
- exportExcel() {
- let selectId = ".selectTable";
- let execlTable = ".execlTable";
- if (this.selectionTable.length > 0) {
- this.excel(selectId);
- } else {
- this.excel(execlTable);
- }
- },
- allRead($event, index) {
- this.className = this.className.map((item) => (item = ""));
- this.className[index] = "active";
- },
- rowbg(row) {
- if (row.rowIndex % 2 != 0) {
- return { background: "rgba(240, 243, 247, 1)", "border-radius": "5px" };
- }
- },
- handleCurrentChange(val) {
- this.currentPage = val;
- if (this.tableData.length >= 8) {
- this.data = this.tableData.slice((val - 1) * 8, val * 8);
- } else {
- this.data = this.tableData;
- }
- // console.log(`当前页: ${val}`);
- },
- // 表格操作
- handleEdit(index, row) {
- console.log(index, row);
- this.dialogVisible = true;
- },
- handleDelete(index, row) {
- // console.log(index, row);
- this.$confirm("确认删除?")
- .then((res) => {
- if (res == "confirm") {
- let data = this.tableData.filter((item) => {
- return item.orderNum !== row.orderNum;
- });
- this.tableData = data;
- this.Tdata = this.Tdata.filter((item) => {
- return item.orderNum !== row.orderNum;
- });
- }
- // console.log(this.currentPage);
- if (this.data.length <= 1) {
- this.currentPage = this.currentPage - 1;
- }
- this.handleCurrentChange(this.currentPage);
- })
- .catch((res) => {
- console.log(res);
- });
- },
- //查询
- inquire() {
- if (this.value == false) {
- this.tableData = this.Tdata;
- this.state = "";
- } else {
- this.state = "";
- let quireData = this.Tdata.filter((item) => {
- if (item.orderNum.includes(this.value)) {
- return item.orderNum;
- }
- });
- this.inquireTable = quireData;
- this.tableData = quireData;
- }
- this.currentPage = 1;
- this.handleCurrentChange(this.currentPage);
- console.log(this.Tdata);
- console.log(this.tableData);
- },
- handleClose(done) {
- this.dialogVisible = false;
- },
- // 支付时间
- timePay() {
- // console.log(this.payTime);
- if (this.value == "") {
- this.state = "";
- let reg = new RegExp("-", "g");
- let startTime = new Date(this.payTime[0].replace(reg, "/"));
- let endTime = new Date(this.payTime[1].replace(reg, "/"));
- const quireData = this.Tdata.filter((item) => {
- let nowTime = new Date(item.pay.substr(0, 10).replace(reg, "/"));
- return nowTime >= startTime && nowTime <= endTime;
- });
- this.inquireTable = quireData;
- this.tableData = quireData;
- this.currentPage = 1;
- this.handleCurrentChange(this.currentPage);
- } else {
- this.state = "";
- let reg = new RegExp("-", "g");
- let startTime = new Date(this.payTime[0].replace(reg, "/"));
- let endTime = new Date(this.payTime[1].replace(reg, "/"));
- const quireData = this.inquireTable.filter((item) => {
- let nowTime = new Date(item.pay.substr(0, 10).replace(reg, "/"));
- return nowTime >= startTime && nowTime <= endTime;
- });
- this.inquireTable = quireData;
- this.tableData = quireData;
- this.currentPage = 1;
- this.handleCurrentChange(this.currentPage);
- }
- },
- // 创建时间
- timeCreation() {
- this.state = "";
- // console.log(this.creationTime);
- let reg = new RegExp("-", "g");
- let startTime = new Date(this.creationTime[0].replace(reg, "/"));
- let endTime = new Date(this.creationTime[1].replace(reg, "/"));
- const quireData = this.Tdata.filter((item) => {
- let nowTime = new Date(item.create.substr(0, 10).replace(reg, "/"));
- return nowTime >= startTime && nowTime <= endTime;
- });
- this.inquireTable = quireData;
- this.tableData = quireData;
- this.currentPage = 1;
- this.handleCurrentChange(this.currentPage);
- },
- // 挑选状态
- stateSel() {
- console.log(this.payTime.length > 0, this.creationTime.length > 0);
- if (
- this.value == false &&
- this.payTime.length == 0 &&
- this.creationTime.length == 0
- ) {
- this.tableData = this.Tdata.filter((item) => {
- return item.state == this.state;
- });
- } else if (this.payTime.length > 0 || this.creationTime.length > 0) {
- this.tableData = this.inquireTable.filter((item) => {
- return item.state == this.state;
- });
- } else {
- console.log(this.inquireTable);
- this.tableData = this.inquireTable.filter((item) => {
- return item.state == this.state;
- });
- }
- // this.tableData = this.Tdata.filter((item) => {
- // return item.state == this.state;
- // });
- this.currentPage = 1;
- this.handleCurrentChange(this.currentPage);
- console.log(this.state);
- },
- // 多选框按钮操作
- handleSelectionChange(selection) {
- // console.log(selection);
- this.selectionTable = selection;
- },
- },
- };
- </script>
- <style lang="scss" scoped>
- .inform /deep/ .el-card {
- width: 1612px;
- height: 950px;
- box-shadow: 0px 3px 10px rgba(0, 97, 255, 0.2);
- border-radius: 8px;
- .clearfix {
- height: 96px;
- width: 100%;
- border-bottom: 1px solid rgba(204, 204, 204, 1);
- box-sizing: border-box;
- display: flex;
- justify-content: space-between;
- align-items: center;
- .inform-title {
- width: 96px;
- height: 36px;
- color: rgba(0, 0, 0, 1);
- font-size: 24px;
- font-weight: 500;
- margin-left: 33px;
- }
- .inform-header {
- display: flex;
- margin-right: 29px;
- .el-button {
- margin-left: 9px;
- background-color: rgba(41, 109, 227, 1);
- }
- }
- }
- .inform-body {
- .order-top {
- display: flex;
- align-items: center;
- padding: 33px 29px 34px 33px;
- font-size: 16px;
- font-weight: 400;
- color: #000;
- .el-button {
- background-color: rgba(41, 109, 227, 1);
- color: #fff;
- margin-left: 9px;
- }
- .paydate {
- margin: 0 0 0 44px;
- .el-date-editor {
- margin-left: 7px;
- width: 236px;
- .el-range__icon {
- display: none;
- }
- }
- }
- .state {
- margin-left: 30px;
- .el-input {
- width: 112px;
- }
- }
- .export {
- width: 94px;
- height: 32px;
- opacity: 1;
- color: #fff;
- text-align: center;
- line-height: 32px;
- background: rgba(41, 109, 227, 1);
- cursor: pointer;
- border-radius: 2px;
- margin-left: 221px;
- }
- }
- .inform-table {
- .execlTable,
- .selectTable {
- display: none;
- }
- .el-table {
- font-weight: 400;
- font-size: 16px;
- color: rgba(0, 0, 0, 1);
- margin: 0 auto;
- .el-table__header-wrapper {
- border-radius: 5px;
- .el-checkbox.is-checked {
- .el-checkbox__inner {
- background-color: rgba(41, 109, 227, 1);
- }
- }
- .el-checkbox__input.is-checked,
- .el-checkbox__input.is-indeterminate {
- .el-checkbox__inner {
- background-color: rgba(41, 109, 227, 1);
- }
- }
- }
- tr {
- height: 64px;
- td {
- .cell {
- .el-checkbox.is-checked {
- .el-checkbox__inner {
- background-color: rgba(41, 109, 227, 1);
- }
- }
- .is-indeterminate {
- .el-checkbox__inner {
- background-color: rgba(41, 109, 227, 1);
- }
- }
- .operate {
- color: rgba(41, 109, 227, 1);
- cursor: pointer;
- font-size: 16px;
- font-weight: 400;
- padding: 0 5px;
- }
- .el-dialog__wrapper {
- overflow: hidden;
- .el-dialog {
- width: 968px !important;
- margin-top: 126px !important;
- height: 914px;
- opacity: 1;
- background: rgba(255, 255, 255, 1);
- box-shadow: none;
- .el-dialog__header {
- height: 83px;
- border-bottom: 1px solid rgba(230, 230, 230, 1);
- span {
- float: left;
- font-size: 20px;
- font-weight: 500;
- color: #000;
- }
- .el-dialog__close {
- width: 35px;
- height: 35px;
- &::before {
- font-size: 24px;
- color: #000;
- }
- }
- }
- .el-dialog__body {
- padding: 0 38px;
- .userinfo {
- font-size: 20px;
- font-weight: 500;
- color: rgba(0, 0, 0, 1);
- text-align: left;
- margin-top: 15px;
- }
- .info {
- display: flex;
- .user {
- .name {
- text-align: left;
- padding: 12px 0;
- }
- .el-input {
- width: 283px;
- height: 38px;
- opacity: 1;
- margin-right: 81px;
- .el-input__inner {
- color: #000;
- }
- }
- }
- }
- .rate {
- font-size: 20px;
- font-weight: 500;
- color: rgba(0, 0, 0, 1);
- text-align: left;
- margin: 15px 0;
- }
- .water {
- text-align: left;
- font-size: 16px;
- font-weight: 400;
- color: rgba(0, 0, 0, 1);
- }
- .el-table {
- margin: 10px 0;
- tr {
- height: 48px;
- }
- .el-table__body-wrapper {
- overflow: visible;
- }
- }
- }
- }
- }
- .el-dialog__title {
- color: rgba(41, 109, 227, 1);
- cursor: pointer;
- padding: 10px 18px 0 18px;
- }
- }
- }
- .el-checkbox__inner {
- width: 18px;
- height: 18px;
- &::after {
- transform: rotate(45deg) scaleY(1.5);
- top: 3px;
- left: 5px;
- }
- }
- }
- th {
- font-weight: 400;
- }
- }
- }
- .block {
- height: 36px;
- margin: 66px 29px 0 0;
- float: right;
- .el-pagination {
- padding: 0;
- button {
- width: 36px;
- background: #fff;
- color: rgba(0, 0, 0, 1);
- height: 36px;
- font-size: 14px;
- border: 1px solid rgba(112, 112, 112, 1);
- border-radius: 8px;
- }
- ul {
- .active {
- background: #fff;
- color: rgba(0, 97, 255, 1);
- border: 1px solid rgba(0, 97, 255, 1);
- box-sizing: border-box;
- }
- .el-icon {
- border: none;
- }
- li {
- background: #fff;
- color: rgba(0, 0, 0, 1);
- width: 36px;
- height: 36px;
- font-size: 14px;
- border: 1px solid rgba(112, 112, 112, 1);
- border-radius: 8px;
- line-height: 36px;
- }
- }
- .el-pagination__jump {
- color: rgba(0, 0, 0, 1);
- font-size: 16px;
- margin-left: 10px;
- font-weight: 400;
- height: 36px;
- .el-input {
- width: 65px;
- height: 36px;
- margin: 0 10px;
- input {
- width: 65px;
- height: 36px;
- border: 1px solid rgba(0, 0, 0, 1);
- border-radius: 8px;
- }
- }
- }
- }
- }
- }
- }
- .box-card {
- /deep/ .el-card__header {
- padding: 0;
- }
- /deep/ .el-card__body {
- padding: 0;
- }
- }
- </style>
- <style lang="scss">
- .el-message-box__wrapper {
- .el-button--primary {
- background-color: #296de3;
- }
- }
- </style>
|