|
@@ -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 { policyOrderListIn, policyOrderListInExport } from '@/api/workersCompensationInsurance'
|
|
|
+import { policyOrderListIn, policyOrderListInExport, policyOrderImport } from '@/api/workersCompensationInsurance'
|
|
|
+import operation_mixin from '@/components/template/operation_mixin.js'
|
|
|
+import import_mixin from '@/components/template/import_mixin.js'
|
|
|
export default {
|
|
|
components: { TemplatePage },
|
|
|
- mixins: [],
|
|
|
+ mixins: [operation_mixin, import_mixin],
|
|
|
data() {
|
|
|
return {
|
|
|
- // 事件组合
|
|
|
- optionsEvensGroup: [],
|
|
|
// 表格属性
|
|
|
tableAttributes: {
|
|
|
// 启用勾选列
|
|
@@ -41,6 +41,22 @@ export default {
|
|
|
moreParameters() {
|
|
|
return []
|
|
|
},
|
|
|
+ optionsEvensGroup() {
|
|
|
+ return [
|
|
|
+ [
|
|
|
+ [
|
|
|
+ this.optionsEvensAuth('import', ({ moduleName }) => {
|
|
|
+ return {
|
|
|
+ name: moduleName,
|
|
|
+ render: () => {
|
|
|
+ return this.importButton(policyOrderImport, moduleName)
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
+ ]
|
|
|
+ ]
|
|
|
+ ]
|
|
|
+ },
|
|
|
formItems() {
|
|
|
return []
|
|
|
}
|