{"remainingRequest":"D:\\jenkins\\workspace\\xypm-web-prod\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\xypm-web-prod\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\xypm-web-prod\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\xypm-web-prod\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\xypm-web-prod\\src\\views\\ProcessManagement\\ScheduleManagement\\administrativePay.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xypm-web-prod\\src\\views\\ProcessManagement\\ScheduleManagement\\administrativePay.vue","mtime":1670962199532},{"path":"D:\\jenkins\\workspace\\xypm-web-prod\\babel.config.js","mtime":1667333346259},{"path":"D:\\jenkins\\workspace\\xypm-web-prod\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xypm-web-prod\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xypm-web-prod\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\xypm-web-prod\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xypm-web-prod\\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//\nimport ProjectInfoDialog from '@/components/dialog/ProjectInfoDialog.vue';\nimport utils from '@/utils.js';\nimport req from '@/request.js';\nexport default {\n name: 'administrativePay',\n components: {\n ProjectInfoDialog: ProjectInfoDialog\n },\n data: function data() {\n return {\n showType: false,\n rules: {\n projectName: {\n required: true,\n message: '请选择项目名称',\n trigger: 'blur'\n },\n paysName: {\n required: true,\n message: '请输入缴费名称',\n trigger: 'blur'\n },\n paysType: {\n required: true,\n message: '请选择缴费类型',\n trigger: 'blur'\n },\n paysValue: {\n required: true,\n message: '请输入缴费金额',\n trigger: 'blur'\n },\n paysDate: {\n required: true,\n message: '请输入缴费日期',\n trigger: 'blur'\n }\n },\n form: {\n paysName: '',\n paysValue: '',\n paysType: '',\n paysDate: '',\n remarks: '',\n accessoryInfo: [] //附件信息\n\n },\n loading: false,\n searchForm: {\n paysName: ''\n },\n dialogTitle: '行政缴费',\n dialogVisible: false,\n data: [],\n pageResult: {\n page: 1,\n pageSize: 20,\n total: 0\n }\n };\n },\n computed: {\n deleteUrl: function deleteUrl() {\n return window.context.cqxy + '/biz/contract/administrativePayment/v1/delete';\n }\n },\n methods: {\n changeType: function changeType(value, obj) {\n if (value == '其它费用') {\n this.showType = true;\n this.rules.paysType.message = '请输入缴费类型';\n }\n },\n handleSelectProject: function handleSelectProject(data) {\n this.form.projectName = data.projectName;\n this.form.projectId = data.id;\n },\n handleFocusProject: function handleFocusProject() {\n this.$refs.project.open();\n },\n loadData: function loadData(param, cb) {\n var _this = this;\n\n var query = [];\n var search = {\n pays_name_: this.searchForm.paysName\n };\n\n for (var i in search) {\n if (search[i]) {\n query.push({\n group: 'defaultQueryGroup',\n operation: 'LIKE',\n property: 'pays_name_',\n relation: 'AND',\n value: search[i]\n });\n }\n }\n\n if (param.querys && param.querys.length) {\n var _param$querys;\n\n (_param$querys = param.querys).push.apply(_param$querys, query);\n } else {\n param.querys = query;\n }\n\n this.$http.post('${cqxy}/biz/contract/administrativePayment/v1/query', param).then(function (resp) {\n var response = resp.data;\n _this.data = response.rows;\n _this.pageResult = {\n page: response.page,\n pageSize: response.pageSize,\n total: response.total\n };\n }, function (error) {\n reject(error);\n }).finally(function () {\n if (cb) {\n cb();\n }\n });\n },\n handleAdd: function handleAdd() {\n this.dialogVisible = true;\n this.form = {\n projectName: this.$route.params.projectName,\n projectId: this.$route.params.id,\n paysName: '',\n paysValue: '',\n paysDate: '',\n remarks: '',\n accessoryInfo: []\n };\n this.showType = false;\n },\n handleSelect: function handleSelect(selection) {},\n handleDialogCancel: function handleDialogCancel() {\n this.dialogVisible = false;\n },\n handleDialogSubmit: function handleDialogSubmit() {\n var _this2 = this;\n\n this.$refs.form.validate(function (valid) {\n if (valid) {\n if (_this2.form.accessoryInfo && _this2.form.accessoryInfo.length > 0) {\n _this2.form.accessoryInfo.forEach(function (item) {\n if (item.id) {\n delete item.id;\n }\n });\n\n _this2.$http.post('${cqxy}/biz/contract/administrativePayment/v1/', _this2.form).then(function (res) {\n if (res.data.state) {\n _this2.$message.success('保存成功');\n\n _this2.dialogVisible = false;\n\n _this2.$refs.AtTable.load();\n }\n });\n } else {\n _this2.$message.warning('请上传相关发票');\n }\n }\n });\n },\n handleRowDBClick: function handleRowDBClick(data) {\n this.form = data;\n this.dialogVisible = true;\n },\n handelSearch: function handelSearch() {\n this.$refs.AtTable.load();\n },\n handleReset: function handleReset() {\n this.searchForm.paysName = '';\n this.$refs.AtTable.load();\n },\n handleFile: function handleFile(file) {\n this.form.accessoryInfo = file;\n },\n handleBack: function handleBack() {\n this.$router.push({\n name: 'ProjectFlowChart',\n params: {\n id: this.$route.params.id,\n alias: 'contractInformation'\n }\n });\n }\n }\n};",null]}