1 line
3.3 KiB
JSON
1 line
3.3 KiB
JSON
|
|
{"remainingRequest":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\src\\views\\acs\\route\\routePlan\\index.vue?vue&type=script&lang=js","dependencies":[{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\src\\views\\acs\\route\\routePlan\\index.vue","mtime":1732871026624},{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1732872824662},{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\babel-loader\\lib\\index.js","mtime":1732872825017},{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1732872824662},{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\vue-loader\\lib\\index.js","mtime":1732872825835}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\r\nimport crudRoutePlan from '@/api/acs/route/routePlan'\r\nimport CRUD, { presenter, header, form, crud } from '@crud/crud'\r\nimport crudOperation from '@crud/CRUD.operation'\r\nimport udOperation from '@crud/UD.operation'\r\nimport pagination from '@crud/Pagination'\r\nimport i18n from '@/i18n'\r\n\r\nconst defaultForm = {\r\n plan_uuid: null,\r\n plan_code: null,\r\n plan_name: null,\r\n remark: null,\r\n is_active: null,\r\n is_delete: null,\r\n create_by: null,\r\n create_time: null,\r\n update_by: null,\r\n update_time: null\r\n}\r\nexport default {\r\n name: 'RoutePlan',\r\n components: { pagination, crudOperation, udOperation },\r\n mixins: [presenter(), header(), form(defaultForm), crud()],\r\n cruds() {\r\n return CRUD({\r\n title: i18n.t('route.title2'),\r\n url: 'api/routePlan',\r\n idField: 'plan_uuid',\r\n sort: 'plan_uuid,desc',\r\n crudMethod: { ...crudRoutePlan }\r\n })\r\n },\r\n data() {\r\n return {\r\n permission: {\r\n add: ['admin', 'routePlan:add'],\r\n edit: ['admin', 'routePlan:edit'],\r\n del: ['admin', 'routePlan:del']\r\n },\r\n rules: {\r\n plan_uuid: [\r\n { required: true, message: '方案标识不能为空', trigger: 'blur' }\r\n ],\r\n plan_code: [\r\n { required: true, message: '方案编码不能为空', trigger: 'blur' }\r\n ],\r\n plan_name: [\r\n { required: true, message: '方案名称不能为空', trigger: 'blur' }\r\n ],\r\n is_active: [\r\n { required: true, message: '是否启用不能为空', trigger: 'blur' }\r\n ],\r\n is_delete: [\r\n { required: true, message: '是否删除不能为空', trigger: 'blur' }\r\n ],\r\n create_by: [\r\n { required: true, message: '创建者不能为空', trigger: 'blur' }\r\n ],\r\n create_time: [\r\n { required: true, message: '创建时间不能为空', trigger: 'blur' }\r\n ]\r\n }\r\n }\r\n },\r\n methods: {\r\n // 钩子:在获取表格数据之前执行,false 则代表不获取数据\r\n [CRUD.HOOK.beforeRefresh]() {\r\n return true\r\n }\r\n }\r\n}\r\n",null]}
|