{"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\\MajorReformProjects\\BrandDisplay\\BrandDisplayConfirm.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\views\\MajorReformProjects\\BrandDisplay\\BrandDisplayConfirm.vue","mtime":1716288148563},{"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//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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 _ from 'lodash';\nimport pagination from '@/components/pagination';\nimport { TableMixin } from '@/mixins/tableMixin';\nimport brand from '@/api/MajorReformProjects/brandDisplay';\nimport BrandDisplayDetails from \"./dialog/BrandDisplayDetails.vue\";\nimport BrandDisplayForm from \"./dialog/BrandDisplayForm.vue\";\nimport BrandHisUpDate from \"./dialog/BrandHisUpDate.vue\";\nexport default {\n name: 'BrandDisplayReview',\n components: {\n pagination: pagination,\n BrandDisplayDetails: BrandDisplayDetails,\n BrandDisplayForm: BrandDisplayForm,\n BrandHisUpDate: BrandHisUpDate\n },\n mixins: [TableMixin],\n data: function data() {\n return {\n activeName: 'new',\n markLoading: false,\n auditStatus: false,\n tableMaxHeight: 400,\n loading: false,\n tableLoading: false,\n tableData: [],\n multipleSelection: [],\n params: {\n querys: [{\n group: 'main',\n operation: 'IN',\n parentGroup: '',\n property: 'a.STATUS_',\n relation: 'AND',\n value: []\n }],\n pageBean: {\n page: 1,\n pageSize: 20,\n total: 0\n }\n },\n pageResult: {\n page: 1,\n pageSize: 20,\n total: 0\n },\n searchForm: {},\n // 顶部搜索对象\n deleteIds: '',\n // 是否选中列表解锁删除按钮\n activeCollapse1: ['1', '2', '3'],\n tableColumn: []\n };\n },\n created: function created() {\n this.setTableColumn();\n },\n methods: {\n handleHisEdit: function handleHisEdit(row) {\n this.$refs.BrandHisUpDate.openForm(row);\n },\n handleClick: function handleClick() {\n this.setTableColumn();\n },\n setTableColumn: function setTableColumn() {\n var _this = this;\n\n var column = [{\n label: '牵头市领导',\n width: 120,\n sortable: true,\n prop: 'leader',\n type: 'new'\n }, {\n label: '所属领域',\n width: 100,\n sortable: true,\n prop: 'projectField',\n type: 'new'\n }, {\n label: '所属跑道',\n width: 100,\n sortable: true,\n prop: 'projectRunway',\n type: 'new'\n }, {\n label: '责任单位',\n width: 120,\n sortable: true,\n prop: 'unitName',\n type: 'new'\n }, {\n label: '本次更新时间',\n width: 120,\n sortable: true,\n prop: 'thisTime',\n type: 'new'\n }, {\n label: '品牌创建日期',\n width: 120,\n sortable: true,\n prop: 'completionDate',\n type: 'old'\n }, {\n label: '获肯定方式',\n width: 180,\n sortable: true,\n prop: 'effectForm',\n type: 'old'\n }, // {\n // label: '具体情形',\n // width: 200,\n // sortable: true,\n // prop: 'specificDetails',\n // type: 'old'\n // },\n {\n label: '获肯定或报道详情',\n width: 250,\n sortable: true,\n prop: 'result',\n type: 'old'\n }];\n this.tableColumn = column.filter(function (item) {\n return item.type === _this.activeName;\n });\n this.params.pageBean.page = 1;\n this.pageResult = {\n page: 1,\n pageSize: this.params.pageBean.pageSize,\n total: 0\n };\n this.calcTableHeight(10);\n this.handleSearch(); // this.activeName === 'new' ? this.loadData(this.params) : this.getHistoryData(this.params)\n },\n // 历史数据查询\n getHistoryData: function getHistoryData(params) {\n var _this2 = this;\n\n this.tableLoading = true;\n brand.getHistoryData(params, function (res) {\n _this2.pageResult.total = res.total;\n _this2.tableData = res.rows;\n _this2.tableLoading = false;\n });\n },\n // 撤回\n handleAppear: function handleAppear(row) {\n var _this3 = this;\n\n this.$confirm(\"\\u786E\\u8BA4\\u64A4\\u56DE\\u5417\\uFF1F\", this.$t('common.tips'), {\n confirmButtonText: this.$t('common.confirm'),\n cancelButtonText: this.$t('common.cancel'),\n type: 'error'\n }).then(function () {\n _this3.markLoading = true;\n var data = {\n status: 3,\n id: row.id,\n approvalResults: 2\n };\n brand.updateStatusById(data, function (res) {\n if (res.state) {\n _this3.markLoading = false;\n row.status = 1;\n\n _this3.$message.success(\"\\u64A4\\u56DE\\u6210\\u529F\");\n\n _this3.handleSearch();\n }\n });\n });\n },\n getTableData: function getTableData(val) {\n if (this.auditStatus != val) {\n this.auditStatus = val;\n this.getStatusList();\n }\n },\n getStatusList: _.debounce(function () {\n this.params.pageBean.page = 1;\n this.handleSearch(1);\n }, 500),\n //获取数据\n loadData: function loadData(params) {\n var _this4 = this;\n\n this.tableLoading = true;\n brand.getTableData(params, true, function (res) {\n _this4.pageResult.total = res.total;\n _this4.tableData = res.rows;\n _this4.tableLoading = false;\n });\n },\n flushed: function flushed() {\n this.handleSearch(); // this.activeName === 'new' ? this.loadData(this.params) : this.getHistoryData(this.params)\n },\n //审核\n handleSh: function handleSh(row) {\n this.$refs.BrandDisplayForm.title = '审核';\n this.$refs.BrandDisplayForm.openForm(row);\n },\n // 详情\n handleLookDetiles: function handleLookDetiles(row) {\n this.$refs.BrandDisplayDetails.open(row);\n },\n handleEdit: function handleEdit(row) {\n this.$refs.BrandDisplayForm.title = '编辑';\n this.$refs.BrandDisplayForm.openForm(row);\n },\n // 顶部搜索\n handleSearch: function handleSearch() {\n this.tableLoading = true;\n var data = JSON.parse(JSON.stringify(this.params));\n var obj = JSON.parse(JSON.stringify(this.searchForm));\n var querys = [{\n group: 'main',\n operation: 'IN',\n parentGroup: '',\n property: 'a.STATUS_',\n relation: 'AND',\n value: []\n }];\n\n for (var i in obj) {\n if (obj[i]) {\n querys.push({\n group: 'main',\n operation: i == 'p.PROJECT_NAME_' || i == 'p.LEADER_' ? 'LIKE' : 'EQUAL',\n parentGroup: '',\n property: i,\n relation: 'AND',\n value: obj[i]\n });\n }\n }\n\n data.querys = querys;\n this.activeName === 'new' ? this.loadData(data) : this.getHistoryData(data);\n },\n // 弹层关闭\n // 表单提交保存\n submit: function submit(status) {},\n handleSelectionChange: function handleSelectionChange(currentData) {\n if (currentData.length === 0) return this.deleteIds = '';\n var ids = [];\n currentData.forEach(function (item) {\n ids.push(item.id);\n });\n this.deleteIds = ids.join(',');\n },\n handleCurrentChange: function handleCurrentChange(page) {\n this.params.pageBean.page = page;\n this.handleSearch(); // this.activeName === 'new' ? this.loadData(this.params) : this.getHistoryData(this.params)\n },\n handleSizeChange: function handleSizeChange(pageSize) {\n this.params.pageBean.pageSize = pageSize;\n this.handleSearch(); // this.activeName === 'new' ? this.loadData(this.params) : this.getHistoryData(this.params)\n }\n }\n};",null]}