| | |
| | | v-show="active == 3 && addObj.companyId" |
| | | >通过</el-button |
| | | > |
| | | <el-button |
| | | size="medium" |
| | | @click="$router.push('/business/inspectionOrder')" |
| | | > |
| | | <el-button size="medium" @click="goBack"> |
| | | <span style="color: #3a7bfa">返回</span> |
| | | </el-button> |
| | | </el-col> |
| | |
| | | import getLodop from "@/utils/lodop"; |
| | | import { bigEval } from "@/utils/bigEval"; |
| | | import { getDicts } from "@/api/system/dict/data"; |
| | | import Big from "big.js"; |
| | | export default { |
| | | components: { |
| | | fiberOpticConfig, |
| | |
| | | } |
| | | }, |
| | | methods: { |
| | | goBack() { |
| | | let path = this.$route.query.isPlan |
| | | ? "/business/inspectionTask" |
| | | : "/business/inspectionOrder"; |
| | | this.$router.push(path); |
| | | }, |
| | | //下次核查日期:禁用在核查日期前的日期 |
| | | disabledDate(time) { |
| | | if (time) { |
| | |
| | | let arr1 = []; |
| | | arr0.forEach((m) => { |
| | | let index = code.findIndex((b) => m.includes(b)); |
| | | // console.log("index--》", index); |
| | | if (index > -1) { |
| | | let arr = m.split(code[index]).filter((b) => !!b); |
| | | let calcNum = this.$Big( |
| | | let calcNum = new Big( |
| | | bigEval(this.replaceAll(arr[0], symbolItem, value)) |
| | | ); |
| | | let num = calcNum.toFixed( |
| | |
| | | if (index > -1) { |
| | | let arr = ask.split(code[index]).filter((b) => !!b); |
| | | console.log("特殊值替换--》", arr); |
| | | let calcNum = this.$Big( |
| | | let calcNum = new Big( |
| | | bigEval(this.replaceAll(arr[0], symbolItem, value)) |
| | | ); |
| | | let num = calcNum.toFixed( |
| | |
| | | if (res.code === 200) { |
| | | this.$message.success("已提交"); |
| | | this.bsm3Dia = false; |
| | | this.$router.push("/business/inspectionOrder"); |
| | | this.goBack(); |
| | | } |
| | | this.saveLoad = false; |
| | | }) |
| | |
| | | this.$message.success("提交成功"); |
| | | this.issuedDialogVisible = false; |
| | | this.upLoad = false; |
| | | this.$router.replace("/business/inspectionOrder"); |
| | | this.goBack(); |
| | | //审核通过后,自动打印二维码 |
| | | //TODO: 电力试验室暂时不用标签打印 |
| | | if ( |
| | |
| | | this.tell = ""; |
| | | this.$message.success("提交成功"); |
| | | this.issuedDialogVisible = false; |
| | | this.$router.push("/business/inspectionOrder"); |
| | | this.goBack(); |
| | | } |
| | | }) |
| | | .catch((error) => { |