forked from zhurui/management
1 line
8.0 KiB
JSON
1 line
8.0 KiB
JSON
{"remainingRequest":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\babel-loader\\lib\\index.js!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!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//\nimport mixinViewModule from '@/mixins/view-module';\nimport { getDictLabel, getDictDataList } from '@/utils';\nimport versionAdd from \"./access-version-add\";\nimport versionUpdate from \"./access-version-update\";\nexport default {\n mixins: [mixinViewModule],\n components: {\n versionAdd: versionAdd,\n versionUpdate: versionUpdate\n },\n data: function data() {\n return {\n mixinViewModuleOptions: {\n getDataListURL: '/system/scaidooreightversion/page',\n deleteURL: '/system/scaidooreightversion',\n getDataListIsPage: true\n },\n limit: 10,\n dataForm: {\n aeMainboard: '',\n aevPackname: ''\n },\n dataList: [],\n checkedList: [],\n eightInchesEquipTypeList: getDictDataList('eightInchesEquipType')\n };\n },\n methods: {\n search: function search() {\n this.page = 1;\n this.query();\n },\n addAccess: function addAccess() {\n this.$refs['versionAdd'].init();\n },\n updateVersion: function updateVersion() {\n this.$refs['versionUpdate'].init();\n },\n formatterType: function formatterType(row) {\n return getDictLabel('eightInchesEquipType', row.aeMainboard);\n },\n selectionChange: function selectionChange(data) {\n this.checkedList = data;\n }\n }\n};",{"version":3,"sources":["access-version.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6CA,OAAA,eAAA,MAAA,sBAAA;AACA,SACA,YADA,EAEA,eAFA,QAGA,SAHA;AAIA,OAAA,UAAA;AACA,OAAA,aAAA;AACA,eAAA;AACA,EAAA,MAAA,EAAA,CAAA,eAAA,CADA;AAEA,EAAA,UAAA,EAAA;AACA,IAAA,UAAA,EAAA,UADA;AAEA,IAAA,aAAA,EAAA;AAFA,GAFA;AAMA,EAAA,IANA,kBAMA;AACA,WAAA;AACA,MAAA,sBAAA,EAAA;AACA,QAAA,cAAA,EAAA,mCADA;AAEA,QAAA,SAAA,EAAA,8BAFA;AAGA,QAAA,iBAAA,EAAA;AAHA,OADA;AAMA,MAAA,KAAA,EAAA,EANA;AAOA,MAAA,QAAA,EAAA;AACA,QAAA,WAAA,EAAA,EADA;AAEA,QAAA,WAAA,EAAA;AAFA,OAPA;AAWA,MAAA,QAAA,EAAA,EAXA;AAYA,MAAA,WAAA,EAAA,EAZA;AAaA,MAAA,wBAAA,EAAA,eAAA,CAAA,sBAAA;AAbA,KAAA;AAeA,GAtBA;AAwBA,EAAA,OAAA,EAAA;AACA,IAAA,MADA,oBACA;AACA,WAAA,IAAA,GAAA,CAAA;AACA,WAAA,KAAA;AACA,KAJA;AAKA,IAAA,SALA,uBAKA;AACA,WAAA,KAAA,CAAA,YAAA,EAAA,IAAA;AACA,KAPA;AAQA,IAAA,aARA,2BAQA;AACA,WAAA,KAAA,CAAA,eAAA,EAAA,IAAA;AACA,KAVA;AAWA,IAAA,aAXA,yBAWA,GAXA,EAWA;AACA,aAAA,YAAA,CAAA,sBAAA,EAAA,GAAA,CAAA,WAAA,CAAA;AACA,KAbA;AAcA,IAAA,eAdA,2BAcA,IAdA,EAcA;AACA,WAAA,WAAA,GAAA,IAAA;AACA;AAhBA;AAxBA,CAAA","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"],"sourceRoot":"src/views/modules/sys"}]} |