{"remainingRequest":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\xq-web-bpm\\src\\views\\reportManagement\\BigScreen\\BigScreenDataSource.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\src\\views\\reportManagement\\BigScreen\\BigScreenDataSource.vue","mtime":1675071993053},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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 report from '@/api/report.js';\nimport req from '@/request.js';\nexport default {\n name: 'table-code',\n data: function data() {\n return {\n data: [],\n pageResult: {\n page: 1,\n pageSize: 50,\n total: 0\n },\n dialogVisibleAdd: false,\n form: {\n driverClass: '',\n id: '',\n isDele: '',\n name: '',\n password: '',\n pkVal: '',\n remark: '',\n status: 0,\n url: '',\n username: ''\n },\n type: '',\n rules: {\n name: [{\n required: true,\n message: '请输入名称',\n trigger: 'blur'\n }],\n driverClass: [{\n required: true,\n message: '请选着驱动类',\n trigger: 'blur'\n }],\n username: [{\n required: true,\n message: '请输入用户名',\n trigger: 'blur'\n }],\n url: [{\n required: true,\n message: '请输入连接地址',\n trigger: 'blur'\n }],\n password: [{\n required: true,\n message: '请输入密码',\n trigger: 'blur'\n }]\n }\n };\n },\n mounted: function mounted() {},\n methods: {\n loadData: function loadData(param, cb) {\n var _this = this;\n\n report.getBigscreenDataScouce(param).then(function (response) {\n _this.pageResult = {\n page: response.page,\n pageSize: response.pageSize,\n total: response.total\n };\n _this.data = response.rows; // console.log(response.rows)\n }).finally(function () {\n if (cb) {\n cb();\n }\n });\n },\n handleClose: function handleClose(done) {\n this.form = {\n driverClass: '',\n id: '',\n isDele: '',\n name: '',\n password: '',\n pkVal: '',\n remark: '',\n status: 0,\n url: '',\n username: ''\n };\n done();\n },\n handleCancel: function handleCancel() {\n this.form = {\n driverClass: '',\n id: '',\n isDele: '',\n name: '',\n password: '',\n pkVal: '',\n remark: '',\n status: 0,\n url: '',\n username: ''\n };\n this.dialogVisibleAdd = false;\n },\n //编辑修改\n handelEdit: function handelEdit(data) {\n this.type = 'edit';\n this.dialogVisibleAdd = true;\n this.form = data;\n },\n //删除\n handelDelete: function handelDelete(id) {\n var _this2 = this;\n\n report.dataScouceDelete(id).then(function (res) {\n _this2.loadData();\n });\n },\n //添加\n handelAdd: function handelAdd() {\n this.type = 'add';\n this.dialogVisibleAdd = true;\n },\n //保存添加修改\n save: function save() {\n var _this3 = this;\n\n this.$refs.form.validate(function (bool) {\n if (bool) {\n _this3.dialogVisibleAdd = false;\n report.dataSourceEditSave(_this3.form).then(function (res) {\n _this3.loadData();\n\n _this3.form = {\n driverClass: '',\n id: '',\n isDele: '',\n name: '',\n password: '',\n pkVal: '',\n remark: '',\n status: 0,\n url: '',\n username: ''\n }; //this.dialogVisibleAdd = false\n });\n }\n });\n }\n }\n};",null]}