¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div class="app-container"> |
| | | |
| | | <el-row :gutter="10" class="mb8"> |
| | | <el-col :span="1.5"> |
| | | <el-button |
| | | type="info" |
| | | plain |
| | | icon="Upload" |
| | | @click="handleImport" |
| | | v-hasPermi="['weldSeam:weldSeam:import']" |
| | | >导å
¥</el-button> |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <el-button |
| | | type="warning" |
| | | plain |
| | | icon="Download" |
| | | @click="handleExport" |
| | | v-hasPermi="['weldSeam:weldSeam:export']" |
| | | >导åº</el-button> |
| | | </el-col> |
| | | <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar> |
| | | </el-row> |
| | | |
| | | <HxlhTable |
| | | style="width: 100%" |
| | | :columns="columns" |
| | | :data="dataList" |
| | | :loading="loading" |
| | | :height="height" |
| | | @on-checkbox="handleCheckboxChange" |
| | | > |
| | | <template #buttons="{row}"> |
| | | <vxe-button mode="text" @click="viewEvent(row)">ç¼è¾</vxe-button> |
| | | </template> |
| | | </HxlhTable> |
| | | |
| | | <!-- 导å
¥å¯¹è¯æ¡ --> |
| | | <el-dialog :title="upload.title" v-model="upload.open" width="90%" append-to-body @close="dialogCancel"> |
| | | <el-row :gutter="10"> |
| | | <el-col> |
| | | <div style="border-bottom: 1px solid #ccc;" > |
| | | <p>ä¸ä¼ Excelæä»¶ï¼å
å«çç¼å·¥åä¿¡æ¯ãç³»ç»å°è§£ææ°æ®å¹¶ä¿åå°æ¬å°ï¼ç¨äºå
³èå°çç¼è®¡åä¸ã</p> |
| | | </div> |
| | | </el-col> |
| | | <el-col > |
| | | <div></div> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col> |
| | | <el-upload ref="uploadRef" :limit="1" accept=".xlsx, .xls" :headers="upload.headers" :action="upload.url + '?updateSupport=' + upload.updateSupport" :disabled="upload.isUploading" :on-progress="handleFileUploadProgress" :on-success="handleFileSuccess" :auto-upload="true" drag> |
| | | <el-icon class="el-icon--upload"><upload-filled /></el-icon> |
| | | <div class="el-upload__text">å°æä»¶æå°æ¤å¤ï¼æ<em>ç¹å»ä¸ä¼ </em></div> |
| | | <template #tip> |
| | | <div class="el-upload__tip"> |
| | | <span>ä»
å
许导å
¥xlsãxlsxæ ¼å¼æä»¶ã</span> |
| | | </div> |
| | | </template> |
| | | </el-upload> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col style="margin-top: 20px;"> |
| | | <div v-show="isVisible"> |
| | | <el-alert icon="Check" :show-icon="true" title="çç¼å·¥åæ°æ®å·²æåè§£æ" type="success" :closable="false"/> |
| | | </div> |
| | | <div v-show="isError"> |
| | | <el-alert icon="Close" :show-icon="true" title="çç¼å·¥åæ°æ®å·²è§£æå¤±è´¥" type="error" :closable="false"/> |
| | | </div> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row v-show="isVisible"> |
| | | <el-col> |
| | | <div> |
| | | <h2>æ°æ®é¢è§</h2> |
| | | </div> |
| | | <HxlhTable |
| | | style="width: 100%" |
| | | :columns="exampleColumns" |
| | | :data="exampleList" |
| | | :loading="loading" |
| | | :maxHeight="exampleHeight" |
| | | > |
| | | </HxlhTable> |
| | | </el-col> |
| | | <el-col> |
| | | <div style="text-align: right;"> |
| | | <h4>å
±ä¸ä¼ <span style="color: blue;">{{ total }}</span>æ¡çç¼å·¥åæ°æ®</h4> |
| | | </div> |
| | | </el-col> |
| | | </el-row> |
| | | <template #footer> |
| | | <div class="dialog-footer"> |
| | | <el-button |
| | | type="success" |
| | | plain |
| | | icon="Check" |
| | | :disabled="planned" |
| | | @click="uploadParse" |
| | | v-hasPermi="['weldSeam:weldSeam:confirmPart']" |
| | | >确认ä¸ä¼ </el-button> |
| | | <el-button @click="dialogCancel">å æ¶</el-button> |
| | | </div> |
| | | </template> |
| | | </el-dialog> |
| | | |
| | | <!-- æ·»å æä¿®æ¹çç¼å¯¹è¯æ¡ --> |
| | | <el-dialog :title="title" v-model="open" width="700px" append-to-body> |
| | | <el-form ref="weldSeamRef" :model="form" :rules="rules" label-width="150px"> |
| | | <el-form-item label="年份" prop="year"> |
| | | <el-input v-model="form.year" placeholder="年份" :disabled="isDisabled"/> |
| | | </el-form-item> |
| | | <el-form-item label="æä»½" prop="month"> |
| | | <el-input v-model="form.month" placeholder="æä»½" :disabled="isDisabled"/> |
| | | </el-form-item> |
| | | <el-form-item label="ç产åºå°" prop="productionBase"> |
| | | <el-input v-model="form.productionBase" placeholder="ç产åºå°" :disabled="isDisabled"/> |
| | | </el-form-item> |
| | | <el-form-item label="管路订åéæ±" prop="pipingOrderRequirement"> |
| | | <el-input v-model="form.pipingOrderRequirement" placeholder="管路订åéæ±" :disabled="isDisabled"/> |
| | | </el-form-item> |
| | | <el-form-item label="æ°æè®¢åéæ±" prop="gasOrderRequirement"> |
| | | <el-input v-model="form.gasOrderRequirement" placeholder="æ°æè®¢åéæ±" :disabled="isDisabled"/> |
| | | </el-form-item> |
| | | <el-form-item label="ç®¡è·¯é¢æµéæ±" prop="pipingPredictionRequirement"> |
| | | <el-input v-model="form.pipingPredictionRequirement" placeholder="ç®¡è·¯é¢æµéæ±" :disabled="isDisabled"/> |
| | | </el-form-item> |
| | | <el-form-item label="æ°æé¢æµéæ±" prop="gasPredictionRequirement"> |
| | | <el-input v-model="form.gasPredictionRequirement" placeholder="æ°æé¢æµéæ±" :disabled="isDisabled"/> |
| | | </el-form-item> |
| | | <el-form-item label="é¢çç´§æ¥è®¢å产åº" prop="reserveEmergencyOrderOutput"> |
| | | <el-input v-model="form.reserveEmergencyOrderOutput" placeholder="请è¾é¢çç´§æ¥è®¢å产åº" :disabled="isDisabled"/> |
| | | </el-form-item> |
| | | <el-form-item label="å计" prop="total"> |
| | | <el-input v-model="form.total" placeholder="请è¾å
¥å计" :disabled="isDisabled"/> |
| | | </el-form-item> |
| | | <el-form-item label="天æ°" prop="produceMonth"> |
| | | <el-input v-model="form.produceMonth" placeholder="请è¾å
¥å¤©æ°" :disabled="isDisabled"/> |
| | | </el-form-item> |
| | | <el-form-item label="éæ±æ¥çç¼" prop="requirementDayWeldSeam"> |
| | | <el-date-picker clearable |
| | | v-model="form.requirementDayWeldSeam" |
| | | type="date" |
| | | value-format="YYYY-MM-DD" |
| | | placeholder="è¯·éæ©éæ±æ¥çç¼æ¥æ" :disabled="isDisabled"> |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | <el-form-item label="ç产æ¥çç¼" prop="productionDayWeldSeam"> |
| | | <el-date-picker clearable |
| | | v-model="form.productionDayWeldSeam" |
| | | type="date" |
| | | value-format="YYYY-MM-DD" |
| | | placeholder="è¯·éæ©ç产æ¥çç¼æ¥æ"> |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | <el-form-item label="æ¯å¦æ»¡è¶³" prop="isSatisfy"> |
| | | <el-input v-model="form.isSatisfy" placeholder="请è¾å
¥æ¯å¦æ»¡è¶³" :disabled="isDisabled"/> |
| | | </el-form-item> |
| | | </el-form> |
| | | <template #footer> |
| | | <div class="dialog-footer"> |
| | | <el-button type="primary" @click="submitForm">ç¡® å®</el-button> |
| | | <el-button @click="cancel">å æ¶</el-button> |
| | | </div> |
| | | </template> |
| | | </el-dialog> |
| | | </div> |
| | | </template> |
| | | |
| | | <script setup name="WeldSeam"> |
| | | import { listWeldSeam, getWeldSeam, delWeldSeam, addWeldSeam, updateWeldSeam ,examplePlan ,confirmWeldSeam ,query} from "@/api/mainPlan/weldSeam/weldSeam"; |
| | | import { getToken } from "@/utils/auth"; |
| | | import HxlhTable from '@/components/HxlhTable' |
| | | import { ref } from "vue"; |
| | | |
| | | const { proxy } = getCurrentInstance(); |
| | | |
| | | const open = ref(false); |
| | | const loading = ref(true); |
| | | const showSearch = ref(true); |
| | | const ids = ref([]); |
| | | const single = ref(true); |
| | | const multiple = ref(true); |
| | | const total = ref(0); |
| | | const title = ref(""); |
| | | const daterangeThisFeedbackDay = ref([]); |
| | | const daterangeMaterialsRequirementDay = ref([]); |
| | | const isVisible = ref(false); |
| | | const isError = ref(false); |
| | | const planned = ref(true); |
| | | const height = ref(document.documentElement.clientHeight - 210 + "px;") |
| | | const exampleHeight = ref("500px"); |
| | | const uploadRef = ref(); |
| | | const exampleList = ref([]); |
| | | const batchNumber = ref(null); |
| | | const dataList = ref([]); |
| | | const isDisabled = ref(true); |
| | | |
| | | /** 导å
¥åæ° */ |
| | | const upload = reactive({ |
| | | // æ¯å¦æ¾ç¤ºå¼¹åºå±ï¼ç¨æ·å¯¼å
¥ï¼ |
| | | open: false, |
| | | // å¼¹åºå±æ é¢ï¼ç¨æ·å¯¼å
¥ï¼ |
| | | title: "", |
| | | // æ¯å¦ç¦ç¨ä¸ä¼ |
| | | isUploading: false, |
| | | // æ¯å¦æ´æ°å·²ç»åå¨çç¨æ·æ°æ® |
| | | updateSupport: 0, |
| | | // 设置ä¸ä¼ ç请æ±å¤´é¨ |
| | | headers: { Authorization: "Bearer " + getToken() }, |
| | | // ä¸ä¼ çå°å |
| | | url: import.meta.env.VITE_APP_BASE_API + "/aps/weldSeam/importData" |
| | | }); |
| | | |
| | | // è¡¨æ ¼é
ç½® |
| | | const columns = ref([ |
| | | { type: 'seq', title: 'åºå·', width: 60 }, |
| | | { |
| | | title: '年份', |
| | | field: 'year', |
| | | width: 100, |
| | | }, |
| | | { |
| | | title: 'æä»½', |
| | | field: 'month', |
| | | width: 80, |
| | | }, |
| | | { |
| | | title: 'ç产åºå°', |
| | | field: 'productionBase', |
| | | width: 150, |
| | | }, |
| | | { |
| | | title: '订åéæ±', |
| | | field: 'order', |
| | | children: [ |
| | | { field: 'pipingOrderRequirement', title: '管路', width: 140 }, |
| | | { field: 'gasOrderRequirement', title: 'æ°æ', width: 120 }, |
| | | ], |
| | | width: 150, |
| | | }, |
| | | { |
| | | title: '颿µéæ±', |
| | | field: 'info', |
| | | children: [ |
| | | { field: 'pipingPredictionRequirement', title: '管路', width: 140 }, |
| | | { field: 'gasPredictionRequirement', title: 'æ°æ', width: 120 }, |
| | | ], |
| | | width: 150, |
| | | }, |
| | | { |
| | | title: 'é¢çç´§æ¥è®¢å产åº', |
| | | field: 'reserveEmergencyOrderOutput', |
| | | width: 150, |
| | | }, |
| | | { |
| | | title: 'å计', |
| | | field: 'total', |
| | | width: 150, |
| | | }, |
| | | { |
| | | title: '天æ°', |
| | | field: 'days', |
| | | width: 150, |
| | | }, |
| | | { |
| | | title: 'éæ±æ¥çç¼', |
| | | field: 'requirementDayWeldSeam', |
| | | width: 100, |
| | | }, |
| | | { |
| | | title: 'ç产æ¥çç¼', |
| | | field: 'productionDayWeldSeam', |
| | | width: 150, |
| | | }, |
| | | { |
| | | title: 'æ¯å¦æ»¡è¶³', |
| | | field: 'isSatisfy', |
| | | width: 150, |
| | | }, |
| | | { title: 'æä½', width: 100, fixed:"right", slots: { default: 'buttons' } } |
| | | ]); |
| | | |
| | | // è¡¨æ ¼é
ç½® |
| | | const exampleColumns = ref([ |
| | | { type: 'seq', title: 'åºå·', width: 60 }, |
| | | { |
| | | title: 'å·¥åç±»å', |
| | | field: 'workOrderType', |
| | | width: 100, |
| | | }, |
| | | /* { |
| | | title: '卿¥', |
| | | field: 'weekDay', |
| | | width: 100, |
| | | formatter: (({ cellValue, row, column }) => { |
| | | if (cellValue) { |
| | | const weekDay = new Date(cellValue); |
| | | const year = weekDay.getFullYear(); |
| | | const month = String(weekDay.getMonth() + 1).padStart(2, '0'); |
| | | const day = String(weekDay.getDate()).padStart(2, '0'); |
| | | return `${month}-${day}`; |
| | | } |
| | | return ''; |
| | | }) |
| | | }, */ |
| | | { |
| | | title: 'ç©æç¼ç ', |
| | | field: 'materialCode', |
| | | width: 80, |
| | | }, |
| | | { |
| | | title: '客æ·å¾å·', |
| | | field: 'customerDrawingNumber', |
| | | width: 150, |
| | | }, |
| | | { |
| | | title: 'ç»ç»è´¦å·', |
| | | field: 'organizeNumber', |
| | | width: 150, |
| | | }, |
| | | { |
| | | title: 'ç产åºå°', |
| | | field: 'productionBase', |
| | | width: 200, |
| | | }, |
| | | { |
| | | title: 'åç±»(æ°æ/管路)', |
| | | field: 'classification', |
| | | width: 150, |
| | | }, |
| | | { |
| | | title: 'ç产年份', |
| | | field: 'produceYear', |
| | | width: 150, |
| | | }, |
| | | { |
| | | title: 'ç产æä»½', |
| | | field: 'produceMonth', |
| | | width: 150, |
| | | }, |
| | | { |
| | | title: 'çææ°é', |
| | | field: 'productionQuantity', |
| | | width: 100, |
| | | }, |
| | | { |
| | | title: '客æ·', |
| | | field: 'customer', |
| | | width: 150, |
| | | }, |
| | | { |
| | | title: 'åä»¶çç¼', |
| | | field: 'singleWeldSeam', |
| | | width: 150, |
| | | }, |
| | | { |
| | | title: 'æ»çç¼', |
| | | field: 'totalWeldSeam', |
| | | width: 100, |
| | | }, |
| | | { |
| | | title: 'æ¬æ¬¡å馿¥æ', |
| | | field: 'thisFeedbackDay', |
| | | width: 100, |
| | | }, |
| | | { |
| | | title: 'ç©æéæ±æ¥æ', |
| | | field: 'materialsRequirementDay', |
| | | width: 100, |
| | | }, |
| | | { |
| | | title: 'éå®è®¢åå·', |
| | | field: 'saleOrderNo', |
| | | width: 150, |
| | | }, |
| | | { |
| | | title: 'éå®è®¢åè¡', |
| | | field: 'saleOrderLine', |
| | | width: 150, |
| | | }, |
| | | { |
| | | title: '主工åå·', |
| | | field: 'mainWorkOrderNo', |
| | | width: 100, |
| | | }, |
| | | { |
| | | title: 'ä¸çº§å·¥åå·', |
| | | field: 'superiorWorkOrderNo', |
| | | width: 100, |
| | | }, |
| | | { |
| | | title: 'å·¥åå·', |
| | | field: 'workOrderNo', |
| | | width: 100, |
| | | }, |
| | | ]); |
| | | |
| | | const data = reactive({ |
| | | form: {}, |
| | | queryParams: { |
| | | pageNum: 1, |
| | | pageSize: 10, |
| | | workOrderType: null, |
| | | materialCode: null, |
| | | customerDrawingNumber: null, |
| | | organizeNumber: null, |
| | | productionBase: null, |
| | | classification: null, |
| | | produceYear: null, |
| | | produceMonth: null, |
| | | productionQuantity: null, |
| | | customer: null, |
| | | singleWeldSeam: null, |
| | | totalWeldSeam: null, |
| | | thisFeedbackDay: null, |
| | | materialsRequirementDay: null, |
| | | saleOrderNo: null, |
| | | saleOrderLine: null, |
| | | mainWorkOrderNo: null, |
| | | superiorWorkOrderNo: null, |
| | | workOrderNo: null, |
| | | plant: null, |
| | | batchNumber: null |
| | | }, |
| | | rules: { |
| | | } |
| | | }); |
| | | |
| | | const { queryParams, form, rules } = toRefs(data); |
| | | |
| | | /** æ¥è¯¢çç¼å表 */ |
| | | function getList() { |
| | | loading.value = true; |
| | | query(queryParams.value).then(response => { |
| | | console.log(response); |
| | | dataList.value = response.rows; |
| | | loading.value = false; |
| | | }); |
| | | } |
| | | |
| | | // åæ¶æé® |
| | | function cancel() { |
| | | open.value = false; |
| | | reset(); |
| | | } |
| | | |
| | | // 表åéç½® |
| | | function reset() { |
| | | form.value = { |
| | | workOrderType: null, |
| | | materialCode: null, |
| | | customerDrawingNumber: null, |
| | | organizeNumber: null, |
| | | productionBase: null, |
| | | classification: null, |
| | | produceYear: null, |
| | | produceMonth: null, |
| | | productionQuantity: null, |
| | | customer: null, |
| | | singleWeldSeam: null, |
| | | totalWeldSeam: null, |
| | | thisFeedbackDay: null, |
| | | materialsRequirementDay: null, |
| | | saleOrderNo: null, |
| | | saleOrderLine: null, |
| | | mainWorkOrderNo: null, |
| | | superiorWorkOrderNo: null, |
| | | workOrderNo: null, |
| | | plant: null |
| | | }; |
| | | proxy.resetForm("weldSeamRef"); |
| | | } |
| | | |
| | | /** æç´¢æé®æä½ */ |
| | | function handleQuery() { |
| | | queryParams.value.pageNum = 1; |
| | | getList(); |
| | | } |
| | | |
| | | /** éç½®æé®æä½ */ |
| | | function resetQuery() { |
| | | daterangeThisFeedbackDay.value = []; |
| | | daterangeMaterialsRequirementDay.value = []; |
| | | proxy.resetForm("queryRef"); |
| | | handleQuery(); |
| | | } |
| | | |
| | | // å¤éæ¡é䏿°æ® |
| | | function handleSelectionChange(selection) { |
| | | ids.value = selection.map(item => item.id); |
| | | single.value = selection.length != 1; |
| | | multiple.value = !selection.length; |
| | | } |
| | | |
| | | /** æ°å¢æé®æä½ */ |
| | | function handleAdd() { |
| | | reset(); |
| | | open.value = true; |
| | | title.value = "æ·»å çç¼"; |
| | | } |
| | | |
| | | /** ä¿®æ¹æé®æä½ */ |
| | | function handleUpdate(row) { |
| | | reset(); |
| | | const _id = row.id || ids.value |
| | | getWeldSeam(_id).then(response => { |
| | | form.value = response.data; |
| | | open.value = true; |
| | | title.value = "ä¿®æ¹çç¼"; |
| | | }); |
| | | } |
| | | |
| | | /** æäº¤æé® */ |
| | | function submitForm() { |
| | | proxy.$refs["weldSeamRef"].validate(valid => { |
| | | if (valid) { |
| | | if (form.value.id != null) { |
| | | updateWeldSeam(form.value).then(response => { |
| | | proxy.$modal.msgSuccess("ä¿®æ¹æå"); |
| | | open.value = false; |
| | | getList(); |
| | | }); |
| | | } else { |
| | | addWeldSeam(form.value).then(response => { |
| | | proxy.$modal.msgSuccess("æ°å¢æå"); |
| | | open.value = false; |
| | | getList(); |
| | | }); |
| | | } |
| | | } |
| | | }); |
| | | } |
| | | |
| | | /** å é¤æé®æä½ */ |
| | | function handleDelete(row) { |
| | | const _ids = row.id || ids.value; |
| | | proxy.$modal.confirm('æ¯å¦ç¡®è®¤å é¤çç¼ç¼å·ä¸º"' + _ids + '"çæ°æ®é¡¹ï¼').then(function() { |
| | | return delWeldSeam(_ids); |
| | | }).then(() => { |
| | | getList(); |
| | | proxy.$modal.msgSuccess("å 餿å"); |
| | | }).catch(() => {}); |
| | | } |
| | | |
| | | /** 导å
¥æé®æä½ */ |
| | | function handleImport() { |
| | | upload.title = "çç¼å·¥åæ°æ®ä¸ä¼ "; |
| | | upload.open = true; |
| | | }; |
| | | |
| | | /** å¯¼åºæé®æä½ */ |
| | | function handleExport() { |
| | | proxy.download('weldSeam/weldSeam/export', { |
| | | ...queryParams.value |
| | | }, `weldSeam_${new Date().getTime()}.xlsx`) |
| | | } |
| | | |
| | | /** dialogåæ¶ */ |
| | | function dialogCancel(){ |
| | | if (uploadRef.value) { |
| | | uploadRef.value.clearFiles(); |
| | | } |
| | | isVisible.value = false; |
| | | isError.value = false; |
| | | planned.value = true; |
| | | upload.open = false; |
| | | upload.isUploading = false; |
| | | } |
| | | |
| | | /**æä»¶ä¸ä¼ ä¸å¤ç */ |
| | | const handleFileUploadProgress = (event, file, fileList) => { |
| | | upload.isUploading = true; |
| | | }; |
| | | |
| | | /** æä»¶ä¸ä¼ æåå¤ç */ |
| | | const handleFileSuccess = (response, file, fileList) => { |
| | | if(response.code == '200'){ |
| | | batchNumber.value = response.data; |
| | | isVisible.value = true; |
| | | planned.value = false; |
| | | isError.value = false; |
| | | getExampleList(); |
| | | }else{ |
| | | isError.value = true; |
| | | proxy.$alert("<div style='overflow: auto;overflow-x: hidden;max-height: 70vh;padding: 10px 20px 0;'>" + response.msg + "</div>", "导å
¥ç»æ", { dangerouslyUseHTMLString: true }); |
| | | } |
| | | proxy.$refs["uploadRef"].handleRemove(file); |
| | | upload.isUploading = false; |
| | | }; |
| | | |
| | | /** ä¸ä¼ å¹¶è§£ææé®æä½ */ |
| | | function uploadParse() { |
| | | queryParams.value.params = {}; |
| | | queryParams.value.params["batchNumber"] = batchNumber.value; |
| | | confirmWeldSeam(queryParams.value).then(response => { |
| | | exampleList.value = response.rows; |
| | | loading.value = false; |
| | | isVisible.value = false; |
| | | isError.value = false; |
| | | planned.value = true; |
| | | upload.open = false; |
| | | ElMessage({ |
| | | message: 'çç¼å·¥åæ°æ®å·²æåä¸ä¼ åè§£æ', |
| | | type: 'success', |
| | | }) |
| | | getList(); |
| | | }); |
| | | } |
| | | |
| | | /** æ¥è¯¢é¶ä»¶è®¡å临æ¶ç®¡çå表 */ |
| | | function getExampleList() { |
| | | loading.value = true; |
| | | queryParams.value = {}; |
| | | queryParams.value.batchNumber = batchNumber.value; |
| | | examplePlan(queryParams.value).then(response => { |
| | | exampleList.value = response.rows; |
| | | total.value = response.total; |
| | | loading.value = false; |
| | | }); |
| | | } |
| | | |
| | | /** ç¼è¾ */ |
| | | function viewEvent(row){ |
| | | console.log(row); |
| | | /* const _id = row.id |
| | | getWeldSeam(_id).then(response => { |
| | | form.value = response.data; |
| | | open.value = true; |
| | | title.value = "ä¿®æ¹çç¼"; |
| | | }); */ |
| | | } |
| | | |
| | | getList(); |
| | | </script> |