Merge remote-tracking branch 'origin/dev' into dev
| | |
| | | <el-button size="mini" type="primary" @click="addTableData">添加 |
| | | </el-button> |
| | | </div> |
| | | <el-table :data="consumables" style="margin-top: 10px"> |
| | | <el-table :data="consumables" style="margin-top: 10px" :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border> |
| | | <el-table-column label="编号" type="index" width="120px"></el-table-column> |
| | | <el-table-column label="货号" prop="itemNumber"></el-table-column> |
| | | <el-table-column label="类别" prop="type"></el-table-column> |
| | |
| | | <el-button :disabled="currentRow.state === 1" size="small" @click="batchDelete">批量删除</el-button> |
| | | </div> |
| | | <el-table :data="trainingTableData" height="calc(100vh - 30em)" stripe style="width: 100%" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border |
| | | @selection-change="handleSelectionChange"> |
| | | <el-table-column type="selection" width="55"></el-table-column> |
| | | <el-table-column label="序号" type="index" width="60"></el-table-column> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="table"> |
| | | <el-table :data="tableData" v-loading="tableLoading" height="66.5vh" style="width: 100%"> |
| | | <el-table :data="tableData" v-loading="tableLoading" height="66.5vh" style="width: 100%" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border> |
| | | <el-table-column label="序号" type="index" width="60"></el-table-column> |
| | | <el-table-column label="员工编号" min-width="120" prop="account"></el-table-column> |
| | | <el-table-column label="岗位名称" min-width="180" prop="postName"></el-table-column> |
| | |
| | | @click="annexAdd1('add')">新增</el-button> |
| | | </el-col> |
| | | </el-row> |
| | | <el-table :data="tableData1" border height="200" style="width: 96%;float: right;" v-loading="tableLoading1"> |
| | | <el-table :data="tableData1" border height="200" style="width: 96%;float: right;" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border |
| | | v-loading="tableLoading1"> |
| | | <el-table-column label="序号" type="index" width="55px" align="center"> |
| | | </el-table-column> |
| | | <el-table-column label="工作经历" prop="workExperience"> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="search-table"> |
| | | <el-table v-loading="tableLoading" :data="tableData" border height="calc(100vh - 21em)" style="width: 100%;"> |
| | | <el-table v-loading="tableLoading" :data="tableData" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border |
| | | height="calc(100vh - 21em)" style="width: 100%;"> |
| | | <el-table-column align="center" label="序号" type="index" width="60"></el-table-column> |
| | | <el-table-column label="员工编号" prop="account" width="150"></el-table-column> |
| | | <el-table-column label="姓名" prop="name" width="120"></el-table-column> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="table"> |
| | | <el-table :data="tableData" v-loading="tableLoading" height="66.5vh" style="width: 100%"> |
| | | <el-table :data="tableData" v-loading="tableLoading" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border |
| | | height="66.5vh" style="width: 100%"> |
| | | <el-table-column label="序号" type="index" width="120"> |
| | | <template v-slot="scope"> |
| | | <span>{{ (search.current - 1) * search.size + scope.$index + 1 }}</span> |
| | |
| | | <el-button size="small" type="primary" @click="searchTableData">查询</el-button> |
| | | <el-button size="small" @click="refreshTableData">重 置</el-button> |
| | | </div> |
| | | <el-table v-loading="tableLoading" :data="tableData" height="550" style="width: 100%"> |
| | | <el-table v-loading="tableLoading" :data="tableData" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border |
| | | height="550" style="width: 100%"> |
| | | <el-table-column align="center" label="序号" type="index" width="60"></el-table-column> |
| | | <el-table-column label="委托编号" prop="entrustCode"></el-table-column> |
| | | <el-table-column label="样品名称" prop="sample"></el-table-column> |
| | |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="监督原因" prop="superviseReason"> |
| | | <el-input v-model="form.superviseReason" clearable size="small"></el-input> |
| | | <el-input v-model="form.superviseReason" clearable disabled size="small"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | |
| | | }, |
| | | // 方法集合 |
| | | methods: { |
| | | openDia(type, row) { |
| | | openDia(type, row, causeType) { |
| | | this.formDia = true |
| | | this.operationType = type |
| | | this.getUserList() |
| | | if (causeType == 1) { |
| | | this.form.superviseReason = '定期监督' |
| | | } else { |
| | | this.form.superviseReason = '动态监督' |
| | | } |
| | | if (type === 'edit') { |
| | | this.searchInfo(row) |
| | | } |
| | |
| | | showDialog(type, row) { |
| | | this.formDia = true |
| | | this.$nextTick(() => { |
| | | this.$refs.formDia.openDia(type, row) |
| | | this.$refs.formDia.openDia(type, row, this.yearDetailForm.causeType) |
| | | }) |
| | | }, |
| | | closeDia() { |
| | |
| | | <el-button size="small" type="danger" @click="clearTable">清空</el-button> |
| | | </div> |
| | | <div> |
| | | <el-table :data="machineAttachmentList" border height="500" style="width: 100%"> |
| | | <el-table :data="machineAttachmentList" :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" |
| | | border height="500" style="width: 100%"> |
| | | <el-table-column header-align="center" label="名称" prop="machineName" width="200"> |
| | | <template slot="header" slot-scope="scope"> |
| | | <p>名称</p> |
| | |
| | | </el-row> |
| | | </div> |
| | | <div class="table"> |
| | | <el-table :data="tableList.slice( |
| | | (page.current - 1) * page.size, |
| | | page.current * page.size |
| | | ) |
| | | " border tooltip-effect="dark" style="width: 74%;" height="100%" :span-method="spanMethod"> |
| | | <el-table :data="tableList.slice((page.current - 1) * page.size,page.current * page.size)" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border |
| | | tooltip-effect="dark" style="width: 74%;" height="100%" :span-method="spanMethod"> |
| | | <el-table-column type="index" label="序号" align="center" width="65"></el-table-column> |
| | | <el-table-column prop="deviceName" align="center" min-width="100" label="设备名称"></el-table-column> |
| | | <el-table-column prop="fileType" align="center" label="文件后缀"></el-table-column> |
| | |
| | | <el-dialog title="数采配置" :visible.sync="dialogVisible3" width="920px" :before-close="closeForm"> |
| | | <el-form :model="configForm" label-position="top" size="small" ref="configForm" label-width="100px" |
| | | class="demo-ruleForm"> |
| | | <el-table :data="domains" style="width: 100%" height="300"> |
| | | <el-table :data="domains" style="width: 100%" height="300" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border> |
| | | <el-table-column label="序号" type="index" width="80"> |
| | | <template v-slot="scope"> |
| | | {{ getIndexWithAlphabet(scope.$index) }} |
| | |
| | | </el-date-picker> |
| | | </div> |
| | | <div style="margin: 10px 0"> |
| | | <el-table ref="yearTable" :data="examinePlanDetailsList" id="templateParamTable" row-key="deviceId" border |
| | | height="500px" style="width: 100% ;"> |
| | | <el-table ref="yearTable" :data="examinePlanDetailsList" id="templateParamTable" row-key="deviceId" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border height="500px" style="width: 100% ;"> |
| | | <el-table-column label="设备名称" min-width="190" prop="deviceName"> |
| | | <template slot-scope="scope"> |
| | | <el-input v-model="scope.row.deviceName" clearable size="small"></el-input> |
| | |
| | | <el-dialog :close-on-click-modal="false" :close-on-press-escape="false" :visible.sync="addEquipDia" title="新增年度计划" |
| | | width="50%"> |
| | | <el-table ref="multipleTable" :data="equipOptions" tooltip-effect="dark" height="500" style="width: 100%" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border |
| | | @selection-change="handleSelectionChange"> |
| | | <el-table-column type="selection" width="55"></el-table-column> |
| | | <el-table-column label="设备名称" prop="label"></el-table-column> |
| | |
| | | </el-date-picker> |
| | | </div> |
| | | <div style="margin: 10px 0"> |
| | | <el-table id="templateParamTable" ref="yearTable" :data="calibrationPlanDetailList" height="300px" border |
| | | <el-table id="templateParamTable" ref="yearTable" :data="calibrationPlanDetailList" height="300px" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border |
| | | row-key="deviceId" style="width: 100% ;"> |
| | | <el-table-column label="设备名称及型号" min-width="190" prop="deviceName"> |
| | | <template slot-scope="scope"> |
| | |
| | | </span> |
| | | </el-dialog> |
| | | <el-dialog title="流程跟踪" top="5vh" :visible.sync="dialogVisible0" width="60%"> |
| | | <el-table :data="deviceLogs" style="width: 100%"> |
| | | <el-table :data="deviceLogs" style="width: 100%" :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border> |
| | | <el-table-column type="index" width="50"> |
| | | </el-table-column> |
| | | <el-table-column prop="operator" label="操作人" width="180"> |
| | |
| | | <!-- <el-button size="small" type="primary" @click="handleDown">导出Excel</el-button> --> |
| | | </div> |
| | | <div class="tables" style="margin-top: 10px;"> |
| | | <el-table :data="tableData" height="calc(100vh - 20em)"> |
| | | <el-table :data="tableData" height="calc(100vh - 20em)" :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border> |
| | | <el-table-column label="序号" type="index" width="120"> |
| | | <template v-slot="scope"> |
| | | <span>{{ (search.current - 1) * search.size + scope.$index + 1 }}</span> |
| | |
| | | </h4> |
| | | <!-- 设备校准参数表格 --> |
| | | <el-table ref="calibrateTable" v-loading="calibrateParamsLoading" :data="calibrateParams" max-height="450" stripe |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border |
| | | style="width: 100%"> |
| | | <el-table-column label="编号" type="index" width="80"></el-table-column> |
| | | <el-table-column label="计量参数" prop="measurementParameter"></el-table-column> |
| | |
| | | <span class="line"></span><span>校准条目确认结果</span> |
| | | </span> |
| | | </h4> |
| | | <el-table ref="calibrateTable" :data="calibrateParams" border> |
| | | <el-table ref="calibrateTable" :data="calibrateParams" :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border> |
| | | <el-table-column label="编号" type="index" width="60"></el-table-column> |
| | | <el-table-column label="计量参数" prop="measurementParameter"></el-table-column> |
| | | <el-table-column label="量程范围" prop="rangeOfMeasurement"></el-table-column> |
| | |
| | | <el-button size="small" type="primary">导出Excel</el-button> |
| | | </div> |
| | | <div class="tables" style="margin-top: 16px;"> |
| | | <el-table :data="tableData" height="calc(100vh - 20em)"> |
| | | <el-table :data="tableData" height="calc(100vh - 20em)" :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border> |
| | | <el-table-column label="序号" type="index" width="120"> |
| | | <template v-slot="scope"> |
| | | <span>{{ (search.current - 1) * search.size + scope.$index + 1 }}</span> |
| | |
| | | </h4> |
| | | <!-- 设备校准参数表格 --> |
| | | <el-table ref="calibrateTable" v-loading="calibrateParamsLoading" :data="calibrateParams" max-height="450" stripe |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border |
| | | style="width: 100%"> |
| | | <el-table-column label="编号" type="index" width="80"></el-table-column> |
| | | <el-table-column label="核查参数" prop="measurementParameter"></el-table-column> |
| | |
| | | </el-col> |
| | | </el-row> |
| | | <el-button size="small" style="margin: 10px 0" type="primary" @click="addRow">添加</el-button> |
| | | <el-table :data="recordDetailList" height="300" style="width: 100%"> |
| | | <el-table :data="recordDetailList" height="300" style="width: 100%" :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border> |
| | | <el-table-column label="测试点" min-width="130" prop="testPoint"> |
| | | <template slot-scope="scope"> |
| | | <el-input v-model="scope.row.testPoint" clearable size="small"></el-input> |
| | |
| | | </div> |
| | | <div> |
| | | <el-table ref="yearTable" v-loading="yearTableDetailDataLoading" :data="yearTableDetailData" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border |
| | | height="calc(100vh - 18em)" style="width: 100% ;"> |
| | | <!-- 表格列 --> |
| | | <el-table-column align="center" header-align="center" label="序号" prop="prop" type="index" |
| | |
| | | </div> |
| | | <div> |
| | | <el-table ref="yearTable" v-loading="yearTableDetailDataLoading" :data="yearTableDetailData" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border |
| | | height="calc(100vh - 18em)" style="width: 100% ;"> |
| | | <!-- 表格列 --> |
| | | <el-table-column align="center" header-align="center" label="序号" prop="prop" type="index" |
| | |
| | | </div> |
| | | <div> |
| | | <el-table ref="yearTable" v-loading="yearTableDataLoading" :data="yearTableData" height="calc(60vh - 20em)" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border |
| | | highlight-current-row style="width: 100% ;" @current-change="currentChange"> |
| | | <!-- 表格列 --> |
| | | <el-table-column align="center" header-align="center" label="序号" prop="prop" type="index" |
| | |
| | | </div> |
| | | <div> |
| | | <el-table ref="yearTableDetailData" v-loading="yearTableDetailDataLoading" :data="yearTableDetailData" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border |
| | | height="calc(60vh - 20em)" style="width: 100% ;"> |
| | | <!-- 表格列 --> |
| | | <el-table-column align="center" header-align="center" label="序号" prop="prop" type="index" |
| | |
| | | <el-button v-if="currentStep === 0" size="small" type="primary" @click="addTableRow">添加</el-button> |
| | | </div> |
| | | <div style="margin: 10px 0"> |
| | | <el-table ref="yearTable" :data="recordContrastDetailsList" height="300px" style="width: 100% ;"> |
| | | <el-table ref="yearTable" :data="recordContrastDetailsList" height="300px" style="width: 100% ;" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border> |
| | | <el-table-column align="center" header-align="center" label="序号" type="index" width="60"></el-table-column> |
| | | <el-table-column label="核查项目" min-width="170" prop="checkItems"> |
| | | <template slot-scope="scope"> |
| | |
| | | </div> |
| | | <div> |
| | | <el-table ref="yearTable" v-loading="yearTableDetailDataLoading" :data="yearTableDetailData" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border |
| | | height="calc(100vh - 18em)" style="width: 100% ;"> |
| | | <!-- 表格列 --> |
| | | <el-table-column align="center" header-align="center" label="序号" prop="prop" type="index" |
| | |
| | | </div> |
| | | <div> |
| | | <el-table ref="yearTable" v-loading="yearTableDetailDataLoading" :data="yearTableDetailData" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border |
| | | height="calc(100vh - 18em)" style="width: 100% ;"> |
| | | <!-- 表格列 --> |
| | | <el-table-column align="center" header-align="center" label="序号" prop="prop" type="index" |
| | |
| | | </div> |
| | | <div style="margin: 10px 0"> |
| | | <el-table ref="yearTable" :data="deviceMaintenancePlanDetails" id="templateParamTable" row-key="deviceId" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border |
| | | height="300px" border style="width: 100% ;"> |
| | | <el-table-column align="center" header-align="center" label="序号" type="index" width="60"></el-table-column> |
| | | <el-table-column label="设备名称" min-width="170" prop="deviceName"> |
| | |
| | | <el-dialog :close-on-click-modal="false" :close-on-press-escape="false" :visible.sync="addEquipDia" title="添加设备" |
| | | width="50%"> |
| | | <el-table ref="multipleTable" :data="equipOptions" tooltip-effect="dark" height="500" style="width: 100%" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border |
| | | @selection-change="handleSelectionChange"> |
| | | <el-table-column type="selection" width="55"></el-table-column> |
| | | <el-table-column label="设备名称" prop="label" width="190"></el-table-column> |
| | |
| | | </div> |
| | | <div> |
| | | <el-table ref="yearTable" v-loading="yearTableDetailDataLoading" :data="yearTableDetailData" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border |
| | | height="calc(100vh - 18em)" style="width: 100% ;"> |
| | | <!-- 表格列 --> |
| | | <el-table-column align="center" header-align="center" label="序号" prop="prop" type="index" |
| | |
| | | </div> |
| | | <div> |
| | | <el-table ref="yearTable" v-loading="yearTableDataLoading" :data="yearTableData" height="calc(60vh - 20em)" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border |
| | | highlight-current-row style="width: 100% ;" @current-change="currentChange"> |
| | | <!-- 表格列 --> |
| | | <el-table-column align="center" header-align="center" label="序号" prop="prop" type="index" |
| | |
| | | </div> |
| | | <div> |
| | | <el-table ref="yearTableDetailData" v-loading="yearTableDetailDataLoading" :data="yearTableDetailData" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border |
| | | height="calc(60vh - 20em)" style="width: 100% ;"> |
| | | <!-- 表格列 --> |
| | | <el-table-column align="center" header-align="center" label="序号" prop="prop" type="index" |
| | |
| | | </div> |
| | | <div> |
| | | <div class="tables" style="margin-top: 16px;"> |
| | | <el-table :data="faultParam" style="width: 100%" height="calc(100vh - 20em)"> |
| | | <el-table :data="faultParam" style="width: 100%" height="calc(100vh - 20em)" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border> |
| | | <!-- 表格列 --> |
| | | <el-table-column header-align="center" align="center" width="70" prop="prop" label="序号" |
| | | type="index"></el-table-column> |
| | |
| | | </el-col> |
| | | </el-row> |
| | | <h4 style="margin-bottom: 10px;margin-top: 10px;"><span class="line"></span><span>附件和相关文档</span></h4> |
| | | <el-table height="200px" :data="tableDataA"> |
| | | <el-table height="200px" :data="tableDataA" :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border> |
| | | <el-table-column header-align="center" align="center" prop="prop" label="序号" type="index" width="60" /> |
| | | <el-table-column prop="documentType" label="类型" min-width="100"> |
| | | <template v-slot="scope"> |
| | |
| | | |
| | | <style scoped> |
| | | .main_div { |
| | | height: calc(100vh - 15em); |
| | | height: calc(100vh - 19em); |
| | | overflow-y: auto; |
| | | overflow-x: hidden; |
| | | } |
| | |
| | | </div> |
| | | <div style="text-align: center">测试数据记录</div> |
| | | <div style="margin: 10px 0"> |
| | | <el-table ref="yearTable" :data="details" height="300px" style="width: 100% ;"> |
| | | <el-table ref="yearTable" :data="details" height="300px" style="width: 100% ;" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border> |
| | | <el-table-column align="center" header-align="center" label="序号" type="index" width="60"></el-table-column> |
| | | <el-table-column label="测试项目" min-width="170" prop="testItems"> |
| | | <template slot-scope="scope"> |
| | |
| | | </div> |
| | | <div> |
| | | <el-table ref="yearTable" v-loading="yearTableDetailDataLoading" :data="yearTableDetailData" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border |
| | | height="calc(100vh - 18em)" style="width: 100% ;"> |
| | | <!-- 表格列 --> |
| | | <el-table-column align="center" header-align="center" label="序号" prop="prop" type="index" |
| | |
| | | </div> |
| | | </div> |
| | | <div class="tables" style="margin-top: 10px;"> |
| | | <el-table ref="table" :data="MaintainParam" height="calc(100vh - 20em)"> |
| | | <el-table ref="table" :data="MaintainParam" height="calc(100vh - 20em)" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border> |
| | | <el-table-column label="序号" type="index" width="120"> |
| | | <template v-slot="scope"> |
| | | <span>{{ (search.current - 1) * search.size + scope.$index + 1 }}</span> |
| | |
| | | <el-button size="small" type="primary" @click="getList">刷新</el-button> |
| | | <el-button size="small" type="primary" @click="dialogVisible = true">受控申请</el-button> |
| | | </div> |
| | | <el-table :data="tableData" border height="calc(100vh - 18em)"> |
| | | <el-table :data="tableData" border height="calc(100vh - 18em)" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }"> |
| | | <el-table-column type="index" label="序号" width="120"> |
| | | <template v-slot="scope"> |
| | | <span>{{ (search.current - 1) * search.size + scope.$index + 1 }}</span> |
| | |
| | | <el-button size="small" @click="delFile">删除</el-button> |
| | | </div> |
| | | <el-table :data="documentTableData" border style="width: 100%;" tooltip-effect="dark" :row-key="getRowKey" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" |
| | | @selection-change="handleSelectionChange" height="29em"> |
| | | <el-table-column type="selection" width="55%"> |
| | | </el-table-column> |
| | |
| | | </div> |
| | | <div> |
| | | <el-table ref="yearTable" v-loading="yearTableDetailDataLoading" :data="yearTableDetailData" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border |
| | | height="calc(100vh - 18em)" style="width: 100% ;"> |
| | | <!-- 表格列 --> |
| | | <el-table-column align="center" header-align="center" label="序号" prop="prop" type="index" |
| | |
| | | </div> |
| | | <div style="margin: 10px 0"> |
| | | <el-table ref="yearTable" :data="deviceTraceabilityManagementDetails" height="300px" id="templateParamTable" |
| | | row-key="deviceId" border style="width: 100% ;"> |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border |
| | | row-key="deviceId" style="width: 100% ;"> |
| | | <el-table-column align="center" header-align="center" label="序号" type="index" width="60"></el-table-column> |
| | | <el-table-column label="设备名称" min-width="170" prop="deviceId"> |
| | | <template slot-scope="scope"> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="tables" style="margin-top: 10px;"> |
| | | <el-table ref="Recordtable" :data="formParamList" height="calc(100vh - 20em)"> |
| | | <el-table ref="Recordtable" :data="formParamList" height="calc(100vh - 20em)" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border> |
| | | <!-- 表格列 --> |
| | | <el-table-column label="序号" type="index" width="120"> |
| | | <template v-slot="scope"> |
| | |
| | | </el-row> |
| | | </div> |
| | | <div class="table-container"> |
| | | <el-table :data="tableData" border class="scrollable-table" style="width: 100%"> |
| | | <el-table :data="tableData" class="scrollable-table" style="width: 100%" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border> |
| | | <el-table-column label="序号" |
| | | type="index" |
| | | width="60"> |
| | |
| | | </el-row> |
| | | </div> |
| | | <div> |
| | | <el-table :data="tableDatalist" height="calc(100vh - 20em)" style="width: 100% ;"> |
| | | <el-table :data="tableDatalist" height="calc(100vh - 20em)" style="width: 100% ;" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border> |
| | | <!-- 表格列 --> |
| | | <el-table-column align="center" header-align="center" label="序号" prop="prop" type="index" |
| | | width="70"></el-table-column> |
| | |
| | | </div> |
| | | <div> |
| | | <el-table ref="yearTable" v-loading="yearTableDetailDataLoading" :data="yearTableDetailData" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border |
| | | height="calc(100vh - 18em)" style="width: 100% ;"> |
| | | <!-- 表格列 --> |
| | | <el-table-column align="center" header-align="center" label="序号" prop="prop" type="index" |
| | |
| | | <div v-if="isShowAll" style="height: 100%;"> |
| | | <el-tabs v-model="menuListActiveName" class="main_right" type="border-card"> |
| | | <el-tab-pane label="设备总览" name="设备总览"> |
| | | <!-- 完成接口 --> |
| | | <overview v-if="menuListActiveName == '设备总览'" :clickNodeVal="clickNodeVal" /> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="设备工具明细" name="设备工具明细"> |
| | | <!-- 完成接口 --> |
| | | <management v-if="menuListActiveName == '设备工具明细'" :clickNodeVal="clickNodeVal" /> |
| | | </el-tab-pane> |
| | | <!-- <el-tab-pane label="资源预定" name="资源预定">--> |
| | | <!-- <resourceReservation v-if="menuListActiveName == '资源预定'" :clickNodeVal="clickNodeVal"/>--> |
| | | <!-- </el-tab-pane>--> |
| | | <el-tab-pane label="设备校准计划" name="设备校准计划"> |
| | | <!-- 完成接口 --> |
| | | <equipment-calibration-plan v-if="menuListActiveName == '设备校准计划'" |
| | | :clickNodeVal="clickNodeVal"></equipment-calibration-plan> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="设备核查计划" name="设备核查计划"> |
| | | <!-- 完成接口 --> |
| | | <equipment-verification-plan v-if="menuListActiveName == '设备核查计划'" |
| | | :clickNodeVal="clickNodeVal"></equipment-verification-plan> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="设备保养计划" name="设备保养计划"> |
| | | <!-- 完成接口 --> |
| | | <equipment-maintenance-plan v-if="menuListActiveName == '设备保养计划'" |
| | | :clickNodeVal="clickNodeVal"></equipment-maintenance-plan> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="量值溯源计划" name="量值溯源计划"> |
| | | <!-- 完成接口 --> |
| | | <quantity-value-traceability-plan v-if="menuListActiveName == '量值溯源计划'" |
| | | :clickNodeVal="clickNodeVal"></quantity-value-traceability-plan> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="利用外部仪器设备" name="利用外部仪器设备"> |
| | | <!-- 完成接口 --> |
| | | <using-external-instruments v-if="menuListActiveName == '利用外部仪器设备'" |
| | | :clickNodeVal="clickNodeVal"></using-external-instruments> |
| | | <using-external-instruments v-if="menuListActiveName == '利用外部仪器设备'" :clickNodeVal="clickNodeVal"></using-external-instruments> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="使用记录" name="使用记录"> |
| | | <!-- 完成接口 --> |
| | | <record v-if="menuListActiveName == '使用记录'" :isMenuList="1" /> |
| | | </el-tab-pane> |
| | | </el-tabs> |
| | | </div> |
| | | <div v-if="!isShowAll" style="height: 100%;"> |
| | | <el-tabs v-model="tabListActiveName" class="main_right" type="border-card" @tab-click="handleClick"> |
| | | <!-- <el-tab-pane label="设备运行总览" name="设备运行总览">--> |
| | | <!-- <operationOverview v-if="tabListActiveName == '设备运行总览'" :clickNodeVal="clickNodeVal"/>--> |
| | | <!-- </el-tab-pane>--> |
| | | <el-tab-pane label="设备档案" name="设备档案"> |
| | | <!-- 完成接口 --> |
| | | <files v-if="tabListActiveName == '设备档案'" :clickNodeVal="clickNodeVal" /> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="设备验收" name="设备验收"> |
| | | <!-- 完成接口 --> |
| | | <equipment-acceptance v-if="tabListActiveName == '设备验收'" |
| | | :clickNodeVal="clickNodeVal"></equipment-acceptance> |
| | | <equipment-acceptance v-if="tabListActiveName == '设备验收'" :clickNodeVal="clickNodeVal"></equipment-acceptance> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="设备校准" name="设备校准"> |
| | | <!-- 完成接口 --> |
| | | <calibration v-if="tabListActiveName == '设备校准'" :clickNodeVal="clickNodeVal" /> |
| | | </el-tab-pane> |
| | | <!-- <el-tab-pane label="设备核查" name="设备核查">--> |
| | | <!-- <check v-if="tabListActiveName == '设备核查'" :clickNodeVal="clickNodeVal"/>--> |
| | | <!-- </el-tab-pane>--> |
| | | <el-tab-pane label="设备维护" name="设备维护"> |
| | | <!-- 完成接口 --> |
| | | <maintenance v-if="tabListActiveName == '设备维护'" :clickNodeVal="clickNodeVal" /> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="设备借用" name="设备借用"> |
| | | <!-- 完成接口 --> |
| | | <borrow v-if="tabListActiveName == '设备借用'" :clickNodeVal="clickNodeVal" /> |
| | | </el-tab-pane> |
| | | <!-- <el-tab-pane label="设备故障" name="设备故障">--> |
| | | <!-- <fault v-if="tabListActiveName == '设备故障'" :clickNodeVal="clickNodeVal" />--> |
| | | <!-- </el-tab-pane>--> |
| | | <!-- 完成接口 --> |
| | | <el-tab-pane label="使用记录" name="使用记录"> |
| | | <record v-if="tabListActiveName == '使用记录'" :clickNodeVal="clickNodeVal" /> |
| | | </el-tab-pane> |
| | | <!-- 完成接口 --> |
| | | <el-tab-pane label="设备停用/启用" name="设备停用/启用"> |
| | | <state v-if="tabListActiveName == '设备停用/启用'" :clickNodeVal="clickNodeVal" /> |
| | | </el-tab-pane> |
| | | <!-- 完成接口 --> |
| | | <el-tab-pane label="设备报废" name="设备报废"> |
| | | <equipment-scrap v-if="tabListActiveName == '设备报废'" :clickNodeVal="clickNodeVal" /> |
| | | </el-tab-pane> |
| | | <!-- 完成接口 --> |
| | | <el-tab-pane label="设备故障与维修" name="设备故障与维修"> |
| | | <equipment-failure v-if="tabListActiveName == '设备故障与维修'" :clickNodeVal="clickNodeVal" /> |
| | | </el-tab-pane> |
| | | <!-- 完成接口 --> |
| | | <el-tab-pane label="设备点检" name="设备点检"> |
| | | <inspection-of-equipment v-if="tabListActiveName == '设备点检'" :clickNodeVal="clickNodeVal" /> |
| | | </el-tab-pane> |
| | | <!-- 完成接口 --> |
| | | <el-tab-pane label="设备事故" name="设备事故"> |
| | | <equipment-accident v-if="tabListActiveName == '设备事故'" :clickNodeVal="clickNodeVal" /> |
| | | </el-tab-pane> |
| | |
| | | <el-button size="small" type="primary" @click="clickAdd">新 增</el-button> |
| | | </div> |
| | | </div> |
| | | <el-table :data="tableData" height="calc(100vh - 18em)" style="width: 100%"> |
| | | <el-table :data="tableData" height="calc(100vh - 18em)" style="width: 100%" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border> |
| | | <el-table-column label="序号" type="index" width="120"> |
| | | <template v-slot="scope"> |
| | | <span>{{ (search.current - 1) * search.size + scope.$index + 1 }}</span> |
| | |
| | | <el-button size="small" type="primary" @click="feMeasuredQuantityListAdd">新增</el-button> |
| | | </div> |
| | | <div> |
| | | <el-table :data="form.illuminationDetectionAreaList" height="40vh" style="width: 100%; margin: auto"> |
| | | <el-table :data="form.illuminationDetectionAreaList" height="40vh" style="width: 100%; margin: auto" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border> |
| | | <el-table-column label="序号" type="index" width="80"></el-table-column> |
| | | <el-table-column align="center" label="检测区域名称" min-width="180" prop="detectionAreaLabel"> |
| | | <template #default="{ row }"> |
| | |
| | | } from '@/api/cnas/resourceDemand/facilitiesEnvironment/facilitiesAndEnvironment' |
| | | |
| | | import axios from 'axios'; |
| | | import {deleteCNASFile} from "@/api/cnas/personal/personalList"; |
| | | |
| | | export default { |
| | | data() { |
| | |
| | | }) |
| | | }, |
| | | handleRemove(file) { |
| | | this.$axios.delete(this.$api.personnel.deleteCNASFile + "?fileName=" + file.name).then(res => { |
| | | deleteCNASFile({fileName: file.name}).then(res => { |
| | | this.$message.success('删除成功!') |
| | | let index = this.form.fileList.indexOf(fileName) |
| | | if (index != -1) { |
| | | this.successFileList.splice(index, 1) |
| | | let index = this.form.fileList.indexOf(file.name) |
| | | if (index !== -1) { |
| | | this.form.fileList.splice(index, 1) |
| | | } |
| | | }) |
| | | }, |
| | |
| | | <el-button size="small" type="primary" @click="openAddDia">新 增</el-button> |
| | | </div> |
| | | </div> |
| | | <el-table :data="tableData" height="calc(100vh - 18em)" style="width: 100%"> |
| | | <el-table :data="tableData" height="calc(100vh - 18em)" style="width: 100%" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border> |
| | | <el-table-column label="序号" type="index" width="120"> |
| | | <template v-slot="scope"> |
| | | <span>{{ (search.current - 1) * search.size + scope.$index + 1 }}</span> |
| | |
| | | <el-button size="small" type="primary" @click="feMeasuredQuantityListAdd">新增</el-button> |
| | | </div> |
| | | <div> |
| | | <el-table :data="form.feMeasuredQuantityList" height="40vh" style="width: 100%; margin: auto"> |
| | | <el-table :data="form.feMeasuredQuantityList" height="40vh" style="width: 100%; margin: auto" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border> |
| | | <el-table-column label="序号" type="index" width="80"></el-table-column> |
| | | <el-table-column align="center" label="测定量名称" min-width="180" prop="measuredQuantityLabel"> |
| | | <template #default="{ row }"> |
| | |
| | | </div> |
| | | </div> |
| | | <el-table :data="tableData" height="calc(100vh - 18em)" highlight-current-row style="width: 100%" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border |
| | | @row-click="clickRow"> |
| | | <el-table-column label="序号" type="index" width="60" align="center"></el-table-column> |
| | | <el-table-column label="月度时间" min-width="180" prop="monthDate"></el-table-column> |
| | |
| | | 增</el-button> |
| | | </div> |
| | | </div> |
| | | <el-table :data="tableData1" height="calc(100vh - 18em)" style="width: 100%"> |
| | | <el-table :data="tableData1" height="calc(100vh - 18em)" style="width: 100%" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border> |
| | | <el-table-column label="序号" type="index" width="60" align="center"></el-table-column> |
| | | <el-table-column label="日期" min-width="100" prop="recordDate"></el-table-column> |
| | | <el-table-column align="center" label="上午" min-width="200"> |
| | |
| | | <el-button size="small" type="primary" @click="addRow">添加</el-button> |
| | | <el-button size="small" type="danger" @click="clearTable">清空</el-button> |
| | | </div> |
| | | <el-table :data="wastesDetailList" border height="300" style="width: 100%"> |
| | | <el-table :data="wastesDetailList" border height="300" style="width: 100%" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }"> |
| | | <el-table-column align="center" label="序号" type="index" width="60" /> |
| | | <el-table-column header-align="center" label="接收人" prop="acceptor"> |
| | | <template slot-scope="{row}"> |
| | |
| | | <el-button size="small" type="primary" @click="addRow">添加</el-button> |
| | | <el-button size="small" type="danger" @click="clearTable">清空</el-button> |
| | | </div> |
| | | <el-table :data="checkDetailList" border height="300" style="width: 100%"> |
| | | <el-table :data="checkDetailList" border height="300" style="width: 100%" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }"> |
| | | <el-table-column align="center" label="序号" type="index" width="60" /> |
| | | <el-table-column header-align="center" label="涉及要素和质量体系文件条款" prop="element"> |
| | | <template slot-scope="{row}"> |
| | |
| | | <el-button size="small" type="primary" @click="addRow">添加</el-button> |
| | | <el-button size="small" type="danger" @click="clearTable">清空</el-button> |
| | | </div> |
| | | <el-table :data="implementDetailList" border height="300" style="width: 100%"> |
| | | <el-table :data="implementDetailList" height="300" style="width: 100%" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border> |
| | | <el-table-column align="center" label="序号" type="index" width="60" /> |
| | | <el-table-column header-align="center" label="时间" prop="implement"> |
| | | <template slot-scope="{row}"> |
| | |
| | | <el-button size="small" @click="openDownloadDia">导出</el-button> |
| | | </div> |
| | | </div> |
| | | <el-table :data="tableData" style="width: 100%" height="calc(100vh - 18em)" key="table1"> |
| | | <el-table :data="tableData" style="width: 100%" height="calc(100vh - 18em)" key="table1" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border> |
| | | <el-table-column type="index" label="序号" width="120"> |
| | | <template v-slot="scope"> |
| | | <span>{{ (page.current - 1) * page.size + scope.$index + 1 }}</span> |
| | |
| | | <el-button size="small" @click="openDownloadDia">导出</el-button> |
| | | </div> |
| | | </div> |
| | | <el-table :data="tableData" style="width: 100%" height="calc(100vh - 18em)" key="table0"> |
| | | <el-table :data="tableData" style="width: 100%" height="calc(100vh - 18em)" key="table0" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border> |
| | | <el-table-column type="index" label="序号" width="120"> |
| | | <template v-slot="scope"> |
| | | <span>{{ (search.current - 1) * search.size + scope.$index + 1 }}</span> |
| | |
| | | </div> |
| | | </div> |
| | | <div> |
| | | <el-table v-loading="tableLoading" :data="quarterItems" border height="420" style="width: 100%"> |
| | | <el-table v-loading="tableLoading" :data="quarterItems" border height="420" style="width: 100%" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }"> |
| | | <el-table-column label="产品类型" prop="productType" width="200"> |
| | | <template slot-scope="{row}"> |
| | | <template> |
| | |
| | | 新增 |
| | | </el-button> |
| | | </div> |
| | | <el-table :data="bindTableData" style="width: 100%" height="70vh" v-loading="bindTableDataLoading"> |
| | | <el-table :data="bindTableData" style="width: 100%" height="70vh" v-loading="bindTableDataLoading" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border> |
| | | <el-table-column prop="inspectionItemClass" label="检验项分类" width="150"> |
| | | </el-table-column> |
| | | <el-table-column prop="inspectionItem" label="检验项" width="150"> |
| | |
| | | </el-dialog> |
| | | <el-dialog :visible.sync="bindAddDialogVisible" title="选择绑定" width="600px"> |
| | | <el-table :data="bindAddTableData" style="width: 100%" height="60vh" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border |
| | | @selection-change="handleBindAddSelectionChange"> |
| | | <el-table-column type="selection" width="55"> </el-table-column> |
| | | <el-table-column prop="inspectionItemClass" label="检验项分类" width="150"> |
| | |
| | | </div> |
| | | <el-drawer :size="550" :visible.sync="sampleVisible" title="样品切换"> |
| | | <el-table v-if="sampleVisible" ref="productTable" :current-row-key="currentKey" :data="sampleProduct" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border |
| | | :row-class-name="tableRowClassName" :row-key="(record) => record.index" border class="el-table" height="100%" |
| | | highlight-current-row tooltip-effect="dark" @row-click="handleChangeSample"> |
| | | <el-table-column :key="Math.random()" align="center" label="序号" type="index" width="70px"> |
| | |
| | | </div> |
| | | <div style="height: auto;"> |
| | | <el-table ref="sampleTable" :data="sampleList" class="el-table sampleTable" highlight-current-row |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border |
| | | max-height="400px" tooltip-effect="dark" @selection-change="selectSample" @row-click="rowClick"> |
| | | <el-table-column v-if="active==1" :selectable="selectable" type="selection" width="60"></el-table-column> |
| | | <el-table-column align="center" label="序号" type="index" width="65"></el-table-column> |
| | |
| | | <el-table-column align="center" label="待检项数量" prop="proNum" width="105"></el-table-column> |
| | | </el-table> |
| | | <el-table ref="productTable" v-loading="getProductLoad" :data="productList" :row-class-name="tableRowClassName" class="el-table" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border |
| | | max-height="400px" style="margin-bottom: 10px;" tooltip-effect="dark" |
| | | @select="selectOne" @selection-change="selectProduct" @select-all="handleAll"> |
| | | <el-table-column v-if="active==1" :selectable="selectable" type="selection" width="65"></el-table-column> |
| | |
| | | <el-table ref="sampleTable" :data="sampleList" |
| | | class="el-table sampleTable" |
| | | highlight-current-row |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border |
| | | max-height="400px" |
| | | tooltip-effect="dark" |
| | | @selection-change="selectSample" @row-click="rowClick"> |
| | |
| | | class="el-table" |
| | | max-height="400px" |
| | | style="margin-bottom: 10px;" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border |
| | | tooltip-effect="dark" |
| | | @select="selectOne" |
| | | @selection-change="selectProduct" |
| | |
| | | </span> |
| | | </el-dialog> |
| | | <el-dialog :close-on-click-modal="false" :close-on-press-escape="false" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border |
| | | :show-close="false" :visible.sync="bsm3Dia" |
| | | title="区间值填写" width="800px"> |
| | | <el-table :data="editTable" height="80vh" style="width: 100%"> |
| | |
| | | <!--待下单--> |
| | | <div class="table"> |
| | | <lims-table :tableData="tableData" :column="column" v-if="tabIndex === 0" @pagination="pagination" |
| | | ref="tableData" |
| | | :rowClassName="changeRowClass" :height="'calc(100vh - 290px)'" key="tableData" :page="page" |
| | | :tableLoading="tableLoading"></lims-table> |
| | | </div> |
| | |
| | | { label: '报检时间', prop: 'declareDate' }, |
| | | { |
| | | dataType: 'action', |
| | | fixed: 'right', |
| | | label: '操作', |
| | | operation: [ |
| | | { |
| | |
| | | </div> |
| | | </div> |
| | | <el-table ref="sampleTable" :data="sampleList" border class="el-table sampleTable" highlight-current-row |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" |
| | | max-height="400px" tooltip-effect="dark" @selection-change="selectSample" @row-click="rowClick"> |
| | | <el-table-column v-if="active==1" :selectable="selectable" type="selection" width="60"></el-table-column> |
| | | <el-table-column align="center" label="序号" type="index" width="65"></el-table-column> |
| | |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <el-table ref="productTable" v-loading="getProductLoad" :data="productList" :row-class-name="tableRowClassName" border class="el-table" |
| | | <el-table ref="productTable" v-loading="getProductLoad" :data="productList" |
| | | :row-class-name="tableRowClassName" border class="el-table" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border |
| | | :key="upIndex" |
| | | max-height="400px" style="margin-bottom: 10px;" tooltip-effect="dark" |
| | | @select="selectOne" @selection-change="selectProduct" @select-all="handleAll"> |
| | |
| | | title="添加检验项" |
| | | width="80%"> |
| | | <el-table ref="sampleTable" :data="sampleList" border class="el-table sampleTable" highlight-current-row |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" |
| | | max-height="400px" tooltip-effect="dark"> |
| | | <el-table-column align="center" label="序号" type="index" width="65"></el-table-column> |
| | | <el-table-column align="center" label="样品名称" min-width="100" prop="sample"> |
| | |
| | | title="添加检验项" |
| | | width="90%"> |
| | | <el-table ref="productTable" v-loading="getProductLoad" :data="productList" :row-class-name="tableRowClassName" border class="el-table" |
| | | max-height="580px" tooltip-effect="dark" |
| | | @selection-change="selectProduct"> |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" |
| | | max-height="580px" tooltip-effect="dark" @selection-change="selectProduct"> |
| | | <el-table-column type="selection" width="65"></el-table-column> |
| | | <el-table-column label="检验项分类" min-width="140" prop="inspectionItemClass" show-overflow-tooltip></el-table-column> |
| | | <el-table-column label="检验项" min-width="140" prop="inspectionItem" show-overflow-tooltip></el-table-column> |
| | |
| | | <div class="table"> |
| | | <el-table ref="productTable" v-loading="getProductLoad" :data="productList" |
| | | :row-class-name="tableRowClassName" border class="el-table" :height="'calc(100vh - 200px)'" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" |
| | | tooltip-effect="dark" @select="upProductSelect" |
| | | @selection-change="selectProduct" @select-all="handleAll"> |
| | | <el-table-column :selectable="selectable" type="selection" width="65"></el-table-column> |
| | |
| | | <div class="table"> |
| | | <el-table ref="productTable" :data="productList" :row-class-name="tableRowClassName" border |
| | | class="el-table" :height="'calc(100vh - 200px)'" tooltip-effect="dark" @select="upProductSelect" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" |
| | | @selection-change="selectProduct" @select-all="handleAll"> |
| | | <el-table-column :selectable="selectable" type="selection" width="65"></el-table-column> |
| | | <el-table-column label="检验项分类" min-width="140" prop="inspectionItemClass" show-overflow-tooltip></el-table-column> |
| | |
| | | </div> |
| | | </div> |
| | | <div> |
| | | <el-table v-loading="tableLoading" :data="quarterItems" border height="400" style="width: 100%"> |
| | | <el-table v-loading="tableLoading" :data="quarterItems" height="400" style="width: 100%" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border> |
| | | <el-table-column label="产品类型" prop="productType" width="200"> |
| | | <template slot-scope="{row}"> |
| | | <template> |
| | |
| | | </div> |
| | | </div> |
| | | <div> |
| | | <el-table :data="yearItems" border height="450" style="width: 100%"> |
| | | <el-table :data="yearItems" border height="450" style="width: 100%" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }"> |
| | | <el-table-column label="类别" prop="yearType" width="240"> |
| | | <template slot-scope="{row}"> |
| | | <template v-if="operationType !== 'view'"> |
| | |
| | | </div> |
| | | <h4>检验项目</h4> |
| | | <div class="table"> |
| | | <el-table class="el-table" ref="productTable" :data="products" height="380px" tooltip-effect="dark" border> |
| | | <el-table class="el-table" ref="productTable" :data="products" height="380px" tooltip-effect="dark" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border> |
| | | <el-table-column type="index" align="center" label="序号" width="70" :key="Math.random()"> |
| | | </el-table-column> |
| | | <el-table-column prop="inspectionItem" label="检验项" min-width="100" |
| | |
| | | </div> |
| | | <h4>出入库历史</h4> |
| | | <div class="table" style="margin-bottom: 20px;"> |
| | | <el-table class="el-table" ref="productTable" :data="histories" height="380px" tooltip-effect="dark" border> |
| | | <el-table class="el-table" ref="productTable" :data="histories" height="380px" tooltip-effect="dark" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border> |
| | | <el-table-column type="index" align="center" label="序号" width="70" :key="Math.random()"> |
| | | </el-table-column> |
| | | <el-table-column prop="state" label="类型" |
| | |
| | | </span> |
| | | </div> |
| | | <div> |
| | | <el-table :data="factoryVerifyItemList" style="width: 98%" v-loading="tableLoading"> |
| | | <el-table :data="factoryVerifyItemList" style="width: 98%" v-loading="tableLoading" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border> |
| | | <el-table-column type="index" label="序号" width="180" align="center"></el-table-column> |
| | | <el-table-column prop="inspectionItem" label="验证项目" width="300"></el-table-column> |
| | | <el-table-column prop="result" label="验证结果"> |
| | |
| | | style="max-height: 96vh; margin-top: 2vh" :show-close="false" :close-on-click-modal="false" |
| | | :close-on-press-escape="false"> |
| | | <el-table :data="tableList" style="width: 100%" v-loading="tableLoading" |
| | | @selection-change="handleSelectionChange"> |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border |
| | | @selection-change="handleSelectionChange"> |
| | | <el-table-column type="selection" width="55"></el-table-column> |
| | | <el-table-column type="index" label="序号" width="60" align="center"></el-table-column> |
| | | <el-table-column prop="inspectionItem" label="验证项目"></el-table-column> |
| | |
| | | :close-on-press-escape="false"> |
| | | <div class="table"> |
| | | <el-table class="el-table" ref="productTable" :data="productList" max-height="800px" tooltip-effect="dark" |
| | | border v-loading="tableLoading" @selection-change="selectProduct" style="margin-bottom: 10px;" |
| | | @select-all="handleAll"> |
| | | v-loading="tableLoading" @selection-change="selectProduct" style="margin-bottom: 10px;" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border @select-all="handleAll"> |
| | | <el-table-column type="selection" width="65"></el-table-column> |
| | | <el-table-column prop="inspectionItemClass" label="检验项分类" min-width="140" |
| | | show-overflow-tooltip></el-table-column> |
| | |
| | | <!-- <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>--> |
| | | <!-- </el-row>--> |
| | | |
| | | <el-table ref="tables" v-loading="loading" :data="list" @selection-change="handleSelectionChange" :default-sort="defaultSort" @sort-change="handleSortChange"> |
| | | <el-table ref="tables" v-loading="loading" :data="list" @selection-change="handleSelectionChange" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border |
| | | :default-sort="defaultSort" @sort-change="handleSortChange"> |
| | | <el-table-column type="selection" width="55" align="center" /> |
| | | <el-table-column label="访问编号" align="center" prop="infoId" /> |
| | | <el-table-column label="用户名称" align="center" prop="userName" :show-overflow-tooltip="true" sortable="custom" :sort-orders="['descending', 'ascending']" /> |
| | |
| | | <el-radio-button label="ValueTable1"> 产量工时 </el-radio-button> |
| | | </el-radio-group> |
| | | <div style="display: flex; align-items: center"> |
| | | <p style="font-size: 14px; margin-right: 30px"> |
| | | 总工时汇总:<span v-if="totalInfo" style="font-size: 16px; color: #3a7bfa">{{ |
| | | totalInfo["产量工时汇总"] + totalInfo["辅助工时汇总"] |
| | | ? Number( |
| | | totalInfo["产量工时汇总"] + totalInfo["辅助工时汇总"] |
| | | ).tofixed(4) |
| | | : 0 |
| | | }}</span> 产量工时汇总:<span v-if="totalInfo" style="font-size: 16px; color: #3a7bfa">{{ |
| | | totalInfo["产量工时汇总"] |
| | | ? Number(totalInfo["产量工时汇总"]).tofixed(4) |
| | | : 0 |
| | | }}</span> 辅助工时汇总:<span v-if="totalInfo" style="font-size: 16px; color: #3a7bfa">{{ |
| | | totalInfo["辅助工时汇总"] |
| | | ? Number(totalInfo["辅助工时汇总"]).tofixed(4) |
| | | : 0 |
| | | }}</span> |
| | | </p> |
| | | <!-- <p style="font-size: 14px; margin-right: 30px">--> |
| | | <!-- 总工时汇总:<span v-if="totalInfo" style="font-size: 16px; color: #3a7bfa">{{--> |
| | | <!-- totalInfo["产量工时汇总"] + totalInfo["辅助工时汇总"]--> |
| | | <!-- ? Number(--> |
| | | <!-- totalInfo["产量工时汇总"] + totalInfo["辅助工时汇总"]--> |
| | | <!-- ).tofixed(4)--> |
| | | <!-- : 0--> |
| | | <!-- }}</span> 产量工时汇总:<span v-if="totalInfo" style="font-size: 16px; color: #3a7bfa">{{--> |
| | | <!-- totalInfo["产量工时汇总"]--> |
| | | <!-- ? Number(totalInfo["产量工时汇总"]).tofixed(4)--> |
| | | <!-- : 0--> |
| | | <!-- }}</span> 辅助工时汇总:<span v-if="totalInfo" style="font-size: 16px; color: #3a7bfa">{{--> |
| | | <!-- totalInfo["辅助工时汇总"]--> |
| | | <!-- ? Number(totalInfo["辅助工时汇总"]).tofixed(4)--> |
| | | <!-- : 0--> |
| | | <!-- }}</span>--> |
| | | <!-- </p>--> |
| | | <el-button v-show="currentTable == 'ValueTable0' && |
| | | checkPermi(['performance:manHour:workTimeManagement:add']) |
| | | " size="small" type="primary" @click="openAdd">录入数据</el-button> |
| | |
| | | </div> |
| | | <div class="table"> |
| | | <lims-table :tableData="tableData" :column="column" :page="page" :tableLoading="tableLoading" |
| | | key="tableData" |
| | | :height="'calc(100vh - 350px)'" :isSelection="true" v-if="currentTable == 'ValueTable0'" |
| | | @pagination="pagination" :handleSelectionChange="handleSelectionChange"></lims-table> |
| | | <lims-table :tableData="tableData0" :column="column0" :page="page0" :tableLoading="tableLoading" |
| | | key="tableData0" |
| | | :height="'calc(100vh - 350px)'" v-if="currentTable == 'ValueTable1'" @pagination="pagination0"></lims-table> |
| | | </div> |
| | | <el-dialog :before-close="handleClose" :title="formData.id ? '编辑' : '录入数据'" :visible.sync="addVisible" |
| | |
| | | down: false, |
| | | addFileVisible: false, |
| | | weekList: [ |
| | | { label: "周一", value: "周一", type: "primary" }, |
| | | { label: "周二", value: "周二", type: "primary" }, |
| | | { label: "周三", value: "周三", type: "primary" }, |
| | | { label: "周四", value: "周四", type: "primary" }, |
| | | { label: "周五", value: "周五", type: "primary" }, |
| | | { label: "周六", value: "周六", type: "primary" }, |
| | | { label: "周日", value: "周日", type: "primary" }, |
| | | { label: "周一", value: "1", type: "primary" }, |
| | | { label: "周二", value: "2", type: "primary" }, |
| | | { label: "周三", value: "3", type: "primary" }, |
| | | { label: "周四", value: "4", type: "primary" }, |
| | | { label: "周五", value: "5", type: "primary" }, |
| | | { label: "周六", value: "6", type: "primary" }, |
| | | { label: "周日", value: "0", type: "primary" }, |
| | | ], |
| | | currentTable: "ValueTable0", |
| | | addVisible: false, |
| | |
| | | label: "班次", |
| | | prop: "shift", |
| | | dataType: "tag", |
| | | formatData: this.shifList, |
| | | formatData: (params) => { |
| | | if (this.shifList.find(m => m.value == params)) { |
| | | return this.shifList.find(m => m.value == params).label |
| | | } else { |
| | | return null |
| | | } |
| | | }, |
| | | }, |
| | | { label: "周次", prop: "week" }, |
| | | { label: "星期", prop: "weekDay" }, |
| | | { |
| | | label: "星期", |
| | | prop: "weekDay", |
| | | dataType: "tag", |
| | | formatData: (params) => { |
| | | return this.weekList.find(m => m.value == params).label |
| | | }, |
| | | }, |
| | | { label: "创建时间", prop: "createTime" }, |
| | | { label: "日期", prop: "dateTime" }, |
| | | { |
| | |
| | | }, |
| | | mounted() { |
| | | this.getCurrentWeekNumber(); |
| | | this.collectWorkingHours(); |
| | | // this.collectWorkingHours(); |
| | | this.selectshiftByUser(); |
| | | this.searchList() |
| | | }, |
| | |
| | | param.dateTime = param.dateTime?.length > 0 ? JSON.stringify(param.dateTime) : null |
| | | } |
| | | delete param.total; |
| | | delete param.state; |
| | | selectAuxiliaryOutputWorkingHours({ ...param }) |
| | | .then((res) => { |
| | | this.tableLoading = false; |
| | |
| | | this.page0.current = 1; |
| | | this.getList0(entity); |
| | | } |
| | | this.collectWorkingHours(); |
| | | // this.collectWorkingHours(); |
| | | }, |
| | | refresh() { |
| | | this.entity = {}; |
| | |
| | | this.formData.auxiliaryProject = ""; |
| | | this.addVisible = false; |
| | | this.refreshTable("page"); |
| | | this.collectWorkingHours(); |
| | | // this.collectWorkingHours(); |
| | | }); |
| | | } else { |
| | | updateAuxiliaryWorkingHoursDay(this.formData).then((res) => { |
| | |
| | | this.formData.nonproductiveTime = ""; |
| | | this.formData.auxiliaryProject = ""; |
| | | this.refreshTable("page"); |
| | | this.collectWorkingHours(); |
| | | // this.collectWorkingHours(); |
| | | }); |
| | | } |
| | | }, |
| | |
| | | submitBatchCheckDialog() { |
| | | this.batchCheckDialog = false; |
| | | this.refreshTable("page"); |
| | | this.collectWorkingHours(); |
| | | // this.collectWorkingHours(); |
| | | }, |
| | | submitCheck(e) { |
| | | if (!this.formData0.number) { |
| | |
| | | this.$message.success("操作成功"); |
| | | this.checkVisible = false; |
| | | this.refreshTable("page"); |
| | | this.collectWorkingHours(); |
| | | // this.collectWorkingHours(); |
| | | }); |
| | | }, |
| | | getCurrentWeekNumber(now = new Date()) { |
| | |
| | | } |
| | | entity.weekDay = this.entity.weekDay; |
| | | entity.name = this.entity.name; |
| | | entity.state = this.entity.state; |
| | | collectWorkingHours(entity).then((res) => { |
| | | this.totalInfo = res.data; |
| | | }); |
| | |
| | | </el-row> |
| | | <el-row v-loading="tableLoad" class="standard_table"> |
| | | <el-table ref="standard" :data="standardList" class="el-table" header-row-class-name="header-class" height="220" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border |
| | | highlight-current-row style="width: 100%; height: 220px !important" tooltip-effect="dark" |
| | | @row-click="rowClick"> |
| | | <el-table-column label="标准编号" prop="code" show-overflow-tooltip width="200"> |
| | |
| | | </el-row> |
| | | <el-row v-loading="tableLoad2" class="product_table"> |
| | | <el-table id="templateParamTable" ref="productTable" v-loading="productTableLoading" :data="productList" |
| | | :fit="true" :row-class-name="tableRowClassName" border class="productTable" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border |
| | | :fit="true" :row-class-name="tableRowClassName" class="productTable" |
| | | header-row-class-name="header-class" height="100%" row-key="id" stripe style="width: 100%" |
| | | tooltip-effect="dark" @select="upProductSelect" @selection-change="handleSelectionChange" |
| | | @select-all="handleAll"> |
| | |
| | | </el-dialog> |
| | | <el-dialog :close-on-click-modal="false" :visible.sync="sectionUpDia" title="区间设置" width="80%"> |
| | | <div class="body" style="padding: 5px 0"> |
| | | <el-table :data="sectionList" border height="350px" style="width: 100%"> |
| | | <el-table :data="sectionList" border height="350px" style="width: 100%" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }"> |
| | | <el-table-column align="center" label="序号" type="index" width="70"> |
| | | </el-table-column> |
| | | <el-table-column align="center" label="区间"> |
| | |
| | | <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> |
| | | </el-row> |
| | | |
| | | <el-table v-loading="loading" :data="configList" @selection-change="handleSelectionChange"> |
| | | <el-table v-loading="loading" :data="configList" @selection-change="handleSelectionChange" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border> |
| | | <el-table-column type="selection" width="55" align="center" /> |
| | | <el-table-column label="参数主键" align="center" prop="configId" /> |
| | | <el-table-column label="参数名称" align="center" prop="configName" :show-overflow-tooltip="true" /> |
| | |
| | | </el-row> |
| | | |
| | | <el-table v-if="refreshTable" v-loading="loading" :data="deptList" row-key="deptId" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border |
| | | :default-expand-all="isExpandAll" :tree-props="{ children: 'children', hasChildren: 'hasChildren' }"> |
| | | <el-table-column prop="deptName" label="部门名称" width="260"></el-table-column> |
| | | <el-table-column prop="orderNum" label="排序" width="200"></el-table-column> |
| | |
| | | <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> |
| | | </el-row> |
| | | |
| | | <el-table v-loading="loading" :data="dataList" @selection-change="handleSelectionChange"> |
| | | <el-table v-loading="loading" :data="dataList" @selection-change="handleSelectionChange" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border> |
| | | <el-table-column type="selection" width="55" align="center" /> |
| | | <el-table-column label="字典编码" align="center" prop="dictCode" /> |
| | | <el-table-column label="字典标签" align="center" prop="dictLabel"> |
| | |
| | | <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> |
| | | </el-row> |
| | | |
| | | <el-table v-loading="loading" :data="userList" @selection-change="handleSelectionChange"> |
| | | <el-table v-loading="loading" :data="userList" @selection-change="handleSelectionChange" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border> |
| | | <el-table-column type="selection" width="55" align="center" /> |
| | | <el-table-column label="用户名称" prop="userName" :show-overflow-tooltip="true" /> |
| | | <el-table-column label="用户昵称" prop="nickName" :show-overflow-tooltip="true" /> |
| | |
| | | </div> |
| | | </div> |
| | | |
| | | <el-table v-loading="loading" :data="roleList" @selection-change="handleSelectionChange"> |
| | | <el-table v-loading="loading" :data="roleList" @selection-change="handleSelectionChange" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border> |
| | | <el-table-column type="selection" width="55" align="center" /> |
| | | <el-table-column label="角色编号" prop="roleId" width="120" /> |
| | | <el-table-column label="角色名称" prop="roleName" :show-overflow-tooltip="true" width="150" /> |
| | |
| | | </el-form-item> |
| | | </el-form> |
| | | <el-row> |
| | | <el-table @row-click="clickRow" ref="table" :data="userList" @selection-change="handleSelectionChange" height="260px"> |
| | | <el-table @row-click="clickRow" ref="table" :data="userList" @selection-change="handleSelectionChange" height="260px" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border> |
| | | <el-table-column type="selection" width="55"></el-table-column> |
| | | <el-table-column label="用户名称" prop="userName" :show-overflow-tooltip="true" /> |
| | | <el-table-column label="用户昵称" prop="nickName" :show-overflow-tooltip="true" /> |
| | |
| | | </el-form> |
| | | |
| | | <h4 class="form-header h4">角色信息</h4> |
| | | <el-table v-loading="loading" :row-key="getRowKey" @row-click="clickRow" ref="table" @selection-change="handleSelectionChange" :data="roles.slice((pageNum-1)*pageSize,pageNum*pageSize)"> |
| | | <el-table v-loading="loading" :row-key="getRowKey" @row-click="clickRow" ref="table" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border |
| | | @selection-change="handleSelectionChange" :data="roles.slice((pageNum-1)*pageSize,pageNum*pageSize)"> |
| | | <el-table-column label="序号" type="index" align="center"> |
| | | <template slot-scope="scope"> |
| | | <span>{{(pageNum - 1) * pageSize + scope.$index + 1}}</span> |
| | |
| | | }, |
| | | }, |
| | | }; |
| | | </script> |
| | | </script> |
| | |
| | | </div> |
| | | </div> |
| | | <el-col> |
| | | <el-table v-loading="loading" :data="userList"> |
| | | <el-table v-loading="loading" :data="userList" :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border> |
| | | <el-table-column label="序号" align="center" type="index" /> |
| | | <el-table-column label="姓名" align="center" key="nickName" prop="nickName" :show-overflow-tooltip="true" /> |
| | | <el-table-column label="账号" align="center" key="userName" prop="userName" :show-overflow-tooltip="true" /> |
| | |
| | | style="width: 50%" @keyup.enter.native="searchPerson()"></el-input> |
| | | </div> |
| | | <el-table height="67vh" stripe :data="personList" v-loading="personLoad" ref="personTable" |
| | | :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border |
| | | @selection-change="handleSelectionChange"> |
| | | <el-table-column type="selection" width="50"> |
| | | </el-table-column> |