| | |
| | | font-size: 14px; |
| | | padding: 12px 24px; |
| | | height: 38px; |
| | | width: 100%; |
| | | // width: 100%; |
| | | margin: 0px 9px; |
| | | background: #fff; |
| | | // margin-left: px; |
| | | .no-redirect { |
| | |
| | | } |
| | | ] |
| | | }, |
| | | // { |
| | | // path: '/rawMaterials', |
| | | // component: Layout, |
| | | // redirect: '/rawMaterials/reportForInspection', |
| | | // name: 'rawMaterials', |
| | | // meta: { title: 'æ£éª', icon: 'el-icon-s-help' }, |
| | | // children: [ |
| | | // { |
| | | // path: 'reportForInspection', |
| | | // name: 'ReportForInspection', |
| | | // component: () => import('@/views/rawMaterials/reportForInspection/index'), |
| | | // meta: { title: 'åæææ¥æ£', icon: 'table' }, |
| | | // children: [ |
| | | // // { |
| | | // // path: 'index', |
| | | // // name: 'ReportForInspectionIndex', |
| | | // // // hidden: true, |
| | | // // component: () => import('@/views/rawMaterials/reportForInspection/index'), |
| | | // // meta: { title: 'åæææ¥æ£', icon: 'table' } |
| | | // // }, |
| | | // { |
| | | // path: 'forInspectionDetail', |
| | | // name: 'ForInspectionDetail', |
| | | // hidden: true, |
| | | // component: () => import('@/views/rawMaterials/reportForInspection/forInspectionDetail'), |
| | | // meta: { title: 'æ°å¢æ£éªå详æ
', icon: 'table' } |
| | | // } |
| | | // ] |
| | | // }, |
| | | // { |
| | | // path: 'print', |
| | | // name: 'Print', |
| | | // component: () => import('@/views/rawMaterials/print/index'), |
| | | // meta: { title: 'æ¡ç æå°', icon: 'tree' } |
| | | // }, |
| | | // { |
| | | // path: 'planAssignments', |
| | | // name: 'PlanAssignments', |
| | | // component: () => import('@/views/rawMaterials/planAssignments/index'), |
| | | // meta: { title: 'æ£éªè®¡ååé
', icon: 'tree' } |
| | | // }, |
| | | // { |
| | | // path: 'rawMaterialInspection', |
| | | // name: 'RawMaterialInspection', |
| | | // component: () => import('@/views/rawMaterials/rawMaterialInspection/index'), |
| | | // meta: { title: 'åæææ£éª', icon: 'tree' } |
| | | // }, |
| | | // { |
| | | // path: 'checkTheReport', |
| | | // name: 'CheckTheReport', |
| | | // component: () => import('@/views/rawMaterials/checkTheReport/index'), |
| | | // meta: { title: 'æ£éªæ¥å', icon: 'tree' } |
| | | // }, |
| | | // { |
| | | // path: 'reportAuditing', |
| | | // name: 'ReportAuditing', |
| | | // component: () => import('@/views/rawMaterials/reportAuditing/index'), |
| | | // meta: { title: 'æ¥åå®¡æ ¸', icon: 'tree' } |
| | | // }, |
| | | // { |
| | | // path: 'nonConformanceReview', |
| | | // name: 'NonConformanceReview', |
| | | // component: () => import('@/views/rawMaterials/nonConformanceReview/index'), |
| | | // meta: { title: 'ä¸åæ ¼åé¦', icon: 'tree' } |
| | | // }, |
| | | // { |
| | | // path: 'nonConformingFeedback', |
| | | // name: 'NonConformingFeedback', |
| | | // component: () => import('@/views/rawMaterials/nonConformingFeedback/index'), |
| | | // meta: { title: 'ä¸åæ ¼è¯å®¡', icon: 'tree' } |
| | | // }, |
| | | // { |
| | | // path: 'passRateStatistics', |
| | | // name: 'PassRateStatistics', |
| | | // component: () => import('@/views/rawMaterials/passRateStatistics/index'), |
| | | // meta: { title: 'åæ ¼çç»è®¡', icon: 'tree' } |
| | | // } |
| | | // ] |
| | | // }, |
| | | { |
| | | path: '/rawMaterials', |
| | | path: '/inspectionManagement', |
| | | component: Layout, |
| | | redirect: '/rawMaterials/reportForInspection', |
| | | name: 'rawMaterials', |
| | | meta: { title: 'æ£éª', icon: 'el-icon-s-help' }, |
| | | redirect: '/inspectionManagement/commissionInspection', |
| | | name: 'InspectionManagement', |
| | | meta: { title: 'æ¥æ£ç®¡ç', icon: 'el-icon-s-help' }, |
| | | children: [ |
| | | { |
| | | path: 'reportForInspection', |
| | | name: 'ReportForInspection', |
| | | component: () => import('@/views/rawMaterials/reportForInspection/index'), |
| | | meta: { title: 'åæææ¥æ£', icon: 'table' }, |
| | | path: 'commissionInspection', |
| | | name: 'CommissionInspection', |
| | | component: () => import('@/views/inspectionManagement/commissionInspection/index'), |
| | | meta: { title: 'å§ææ£éª', icon: 'table' }, |
| | | children: [ |
| | | // { |
| | | // path: 'index', |
| | | // name: 'ReportForInspectionIndex', |
| | | // // hidden: true, |
| | | // component: () => import('@/views/rawMaterials/reportForInspection/index'), |
| | | // meta: { title: 'åæææ¥æ£', icon: 'table' } |
| | | // }, |
| | | { |
| | | path: 'forInspectionDetail', |
| | | name: 'ForInspectionDetail', |
| | | path: 'addCommision', |
| | | name: 'AddCommision', |
| | | hidden: true, |
| | | component: () => import('@/views/rawMaterials/reportForInspection/forInspectionDetail'), |
| | | meta: { title: 'æ°å¢æ£éªå详æ
', icon: 'table' } |
| | | component: () => import('@/views/inspectionManagement/commissionInspection/addCommision'), |
| | | meta: { title: 'æ£æµä¿¡æ¯', icon: 'table' } |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | path: 'print', |
| | | name: 'Print', |
| | | component: () => import('@/views/rawMaterials/print/index'), |
| | | meta: { title: 'æ¡ç æå°', icon: 'tree' } |
| | | path: 'reportForInspection', |
| | | name: 'ReportForInspection', |
| | | component: () => import('@/views/inspectionManagement/reportForInspection/index'), |
| | | meta: { title: 'åæææ¥æ£', icon: 'tree' } |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | path: '/experiment', |
| | | component: Layout, |
| | | redirect: '/experiment/inspectionApplication', |
| | | name: 'Experiment', |
| | | meta: { title: 'è¯éªç®¡ç', icon: 'el-icon-s-help' }, |
| | | children: [ |
| | | { |
| | | path: 'inspectionApplication', |
| | | name: 'InspectionApplication', |
| | | component: () => import('@/views/experiment/inspectionApplication/index'), |
| | | meta: { title: 'æ£éªç³è¯·', icon: 'tree' } |
| | | }, |
| | | { |
| | | path: 'planAssignments', |
| | | name: 'PlanAssignments', |
| | | component: () => import('@/views/rawMaterials/planAssignments/index'), |
| | | component: () => import('@/views/experiment/planAssignments/index'), |
| | | meta: { title: 'æ£éªè®¡ååé
', icon: 'tree' } |
| | | }, |
| | | { |
| | | path: 'rawMaterialInspection', |
| | | name: 'RawMaterialInspection', |
| | | component: () => import('@/views/rawMaterials/rawMaterialInspection/index'), |
| | | meta: { title: 'åæææ£éª', icon: 'tree' } |
| | | }, |
| | | { |
| | | path: 'checkTheReport', |
| | | name: 'CheckTheReport', |
| | | component: () => import('@/views/rawMaterials/checkTheReport/index'), |
| | | component: () => import('@/views/experiment/checkTheReport/index'), |
| | | meta: { title: 'æ£éªæ¥å', icon: 'tree' } |
| | | }, |
| | | { |
| | | path: 'reportAuditing', |
| | | name: 'ReportAuditing', |
| | | component: () => import('@/views/rawMaterials/reportAuditing/index'), |
| | | component: () => import('@/views/experiment/reportAuditing/index'), |
| | | meta: { title: 'æ¥åå®¡æ ¸', icon: 'tree' } |
| | | }, |
| | | { |
| | | path: 'nonConformanceReview', |
| | | name: 'NonConformanceReview', |
| | | component: () => import('@/views/rawMaterials/nonConformanceReview/index'), |
| | | meta: { title: 'ä¸åæ ¼åé¦', icon: 'tree' } |
| | | component: () => import('@/views/experiment/nonConformanceReview/index'), |
| | | meta: { title: 'ä¸åæ ¼ååé¦', icon: 'tree' } |
| | | }, |
| | | { |
| | | path: 'nonConformingFeedback', |
| | | name: 'NonConformingFeedback', |
| | | component: () => import('@/views/rawMaterials/nonConformingFeedback/index'), |
| | | meta: { title: 'ä¸åæ ¼è¯å®¡', icon: 'tree' } |
| | | component: () => import('@/views/experiment/nonConformingFeedback/index'), |
| | | meta: { title: 'ä¸åæ ¼åè¯å®¡', icon: 'tree' } |
| | | }, |
| | | { |
| | | path: 'passRateStatistics', |
| | | name: 'PassRateStatistics', |
| | | component: () => import('@/views/rawMaterials/passRateStatistics/index'), |
| | | component: () => import('@/views/experiment/passRateStatistics/index'), |
| | | meta: { title: 'åæ ¼çç»è®¡', icon: 'tree' } |
| | | } |
| | | ] |
| | |
| | | ] |
| | | }, |
| | | { |
| | | path: '/CNAS', |
| | | component: Layout, |
| | | redirect: '/CNAS/reviewAnnualPlan', |
| | | name: 'CNAS', |
| | | meta: { title: 'CNAS管ç', icon: 'el-icon-s-help' }, |
| | | children: [ |
| | | { |
| | | path: 'reviewAnnualPlan', |
| | | name: 'ReviewAnnualPlan', |
| | | component: () => import('@/views/CNAS/reviewAnnualPlan/index'), |
| | | meta: { title: 'å®¡æ ¸å¹´åº¦è®¡å', icon: 'table' } |
| | | }, |
| | | { |
| | | path: 'nonConformanceManage', |
| | | name: 'NonConformanceManage', |
| | | component: () => import('@/views/CNAS/nonConformanceManage/index'), |
| | | meta: { title: 'ä¸ç¬¦å项管ç', icon: 'tree' } |
| | | }, |
| | | { |
| | | path: 'nonConformanceStatistics', |
| | | name: 'NonConformanceStatistics', |
| | | component: () => import('@/views/CNAS/nonConformanceStatistics/index'), |
| | | meta: { title: 'ä¸ç¬¦å项ç»è®¡', icon: 'tree' } |
| | | }, |
| | | { |
| | | path: 'satisfactionSurveys', |
| | | name: 'SatisfactionSurveys', |
| | | component: () => import('@/views/CNAS/satisfactionSurveys/index'), |
| | | meta: { title: '满æåº¦è°æ¥', icon: 'tree' } |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | path: '/chart', |
| | | component: Layout, |
| | | redirect: '/chart/center', |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div> |
| | | ä¸ç¬¦å项管ç |
| | | </div> |
| | | </template> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div>ä¸ç¬¦å项ç»è®¡</div> |
| | | </template> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div> |
| | | å®¡æ ¸å¹´åº¦è®¡å |
| | | </div> |
| | | </template> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div> |
| | | 满æåº¦è°æ¥ |
| | | </div> |
| | | </template> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div>æ£æµæ¥å</div> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | |
| | | </style> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div> |
| | | æ£éªç³è¯· |
| | | </div> |
| | | </template> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div>ä¸åæ ¼è¯å®¡</div> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | |
| | | </style> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div>ä¸åæ ¼åé¦</div> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | |
| | | </style> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div>åæ ¼çç»è®¡</div> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | |
| | | </style> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div>æ£éªè®¡ååé
</div> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | |
| | | </style> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div>æ¥åå®¡æ ¸</div> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | |
| | | </style> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div class="content-main"> |
| | | <div class="firstBox"> |
| | | <span>æ£æµä¿¡æ¯</span> |
| | | <div tableBox> |
| | | <el-button type="primary" size="small" style="background-color: rgb(1, 102, 226);">æ·»å æ ·å</el-button> |
| | | <el-input |
| | | v-model="searchData" |
| | | class="input-form" |
| | | placeholder="æ«æäºç»´ç å½å
¥æ ·å..." |
| | | prefix-icon="el-icon-search" |
| | | style="width: 200px;" |
| | | > |
| | | </el-input> |
| | | <el-button type="primary" size="small" style="background-color: rgb(1, 102, 226);">éç½®</el-button> |
| | | <el-table |
| | | ref="commisionTable" |
| | | :max-height="800" |
| | | :cell-style="{textAlign: 'center'}" |
| | | :header-cell-style="{border:'0px',background:'#f5f7fa',color:'#606266',boxShadow: 'inset 0 1px 0 #ebeef5',textAlign: 'center'}" |
| | | :data="commisionTable" |
| | | style="width: 100%" |
| | | > |
| | | <el-table-column |
| | | type="index" |
| | | label="åºå·" |
| | | min-width="10%" |
| | | /> |
| | | <el-table-column |
| | | prop="commisioncode" |
| | | label="å§æç¼å·" |
| | | min-width="8%" |
| | | /> |
| | | <el-table-column |
| | | prop="department" |
| | | label="å§æåä½" |
| | | min-width="10%" |
| | | /> |
| | | <el-table-column |
| | | prop="samplecode" |
| | | label="æ ·åç¼å·" |
| | | min-width="8%" |
| | | /> |
| | | <el-table-column |
| | | prop="samplename" |
| | | label="æ ·ååç§°" |
| | | min-width="8%" |
| | | /> |
| | | <el-table-column |
| | | prop="modelandspecification" |
| | | label="è§æ ¼åå·" |
| | | min-width="10%" |
| | | /> |
| | | <el-table-column |
| | | prop="arrivetime" |
| | | label="éè¾¾æ¶é´" |
| | | min-width="8%" |
| | | /> |
| | | <el-table-column |
| | | prop="deadline" |
| | | label="宿æé" |
| | | min-width="8%" |
| | | /> |
| | | <el-table-column |
| | | prop="person" |
| | | label="å§æç¼å¶äºº" |
| | | min-width="8%" |
| | | /> |
| | | <el-table-column |
| | | prop="checkdate" |
| | | label="æ£éªæ¥æ" |
| | | min-width="8%" |
| | | /> |
| | | <el-table-column |
| | | prop="state" |
| | | label="ç¶æ" |
| | | min-width="8%" |
| | | /> |
| | | <el-table-column |
| | | label="æä½" |
| | | min-width="8%" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-button type="text" size="small" @click="handleClick(scope.row)">å é¤</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <!-- åé¡µå¨ --> |
| | | <div> |
| | | <el-pagination |
| | | @size-change="handleSizeChange" |
| | | @current-change="handleCurrentChange" |
| | | :current-page="currentPage" |
| | | :page-sizes="[100, 200, 300, 400]" |
| | | :page-size="100" |
| | | layout="total, sizes, prev, pager, next, jumper" |
| | | :total="400"> |
| | | </el-pagination> |
| | | </div> |
| | | </div> |
| | | <div class="secondBox"> |
| | | <el-row class="header"> |
| | | <el-col :span="12">åºæ¬ä¿¡æ¯</el-col> |
| | | <el-col :span="12" style="text-align: right;"> |
| | | <!-- ç¹å»è¿åï¼å½å页é¢å¼ä¸ºfalse --> |
| | | <el-button type="primary" size="mini" style="background-color: rgb(1, 102, 226); ">æå°å§æå</el-button> |
| | | </el-col> |
| | | </el-row> |
| | | <el-form :model="infoForm" ref="infoForm" class="infoForm" label-position="left" label-width="100px" size="mini" > |
| | | <div class="formwrapper"> |
| | | <el-row :gutter="50"> |
| | | <el-col :span="12"> |
| | | <el-form-item label="å§æç¼å·ï¼"> |
| | | <el-input style="width: 100px;" v-model="infoForm.commisioncode" placeholder="请è¾å
¥è®¢åå·" readonly autocomplete="off" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="å§æåä½ï¼"> |
| | | <el-select style="width: 180px;" v-model="infoForm.department" size="small" placeholder="è¯·éæ©äº§ååç§°"> |
| | | <el-option value="é项1"></el-option> |
| | | <el-option value="é项2"></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="è系人ï¼"> |
| | | <el-select style="width: 180px;" v-model="infoForm.contacter" size="small" placeholder="è¯·éæ©äº§ååç§°"> |
| | | <el-option value="é项1"></el-option> |
| | | <el-option value="é项2"></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="èç³»çµè¯ï¼"> |
| | | <el-select style="width: 180px;" v-model="infoForm.tel" size="small" placeholder="è¯·éæ©äº§ååç§°"> |
| | | <el-option value="é项1"></el-option> |
| | | <el-option value="é项2"></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row :gutter="450"> |
| | | <el-col :span="5"> |
| | | <el-form-item label="èç³»å°åï¼" > |
| | | <el-select style="width: 180px;" v-model="infoForm.address" size="small" placeholder="è¯·éæ©äº§ååç§°"> |
| | | <el-option value="é项1"></el-option> |
| | | <el-option value="é项2"></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="5"> |
| | | <el-form-item label="宿æéï¼"> |
| | | <el-date-picker |
| | | v-model="infoForm.deadline" |
| | | type="date" |
| | | placeholder="éæ©æ¥æ" |
| | | style="width: 180px;"> |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="5"> |
| | | <el-form-item label="éæ ·æ¶é´ï¼"> |
| | | <el-date-picker |
| | | v-model="infoForm.time" |
| | | type="date" |
| | | placeholder="éæ©æ¥æ" |
| | | style="width: 180px;"> |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="5"> |
| | | <el-form-item label="éæ ·æ¹å¼ï¼"> |
| | | <el-select style="width: 180px;" v-model="infoForm.way" size="small" placeholder="éæ ·"> |
| | | <el-option value="é项1"></el-option> |
| | | <el-option value="é项2"></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row :gutter="450"> |
| | | <el-col :span="5"> |
| | | <el-form-item label="éæ ·äººï¼" > |
| | | <el-input style="width: 180px;" v-model="infoForm.sender" placeholder="请è¾å
¥éæ ·äºº" autocomplete="off" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="5"> |
| | | <el-form-item label="éæ ·äººçµè¯ï¼" > |
| | | <el-input style="width: 180px;" v-model="infoForm.sendertel" placeholder="请è¾å
¥éæ ·äººçµè¯" autocomplete="off" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="5"> |
| | | <el-form-item label="æ¥åæ°ï¼"> |
| | | <el-input style="width: 180px;" v-model="infoForm.num" placeholder="请è¾å
¥æ¥åæ°" autocomplete="off" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="5"> |
| | | <el-form-item label="姿夿³¨ï¼"> |
| | | <el-input style="width: 180px;" v-model="infoForm.other" placeholder="夿³¨" autocomplete="off" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | </div> |
| | | </el-form> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | data() { |
| | | return { |
| | | searchData: '', |
| | | infoForm: [{ |
| | | commisioncode: '', |
| | | department: '', |
| | | contacter: '', |
| | | tel: '', |
| | | address: '', |
| | | deadline: '', |
| | | time: '', |
| | | way: '', |
| | | sender: '', |
| | | sendertel: '', |
| | | num: '', |
| | | other: '' |
| | | }] |
| | | } |
| | | }, |
| | | methods: { |
| | | handleSelectionChange(val) { |
| | | console.log(val) |
| | | this.radioSelected = val.number // éä¸è¡çnumber |
| | | this.multipleSelection = val // éä¸çä¸è¡æ°æ® |
| | | }, |
| | | handleSizeChange(pageSize) { |
| | | this.pageParams.pageSize = pageSize |
| | | }, |
| | | handleCurrentChange(pageNo) { |
| | | this.pageParams.pageNo = pageNo |
| | | }, |
| | | headerBg({ row, rowIndex }) { |
| | | console.log('rowIndex', rowIndex) |
| | | if (rowIndex === 0) { |
| | | return 'headerBgClass' |
| | | } |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | |
| | | </style> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div> |
| | | <div v-if="!showDetail"> |
| | | <div class="content-main"> |
| | | <div class="top-bar"> |
| | | <el-form ref="form" :inline="true" :model="searchData"> |
| | | <el-form-item label="å§æç¼å·:" class="sermargin"> |
| | | <el-input |
| | | v-model="searchData.code" |
| | | class="input-form" |
| | | placeholder="请è¾å
¥" |
| | | > |
| | | </el-input> |
| | | </el-form-item> |
| | | <el-form-item label="æ ·ååç§°:" class="sermargin"> |
| | | <el-input |
| | | v-model="searchData.name" |
| | | class="input-form" |
| | | placeholder="请è¾å
¥" |
| | | > |
| | | </el-input> |
| | | </el-form-item> |
| | | <el-form-item label="å§æåä½:" style="margin-right: 20px;"> |
| | | <el-select v-model="searchData.department" placeholder="å
¨é¨"> |
| | | <el-option |
| | | v-for="item in options" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button type="primary">æ¥è¯¢</el-button> |
| | | <el-button type="primary" plain>éç½®</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | <el-form> |
| | | <el-button class="rightBtn" type="primary" @click="goToaddCommision">æ°å¢å§æ</el-button> |
| | | </el-form> |
| | | </div> |
| | | <div class="library-table"> |
| | | <div class="table-header"> |
| | | <div class="search-bar"> |
| | | <el-radio-group v-model="radioValue"> |
| | | <el-radio-button label="å
¨é¨" /> |
| | | <el-radio-button label="å¾
æ£éª" /> |
| | | <el-radio-button label="å·²æ£éª" /> |
| | | </el-radio-group> |
| | | </div> |
| | | <div class="generateInsp"> |
| | | <el-button type="primary" size="mini" icon="el-icon-document" style="background-color: rgb(1, 102, 226);">çææ¥æ£å</el-button> |
| | | </div> |
| | | </div> |
| | | <div class="table-box"> |
| | | <el-table |
| | | ref="commisionTable" |
| | | :max-height="800" |
| | | :cell-style="{textAlign: 'center'}" |
| | | :header-cell-style="{border:'0px',background:'#f5f7fa',color:'#606266',boxShadow: 'inset 0 1px 0 #ebeef5',textAlign: 'center'}" |
| | | :data="commisionTable" |
| | | style="width: 100%" |
| | | > |
| | | <el-table-column |
| | | type="index" |
| | | label="åºå·" |
| | | min-width="10%" |
| | | /> |
| | | <el-table-column |
| | | prop="commisioncode" |
| | | label="å§æç¼å·" |
| | | min-width="8%" |
| | | /> |
| | | <el-table-column |
| | | prop="department" |
| | | label="å§æåä½" |
| | | min-width="10%" |
| | | /> |
| | | <el-table-column |
| | | prop="samplecode" |
| | | label="æ ·åç¼å·" |
| | | min-width="8%" |
| | | /> |
| | | <el-table-column |
| | | prop="samplename" |
| | | label="æ ·ååç§°" |
| | | min-width="8%" |
| | | /> |
| | | <el-table-column |
| | | prop="modelandspecification" |
| | | label="è§æ ¼åå·" |
| | | min-width="10%" |
| | | /> |
| | | <el-table-column |
| | | prop="arrivetime" |
| | | label="éè¾¾æ¶é´" |
| | | min-width="8%" |
| | | /> |
| | | <el-table-column |
| | | prop="deadline" |
| | | label="宿æé" |
| | | min-width="8%" |
| | | /> |
| | | <el-table-column |
| | | prop="person" |
| | | label="å§æç¼å¶äºº" |
| | | min-width="8%" |
| | | /> |
| | | <el-table-column |
| | | prop="checkdate" |
| | | label="æ£éªæ¥æ" |
| | | min-width="8%" |
| | | /> |
| | | <el-table-column |
| | | prop="state" |
| | | label="ç¶æ" |
| | | min-width="8%" |
| | | /> |
| | | <el-table-column |
| | | label="æä½" |
| | | min-width="8%" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-button type="text" size="small" @click="handleClick(scope.row)">å é¤</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <!-- åé¡µå¨ --> |
| | | <div> |
| | | <el-pagination |
| | | @size-change="handleSizeChange" |
| | | @current-change="handleCurrentChange" |
| | | :current-page="currentPage" |
| | | :page-sizes="[100, 200, 300, 400]" |
| | | :page-size="100" |
| | | layout="total, sizes, prev, pager, next, jumper" |
| | | :total="400"> |
| | | </el-pagination> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div v-else> |
| | | <router-view /> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | data() { |
| | | return { |
| | | form: [], |
| | | searchData: { |
| | | code: '', |
| | | name: '', |
| | | department: '' |
| | | }, |
| | | options: [{ |
| | | value: '1', |
| | | label: 'é¨é¨1' |
| | | }, { |
| | | value: '2', |
| | | label: 'é¨é¨2' |
| | | }, { |
| | | value: '3', |
| | | label: 'é¨é¨3' |
| | | }], |
| | | radioValue: '', |
| | | commisionTable: [{ |
| | | commisioncode: 'GW31478631', |
| | | department: 'å½ç½å±±ä¸ççµåæéå
¬å¸', |
| | | samplecode: 'BP214274', |
| | | samplename: 'ç»ç¼æ', |
| | | modelandspecification: 'JLHA/G1A-185/30-26/7', |
| | | arrivetime: '2023-08-01', |
| | | deadline: '2023-08-05', |
| | | person: 'é»å°æ', |
| | | checkdate: '2023-08-02', |
| | | state: 'å·²æ£æµ' |
| | | }, { |
| | | commisioncode: 'GW31478631', |
| | | department: 'å½ç½å±±ä¸ççµåæéå
¬å¸', |
| | | samplecode: 'BP214274', |
| | | samplename: 'ç»ç¼æ', |
| | | modelandspecification: 'JLHA/G1A-185/30-26/7', |
| | | arrivetime: '2023-08-01', |
| | | deadline: '2023-08-05', |
| | | person: 'é»å°æ', |
| | | checkdate: '2023-08-02', |
| | | state: 'å·²æ£æµ' |
| | | }, { |
| | | commisioncode: 'GW31478631', |
| | | department: 'å½ç½å±±ä¸ççµåæéå
¬å¸', |
| | | samplecode: 'BP214274', |
| | | samplename: 'ç»ç¼æ', |
| | | modelandspecification: 'JLHA/G1A-185/30-26/7', |
| | | arrivetime: '2023-08-01', |
| | | deadline: '2023-08-05', |
| | | person: 'é»å°zhi', |
| | | checkdate: '2023-08-02', |
| | | state: 'å·²æ£æµ' |
| | | }], |
| | | currentPage: 0, |
| | | showDetail: false |
| | | } |
| | | }, |
| | | updated() { |
| | | if (this.$router.currentRoute.name === 'AddCommision') { |
| | | // console.log(this.$router.currentRoute.name) |
| | | this.showDetail = true |
| | | } |
| | | }, |
| | | methods: { |
| | | // æ¯é¡µæ¡æ°æ¹åæ¶è§¦å éæ©ä¸é¡µæ¾ç¤ºå¤å°è¡ |
| | | handleSizeChange(val) { |
| | | console.log(`æ¯é¡µ ${val} æ¡`) |
| | | this.currentPage = 1 |
| | | this.pageSize = val |
| | | }, |
| | | // å½å页æ¹åæ¶è§¦å 跳转å
¶ä»é¡µ |
| | | handleCurrentChange(val) { |
| | | console.log(`å½å页: ${val}`) |
| | | this.currentPage = val |
| | | }, |
| | | goToaddCommision() { |
| | | this.$router.push('/inspectionManagement/commissionInspection/addCommision') |
| | | this.showDetail = true |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style scoped> |
| | | |
| | | .top-bar{ |
| | | margin: -25px -15px; |
| | | background: #fff; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | padding: 5px 24px 0px 24px; |
| | | .sermargin{ |
| | | margin-right: 60px; |
| | | } |
| | | } |
| | | .rightBtn{ |
| | | background-color: rgb(1, 102, 226); |
| | | } |
| | | .library-table{ |
| | | background-color: #fff; |
| | | flex: 1; |
| | | margin: 0px -15px; |
| | | margin-top: 40px; |
| | | display: flex; |
| | | flex-direction: column; |
| | | .table-header{ |
| | | padding: 20px; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | .el-form-item{ |
| | | margin-bottom: 30px !important; |
| | | } |
| | | } |
| | | .table-box{ |
| | | padding: 0px 20px; |
| | | margin-top: 0px; |
| | | flex: 1; |
| | | background: #fff; |
| | | /* padding: 20px 20px 10px 20px; */ |
| | | display: flex; |
| | | flex-direction: column; |
| | | .el-table { |
| | | flex: 1; |
| | | } |
| | | >div:nth-child(2){ |
| | | display: flex; |
| | | justify-content: end; |
| | | margin: 10px 0; |
| | | } |
| | | } |
| | | } |
| | | |
| | | </style> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div class="content-main"> |
| | | <div class="top-bar"> |
| | | <el-form ref="form" :inline="true" :model="searchData"> |
| | | <el-form-item label="ææç¼ç :" class="sermargin"> |
| | | <el-input |
| | | v-model="searchData.code" |
| | | class="input-form" |
| | | placeholder="请è¾å
¥" |
| | | > |
| | | </el-input> |
| | | </el-form-item> |
| | | <el-form-item label="ææåç§°:" class="sermargin"> |
| | | <el-input |
| | | v-model="searchData.name" |
| | | class="input-form" |
| | | placeholder="请è¾å
¥" |
| | | > |
| | | </el-input> |
| | | </el-form-item> |
| | | <el-form-item label="ç¶æ:" class="sermargin"> |
| | | <el-select v-model="searchData.state" placeholder="å
¨é¨"> |
| | | <el-option |
| | | v-for="item in options" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="æ¥ææ¥æ:" style="margin-right: 20px;"> |
| | | <el-input |
| | | v-model="searchData.date" |
| | | class="input-form" |
| | | placeholder="请è¾å
¥" |
| | | > |
| | | </el-input> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button type="primary">æ¥è¯¢</el-button> |
| | | <el-button type="primary" plain>éç½®</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | | <div class="library-table"> |
| | | <div class="table-header"> |
| | | <div class="search-bar"> |
| | | <el-radio-group v-model="radioValue"> |
| | | <el-radio-button label="å
¨é¨" /> |
| | | <el-radio-button label="å¾
æ£éª" /> |
| | | <el-radio-button label="å·²æ£éª" /> |
| | | </el-radio-group> |
| | | </div> |
| | | <div class="generateInsp"> |
| | | <el-button type="primary" size="mini" icon="el-icon-document" style="background-color: rgb(1, 102, 226);">çææ¥æ£å</el-button> |
| | | </div> |
| | | </div> |
| | | <div class="table-box"> |
| | | <el-table |
| | | ref="inspectionTable" |
| | | :max-height="800" |
| | | :cell-style="{textAlign: 'center'}" |
| | | :header-cell-style="{border:'0px',background:'#f5f7fa',color:'#606266',boxShadow: 'inset 0 1px 0 #ebeef5',textAlign: 'center'}" |
| | | :data="inspectionTable" |
| | | style="width: 100%" |
| | | > |
| | | <el-table-column |
| | | type="selection" |
| | | label="" |
| | | min-width="10%" |
| | | /> |
| | | <el-table-column |
| | | type="index" |
| | | label="åºå·" |
| | | min-width="8%" |
| | | /> |
| | | <el-table-column |
| | | prop="date" |
| | | label="æ¥ææ¥æ" |
| | | min-width="8%" |
| | | /> |
| | | <el-table-column |
| | | prop="providerName" |
| | | label="ä¾åºååç§°" |
| | | min-width="12%" |
| | | /> |
| | | <el-table-column |
| | | prop="code" |
| | | label="ææç¼ç " |
| | | min-width="8%" |
| | | /> |
| | | <el-table-column |
| | | prop="name" |
| | | label="ææåç§°" |
| | | min-width="8%" |
| | | /> |
| | | <el-table-column |
| | | prop="modelandspecification" |
| | | label="è§æ ¼åå·" |
| | | min-width="12%" |
| | | /> |
| | | <el-table-column |
| | | prop="unit" |
| | | label="åä½" |
| | | min-width="5%" |
| | | /> |
| | | <el-table-column |
| | | prop="amount" |
| | | label="æ°é" |
| | | min-width="5%" |
| | | /> |
| | | <el-table-column |
| | | prop="commisiondate" |
| | | label="æ¥æ£æ¥æ" |
| | | min-width="8%" |
| | | /> |
| | | <el-table-column |
| | | prop="person" |
| | | label="æ£éªäºº" |
| | | min-width="8%" |
| | | /> |
| | | <el-table-column |
| | | prop="checkdate" |
| | | label="æ£éªæ¥æ" |
| | | min-width="8%" |
| | | /> |
| | | <el-table-column |
| | | prop="state" |
| | | label="ç¶æ" |
| | | min-width="8%" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <span :style="{ color: scope.row.state === 'å·²æ£æµ' ? 'green' : 'red' }"> |
| | | {{ scope.row.state }} |
| | | </span> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <!-- åé¡µå¨ --> |
| | | <div> |
| | | <el-pagination |
| | | @size-change="handleSizeChange" |
| | | @current-change="handleCurrentChange" |
| | | :current-page="currentPage" |
| | | :page-sizes="[100, 200, 300, 400]" |
| | | :page-size="100" |
| | | layout="total, sizes, prev, pager, next, jumper" |
| | | :total="400"> |
| | | </el-pagination> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | data() { |
| | | return { |
| | | form: [], |
| | | searchData: { |
| | | code: '', |
| | | name: '', |
| | | state: '', |
| | | date: '' |
| | | }, |
| | | options: [{ |
| | | value: '1', |
| | | label: 'é¨é¨1' |
| | | }, { |
| | | value: '2', |
| | | label: 'é¨é¨2' |
| | | }, { |
| | | value: '3', |
| | | label: 'é¨é¨3' |
| | | }], |
| | | radioValue: '', |
| | | inspectionTable: [{ |
| | | date: '2023-07-28', |
| | | providerName: 'å½ç½å±±ä¸ççµåæéå
¬å¸', |
| | | code: 'BP214274', |
| | | name: 'éå
é¢ç»çº¿', |
| | | modelandspecification: 'JLHA/G1A-185/30-26/7', |
| | | unit: 'å¨', |
| | | amount: '21', |
| | | commisiondate: '2023-08-02', |
| | | person: 'é»å°æ', |
| | | checkdate: '2023-12-09', |
| | | state: 'å·²æ£æµ' |
| | | }, { |
| | | date: '2023-07-28', |
| | | providerName: 'å½ç½å±±ä¸ççµåæéå
¬å¸', |
| | | code: 'BP214274', |
| | | name: 'éå
é¢ç»çº¿', |
| | | modelandspecification: 'JLHA/G1A-185/30-26/7', |
| | | unit: 'å¨', |
| | | amount: '21', |
| | | commisiondate: '2023-08-02', |
| | | person: 'é»å°æ', |
| | | checkdate: '2023-12-09', |
| | | state: 'å¾
æ£æµ' |
| | | }, { |
| | | date: '2023-07-28', |
| | | providerName: 'å½ç½å±±ä¸ççµåæéå
¬å¸', |
| | | code: 'BP214274', |
| | | name: 'éå
é¢ç»çº¿', |
| | | modelandspecification: 'JLHA/G1A-185/30-26/7', |
| | | unit: 'å¨', |
| | | amount: '21', |
| | | commisiondate: '2023-08-02', |
| | | person: 'é»å°æ', |
| | | checkdate: '2023-12-09', |
| | | state: 'å·²æ£æµ' |
| | | }, { |
| | | date: '2023-07-28', |
| | | providerName: 'å½ç½å±±ä¸ççµåæéå
¬å¸', |
| | | code: 'BP214274', |
| | | name: 'éå
é¢ç»çº¿', |
| | | modelandspecification: 'JLHA/G1A-185/30-26/7', |
| | | unit: 'å¨', |
| | | amount: '21', |
| | | commisiondate: '2023-08-02', |
| | | person: 'é»å°æ', |
| | | checkdate: '2023-12-09', |
| | | state: 'å¾
æ£æµ' |
| | | }], |
| | | currentPage: 0 |
| | | } |
| | | }, |
| | | methods: { |
| | | // æ¯é¡µæ¡æ°æ¹åæ¶è§¦å éæ©ä¸é¡µæ¾ç¤ºå¤å°è¡ |
| | | handleSizeChange(val) { |
| | | console.log(`æ¯é¡µ ${val} æ¡`) |
| | | this.currentPage = 1 |
| | | this.pageSize = val |
| | | }, |
| | | // å½å页æ¹åæ¶è§¦å 跳转å
¶ä»é¡µ |
| | | handleCurrentChange(val) { |
| | | console.log(`å½å页: ${val}`) |
| | | this.currentPage = val |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style scoped> |
| | | |
| | | .top-bar{ |
| | | margin: -25px -15px; |
| | | background: #fff; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | padding: 5px 24px 0px 24px; |
| | | .sermargin{ |
| | | margin-right: 60px; |
| | | } |
| | | } |
| | | .rightBtn{ |
| | | background-color: rgb(1, 102, 226); |
| | | } |
| | | .library-table{ |
| | | background-color: #fff; |
| | | flex: 1; |
| | | margin: 0px -15px; |
| | | margin-top: 40px; |
| | | display: flex; |
| | | flex-direction: column; |
| | | .table-header{ |
| | | padding: 20px; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | .el-form-item{ |
| | | margin-bottom: 30px !important; |
| | | } |
| | | } |
| | | .table-box{ |
| | | padding: 0px 20px; |
| | | margin-top: 0px; |
| | | flex: 1; |
| | | background: #fff; |
| | | /* padding: 20px 20px 10px 20px; */ |
| | | display: flex; |
| | | flex-direction: column; |
| | | .el-table { |
| | | flex: 1; |
| | | } |
| | | >div:nth-child(2){ |
| | | display: flex; |
| | | justify-content: end; |
| | | margin: 10px 0; |
| | | } |
| | | } |
| | | } |
| | | .checked { |
| | | color: green; |
| | | } |
| | | |
| | | .unchecked { |
| | | color: red; |
| | | } |
| | | |
| | | </style> |