| | |
| | | <!-- |
| | | * @Date: 2024-01-06 17:40:19 |
| | | * @LastEditors: Sneed |
| | | * @LastEditTime: 2024-01-29 23:06:26 |
| | | * @LastEditTime: 2024-03-05 16:04:32 |
| | | * @FilePath: /belleson-frontend/Users/mache/Documents/demo/mdc/src/container/ledger/index.vue |
| | | --> |
| | | <template> |
| | |
| | | </div> |
| | | <div class="item"> |
| | | <span>投产日期</span> |
| | | <el-date-picker class="item-value" format="yyyy-MM-dd" value-format="yyyy-MM-dd" |
| | | v-model="queryInfo.productionDate" type="date" clearable placeholder="选择日期" clearable></el-date-picker> |
| | | <el-date-picker format="yyyy-MM-dd" value-format="yyyy-MM-dd" v-model="queryInfo.date" |
| | | range-separator="至" clearable type="daterange" start-placeholder="开始日期" end-placeholder="结束日期" clearable> |
| | | </el-date-picker> |
| | | <!-- <el-date-picker class="item-value" format="yyyy-MM-dd" value-format="yyyy-MM-dd" |
| | | v-model="queryInfo.productionDate" type="date" clearable placeholder="选择日期" clearable></el-date-picker> --> |
| | | </div> |
| | | <div class="item"> |
| | | <span>生产厂家</span> |
| | |
| | | ], |
| | | departmentlist: [], |
| | | queryInfo: { |
| | | date: [], |
| | | uuid: '', |
| | | specification: '', |
| | | type: '', |
| | |
| | | accountingAttribute: '', |
| | | department: '', |
| | | manageType: '', |
| | | productionDate: '', |
| | | // productionDate: '', |
| | | manufacturer: '', |
| | | deviceTypeId: '' |
| | | deviceTypeId: '', |
| | | productionDateBegin: '', |
| | | productionDateEnd: '', |
| | | }, |
| | | options: [{}], |
| | | row: {}, |
| | |
| | | }) |
| | | }, |
| | | query() { |
| | | try { |
| | | this.queryInfo.productionDateBegin = this.queryInfo.date[0] || '' |
| | | this.queryInfo.productionDateEnd = this.queryInfo.date[1] || '' |
| | | } catch (error) { |
| | | console.log(error) |
| | | } |
| | | |
| | | this.$refs.list.pageQuery(this.queryInfo) |
| | | }, |
| | | reset() { |
| | | Object.keys(this.queryInfo).forEach(key => { |
| | | this.queryInfo[key] = '' |
| | | }) |
| | | this.queryInfo.date = [] |
| | | this.queryInfo.productionDateBegin = '' |
| | | this.queryInfo.productionDateEnd = '' |
| | | }, |
| | | add() { |
| | | this.row = {} |
| | |
| | | <!-- |
| | | * @Date: 2024-01-05 22:26:22 |
| | | * @LastEditors: Sneed |
| | | * @LastEditTime: 2024-02-02 23:46:50 |
| | | * @LastEditTime: 2024-03-05 15:39:49 |
| | | * @FilePath: /belleson-frontend/Users/mache/Documents/demo/mdc/src/container/mapPreviewDetail/index.vue |
| | | --> |
| | | <template> |
| | |
| | | |
| | | .center { |
| | | flex: 1 1 auto; |
| | | |
| | | display: flex; |
| | | flex-direction: column; |
| | | .center-top { |
| | | display: flex; |
| | | justify-content: space-around; |
| | |
| | | } |
| | | |
| | | .center-bottom { |
| | | flex: 1 1 auto; |
| | | margin-bottom: 50px; |
| | | margin-top: 50px; |
| | | display: flex; |
| | | justify-content: center; |
| | | |
| | | img { |
| | | width: 629px; |
| | | height: 648px; |
| | | max-width: 100%; |
| | | max-height: 100%; |
| | | } |
| | | } |
| | | } |