| | |
| | | <!-- |
| | | * @Date: 2024-01-06 17:40:19 |
| | | * @LastEditors: Sneed |
| | | * @LastEditTime: 2024-01-23 21:49:38 |
| | | * @LastEditTime: 2024-01-27 16:24:57 |
| | | * @FilePath: /belleson-frontend/Users/mache/Documents/demo/mdc/src/container/deviceType/index.vue |
| | | --> |
| | | <template> |
| | |
| | | </template> |
| | | |
| | | <template slot="table-tool"> |
| | | <el-button type="primary" size="mini" style="width: 150px;" @click="add">添加设备类型</el-button> |
| | | <el-button type="primary" size="mini" style="width: 150px;" @click="add">新增设备类型</el-button> |
| | | </template> |
| | | |
| | | <template slot="columns"> |
| | |
| | | <!-- |
| | | * @Date: 2024-01-06 17:40:19 |
| | | * @LastEditors: Sneed |
| | | * @LastEditTime: 2024-01-23 21:48:22 |
| | | * @LastEditTime: 2024-01-27 16:24:56 |
| | | * @FilePath: /belleson-frontend/Users/mache/Documents/demo/mdc/src/container/ledger/index.vue |
| | | --> |
| | | <template> |
| | |
| | | </template> |
| | | |
| | | <template slot="table-tool"> |
| | | <el-button type="primary" size="mini" @click="add">添加设备台账</el-button> |
| | | <el-button type="primary" size="mini" @click="add">新增设备台账</el-button> |
| | | </template> |
| | | <template slot="columns"> |
| | | <!-- <el-table-column type="selection" align="center" width="55"> |
| | |
| | | <!-- |
| | | * @Date: 2024-01-06 17:40:19 |
| | | * @LastEditors: Sneed |
| | | * @LastEditTime: 2024-01-23 19:04:07 |
| | | * @LastEditTime: 2024-01-27 16:39:04 |
| | | * @FilePath: /belleson-frontend/Users/mache/Documents/demo/mdc/src/container/list/index.vue |
| | | --> |
| | | <template> |
| | |
| | | </el-table> |
| | | <div v-if="total" class="pagination"> |
| | | <el-pagination |
| | | @current-change="currentChange" |
| | | @prev-click="currentChange" |
| | | @next-click="currentChange" |
| | | style="background: transparent;" |
| | | :page-size="pageSize" |
| | | :current-page="current" |
| | |
| | | pageSize: 10, |
| | | current: 1, |
| | | total: 0, |
| | | loading: false |
| | | loading: false, |
| | | params: {} |
| | | } |
| | | }, |
| | | created () { |
| | | this.pageQuery() |
| | | }, |
| | | methods: { |
| | | currentChange (e) { |
| | | this.current = e |
| | | this.pageQuery() |
| | | }, |
| | | pageQuery(params) { |
| | | if (params) this.params = params |
| | | this.loading = true |
| | | this.$http.postJson(this.url,{ |
| | | ...this.params, |
| | | pageSize: this.pageSize, |
| | | current: this.current, |
| | | ...params |
| | | }).then(res => { |
| | | console.log(res) |
| | | this.tableData = res.data.records || [] |
| | |
| | | background-color: #182D54!important; |
| | | |
| | | } |
| | | // .el-table__header { |
| | | // color: #E6E5E5; |
| | | // background: transparent; |
| | | // background-color: transparent; |
| | | // border-bottom: none; |
| | | // padding: 0; |
| | | // } |
| | | // .el-table__body-wrapper { |
| | | // color: #E6E5E5; |
| | | // background: transparent; |
| | | // background-color: transparent; |
| | | // border-bottom: none; |
| | | // padding: 0; |
| | | // } |
| | | .el-table__header-wrapper { |
| | | border: none; |
| | | border-bottom: none; |
| | |
| | | .el-pager li { |
| | | background: transparent; |
| | | } |
| | | |
| | | .el-pagination button:disabled { |
| | | background: transparent; |
| | | } |
| | |
| | | <!-- |
| | | * @Date: 2024-01-06 17:40:19 |
| | | * @LastEditors: Sneed |
| | | * @LastEditTime: 2024-01-23 21:50:06 |
| | | * @LastEditTime: 2024-01-27 16:27:27 |
| | | * @FilePath: /belleson-frontend/Users/mache/Documents/demo/mdc/src/container/machineList/index.vue |
| | | --> |
| | | <template> |
| | |
| | | </template> |
| | | <!-- |
| | | <template slot="table-tool"> |
| | | <el-button type="primary" size="mini" @click="add">添加设备类型</el-button> |
| | | <el-button type="primary" size="mini" @click="add">新增设备类型</el-button> |
| | | </template> |
| | | --> |
| | | <template slot="columns"> |
| | |
| | | prop="shiftType" |
| | | label="班制" |
| | | width="180"> |
| | | <template slot-scope="scope"> |
| | | <span v-if="scope.row.shiftType == 1">1班</span> |
| | | <span v-else-if="scope.row.shiftType == 2">2班</span> |
| | | <span v-else-if="scope.row.shiftType == 3">3班</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="port" |
| | |
| | | <!-- |
| | | * @Date: 2024-01-06 17:40:19 |
| | | * @LastEditors: Sneed |
| | | * @LastEditTime: 2024-01-23 21:50:15 |
| | | * @LastEditTime: 2024-01-27 16:24:53 |
| | | * @FilePath: /belleson-frontend/Users/mache/Documents/demo/mdc/src/container/maintenance/index.vue |
| | | --> |
| | | <template> |
| | |
| | | </div> |
| | | </template> |
| | | <template slot="table-tool"> |
| | | <el-button type="primary" size="mini" style="width: 150px;" @click="addDevice(1)">添加</el-button> |
| | | <el-button type="primary" size="mini" style="width: 150px;" @click="addDevice(1)">新增</el-button> |
| | | </template> |
| | | <template slot="columns"> |
| | | <!-- <el-table-column |
| | |
| | | color: #FFF;
|
| | | background: linear-gradient(180deg, #00FFFF 0%, #008CFF 100%);
|
| | | }
|
| | | .el-pager li {
|
| | | color: #FFF;
|
| | | background: rgba(255,255,255,0.2);
|
| | | }
|
| | | }
|
| | | .nav-top {
|
| | | position: relative;
|
| | |
| | | transform: translateY(-50%);
|
| | | background: #4DC3FF;
|
| | | }
|
| | |
|