forked from zhurui/management
1 line
5.1 KiB
JSON
1 line
5.1 KiB
JSON
{"remainingRequest":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\job\\schedule-log.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\job\\schedule-log.vue","mtime":1614735254000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\babel-loader\\lib\\index.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\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//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport mixinViewModule from '@/mixins/view-module'\nexport default {\n mixins: [mixinViewModule],\n data () {\n return {\n visible: false,\n mixinViewModuleOptions: {\n getDataListURL: '/job/scheduleLog/page',\n getDataListIsPage: true\n },\n dataForm: {\n jobId: ''\n }\n }\n },\n methods: {\n init () {\n this.visible = true\n this.getDataList()\n },\n // 失败信息\n showErrorInfo (id) {\n this.$http.get(`/job/scheduleLog/${id}`).then(({ data: res }) => {\n if (res.code !== 0) {\n return this.$message.error(res.msg)\n }\n this.$alert(res.data.error)\n }).catch(() => {})\n }\n }\n}\n",{"version":3,"sources":["schedule-log.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"schedule-log.vue","sourceRoot":"src/views/modules/job","sourcesContent":["<template>\n <el-dialog :visible.sync=\"visible\" :title=\"$t('schedule.log')\" :close-on-click-modal=\"false\" :close-on-press-escape=\"false\" width=\"75%\">\n <el-form :inline=\"true\" :model=\"dataForm\" @keyup.enter.native=\"getDataList()\">\n <el-form-item>\n <el-input v-model=\"dataForm.jobId\" :placeholder=\"$t('schedule.jobId')\" clearable></el-input>\n </el-form-item>\n <el-form-item>\n <el-button @click=\"getDataList()\">{{ $t('query') }}</el-button>\n </el-form-item>\n </el-form>\n <el-table\n v-loading=\"dataListLoading\"\n :data=\"dataList\"\n border\n @sort-change=\"dataListSortChangeHandle\"\n height=\"460\"\n style=\"width: 100%;\">\n <el-table-column prop=\"jobId\" :label=\"$t('schedule.jobId')\" header-align=\"center\" align=\"center\" width=\"80\"></el-table-column>\n <el-table-column prop=\"beanName\" :label=\"$t('schedule.beanName')\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"params\" :label=\"$t('schedule.params')\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"status\" :label=\"$t('schedule.status')\" header-align=\"center\" align=\"center\">\n <template slot-scope=\"scope\">\n <el-tag v-if=\"scope.row.status === 1\" size=\"small\">{{ $t('schedule.statusLog1') }}</el-tag>\n <el-tag v-else type=\"danger\" size=\"small\" @click.native=\"showErrorInfo(scope.row.id)\" style=\"cursor: pointer;\">{{ $t('schedule.statusLog0') }}</el-tag>\n </template>\n </el-table-column>\n <el-table-column prop=\"times\" :label=\"$t('schedule.times')\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"createDate\" :label=\"$t('schedule.createDate')\" header-align=\"center\" align=\"center\" width=\"180\"></el-table-column>\n </el-table>\n <el-pagination\n :current-page=\"page\"\n :page-sizes=\"[10, 20, 50, 100]\"\n :page-size=\"limit\"\n :total=\"total\"\n layout=\"total, sizes, prev, pager, next, jumper\"\n @size-change=\"pageSizeChangeHandle\"\n @current-change=\"pageCurrentChangeHandle\">\n </el-pagination>\n </el-dialog>\n</template>\n\n<script>\nimport mixinViewModule from '@/mixins/view-module'\nexport default {\n mixins: [mixinViewModule],\n data () {\n return {\n visible: false,\n mixinViewModuleOptions: {\n getDataListURL: '/job/scheduleLog/page',\n getDataListIsPage: true\n },\n dataForm: {\n jobId: ''\n }\n }\n },\n methods: {\n init () {\n this.visible = true\n this.getDataList()\n },\n // 失败信息\n showErrorInfo (id) {\n this.$http.get(`/job/scheduleLog/${id}`).then(({ data: res }) => {\n if (res.code !== 0) {\n return this.$message.error(res.msg)\n }\n this.$alert(res.data.error)\n }).catch(() => {})\n }\n }\n}\n</script>\n"]}]} |