{"remainingRequest":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\xq-web-fvue\\src\\components\\dialog\\ShiftRuleDialog.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\src\\components\\dialog\\ShiftRuleDialog.vue","mtime":1667327529200},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport uc from \"@/api/uc.js\";\n\nexport default {\n  name: \"shift-rule-dialog\",\n  props: {\n    value: Array,\n    name: String,\n    single: Boolean,\n    destroyOnClose:{\n      type: Boolean,\n      default: false\n    }\n  },\n  data() {\n    return {\n      data: [],\n      tableColumns: [\n        { prop: \"name\", label: \"名称\" },\n        { prop: \"key\", label: \"编码\" },\n        { prop: \"desc\", label: \"描述\" }\n      ],\n      pagination: {\n        page: 1,\n        pageSize: 50,\n        total: 0\n      }\n    };\n  },\n  methods: {\n    showDialog() {\n      this.$refs.htDialog.showDialog();\n    },\n    handleLoad(param, cb) {\n      uc.ruleList(param)\n        .then(data => {\n          this.data = data.rows;\n          this.pagination.page = data.page;\n          this.pagination.pageSize = data.pageSize;\n          this.pagination.total = data.total;\n          cb();\n        })\n        .catch(err => {\n          cb();\n        });\n    },\n    onConfirm(selection) {\n      this.$emit(\"onConfirm\", selection,this.name);\n      this.$emit(\"input\", selection);\n    }\n  }\n}\n",null]}