1 line
3.7 KiB
JSON
1 line
3.7 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\\stage\\actor\\index.vue?vue&type=script&lang=js","dependencies":[{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\src\\views\\acs\\stage\\actor\\index.vue","mtime":1732871026626},{"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//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\r\nimport crudStageActor from '@/api/acs/stage/actor'\r\nimport CRUD, { presenter, header, form, crud } from '@crud/crud'\r\nimport rrOperation from '@crud/RR.operation'\r\nimport crudOperation from '@crud/CRUD.operation'\r\nimport udOperation from '@crud/UD.operation'\r\nimport pagination from '@crud/Pagination'\r\n\r\nconst defaultForm = { actor_uuid: null, device_code: null, device_name: null, image_name: null, angle: null, stage_uuid: null, remark: null, is_active: null, is_delete: null, create_by: null, create_time: null, update_by: null, update_time: null }\r\nexport default {\r\n name: 'StageActor',\r\n components: { pagination, crudOperation, rrOperation, udOperation },\r\n mixins: [presenter(), header(), form(defaultForm), crud()],\r\n cruds() {\r\n return CRUD({ title: '舞台演员', url: 'api/stageActor', idField: 'actor_uuid', sort: 'actor_uuid,desc', crudMethod: { ...crudStageActor }})\r\n },\r\n data() {\r\n return {\r\n permission: {\r\n add: ['admin', 'actor:add'],\r\n edit: ['admin', 'actor:edit'],\r\n del: ['admin', 'actor:del']\r\n },\r\n rules: {\r\n actor_uuid: [\r\n { required: true, message: '图标标识不能为空', trigger: 'blur' }\r\n ],\r\n device_code: [\r\n { required: true, message: '设备编码不能为空', trigger: 'blur' }\r\n ],\r\n device_name: [\r\n { required: true, message: '图标名字不能为空', trigger: 'blur' }\r\n ],\r\n image_name: [\r\n { required: true, message: '图标名字不能为空', trigger: 'blur' }\r\n ],\r\n angle: [\r\n { required: true, message: '图标名字不能为空', trigger: 'blur' }\r\n ],\r\n stage_uuid: [\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 methods: {\r\n // 钩子:在获取表格数据之前执行,false 则代表不获取数据\r\n [CRUD.HOOK.beforeRefresh]() {\r\n return true\r\n }\r\n }\r\n}\r\n",null]} |