| | |
| | | // 设备编号 |
| | | { |
| | | minWidth: '30', |
| | | width: '200', |
| | | prop: 'number', |
| | | label: '设备编号', |
| | | sort: true, |
| | |
| | | // 设备名称 |
| | | { |
| | | minWidth: '30', |
| | | width: '100', |
| | | prop: 'name', |
| | | label: '设备名称', |
| | | sort: true, |
| | | isTrue: true, |
| | | isSearch: true, |
| | | searchInfoType: 'text' |
| | | }, |
| | | // 状态 |
| | | { |
| | | minWidth: '30', |
| | | prop: 'state', |
| | | label: '状态', |
| | | sort: true, |
| | | isTrue: true, |
| | | isSearch: true, |
| | |
| | | searchInfoType: 'text' |
| | | }, |
| | | // 邮箱 |
| | | { |
| | | minWidth: '30', |
| | | prop: 'email', |
| | | label: '邮箱', |
| | | sort: true, |
| | | isTrue: true, |
| | | isSearch: false, |
| | | searchInfoType: 'text' |
| | | }, |
| | | // { |
| | | // minWidth: '30', |
| | | // prop: 'email', |
| | | // label: '邮箱', |
| | | // sort: true, |
| | | // isTrue: true, |
| | | // isSearch: false, |
| | | // searchInfoType: 'text' |
| | | // }, |
| | | // 供应商 |
| | | { |
| | | minWidth: '30', |
| | |
| | | // 制造日期 |
| | | { |
| | | minWidth: '150', |
| | | width: '250', |
| | | width: '100', |
| | | prop: 'manufactureDate', |
| | | label: '制造日期', |
| | | sort: true, |
| | |
| | | // 安装日期 |
| | | { |
| | | minWidth: '150', |
| | | width: '250', |
| | | width: '100', |
| | | prop: 'installDate', |
| | | label: '安装日期', |
| | | sort: true, |
| | |
| | | isSearch: true, |
| | | formatter: this.formatReceiveTime, |
| | | searchInfoType: 'datetimerange' |
| | | }, |
| | | // 状态 |
| | | { |
| | | minWidth: '30', |
| | | prop: 'state', |
| | | label: '状态', |
| | | sort: true, |
| | | isTrue: true, |
| | | isSearch: true, |
| | | searchInfoType: 'text' |
| | | } |
| | | ], |
| | | toolbar: [], |
| | |
| | | // 设备编号 |
| | | { |
| | | minWidth: '30', |
| | | width: '100', |
| | | prop: 'code', |
| | | label: '设备编号', |
| | | sort: true, |
| | |
| | | // 设备名称 |
| | | { |
| | | minWidth: '30', |
| | | width: '100', |
| | | prop: 'name', |
| | | label: '设备名称', |
| | | sort: true, |
| | |
| | | // 制造日期 |
| | | { |
| | | minWidth: '150', |
| | | width: '250', |
| | | width: '150', |
| | | prop: 'createTime', |
| | | label: '校准时间', |
| | | sort: true, |
| | |
| | | |
| | | { |
| | | minWidth: '150', |
| | | width: '250', |
| | | width: '150', |
| | | prop: 'updateTime', |
| | | label: '校准到期时间', |
| | | sort: true, |
| | |
| | | // const url = 'http://192.168.2.7:9999' |
| | | // const url = 'https://ztms-mes.chinaztt.cn/' |
| | | |
| | | const url = 'http://localhost:9999' |
| | | const url = 'http://localhost:9999' |
| | | |
| | | |
| | | const localUrl = 'http://localhost:8089' |