Newer
Older
urbanLifeline_YanAn / src / views / order / debugging / index.vue
@zhangzhihui zhangzhihui 7 days ago 581 bytes 调试
<template>
  <div class="debugging publicContainer">
    <div>
      <el-button type="primary" @click="testOrder('3')">触发排水工单</el-button>
      <el-button type="primary" @click="testOrder('2')">触发燃气工单</el-button>
    </div>
  </div>
</template>

<script setup name="debugging">
import { testWorkOrder } from '@/api/order';

const testOrder = async type => {
  try {
    const res = await testWorkOrder({
      orderType: type,
    });
  } catch (error) {
    console.log('error', error);
  }
};
</script>

<style lang="scss" scoped>
.debugging {
}
</style>