forked from zhurui/management
1 line
13 KiB
JSON
1 line
13 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\\applicationPart2\\projectCostDetails\\projectcostdetails.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\applicationPart2\\projectCostDetails\\projectcostdetails.vue","mtime":1622398195882},{"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":["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//\nimport mixinViewModule from '@/mixins/view-module';\nimport AddOrUpdate from \"./projectcostdetails-add-or-update\";\nexport default {\n mixins: [mixinViewModule],\n data: function data() {\n return {\n mixinViewModuleOptions: {\n getDataListURL: '/system/projectCostDetails/projectcostdetails/page',\n getDataListIsPage: true,\n deleteURL: '/system/projectCostDetails/projectcostdetails',\n deleteIsBatch: true\n },\n dataForm: {\n id: '',\n projectId: \"选择项目\"\n },\n projectList: [],\n popIsEdit: false,\n projectInfo: {\n projectAppId: \"\",\n projectAppName: \"\"\n }\n };\n },\n created: function created() {\n this.getProjectList();\n },\n components: {\n AddOrUpdate: AddOrUpdate\n },\n methods: {\n lookUpInfo: function lookUpInfo(scopeRowId) {\n this.popIsEdit = false;\n this.addOrUpdateHandle(scopeRowId);\n },\n addOrUpdateHandleWapper: function addOrUpdateHandleWapper(scopeRowId) {\n var _this = this;\n\n if (this.dataForm.projectId === \"选择项目\") {\n return this.$message({\n message: \"请先选择所属项目\",\n type: 'warning',\n duration: 3000\n });\n }\n\n this.projectList.forEach(function (item) {\n // console.log(item)\n // console.log(\"item====\")\n // console.log(this.dataForm.projectId)\n // console.log(\"this.dataForm.projectId====\")\n if (item.projectId === _this.dataForm.projectId) {\n _this.projectInfo.projectAppId = item.projectId;\n _this.projectInfo.projectAppName = item.projectName;\n } // console.log(this.projectInfo)\n\n }); // console.log(this.projectInfo)\n // console.log(\"this.projectInfo====\")\n\n this.popIsEdit = true;\n this.addOrUpdateHandle(scopeRowId);\n },\n deleteHandleWapper: function deleteHandleWapper(scopeRowId) {\n this.deleteHandle(scopeRowId);\n },\n getProjectList: function getProjectList() {\n var _this2 = this;\n\n // 获取项目列表\n this.$http.get('/system/teammateManagement/teammatemanagement/page', {\n params: {\n order: this.order,\n orderField: this.orderField,\n page: this.mixinViewModuleOptions.getDataListIsPage ? this.page : null,\n limit: this.mixinViewModuleOptions.getDataListIsPage ? this.limit : null,\n studentNumber: this.$store.state.user.username\n }\n
|