开启、结束短信通知;水泵闸站数量显示

master
xy 1 year ago
parent cbefe62270
commit c51c293234

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

@ -167,13 +167,15 @@ export default {
title: "开启闸门数量", title: "开启闸门数量",
width: 130, width: 130,
key: "kaiqishuliang", key: "kaiqishuliang",
align: "center" align: "center",
render: (h,{ row }) => h('span', row.kaiqishuliang ?? 0)
}, },
{ {
title: "开启水泵数量", title: "开启水泵数量",
width: 130, width: 130,
key: "kaiqishuliang1", key: "kaiqishuliang1",
align: "center" align: "center",
render: (h,{ row }) => h('span', row.kaiqishuliang1 ?? 0)
}, },
{ {
title: "调令日期", title: "调令日期",

Loading…
Cancel
Save