| | |
| | | |
| | | const textLock = async (row: any) => { |
| | | if (lockText.value == "锁定") { |
| | | lockStatus.value = true; |
| | | lockStatus.value = false; |
| | | lockInputStatus.value = true; |
| | | lockText.value = "解锁"; |
| | | if (floorStates.value.isPlain1 == false) { |
| | |
| | | } |
| | | |
| | | const write = async (type: string, row: any) => { |
| | | if (lockStatus.value == false) { |
| | | if (lockStatus.value == true) { |
| | | ElMessage.success("请先锁定"); |
| | | return; |
| | | } |
| | |
| | | } |
| | | |
| | | const writeDown = async (type: string, row: any) => { |
| | | if (lockStatus.value == false) { |
| | | if (lockStatus.value == true) { |
| | | ElMessage.success("请先锁定"); |
| | | return; |
| | | } |
| | |
| | | // ElMessage.success(res.data.result); |
| | | } |
| | | const writeUp = async (type: string, row: any) => { |
| | | if (lockStatus.value == false) { |
| | | if (lockStatus.value == true) { |
| | | ElMessage.success("请先锁定"); |
| | | return; |
| | | } |