浏览代码

no message

linwenxin 5 月之前
父节点
当前提交
c886231fc8

+ 17 - 0
src/api/accidentInsurance.js

@@ -0,0 +1,17 @@
+import request, { postBlob, getBlob, handleImport } from '@/utils/request'
+
+export function policyOrderList(data) {
+  return request({
+    url: `/policyOrder/list?moduleId=${data.moduleId}`,
+    method: 'post',
+    data
+  })
+}
+
+export function policyOrderListExport(data, name) {
+  return postBlob({
+    url: '/policyOrder/list/export',
+    data,
+    name
+  })
+}

+ 17 - 0
src/api/employerInsurance.js

@@ -0,0 +1,17 @@
+import request, { postBlob, getBlob, handleImport } from '@/utils/request'
+
+export function policyOrderListEm(data) {
+  return request({
+    url: `/policyOrder/listEm?moduleId=${data.moduleId}`,
+    method: 'post',
+    data
+  })
+}
+
+export function policyOrderListEmExport(data, name) {
+  return postBlob({
+    url: '/policyOrder/listEm/export',
+    data,
+    name
+  })
+}

+ 17 - 0
src/api/workersCompensationInsurance.js

@@ -0,0 +1,17 @@
+import request, { postBlob, getBlob, handleImport } from '@/utils/request'
+
+export function policyOrderListIn(data) {
+  return request({
+    url: `/policyOrder/listIn?moduleId=${data.moduleId}`,
+    method: 'post',
+    data
+  })
+}
+
+export function policyOrderListInExport(data, name) {
+  return postBlob({
+    url: '/policyOrder/listIn/export',
+    data,
+    name
+  })
+}

+ 68 - 0
src/views/setting/insuranceAdministration/accidentInsurance/index.vue

@@ -0,0 +1,68 @@
+<template>
+  <template-page
+    ref="pageRef"
+    :get-list="getList"
+    :exportList="exportList"
+    :table-attributes="tableAttributes"
+    :table-events="tableEvents"
+    :options-evens-group="optionsEvensGroup"
+    :moreParameters="moreParameters"
+    :column-parsing="columnParsing"
+  >
+  </template-page>
+</template>
+
+<script>
+import TemplatePage from '@/components/template/template-page-1.vue'
+import { required, mobileRequired, mobile, httpUrl, email } from '@/components/template/rules_verify.js'
+import { policyOrderList, policyOrderListExport } from '@/api/accidentInsurance'
+export default {
+  components: { TemplatePage },
+  mixins: [],
+  data() {
+    return {
+      // 事件组合
+      optionsEvensGroup: [],
+      // 表格属性
+      tableAttributes: {
+        // 启用勾选列
+        selectColumn: false
+      },
+      // 表格事件
+      tableEvents: {
+        'selection-change': this.selectionChange
+      },
+      // 勾选选中行
+      recordSelected: []
+    }
+  },
+  computed: {
+    // 更多参数
+    moreParameters() {
+      return []
+    },
+    formItems() {
+      return []
+    }
+  },
+  created() {},
+  methods: {
+    // 列表请求函数
+    getList: policyOrderList,
+    // 列表导出函数
+    exportList: policyOrderListExport,
+    // 表格列解析渲染数据更改
+    columnParsing(item, defaultData) {
+      return defaultData
+    },
+    // 表格操作列
+    operation(h, { row, index, column }) {}
+  }
+}
+</script>
+
+<style lang="scss" scoped>
+.tab {
+  padding: 20px 20px 0 20px;
+}
+</style>

+ 68 - 0
src/views/setting/insuranceAdministration/employerInsurance/index.vue

@@ -0,0 +1,68 @@
+<template>
+  <template-page
+    ref="pageRef"
+    :get-list="getList"
+    :exportList="exportList"
+    :table-attributes="tableAttributes"
+    :table-events="tableEvents"
+    :options-evens-group="optionsEvensGroup"
+    :moreParameters="moreParameters"
+    :column-parsing="columnParsing"
+  >
+  </template-page>
+</template>
+
+<script>
+import TemplatePage from '@/components/template/template-page-1.vue'
+import { required, mobileRequired, mobile, httpUrl, email } from '@/components/template/rules_verify.js'
+import { policyOrderListEm, policyOrderListEmExport } from '@/api/employerInsurance'
+export default {
+  components: { TemplatePage },
+  mixins: [],
+  data() {
+    return {
+      // 事件组合
+      optionsEvensGroup: [],
+      // 表格属性
+      tableAttributes: {
+        // 启用勾选列
+        selectColumn: false
+      },
+      // 表格事件
+      tableEvents: {
+        'selection-change': this.selectionChange
+      },
+      // 勾选选中行
+      recordSelected: []
+    }
+  },
+  computed: {
+    // 更多参数
+    moreParameters() {
+      return []
+    },
+    formItems() {
+      return []
+    }
+  },
+  created() {},
+  methods: {
+    // 列表请求函数
+    getList: policyOrderListEm,
+    // 列表导出函数
+    exportList: policyOrderListEmExport,
+    // 表格列解析渲染数据更改
+    columnParsing(item, defaultData) {
+      return defaultData
+    },
+    // 表格操作列
+    operation(h, { row, index, column }) {}
+  }
+}
+</script>
+
+<style lang="scss" scoped>
+.tab {
+  padding: 20px 20px 0 20px;
+}
+</style>

+ 68 - 0
src/views/setting/insuranceAdministration/workersCompensationInsurance/index.vue

@@ -0,0 +1,68 @@
+<template>
+  <template-page
+    ref="pageRef"
+    :get-list="getList"
+    :exportList="exportList"
+    :table-attributes="tableAttributes"
+    :table-events="tableEvents"
+    :options-evens-group="optionsEvensGroup"
+    :moreParameters="moreParameters"
+    :column-parsing="columnParsing"
+  >
+  </template-page>
+</template>
+
+<script>
+import TemplatePage from '@/components/template/template-page-1.vue'
+import { required, mobileRequired, mobile, httpUrl, email } from '@/components/template/rules_verify.js'
+import { policyOrderListIn, policyOrderListInExport } from '@/api/workersCompensationInsurance'
+export default {
+  components: { TemplatePage },
+  mixins: [],
+  data() {
+    return {
+      // 事件组合
+      optionsEvensGroup: [],
+      // 表格属性
+      tableAttributes: {
+        // 启用勾选列
+        selectColumn: false
+      },
+      // 表格事件
+      tableEvents: {
+        'selection-change': this.selectionChange
+      },
+      // 勾选选中行
+      recordSelected: []
+    }
+  },
+  computed: {
+    // 更多参数
+    moreParameters() {
+      return []
+    },
+    formItems() {
+      return []
+    }
+  },
+  created() {},
+  methods: {
+    // 列表请求函数
+    getList: policyOrderListIn,
+    // 列表导出函数
+    exportList: policyOrderListInExport,
+    // 表格列解析渲染数据更改
+    columnParsing(item, defaultData) {
+      return defaultData
+    },
+    // 表格操作列
+    operation(h, { row, index, column }) {}
+  }
+}
+</script>
+
+<style lang="scss" scoped>
+.tab {
+  padding: 20px 20px 0 20px;
+}
+</style>