{"remainingRequest":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\reform-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\reform-fvue\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\reform-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\reform-fvue\\src\\views\\BigScreen\\components\\subComponents\\dockedFileData.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\views\\BigScreen\\components\\subComponents\\dockedFileData.vue","mtime":1731008470940},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/web.dom.iterable\";\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//\n//\nimport FileList from '@/components/uploadFile/newFileList.vue';\nimport pagenation from \"./pagenation.vue\";\nimport apiList from '@/api/bigScreen/majorView.js';\nimport utils from '@/utils.js';\nimport moment from 'moment';\nexport default {\n name: 'dockedFileData',\n components: {\n pagenation: pagenation,\n FileList: FileList\n },\n props: {\n tableOptions: {\n type: Object,\n default: function _default() {\n return {};\n }\n }\n },\n data: function data() {\n return {\n loading: false,\n loadingColor: 'rgba(6, 46, 106, 0.4)',\n tableLoading: false,\n fileLoading: false,\n detailsLoading: false,\n params: {\n pageBean: {\n page: 1,\n pageSize: 20,\n total: 0,\n showTotal: true\n },\n querys: [{\n group: 'main',\n operation: 'LIKE',\n parentGroup: '',\n property: 'fileName',\n relation: 'AND',\n value: ''\n }, {\n group: 'main',\n operation: 'LIKE',\n parentGroup: '',\n property: 'meeting_Name_',\n relation: 'AND',\n value: ''\n }, {\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'meeting_Type_',\n relation: 'AND',\n value: ''\n }, {\n group: 'main',\n operation: 'LIKE',\n parentGroup: '',\n property: 'p.unit_Name_',\n relation: 'AND',\n value: ''\n }],\n sorter: [{\n direction: \"DESC\",\n property: \"review_Time_\"\n }]\n },\n tableData: [],\n currentRow: {},\n fileList: [],\n searchData: {},\n previewUrl: '',\n groupOptions: [{\n id: 1,\n label: '党建统领体制改革专项小组',\n value: 'djtltzggzxxz'\n }, {\n id: 2,\n label: '经济体制改革专项小组',\n value: 'jjtzggzxxz'\n }, {\n id: 3,\n label: '社会民生领域改革专项小组',\n value: 'shmslyggzxxz'\n }, {\n id: 4,\n label: '民主与法制领域改革专项小组',\n value: 'mzyfzlyggzxxz'\n }, {\n id: 5,\n label: '文化体制改革专项小组',\n value: 'whtzggzxxz'\n }, {\n id: 6,\n label: '平安法制领域改革专项小组',\n value: 'pafzlyggzxxz'\n }],\n detailsData: {}\n };\n },\n beforeDestroy: function beforeDestroy() {\n this.$bus.$off('changeDate');\n },\n mounted: function mounted() {\n var _this = this;\n\n this.getData();\n this.$bus.$on('changeDate', function (searchDate) {\n _this.getData();\n });\n },\n created: function created() {\n // let { type } = this.$route.query\n // this.params.querys[0].value = type\n this.$emit('searchDateChange');\n },\n methods: {\n expandRow: function expandRow(row) {\n var _this2 = this;\n\n var $table = this.$refs.dataTable;\n this.tableData.map(function (item) {\n if (row.pushId != item.pushId) {\n $table.toggleRowExpansion(item, false);\n item.expansion = false;\n } else {\n item.expansion = !item.expansion;\n\n if (item.expansion) {\n _this2.getDockedFileDetails(item.pushId);\n }\n }\n });\n $table.toggleRowExpansion(row);\n },\n getDockedFileDetails: function getDockedFileDetails(pushId) {\n var _this3 = this;\n\n this.detailsLoading = true;\n this.detailsData = {};\n apiList.getDockedFileDetails(pushId, function (res) {\n if (res) {\n _this3.detailsData = res;\n }\n\n _this3.detailsLoading = false;\n });\n },\n getGroupName: function getGroupName(value) {\n var name = '';\n this.groupOptions.forEach(function (item) {\n if (item.value === value) {\n name = item.label;\n }\n });\n return name;\n },\n getDictName: function getDictName(code, value) {\n return utils.getDictName(code, value);\n },\n getData: function getData() {\n var _this4 = this;\n\n this.tableLoading = true;\n this.tableData = [];\n apiList.getDockedFileData(this.params, function (res) {\n if (res.rows.length) {\n _this4.tableData = res.rows;\n _this4.params.pageBean.total = res.total;\n }\n\n _this4.tableLoading = false;\n });\n },\n currentChange: function currentChange(newRow) {\n if (newRow) {\n this.getFiles(newRow);\n this.currentRow = newRow;\n }\n },\n getFiles: function getFiles(row) {\n var _this5 = this;\n\n this.fileLoading = true;\n var data = {\n pageBean: {\n page: 1,\n pageSize: -1,\n showTotal: true\n },\n querys: [{\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'BIZ_ID_',\n relation: 'AND',\n value: row.id\n }]\n };\n apiList.getFiles(data, function (data) {\n _this5.fileList = data.rows;\n _this5.fileLoading = false;\n });\n },\n // 格式化时间\n formattingTime: function formattingTime(time) {\n return moment(time).format('YYYY-MM-DD');\n },\n pageChange: function pageChange(key) {\n this.params.pageBean.page = key;\n this.getData();\n }\n }\n};",null]}