|
|
|
|
@ -336,6 +336,7 @@
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import { sendSms } from "@/api/other"
|
|
|
|
|
import { PopupManager } from "element-ui/src/utils/popup"
|
|
|
|
|
import axios from "axios";
|
|
|
|
|
import vEsign from "vue-esign";
|
|
|
|
|
@ -543,6 +544,10 @@ export default {
|
|
|
|
|
table_name: "transfers",
|
|
|
|
|
...copyData,
|
|
|
|
|
},false).then((_) => {
|
|
|
|
|
sendSms({
|
|
|
|
|
mobile: ["19905129984"],
|
|
|
|
|
content: `${this.data?.equipment_id_equipments_id_relation?.name||'-'}于${this.$moment().format('HH:mm')}已开启`
|
|
|
|
|
})
|
|
|
|
|
save({
|
|
|
|
|
table_name: "logs",
|
|
|
|
|
content: this.typeMap.get(copyData.status),
|
|
|
|
|
@ -593,6 +598,10 @@ export default {
|
|
|
|
|
table_name: "transfers",
|
|
|
|
|
...copyData,
|
|
|
|
|
},false).then((_) => {
|
|
|
|
|
sendSms({
|
|
|
|
|
mobile: ["19905129984"],
|
|
|
|
|
content: `${this.data?.equipment_id_equipments_id_relation?.name||'-'}于${this.$moment().format('HH:mm')}已确认关闭`
|
|
|
|
|
})
|
|
|
|
|
save({
|
|
|
|
|
table_name: "logs",
|
|
|
|
|
content: this.typeMap.get(copyData.status),
|
|
|
|
|
|