Merge branch 'dev' of http://114.132.189.42:9002/r/lims-ruoyi-before into dev
| | |
| | | export function upPlanUser2(query) { |
| | | return request({ |
| | | url: '/insOrderPlan/upPlanUser2', |
| | | method: 'post', |
| | | data: query |
| | | method: 'get', |
| | | params: query |
| | | }) |
| | | } |
| | | // æ£éªä¸å |
| | |
| | | return request({ |
| | | url: '/insOrder/upInsOrder', |
| | | method: 'post', |
| | | data: query |
| | | params: query |
| | | }) |
| | | } |
| | | // å°å¾
å®¡æ ¸æ´æ°ææ¤éç¶æ |
| | |
| | | responseType: "blob" |
| | | }) |
| | | } |
| | | // å é¤çç£è®¡å |
| | | // å é¤çæ§è®¡å |
| | | export function delQualitySupervise(query) { |
| | | return request({ |
| | | url: '/qualityMonitor/delQualitySupervise', |
| | |
| | | params: query |
| | | }) |
| | | } |
| | | // æ°å¢çæ§è®¡å详æ
|
| | | export function addQualityMonitorDetail(query) { |
| | | return request({ |
| | | url: '/qualityMonitor/addQualityMonitorDetail', |
| | | method: 'post', |
| | | data: query |
| | | }) |
| | | } |
| | | // ä¿®æ¹çæ§è®¡å详æ
|
| | | export function updateQualityMonitorDetail(query) { |
| | | return request({ |
| | | url: '/qualityMonitor/updateQualityMonitorDetail', |
| | | method: 'post', |
| | | data: query |
| | | }) |
| | | } |
| | | // æ¥è¯¢çæ§è®¡å详æ
宿½ä¿¡æ¯ |
| | | export function getQualityMonitorRatify(query) { |
| | | return request({ |
| | | url: '/qualityMonitor/getQualityMonitorRatify', |
| | | method: 'get', |
| | | params: query |
| | | }) |
| | | } |
| | | // æ°å¢çæ§è®¡å详æ
宿½ä¿¡æ¯ |
| | | export function addQualityMonitorRatify(query) { |
| | | return request({ |
| | | url: '/qualityMonitor/addQualityMonitorRatify', |
| | | method: 'post', |
| | | data: query |
| | | }) |
| | | } |
| | | // æäº¤çæ§è®¡å详æ
æ¹åæè§ |
| | | export function addQualityMonitorRatifyOpinion(query) { |
| | | return request({ |
| | | url: '/qualityMonitor/addQualityMonitorRatifyOpinion', |
| | | method: 'post', |
| | | data: query |
| | | }) |
| | | } |
| | | // æ¥è¯¢çæ§è¯ä»· |
| | | export function getQualityMonitorEvaluate(query) { |
| | | return request({ |
| | | url: '/qualityMonitor/getQualityMonitorEvaluate', |
| | | method: 'get', |
| | | params: query |
| | | }) |
| | | } |
| | | // æ°å¢çæ§è¯ä»·æ¹å |
| | | export function addMonitorEvaluateOpinion(query) { |
| | | return request({ |
| | | url: '/qualityMonitor/addMonitorEvaluateOpinion', |
| | | method: 'post', |
| | | data: query |
| | | }) |
| | | } |
| | | // æ°å¢çæ§è¯ä»· |
| | | export function addQualityMonitorEvaluate(query) { |
| | | return request({ |
| | | url: '/qualityMonitor/addQualityMonitorEvaluate', |
| | | method: 'post', |
| | | data: query |
| | | }) |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | import request from '@/utils/request' |
| | | |
| | | // 设æ½åç¯å¢æ¡ä»¶è¦æ±-çµæºç¨³å®æ§æ¥è¯¢ |
| | | export function getLaboratoryFacilityPowerStablePage(query) { |
| | | return request({ |
| | | url: '/fePowerStable/getLaboratoryFacilityPowerStablePage', |
| | | method: 'get', |
| | | params: query |
| | | }) |
| | | } |
| | | |
| | | // éè¿è®¾å¤åç±»è·å设å¤å表 |
| | | export function deviceScopeSearch(query) { |
| | | return request({ |
| | | url: '/deviceScope/search', |
| | | method: 'get', |
| | | params: query |
| | | }) |
| | | } |
| | | |
| | | // è®¾å¤æ å½¢ |
| | | export function treeDevice(query) { |
| | | return request({ |
| | | url: '/deviceScope/treeDevice', |
| | | method: 'get', |
| | | params: query |
| | | }) |
| | | } |
| | | |
| | | //è·åç¨æ·å表 |
| | | export function selectUserCondition(query) { |
| | | return request({ |
| | | url: "/system/newUser/selectUserCondition", |
| | | method: "get", |
| | | params: query, |
| | | }); |
| | | } |
| | | |
| | | // 设æ½åç¯å¢æ¡ä»¶è¦æ±-çµæºç¨³å®æ§æ°å¢/ä¿®æ¹ |
| | | export function addLaboratoryFacilityPowerStable(query) { |
| | | return request({ |
| | | url: '/fePowerStable/addLaboratoryFacilityPowerStable', |
| | | method: 'post', |
| | | data: query |
| | | }) |
| | | } |
| | | |
| | | // 设æ½åç¯å¢æ¡ä»¶-设æ½åç¯å¢æ¡ä»¶è¦æ±-çµæºç¨³å®æ§-æµå®é å é¤ |
| | | export function deleteFeMeasuredQuantity(query) { |
| | | return request({ |
| | | url: '/fePowerStable/deleteFeMeasuredQuantity', |
| | | method: 'delete', |
| | | params: query |
| | | }) |
| | | } |
| | | |
| | | |
| | |
| | | params: params |
| | | }) |
| | | } |
| | | // è·åå½åç»å½äººåé¨é¨ |
| | | export function selectUserDepartmentLimsName(query) { |
| | | return request({ |
| | | url: '/system/newUser/selectUserDepartmentLimsName', |
| | | method: 'get' |
| | | }) |
| | | } |
| | |
| | | .user-info { |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: end; |
| | | justify-content: flex-end; |
| | | } |
| | | |
| | | .user-content { |
| | |
| | | <el-step title="宿½"></el-step> |
| | | <el-step title="æ¹å"></el-step> |
| | | </el-steps> |
| | | <div style="height: 620px;overflow-y: auto"> |
| | | <div style="height: 520px;overflow-y: auto"> |
| | | <table border="1" cellspacing="10" class="tables"> |
| | | <tr> |
| | | <td class="td-title"> |
| | |
| | | |
| | | <script> |
| | | |
| | | import { |
| | | addQualityMonitorRatify, addQualityMonitorRatifyOpinion, |
| | | getQualityMonitorRatify |
| | | } from "@/api/cnas/process/ensureResultsValidity/qualityMonitor"; |
| | | import {selectUserCondition} from "@/api/business/inspectionTask"; |
| | | |
| | | export default { |
| | | name: 'carryOutDialog', |
| | | // import å¼å
¥çç»ä»¶éè¦æ³¨å
¥å°å¯¹è±¡ä¸æè½ä½¿ç¨ |
| | |
| | | }, |
| | | // æ¥è¯¢çæ§è®¡å详æ
宿½ä¿¡æ¯ |
| | | searchInfo (row) { |
| | | this.$axios.get(this.$api.qualityMonitor.getQualityMonitorRatify + '?qualityMonitorDetailsId=' + row.qualityMonitorDetailsId).then(res => { |
| | | if (res.code === 201) return |
| | | getQualityMonitorRatify({qualityMonitorDetailsId: row.qualityMonitorDetailsId}).then(res => { |
| | | // ædetailsRatifyIdå说ææäº¤è¿å®æ½ä¿¡æ¯ |
| | | if (res.data.detailsRatifyId) { |
| | | // æ¯å¦ç»æ0:æªç»æ, 1:å·²ç»æ |
| | |
| | | }, |
| | | // æäº¤å®æ½ |
| | | addInfo () { |
| | | this.$axios.post(this.$api.qualityMonitor.addQualityMonitorRatify, this.form, { |
| | | headers: { |
| | | "Content-Type": "application/json" |
| | | }, |
| | | noQs: true |
| | | }).then(res => { |
| | | addQualityMonitorRatify(this.form).then(res => { |
| | | this.editLoad = false |
| | | if (res.code === 201) return |
| | | this.$message.success('æä½æå') |
| | |
| | | }, |
| | | // æäº¤æ¹å |
| | | editInfo () { |
| | | this.$axios.post(this.$api.qualityMonitor.addQualityMonitorRatifyOpinion, this.form, { |
| | | headers: { |
| | | "Content-Type": "application/json" |
| | | }, |
| | | noQs: true |
| | | }).then(res => { |
| | | addQualityMonitorRatifyOpinion(this.form).then(res => { |
| | | this.editLoad = false |
| | | if (res.code === 201) return |
| | | this.$message.success('æä½æå') |
| | |
| | | this.$emit('closeCarryOutDia') |
| | | }, |
| | | getAuthorizedPerson() { |
| | | this.$axios.get(this.$api.user.getUserMenu).then(res => { |
| | | let data = [] |
| | | res.data.forEach(a => { |
| | | selectUserCondition({ type: 1 }).then((res) => { |
| | | let data = []; |
| | | res.data.forEach((a) => { |
| | | data.push({ |
| | | label: a.name, |
| | | value: a.id |
| | | }) |
| | | }) |
| | | this.personList = data |
| | | }) |
| | | value: a.id, |
| | | }); |
| | | }); |
| | | this.personList = data; |
| | | }); |
| | | }, |
| | | } |
| | | }; |
| | | </script> |
| | | |
| | | <style scoped> |
| | | >>>.el-dialog { |
| | | margin: 20px auto 50px !important; |
| | | } |
| | | .tables { |
| | | table-layout: fixed; |
| | | width: 100%; |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import { |
| | | addQualityMonitorDetail, |
| | | updateQualityMonitorDetail |
| | | } from "@/api/cnas/process/ensureResultsValidity/qualityMonitor"; |
| | | |
| | | export default { |
| | | name: 'detailFormDialog', |
| | | // import å¼å
¥çç»ä»¶éè¦æ³¨å
¥å°å¯¹è±¡ä¸æè½ä½¿ç¨ |
| | |
| | | let entity = this.HaveJson(this.form) |
| | | entity.qualityMonitorId = this.qualityMonitorId |
| | | this.upLoad = true |
| | | this.$axios.post(this.$api.qualityMonitor.addQualityMonitorDetail, entity, { |
| | | headers: { |
| | | "Content-Type": "application/json" |
| | | }, |
| | | noQs: true |
| | | }).then(res => { |
| | | addQualityMonitorDetail(entity).then(res => { |
| | | this.upLoad = false |
| | | if (res.code === 201) return |
| | | this.$message.success('æ°å¢æå') |
| | |
| | | handleEdit () { |
| | | const entity = this.HaveJson(this.form) |
| | | this.upLoad = true |
| | | this.$axios.post(this.$api.qualityMonitor.updateQualityMonitorDetail, entity, { |
| | | headers: { |
| | | "Content-Type": "application/json" |
| | | }, |
| | | noQs: true |
| | | }).then(res => { |
| | | updateQualityMonitorDetail(entity).then(res => { |
| | | this.upLoad = false |
| | | if (res.code === 201) return |
| | | this.$message.success('ä¿®æ¹æå') |
| | |
| | | |
| | | <script> |
| | | import ViewRecord from './ViewRecord.vue'; |
| | | import { |
| | | addMonitorEvaluateOpinion, addQualityMonitorEvaluate, |
| | | getQualityMonitorEvaluate |
| | | } from "@/api/cnas/process/ensureResultsValidity/qualityMonitor"; |
| | | import {selectUserCondition} from "@/api/business/inspectionTask"; |
| | | import {selectUserDepartmentLimsName} from "@/api/system/user"; |
| | | |
| | | export default { |
| | | name: 'evaluateDialog', |
| | |
| | | // æ¥è¯¢çæ§è®¡å详æ
宿½ä¿¡æ¯ |
| | | searchInfo (row) { |
| | | this.form.qualityMonitorDetailsId = row.qualityMonitorDetailsId |
| | | this.$axios.get(this.$api.qualityMonitor.getQualityMonitorEvaluate + '?qualityMonitorDetailsId=' + row.qualityMonitorDetailsId).then(res => { |
| | | if (res.code === 201) return |
| | | getQualityMonitorEvaluate({qualityMonitorDetailsId: row.qualityMonitorDetailsId}).then(res => { |
| | | if (res.data === null) { |
| | | this.showStep = 0 |
| | | this.currentStep = 0 |
| | |
| | | // æäº¤ |
| | | handleEdit () { |
| | | if (this.currentStep === 2) { |
| | | this.$axios.post(this.$api.qualityMonitor.addMonitorEvaluateOpinion, this.form, { |
| | | headers: { |
| | | "Content-Type": "application/json" |
| | | }, |
| | | noQs: true |
| | | }).then(res => { |
| | | this.editLoad = true |
| | | addMonitorEvaluateOpinion(this.form).then(res => { |
| | | this.editLoad = false |
| | | if (res.code === 201) return |
| | | this.$message.success('æä½æå') |
| | | this.closeEvaDia() |
| | | }).catch(err => { |
| | |
| | | return |
| | | } |
| | | } |
| | | this.$axios.post(this.$api.qualityMonitor.addQualityMonitorEvaluate, this.form, { |
| | | headers: { |
| | | "Content-Type": "application/json" |
| | | }, |
| | | noQs: true |
| | | }).then(res => { |
| | | this.editLoad = true |
| | | addQualityMonitorEvaluate(this.form).then(res => { |
| | | this.editLoad = false |
| | | if (res.code === 201) return |
| | | this.$message.success('æä½æå') |
| | | this.closeEvaDia() |
| | | }).catch(err => { |
| | |
| | | }) |
| | | }, |
| | | getAuthorizedPerson() { |
| | | this.$axios.get(this.$api.user.getUserMenu).then(res => { |
| | | let data = [] |
| | | res.data.forEach(a => { |
| | | selectUserCondition({ type: 1 }).then((res) => { |
| | | let data = []; |
| | | res.data.forEach((a) => { |
| | | data.push({ |
| | | label: a.name, |
| | | value: a.id |
| | | }) |
| | | }) |
| | | this.personList = data |
| | | }) |
| | | value: a.id, |
| | | }); |
| | | }); |
| | | this.personList = data; |
| | | }); |
| | | }, |
| | | getDepartment() { |
| | | this.$axios.get(this.$api.user.selectUserDepartmentLimsName).then(res => { |
| | | if (res.code === 201) return |
| | | selectUserDepartmentLimsName().then(res => { |
| | | this.form.implementDepartment = res.data |
| | | }) |
| | | }, |
| | |
| | | </div> |
| | | <div> |
| | | æ¹åæè§ï¼ |
| | | <el-input v-model="approvalRemarks" :disabled="this.ratifyStatus === 1" type="textarea"></el-input> |
| | | <el-input v-model="ratifyRemark" :disabled="this.ratifyStatus === 1" type="textarea"></el-input> |
| | | </div> |
| | | <span v-if="this.ratifyStatus !== 1" slot="footer" class="dialog-footer"> |
| | | <el-button :loading="lookDialogLoading" @click="handleApproval(0)">䏿¹å</el-button> |
| | |
| | | </el-dialog> |
| | | <el-dialog :visible.sync="downloadDialog" title="导åº" width="600px"> |
| | | <span> |
| | | <el-button plain type="primary" @click="controlDown">宿½è®¡å导åº</el-button> |
| | | <el-button plain type="primary" @click="processingDown">è¯ä»·å¯¼åº</el-button> |
| | | <el-button plain type="primary" :disabled="!download.qualityMonitorDetailsId" @click="controlDown">宿½è®¡å导åº</el-button> |
| | | <el-button plain type="primary" :disabled="!download.qualityMonitorDetailsId" @click="processingDown">è¯ä»·å¯¼åº</el-button> |
| | | </span> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="downloadDialog = false">å æ¶</el-button> |
| | |
| | | </div> |
| | | <div style="margin: 0 auto;"> |
| | | <el-upload ref="upload" :action="action" :auto-upload="false" :file-list="fileList" |
| | | :headers="headers" :limit="1" |
| | | :headers="uploadHeader" :limit="1" |
| | | accept='.jpg,.jpeg,.png,.gif,.doc,.docx,.xls,.xlsx,.ppt,.pptx,.pdf,.zip,.rar' |
| | | :on-change="beforeUpload" :on-error="onError" :on-success="handleSuccessUp" drag |
| | | :data="{planYear: planYear, examineUserId: examineUserId}" |
| | |
| | | </el-dialog> |
| | | <!--çææ¥åå¼¹æ¡--> |
| | | <el-dialog :visible.sync="uploadDia1" title="çææ¥å" width="500px"> |
| | | <div v-if="approvalRemarks"> |
| | | <div v-if="ratifyRemark"> |
| | | æ¹åæè§ï¼ |
| | | <el-input v-model="approvalRemarks" :disabled="this.ratifyStatus === 1" type="textarea"></el-input> |
| | | <el-input v-model="ratifyRemark" :disabled="this.ratifyStatus === 1" type="textarea"></el-input> |
| | | </div> |
| | | <div style="margin: 0 auto;"> |
| | | <el-upload ref="upload1" :action="action1" :auto-upload="false" |
| | | :data="{qualityMonitorDetailsId: qualityMonitorDetailsId}" :file-list="fileList1" :headers="headers" |
| | | <el-upload ref="upload1" :action="action1" :auto-upload="false" :data="{qualityMonitorDetailsId: qualityMonitorDetailsId}" :file-list="fileList1" :headers="uploadHeader" |
| | | :limit="1" |
| | | :on-change="beforeUpload1" :on-error="onError1" :on-success="onSuccess1" accept='.doc,.docx' |
| | | drag |
| | |
| | | ratifyQualityMonitor |
| | | } from "@/api/cnas/process/ensureResultsValidity/qualityMonitor"; |
| | | import {selectUserCondition} from "@/api/performance/class"; |
| | | import {getToken} from "@/utils/auth"; |
| | | import {mapGetters} from "vuex"; |
| | | |
| | | export default { |
| | | name: 'a7-Ensure-results-validity', |
| | |
| | | name: 'å®¡æ ¸', |
| | | type: 'text', |
| | | disabled: (row) => { |
| | | if (row.examineStatus === 1 || JSON.parse(localStorage.getItem("user")).userId != row.examineUserId) { |
| | | if (row.examineStatus === 1 || this.userId != row.examineUserId) { |
| | | return true |
| | | } else { |
| | | return false |
| | |
| | | name: 'æ¹å', |
| | | type: 'text', |
| | | disabled: (row) => { |
| | | if (row.ratifyStatus === 1 || row.examineStatus !== 1 || JSON.parse(localStorage.getItem("user")).userId != row.ratifyUserId) { |
| | | if (row.ratifyStatus === 1 || row.examineStatus !== 1 || this.userId != row.ratifyUserId) { |
| | | return true |
| | | } else { |
| | | return false |
| | |
| | | currentInfo: {}, |
| | | qualityMonitorDetailsId: '', |
| | | ratifyStatus: '', |
| | | approvalRemarks: '', |
| | | ratifyRemark: '', |
| | | downloadDialog: false, |
| | | download: {}, |
| | | planYear: '', |
| | | headers: { |
| | | Authorization: "Bearer " + getToken(), |
| | | }, |
| | | planYear: '' |
| | | }; |
| | | }, |
| | | mounted() { |
| | |
| | | handleApproval (status) { |
| | | const personTrainingUpdateDto = { |
| | | qualityMonitorDetailsId: this.currentInfo.qualityMonitorDetailsId, |
| | | ratifyRemark: this.approvalRemarks, |
| | | ratifyRemark: this.ratifyRemark, |
| | | ratifyStatus: status |
| | | } |
| | | this.lookDialogLoading = true |
| | |
| | | this.carryOutDia = false |
| | | this.getYearDetailPlanList() |
| | | }, |
| | | // æå¼æ¥åå¼¹æ¡ |
| | | // æå¼å®ææ¥åå¼¹æ¡ |
| | | record (row) { |
| | | this.qualityMonitorDetailsId = row.qualityMonitorDetailsId |
| | | this.approvalRemarks = row.approvalRemarks |
| | | this.ratifyRemark = row.ratifyRemark |
| | | if (row.finishReportUrl) { |
| | | this.currentInfo = row |
| | | this.ratifyStatus = row.ratifyStatus |
| | |
| | | }, |
| | | // ç¨äºä¸ä¼ æä»¶çä¿¡æ¯ |
| | | computed: { |
| | | ...mapGetters(["userId"]), |
| | | action() { |
| | | return this.javaApi + '/qualityMonitor/importQualityMonitor' |
| | | }, |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import { |
| | | getLaboratoryFacilityPowerStablePage, |
| | | deviceScopeSearch, |
| | | treeDevice, |
| | | selectUserCondition, |
| | | addLaboratoryFacilityPowerStable, |
| | | deleteFeMeasuredQuantity |
| | | } from '@/api/cnas/resourceDemand/facilitiesEnvironment/facilitiesAndEnvironment' |
| | | |
| | | export default { |
| | | data() { |
| | | return { |
| | | search: { |
| | | size: 20, |
| | | size: 10, |
| | | current: 1, |
| | | total: 0 |
| | | }, |
| | |
| | | methods: { |
| | | // åå§åè°ç¨ |
| | | initData() { |
| | | this.$axios.get(this.$api.facilitiesAndEnvironment.getLaboratoryFacilityPowerStablePage + '?size=' + this.search.size + '¤t=' + this.search.current).then(res => { |
| | | if (res.code === 201) return; |
| | | this.tableData = res.data.records; |
| | | this.search.total = res.data.total; |
| | | }); |
| | | getLaboratoryFacilityPowerStablePage({ |
| | | ...this.search |
| | | }).then(res => { |
| | | if (res.code === 200){ |
| | | this.tableData = res.data.records; |
| | | this.search.total = res.data.total; |
| | | } |
| | | }) |
| | | }, |
| | | handleSizeChange(val) { |
| | | this.search.size = val; |
| | |
| | | // è·åææè®¾å¤ |
| | | getEquipOptions() { |
| | | this.equipOptions = [] |
| | | this.$axios.get(this.$api.deviceScope.deviceScopeSearch+'?status=0').then(res => { |
| | | deviceScopeSearch({status:'0'}).then(res => { |
| | | if (res.code === 200 && res.data) { |
| | | this.equipOptions = res.data |
| | | } |
| | |
| | | }, |
| | | // çµæºç¨³å®æ§-æå¼å¼¹æ¡è°ç¨è®¾å¤æ¥å£ï¼æ¥è¯¢ä½¿ç¨çè®¾å¤ |
| | | openDialog() { |
| | | this.$axios.get(this.$api.deviceScope.treeDevice).then(res => { |
| | | treeDevice().then(res => { |
| | | this.cascaderList = res.data; |
| | | }); |
| | | }) |
| | | this.$nextTick(() => { |
| | | this.$refs['form'].clearValidate() |
| | | }) |
| | |
| | | this.submitLoading = true |
| | | this.$refs.form.validate((valid) => { |
| | | if (valid) { |
| | | this.$axios.post(this.$api.facilitiesAndEnvironment.addLaboratoryFacilityPowerStable, this.form, { |
| | | headers: { |
| | | 'Content-Type': 'application/json' |
| | | } |
| | | }).then(res => { |
| | | addLaboratoryFacilityPowerStable(this.form).then(res => { |
| | | this.submitLoading = false |
| | | if (res.code === 200) { |
| | | this.initData() |
| | |
| | | }, |
| | | // è·åè´è´£äººä¿¡æ¯æ¥å£ |
| | | getUserList() { |
| | | this.$axios.get(this.$api.deviceScope.selectUserList).then(res => { |
| | | selectUserCondition().then(res => { |
| | | if (res.code == 200) { |
| | | this.responsibleOptions = res.data |
| | | let data = [] |
| | | res.data.forEach(a => { |
| | | data.push({ |
| | | id: a.id, |
| | | name: a.name |
| | | }) |
| | | }) |
| | | this.responsibleOptions = data |
| | | } |
| | | }) |
| | | }, |
| | |
| | | <el-button v-if="typeSource == 1" size="small" type="primary" @click="openPurchase">è¿è´§éªè¯</el-button> |
| | | <el-button v-if="state == 1 && typeSource == 1" size="small" type="primary" @click="openUnPassDialog('add')">ä¸åæ ¼å¤ç</el-button> |
| | | <el-button size="small" type="primary" @click="sampleVisible = true;uploadSample();">æ ·å忢</el-button> |
| | | <el-button v-if="state == 1" size="small" type="primary" @click="taskVisible = true">ä»»å¡åæ¢</el-button> |
| | | <!-- <el-button v-if="state == 1" size="small" type="primary" @click="taskVisible = true">ä»»å¡åæ¢</el-button>--> |
| | | <el-button v-if="state == 1" size="small" type="primary" @click="addVerifyDia = true">æäº¤</el-button> |
| | | <!-- 夿 ¸ --> |
| | | <el-button v-if="state == 2" size="medium" type="primary" @click="openAddCheck">éè¿</el-button> |
| | |
| | | size="medium" style="margin-right: 5px">{{ item.label }}</el-tag> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="æ£éªäºº" min-width="80px" prop="checkName" show-overflow-tooltip></el-table-column> |
| | | <el-table-column align="center" label="æ¯å¦çæ ·" prop="isLeave" show-overflow-tooltip width="95px"> |
| | | <template slot-scope="scope"> |
| | | <span>{{ scope.row.isLeave == 0 ? "å¦" : "æ¯" }}</span> |
| | |
| | | this.getAuthorizedPerson(); |
| | | // this.getPower(); |
| | | this.startWorker(); |
| | | this.getList0() |
| | | // this.getList0() // ä»»å¡åæ¢ |
| | | this.scrollInit(); |
| | | }, |
| | | watch: { |
| | |
| | | |
| | | }, |
| | | goBack () { |
| | | const obj = { path: "/business/materialOrder" }; |
| | | this.$tab.closeOpenPage(obj); |
| | | this.$router.go(-1) |
| | | } |
| | | } |
| | | } |
| | |
| | | return row[property] === value; |
| | | }, |
| | | goBack () { |
| | | const obj = { path: "/business/materialOrder" }; |
| | | this.$tab.closeOpenPage(obj); |
| | | this.$router.go(-1) |
| | | } |
| | | } |
| | | } |
| | |
| | | this.productList0.splice(index,1) |
| | | }, |
| | | goBack () { |
| | | const obj = { path: "/business/productOrder" }; |
| | | this.$tab.closeOpenPage(obj); |
| | | this.$router.go(-1) |
| | | } |
| | | } |
| | | } |
| | |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="å½å±é¨é¨" prop="deptId"> |
| | | <treeselect v-model="form.deptId" :options="enabledDeptOptions" :show-count="true" placeholder="è¯·éæ©å½å±é¨é¨" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="12"> |