|
@@ -15,14 +15,14 @@
|
|
|
<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'
|
|
|
+import { policyOrderListEm, policyOrderListEmExport, policyOrderImportEm } from '@/api/employerInsurance'
|
|
|
+import operation_mixin from '@/components/template/operation_mixin.js'
|
|
|
+import import_mixin from '@/components/template/import_mixin.js'
|
|
|
export default {
|
|
|
components: { TemplatePage },
|
|
|
- mixins: [],
|
|
|
+ mixins: [import_mixin, operation_mixin],
|
|
|
data() {
|
|
|
return {
|
|
|
- // 事件组合
|
|
|
- optionsEvensGroup: [],
|
|
|
// 表格属性
|
|
|
tableAttributes: {
|
|
|
// 启用勾选列
|
|
@@ -37,6 +37,22 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
|
+ optionsEvensGroup() {
|
|
|
+ return [
|
|
|
+ [
|
|
|
+ [
|
|
|
+ this.optionsEvensAuth('import', ({ moduleName }) => {
|
|
|
+ return {
|
|
|
+ name: moduleName,
|
|
|
+ render: () => {
|
|
|
+ return this.importButton(policyOrderImportEm, moduleName)
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
+ ]
|
|
|
+ ]
|
|
|
+ ]
|
|
|
+ },
|
|
|
// 更多参数
|
|
|
moreParameters() {
|
|
|
return []
|