1 line
7.0 KiB
JSON
1 line
7.0 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\\sys\\access-version.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\sys\\access-version.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//\n//\n//\n\nimport mixinViewModule from '@/mixins/view-module'\nimport {\n\tgetDictLabel,\n\tgetDictDataList\n} from '@/utils'\nimport versionAdd from './access-version-add'\nimport versionUpdate from './access-version-update'\nexport default {\n\tmixins: [mixinViewModule],\n\tcomponents: {\n\t\tversionAdd,\n\t\tversionUpdate\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tmixinViewModuleOptions: {\n\t\t\t\tgetDataListURL: '/system/scaidooreightversion/page',\n\t\t\t\tdeleteURL: '/system/scaidooreightversion',\n\t\t\t\tgetDataListIsPage: true\n\t\t\t},\n\t\t\tlimit: 10,\n\t\t\tdataForm: {\n\t\t\t\taeMainboard: '',\n\t\t\t\taevPackname: ''\n\t\t\t},\n\t\t\tdataList: [],\n\t\t\tcheckedList: [],\n\t\t\teightInchesEquipTypeList: getDictDataList('eightInchesEquipType'),\n\t\t}\n\t},\n\n\tmethods: {\n\t\tsearch() {\n\t\t\tthis.page = 1;\n\t\t\tthis.query();\n\t\t},\n\t\taddAccess() {\n\t\t\tthis.$refs['versionAdd'].init()\n\t\t},\n\t\tupdateVersion() {\n\t\t\tthis.$refs['versionUpdate'].init()\n\t\t},\n\t\tformatterType(row) {\n\t\t\treturn getDictLabel('eightInchesEquipType', row.aeMainboard)\n\t\t},\n\t\tselectionChange(data) {\n\t\t\tthis.checkedList = data;\n\t\t}\n\t}\n}\n",{"version":3,"sources":["access-version.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6CA;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;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"access-version.vue","sourceRoot":"src/views/modules/sys","sourcesContent":["<template>\n\t<el-card shadow=\"never\" class=\"aui-card--fill\">\n\t\t<el-form ref=\"ruleForm\" :model=\"dataForm\" label-width=\"100px\" inline>\n\t\t\t<el-form-item label=\"程序包名称\" prop=\"aevPackname\">\n\t\t\t\t<el-input v-model=\"dataForm.aevPackname\" placeholder=\"请输入\" clearable></el-input>\n\t\t\t</el-form-item>\n\t\t\t<el-form-item label=\"主板类型\" prop=\"aeMainboard\">\n\t\t\t\t<el-select v-model=\"dataForm.aeMainboard\" placeholder=\"请选择\" clearable>\n\t\t\t\t\t<el-option v-for=\"item in eightInchesEquipTypeList\" :key=\"item.dictValue\" :label=\"item.dictLabel\" :value=\"item.dictValue\">\n\t\t\t\t\t</el-option>\n\t\t\t\t</el-select>\n\t\t\t</el-form-item>\n\t\t\t<el-form-item>\n\t\t\t\t<el-button @click=\"search\">查询</el-button>\n\t\t\t\t<el-button type=\"warning\" @click=\"resetForm('ruleForm')\">重置</el-button>\n\t\t\t\t<el-button v-if=\"$hasPermission('system:scaidooreight:save')\" type=\"primary\" @click=\"addAccess\">新建</el-button>\n\t\t\t\t<el-button v-if=\"$hasPermission('system:scaidooreight:updatealldevice')\" type=\"success\" @click=\"updateVersion\">升级</el-button>\n\n\t\t\t</el-form-item>\n\t\t</el-form>\n\t\t<el-table :data=\"dataList\" @selection-change=\"selectionChange\">\n\t\t\t<el-table-column type=\"index\" label=\"序号\" width=\"50\" align=\"center\"></el-table-column>\n\t\t\t<el-table-column label=\"设备主板类型\" prop=\"aeMainboard\" align=\"center\" :formatter=\"formatterType\" width=\"160\"></el-table-column>\n\t\t\t<el-table-column label=\"程序包名称\" prop=\"aevPackname\" align=\"center\"></el-table-column>\n\t\t\t<el-table-column label=\"程序版本号\" prop=\"aevVersion\" align=\"center\"></el-table-column>\n\t\t\t<el-table-column label=\"程序版本code\" prop=\"aevVersioncode\" align=\"center\" width=\"160\"></el-table-column>\n\t\t\t<el-table-column label=\"创建日期\" prop=\"createDate\" align=\"center\" width=\"160\"> </el-table-column>\n\t\t\t<el-table-column label=\"成功升级设备数量\" prop=\"updatetotal\" align=\"center\" width=\"160\"></el-table-column>\n\t\t\t<el-table-column label=\"操作\" prop=\"updatetotal\" align=\"center\">\n\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t<el-button type=\"text\" size=\"small\" @click=\"deleteHandle(scope.row.aevId)\">{{ $t('delete') }}</el-button>\n\t\t\t\t</template>\n\t\t\t</el-table-column>\n\t\t</el-table>\n\t\t<el-pagination :current-page=\"page\" :page-sizes=\"[10, 20, 50, 100]\" :page-size=\"limit\" :total=\"total\" layout=\"total, sizes, prev, pager, next, jumper\"\n\t\t @size-change=\"pageSizeChangeHandle\" @current-change=\"pageCurrentChangeHandle\">\n\t\t</el-pagination>\n\t\t<!-- 新增 -->\n\t\t<version-add ref=\"versionAdd\"></version-add>\n\t\t<!-- 设备列表 -->\n\t\t<version-update ref=\"versionUpdate\"></version-update>\n\t</el-card>\n</template>\n\n<script>\n\timport mixinViewModule from '@/mixins/view-module'\n\timport {\n\t\tgetDictLabel,\n\t\tgetDictDataList\n\t} from '@/utils'\n\timport versionAdd from './access-version-add'\n\timport versionUpdate from './access-version-update'\n\texport default {\n\t\tmixins: [mixinViewModule],\n\t\tcomponents: {\n\t\t\tversionAdd,\n\t\t\tversionUpdate\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tmixinViewModuleOptions: {\n\t\t\t\t\tgetDataListURL: '/system/scaidooreightversion/page',\n\t\t\t\t\tdeleteURL: '/system/scaidooreightversion',\n\t\t\t\t\tgetDataListIsPage: true\n\t\t\t\t},\n\t\t\t\tlimit: 10,\n\t\t\t\tdataForm: {\n\t\t\t\t\taeMainboard: '',\n\t\t\t\t\taevPackname: ''\n\t\t\t\t},\n\t\t\t\tdataList: [],\n\t\t\t\tcheckedList: [],\n\t\t\t\teightInchesEquipTypeList: getDictDataList('eightInchesEquipType'),\n\t\t\t}\n\t\t},\n\n\t\tmethods: {\n\t\t\tsearch() {\n\t\t\t\tthis.page = 1;\n\t\t\t\tthis.query();\n\t\t\t},\n\t\t\taddAccess() {\n\t\t\t\tthis.$refs['versionAdd'].init()\n\t\t\t},\n\t\t\tupdateVersion() {\n\t\t\t\tthis.$refs['versionUpdate'].init()\n\t\t\t},\n\t\t\tformatterType(row) {\n\t\t\t\treturn getDictLabel('eightInchesEquipType', row.aeMainboard)\n\t\t\t},\n\t\t\tselectionChange(data) {\n\t\t\t\tthis.checkedList = data;\n\t\t\t}\n\t\t}\n\t}\n</script>\n<style lang=\"scss\" scoped>\n\t.el-table {\n\t\t.el-button--text {\n\t\t\tpadding: 8px 0;\n\t\t}\n\n\t\t.el-dropdown {\n\t\t\tmargin-left: 10px;\n\t\t}\n\t}\n\n\t.el-dropdown-menu__item {\n\t\t&.danger {\n\t\t\tcolor: #F56C6C !important;\n\t\t}\n\t}\n</style>\n"]}]} |