| | |
| | | > |
| | | <i class="el-icon-upload"></i> |
| | | <div class="el-upload__text"><em>点击导入数据</em></div> |
| | | <div class="el-upload__tip" slot="tip"> |
| | | <div class="el-upload__tip" slot="tip" > |
| | | 只能上传xlsx/xls文件,且不超过10M<el-button |
| | | type="text" |
| | | style="font-size:12px;" |
| | | @click="downDataTemplate" |
| | | @click="downDataTemplate" v-if="uploadInfo.Download" |
| | | >下载模板</el-button |
| | | > |
| | | </div> |
| | |
| | | multipleSelection: [], |
| | | uploadInfo: { |
| | | // 是否展示上传EXCEL以及对应的url |
| | | isShow: true, |
| | | Download:false, |
| | | isShow: true, |
| | | url: '/mes/equipmentDevice/upload' |
| | | }, |
| | | prelang: 'workstation', |
| | |
| | | minWidth: '150', |
| | | width: '250', |
| | | prop: 'createTime', |
| | | label: '创建时间', |
| | | label: '校准时间', |
| | | sort: true, |
| | | isTrue: true, |
| | | formatter: this.formatReceiveTime, |
| | |
| | | minWidth: '150', |
| | | width: '250', |
| | | prop: 'updateTime', |
| | | label: '修改时间', |
| | | label: '校准到期时间', |
| | | sort: true, |
| | | isTrue: true, |
| | | formatter: this.formatReceiveTime, |
| | |
| | | }, |
| | | { |
| | | minWidth: '30', |
| | | prop: 'InspectionUnit', |
| | | prop: 'inspectionUnit', |
| | | label: '检验单位', |
| | | sort: true, |
| | | isTrue: true, |
| | |
| | | }, |
| | | { |
| | | minWidth: '30', |
| | | prop: 'FixedPointPosition', |
| | | prop: 'fixedPointPosition', |
| | | label: '定点位置', |
| | | sort: true, |
| | | isTrue: true, |
| | |
| | | <el-input v-model="dataForm.name" placeholder="名称"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <!-- <el-col :span="12"> |
| | | <el-form-item label="类型" prop="type"> |
| | | <el-select |
| | | v-model="dataForm.type" |
| | |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-col> --> |
| | | <!-- <el-col :span="12"> |
| | | <el-form-item label="责任人" prop="createUser"> |
| | | <el-input |
| | | v-model="dataForm.createUser" |
| | | placeholder="责任人" |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-col> --> |
| | | |
| | | <el-col :span="12"> |
| | | <el-form-item label="厂家" prop="supplier"> |
| | | <el-input |
| | |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | |
| | | <el-col :span="12"> |
| | | <el-form-item label="状态" prop="state"> |
| | | <el-select |
| | | <el-form-item label="责任部门" prop="responsibleDepartment"> |
| | | <el-input |
| | | v-model="dataForm.responsibleDepartment" |
| | | placeholder="责任部门" |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="状态" prop="status"> |
| | | <el-input |
| | | v-model="dataForm.status" |
| | | placeholder="状态" |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="规格" prop="specifications"> |
| | | <el-input |
| | | v-model="dataForm.specifications" |
| | | placeholder="规格" |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | |
| | | |
| | | <!-- <el-col :span="12"> |
| | | <el-form-item label="设备状态" prop="status"> |
| | | <el-select |
| | | v-model="dataForm.status" |
| | | placeholder="设备状态" |
| | | filterable |
| | | style="width: 100%" |
| | | > |
| | |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-col> --> |
| | | </el-row> |
| | | </el-form> |
| | | <span slot="footer" class="dialog-footer"> |
| | |
| | | typeSpecification: '', |
| | | manufactureDate: '', |
| | | installDate: '', |
| | | state: '', |
| | | // state: '', |
| | | specifications:'', |
| | | responsibleDepartment:'', |
| | | // createUser:'', |
| | | status:'', |
| | | |
| | | |
| | | description: '', |
| | | value1: '', |
| | | code: null, |
| | | type: null, |
| | | status: null, |
| | | // type: null, |
| | | // status: null, |
| | | supplier: null |
| | | }, |
| | | dataRule: { |