{"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\\DigitalChongqing\\components\\searchFullLibrary.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\views\\DigitalChongqing\\components\\searchFullLibrary.vue","mtime":1695696768443},{"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/es6.function.name\";\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//\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//\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//\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 pagination from '@/components/pagination';\nimport { TableMixin } from '@/mixins/tableMixin';\nimport apilist from '@/api/digitalApi';\nimport utils from '@/utils.js';\nimport FileList from '@/components/uploadFile/newFileList.vue';\nexport default {\n name: 'searchFullLibrary',\n components: {\n pagination: pagination,\n FileList: FileList\n },\n mixins: [TableMixin],\n data: function data() {\n return {\n visible: false,\n searchData: {},\n tableColumn: [{\n label: '“一件事”事项名称',\n width: 60,\n sortable: true,\n prop: 'name'\n }, {\n label: '提报区县',\n width: 60,\n sortable: true,\n prop: 'createOrgName'\n }, {\n label: '事项类别',\n width: 60,\n sortable: true,\n prop: 'type',\n dict: 'yjs_sxlb'\n }, {\n label: '所属系统(体系)',\n width: 60,\n sortable: true,\n prop: 'appertainSystem',\n dict: 'szcq_sstx'\n }, {\n label: '所属跑道',\n width: 60,\n sortable: true,\n prop: 'appertainSunway',\n dict: 'szcq_sspd'\n }, {\n label: '入库时间',\n width: 60,\n sortable: true,\n prop: 'auditTime'\n }, {\n label: '当前状态',\n width: 60,\n sortable: true,\n prop: 'currentState'\n }, {\n label: '核准情况',\n width: 60,\n sortable: true,\n prop: 'auditStatus',\n dict: 'yjs_shqk'\n }, {\n label: '审核状态',\n width: 60,\n sortable: true,\n prop: 'status'\n }],\n //'一件事'\n tableData: [],\n loading: false,\n activeTableKey: 1,\n runwayOptions: [],\n reqData: {\n page: 1,\n size: 20,\n appertainSunway: '',\n appertainSystem: '',\n isDele: '',\n name: '',\n unitName: ''\n },\n pageResult: {\n page: 1,\n pageSize: 20,\n total: 0\n },\n statusOptions: [{\n name: '草稿',\n value: 0\n }, {\n name: '提交本级审核',\n value: 1\n }, {\n name: '提交改革办核准',\n value: 2\n }, {\n name: '提交本级驳回',\n value: 3\n }, {\n name: '改革办核准完成',\n value: 4\n }],\n isAdvanced: false,\n prarmsFile: {\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: ''\n }]\n }\n };\n },\n created: function created() {\n this.getTableData();\n },\n methods: {\n expandChange: function expandChange(row, expandedRows) {\n this.getFiles(row);\n },\n openExpend: function openExpend(row, index) {\n var $table = this.$refs.listTable;\n this.tableData.map(function (item) {\n if (row.id === item.id) {\n item.expansion = !item.expansion;\n }\n });\n $table.toggleRowExpansion(row, row.expansion);\n },\n getFiles: function getFiles(row) {\n var _this = this;\n\n this.prarmsFile.querys[0].value = row.id;\n apilist.getFiles(this.prarmsFile, function (data) {\n console.log(data);\n\n if (data.rows && data.rows.length) {\n var files = data.rows.filter(function (item) {\n return item.bizCode == 'DigitalCq';\n });\n var twoFiles = data.rows.filter(function (item) {\n return item.bizCode == 'DigitalCqOneThing';\n });\n files.length ? _this.$set(row, 'files', files) : null;\n twoFiles.length ? _this.$set(row, 'twoFiles', twoFiles) : null; // let index = this.tableData.findIndex(\n // (item) => item.id == row.id\n // )\n // this.$set(item, 'files', files)\n // this.tableData.splice(index, 1, row)\n // console.log(this.tableData[index], 'this.tableData', index)\n }\n });\n },\n tableRowClassName: function tableRowClassName(_ref) {\n var row = _ref.row,\n rowIndex = _ref.rowIndex;\n\n if (row.isDele == 1) {\n return 'warning-row';\n }\n\n return '';\n },\n advanced: function advanced() {\n this.isAdvanced = !this.isAdvanced;\n },\n clearSearchForm: function clearSearchForm() {\n this.reqData = {\n page: 1,\n size: 20,\n appertainSunway: '',\n appertainSystem: '',\n isDele: '',\n name: '',\n unitName: ''\n };\n this.runwayOptions = [];\n this.getTableData();\n },\n hanldeCommonSelect: function hanldeCommonSelect(val, obj) {\n this.reqData.appertainSunway = '';\n this.runwayOptions = [];\n\n if (obj) {\n this.runwayOptions = obj.lowerDic['szcq_sspd'];\n }\n },\n getDictName: function getDictName(code, value) {\n return utils.getDictName(code, value);\n },\n getOptionsName: function getOptionsName(value) {\n return this.statusOptions.filter(function (item) {\n return item.value == value;\n })[0].name;\n },\n setTableColumn: function setTableColumn(e) {\n this.activeTableKey = e;\n var value = e > 3 ? 3 : e;\n this.tableColumn = this[\"tableColumn\".concat(value)];\n this.searchData = {};\n this.reqData.pageBean.page = 1;\n this.getTableData();\n },\n getTableData: function getTableData() {\n var _this2 = this;\n\n this.loading = true;\n var data = this.reqData;\n apilist.getFullLibrary(data, function (res) {\n if (res) {\n _this2.tableData = res.rows;\n _this2.pageResult.total = res.total;\n }\n\n _this2.loading = false;\n });\n },\n handleClose: function handleClose() {\n this.activeTableKey = 1;\n this.searchData = {};\n this.tableData = [];\n this.visible = false;\n },\n // 分页\n handleCurrentChange: function handleCurrentChange(page) {\n this.reqData.page = page;\n this.getTableData();\n },\n handleSizeChange: function handleSizeChange(pageSize) {\n this.reqData.size = pageSize;\n this.getTableData();\n }\n }\n};",null]}