浏览代码

Merge branch 'master' of http://132.232.92.186:3000/XinXiBu/oa-system

liuhj 2 年之前
父节点
当前提交
24bc2930be

+ 1 - 1
src/components/Crm/CustomerCompany.vue

@@ -215,7 +215,7 @@ export default {
                         },
                         data: that.OperationData
                     }).then(function (res) {
-                        debugger
+
                         if (res.data.code == 200) {
                             that.$message({
                                 message: res.data.msg,

+ 8 - 8
src/components/Crm/DeleClient.vue

@@ -112,9 +112,9 @@ export default {
                 }
             }).then(function (res) {
                 console.log(res)
-                debugger
+
                 if (res.data.code == 200) {
-                    debugger
+
                     that.tableData = res.data.data;
                     that.tableDatas = that.tableData;
                     if (that.tableDatas.slice((that.currentPage - 1) * that.pageSize, that.currentPage * that.pageSize).length == 0) {
@@ -135,7 +135,7 @@ export default {
             if (this.input == "") {
                 newarr = this.tableData;
             } else {
-                debugger
+
                 for (var i = 0; i < this.tableData.length; i++) {
                     if (this.tableData[i].city.indexOf(this.input) != -1) {
                         newarr.push(this.tableData[i]);
@@ -146,20 +146,20 @@ export default {
                     }
                 }
             }
-            debugger
+
             this.tableDatas = newarr;
             this.currentPage = 1;
         },
 
         upDate(index, row) {
             this.$router.push({
-                path: "/home/DeleClientOperation",
+                path: "/home/visaEdit",
                 query: { id: row.id }
             })
         },
 
         del(index, row) {
-            debugger
+
             var url = "/api/CRM/"
             var that = this
             this.$axios({
@@ -174,9 +174,9 @@ export default {
                 }
             }).then(function (res) {
                 console.log(res)
-                debugger
+
                 if (res.data.code == 200) {
-                    debugger
+
                     that.$message({
                         message: '删除成功',
                         type: 'success'

+ 26 - 24
src/components/Login.vue

@@ -33,7 +33,8 @@
                         </div>
                     </div>
                     <div class="loginbtn-box">
-                        <el-button @keyup.enter.native="Login()" @click="Login()" class="loginbtn" v-loading.fullscreen.lock="fullscreenLoading" round>登 录</el-button>
+                        <el-button @keyup.enter.native="Login()" @click="Login()" class="loginbtn"
+                            v-loading.fullscreen.lock="fullscreenLoading" round>登 录</el-button>
                     </div>
                 </div>
                 <div></div>
@@ -57,7 +58,7 @@ export default {
             usernum: '',
             password: '',
             msgs: false,
-            fullscreenLoading:false
+            fullscreenLoading: false
         }
     },
     methods: {
@@ -72,41 +73,41 @@ export default {
         },
         //登录
         Login() {
-            var homepage="";
-            if(this.usernum==""||this.password==""){
+            var homepage = "";
+            if (this.usernum == "" || this.password == "") {
                 this.$message({
                     message: "请填写账号密码!",
                     type: 'warning'
                 });
                 return false;
             }
-            this.fullscreenLoading=true;
-            var url="/api/login"
-            var that=this
+            this.fullscreenLoading = true;
+            var url = "/api/login"
+            var that = this
             this.$axios({
                 method: 'post',
-                url:url,
-                data:{
+                url: url,
+                data: {
                     number: this.usernum,
                     password: this.password
                 }
-            }).then(function(res){
+            }).then(function (res) {
                 console.log(res);
-                if(res.data.code==200){
+                if (res.data.code == 200) {
                     localStorage.setItem('userinif', JSON.stringify(res.data.data));
-                    that.fullscreenLoading=false;
-                    for(var l=0;l<res.data.data.authData.length;l++){
-                        if(res.data.data.authData[l].modulName=='主页'){
-                            homepage=res.data.data.authData[l].pageList[0].webUrl
-                            localStorage.setItem("indexs",res.data.data.authData[l].modulid+'-'+res.data.data.authData[l].pageList[0].pageid);
-                            localStorage.setItem("innhtml",res.data.data.authData[l].pageList[0].pageName);
+                    that.fullscreenLoading = false;
+                    for (var l = 0; l < res.data.data.authData.length; l++) {
+                        if (res.data.data.authData[l].modulName == '主页') {
+                            homepage = res.data.data.authData[l].pageList[0].webUrl
+                            localStorage.setItem("indexs", res.data.data.authData[l].modulid + '-' + res.data.data.authData[l].pageList[0].pageid);
+                            localStorage.setItem("innhtml", res.data.data.authData[l].pageList[0].pageName);
                         }
                     }
-                    that.$router.push({ path: "/home"+homepage});
-                    console.log("/home"+homepage)
+                    that.$router.push({ path: "/home" + homepage });
+                    console.log("/home" + homepage)
                     // that.$router.push('/home/index');
-                }else{
-                    that.fullscreenLoading=false;
+                } else {
+                    that.fullscreenLoading = false;
                     that.$message({
                         message: res.data.msg,
                         type: 'warning'
@@ -117,14 +118,14 @@ export default {
     },
     mounted() {
 
-console.log(process.env.API_HOST);
+        console.log(process.env.API_HOST);
 
         document.querySelector(".login-all").style.height = window.innerHeight + "px";
         let that = this
         document.onkeydown = function (e) {
             e = window.event || e
             //保证是在登录页面发出的enter事件
-            if (e.code === 'Enter' || e.code === 'enter'|| e.code === 'NumpadEnter') {
+            if (e.code === 'Enter' || e.code === 'enter' || e.code === 'NumpadEnter') {
                 //调用登录函数
                 that.Login();
             }
@@ -340,4 +341,5 @@ body {
         top: -10px;
         background-color: rgba(42,53,88);
         /*background-image: url("../assets/zhedang.png");
-    }*/</style>
+    }*/
+</style>

+ 4 - 4
src/components/Resource/CarData.vue

@@ -115,9 +115,9 @@ export default {
                 }
             }).then(function (res) {
                 console.log(res)
-                debugger
+
                 if (res.data.code == 200) {
-                    debugger
+
                     that.tableData = res.data.data;
                     that.tableDatas = that.tableData;
                     that.tableData.forEach(function (item, index) {
@@ -201,9 +201,9 @@ export default {
                 }
             }).then(function (res) {
                 console.log(res)
-                debugger
+
                 if (res.data.code == 200) {
-                    debugger
+
                     that.$message({
                         message: '删除成功',
                         type: 'success'

+ 6 - 6
src/components/Resource/CarDataAdd.vue

@@ -163,7 +163,7 @@
 export default {
     data() {
         // var isnumber = (rule, value, callback) => {
-        //     debugger
+        //     
         //     var reg = /^1[3456789]\d{9}$/;//小数点左边最高16位,小数点右边最多4位
         //     if (reg.test(value)) {
         //         callback();
@@ -246,9 +246,9 @@ export default {
                 }
             }).then(function (res) {
                 console.log(res)
-                debugger
+
                 if (res.data.code == 200) {
-                    debugger
+
                     that.tableData = res.data.data;
                     that.tableData.forEach(function (item, index) {
                         that.unitAreas.push({
@@ -263,7 +263,7 @@ export default {
         },
         addBtn() {
             const that = this;
-            debugger
+
             this.addData.CreateUserId = JSON.parse(localStorage.getItem('userinif')).userInfo.userId
             this.addData.Remark = this.addData.OtherInfo
             that.$refs.addData.validate((valid) => {
@@ -279,7 +279,7 @@ export default {
                         data: that.addData
                     }).then(function (res) {
                         console.log(res)
-                        debugger
+
                         if (res.data.code == 200) {
                             that.$message({
                                 message: '添加成功',
@@ -324,7 +324,7 @@ export default {
         },
     },
     mounted() {
-        debugger
+
         this.token = JSON.parse(localStorage.getItem('userinif')).token;
         this.userId = JSON.parse(localStorage.getItem('userinif')).userInfo.userId
         this.carData();

+ 8 - 8
src/components/Resource/CarDataEdit.vue

@@ -150,7 +150,7 @@
 export default {
     data() {
         // var isnumber = (rule, value, callback) => {
-        //     debugger
+        //     
         //     var reg = /^1[3456789]\d{9}$/;//小数点左边最高16位,小数点右边最多4位
         //     if (reg.test(value)) {
         //         callback();
@@ -218,7 +218,7 @@ export default {
     methods: {
 
         carData() {
-            debugger
+
             var url = "/api/Resource/QueryCarData"
             var that = this
             this.$axios({
@@ -238,9 +238,9 @@ export default {
                 }
             }).then(function (res) {
                 console.log(res)
-                debugger
+
                 if (res.data.code == 200) {
-                    debugger
+
                     that.tableData = res.data.data;
                     that.tableData.forEach(function (item, index) {
                         that.unitAreas.push({
@@ -255,7 +255,7 @@ export default {
         },
         editBtn() {
             const that = this;
-            debugger
+
             this.upData.CreateUserId = JSON.parse(localStorage.getItem('userinif')).userInfo.userId
             this.upData.Remark = this.upData.OtherInfo
             that.$refs.upData.validate((valid) => {
@@ -271,7 +271,7 @@ export default {
                         data: that.upData
                     }).then(function (res) {
                         console.log(res)
-                        debugger
+
                         if (res.data.code == 200) {
                             that.$message({
                                 message: '修改成功',
@@ -341,10 +341,10 @@ export default {
     },
 
     mounted() {
-        debugger
+
         this.token = JSON.parse(localStorage.getItem('userinif')).token;
         this.userId = JSON.parse(localStorage.getItem('userinif')).userInfo.userId
-        debugger
+
         this.CarDataEdit = JSON.parse(localStorage.getItem('CarDataEdit'));
         this.carData();
         this.editData();

+ 7 - 7
src/components/Resource/CountryFeeCost.vue

@@ -130,9 +130,9 @@ export default {
                 }
             }).then(function (res) {
                 console.log(res)
-                debugger
+
                 if (res.data.code == 200) {
-                    debugger
+
                     that.tableData = res.data.data;
                     that.tableDatas = that.tableData;
                     if (that.tableDatas.slice((that.currentPage - 1) * that.pageSize, that.currentPage * that.pageSize).length == 0) {
@@ -153,14 +153,14 @@ export default {
             if (this.input == "") {
                 newarr = this.tableData;
             } else {
-                debugger
+
                 for (var i = 0; i < this.tableData.length; i++) {
                     if (this.tableData[i].visaCountry.indexOf(this.input) != -1) {
                         newarr.push(this.tableData[i]);
                     }
                 }
             }
-            debugger
+
             this.tableDatas = newarr;
             this.currentPage = 1;
         },
@@ -176,7 +176,7 @@ export default {
         },
 
         del(index, row) {
-            debugger
+
             var url = "/api/Resource/DelCountryFeeCost"
             var that = this
             this.$axios({
@@ -191,9 +191,9 @@ export default {
                 }
             }).then(function (res) {
                 console.log(res)
-                debugger
+
                 if (res.data.code == 200) {
-                    debugger
+
                     that.$message({
                         message: '删除成功',
                         type: 'success'

+ 7 - 7
src/components/Resource/CountryFeeCostOperation.vue

@@ -229,7 +229,7 @@ export default {
                 }
             }).then(function (res) {
                 console.log(res)
-                debugger
+
                 if (res.data.code == 200) {
                     that.tableData = res.data.data;
                     that.addData.Id = that.$route.query.id;
@@ -250,11 +250,11 @@ export default {
 
         addBtn() {
             const that = this;
-            debugger
+
             that.addData.CreateUserId = that.userId
             that.$refs.addData.validate((valid) => {
                 if (valid) {
-                    debugger
+
                     console.log(that.addData)
                     var url = "/api/Resource/OperationCountryFeeCost"
                     that.$axios({
@@ -266,7 +266,7 @@ export default {
                         data: that.addData
                     }).then(function (res) {
                         console.log(res)
-                        debugger
+
                         if (res.data.code == 200) {
                             that.$message({
                                 message: res.data.msg,
@@ -287,10 +287,10 @@ export default {
             })
         },
         upData() {
-            debugger
+
             for (var i = 0; i < this.tableData.length; i++) {
                 if (this.tableData[i].id == parseInt(this.addData.Id)) {
-                    debugger
+
                     this.CountryFeeCostData = this.tableData[i];
                     break;
                 }
@@ -319,7 +319,7 @@ export default {
     },
 
     mounted() {
-        debugger
+
         this.token = JSON.parse(localStorage.getItem('userinif')).token;
         this.userId = JSON.parse(localStorage.getItem('userinif')).userInfo.userId
         this.CountryFeeCost();

+ 7 - 7
src/components/Resource/HotelData.vue

@@ -95,9 +95,9 @@ export default {
                 }
             }).then(function (res) {
                 console.log(res)
-                debugger
+
                 if (res.data.code == 200) {
-                    debugger
+
                     that.tableData = res.data.data;
                     that.tableDatas = that.tableData;
                     if (that.tableDatas.slice((that.currentPage - 1) * that.pageSize, that.currentPage * that.pageSize).length == 0) {
@@ -118,7 +118,7 @@ export default {
             if (this.input == "") {
                 newarr = this.tableData;
             } else {
-                debugger
+
                 for (var i = 0; i < this.tableData.length; i++) {
                     if (this.tableData[i].city.indexOf(this.input) != -1) {
                         newarr.push(this.tableData[i]);
@@ -129,7 +129,7 @@ export default {
                     }
                 }
             }
-            debugger
+
             this.tableDatas = newarr;
             this.currentPage = 1;
         },
@@ -142,7 +142,7 @@ export default {
         },
 
         del(index, row) {
-            debugger
+
             var url = "/api/Resource/DelHotelData"
             var that = this
             this.$axios({
@@ -157,9 +157,9 @@ export default {
                 }
             }).then(function (res) {
                 console.log(res)
-                debugger
+
                 if (res.data.code == 200) {
-                    debugger
+
                     that.$message({
                         message: '删除成功',
                         type: 'success'

+ 7 - 7
src/components/Resource/HotelDataOperation.vue

@@ -169,7 +169,7 @@ export default {
                 }
             }).then(function (res) {
                 console.log(res)
-                debugger
+
                 if (res.data.code == 200) {
                     that.tableData = res.data.data;
                     that.addData.Id = that.$route.query.id;
@@ -190,11 +190,11 @@ export default {
 
         addBtn() {
             const that = this;
-            debugger
+
             that.addData.CreateUserId = that.userId
             that.$refs.addData.validate((valid) => {
                 if (valid) {
-                    debugger
+
                     console.log(that.addData)
                     var url = "/api/Resource/OperationHotelData"
                     that.$axios({
@@ -206,7 +206,7 @@ export default {
                         data: that.addData
                     }).then(function (res) {
                         console.log(res)
-                        debugger
+
                         if (res.data.code == 200) {
                             that.$message({
                                 message: res.data.msg,
@@ -227,10 +227,10 @@ export default {
             })
         },
         upData() {
-            debugger
+
             for (var i = 0; i < this.tableData.length; i++) {
                 if (this.tableData[i].id == parseInt(this.addData.Id)) {
-                    debugger
+
                     this.HotelDataData = this.tableData[i];
                     break;
                 }
@@ -252,7 +252,7 @@ export default {
     },
 
     mounted() {
-        debugger
+
         this.token = JSON.parse(localStorage.getItem('userinif')).token;
         this.userId = JSON.parse(localStorage.getItem('userinif')).userInfo.userId
         this.HotelData();

+ 4 - 4
src/components/Resource/LocalGuide.vue

@@ -97,9 +97,9 @@ export default {
                 }
             }).then(function (res) {
                 console.log(res)
-                debugger
+
                 if (res.data.code == 200) {
-                    debugger
+
                     that.tableData = res.data.data;
                     that.tableDatas = that.tableData;
                     that.tableData.forEach(function (item, index) {
@@ -185,9 +185,9 @@ export default {
                 }
             }).then(function (res) {
                 console.log(res)
-                debugger
+
                 if (res.data.code == 200) {
-                    debugger
+
                     that.$message({
                         message: '删除成功',
                         type: 'success'

+ 9 - 9
src/components/Resource/LocalGuideOperation.vue

@@ -162,7 +162,7 @@
 export default {
     data() {
         // var isnumber = (rule, value, callback) => {
-        //     debugger
+        //     
         //     var reg = /^1[3456789]\d{9}$/;//小数点左边最高16位,小数点右边最多4位
         //     if (reg.test(value)) {
         //         callback();
@@ -243,7 +243,7 @@ export default {
                 }
             }).then(function (res) {
                 if (res.data.code == 200) {
-                    debugger
+
                     that.tableData = res.data.data;
                     that.tableData.forEach(function (item, index) {
                         that.unitAreas.push({
@@ -269,13 +269,13 @@ export default {
         },
         addBtn() {
             const that = this;
-            debugger
+
             that.addData.CreateUserId = that.userId
             that.addData.Remark = that.addData.OtherInfo
-            debugger
+
             that.$refs.addData.validate((valid) => {
                 if (valid) {
-                    debugger
+
                     console.log(that.addData)
                     var url = "/api/Resource/OperationLocalGuide"
                     that.$axios({
@@ -287,7 +287,7 @@ export default {
                         data: that.addData
                     }).then(function (res) {
                         console.log(res)
-                        debugger
+
                         if (res.data.code == 200) {
                             that.$message({
                                 message: res.data.msg,
@@ -331,10 +331,10 @@ export default {
             };
         },
         upData() {
-            debugger
+
             for (var i = 0; i < this.tableData.length; i++) {
                 if (this.tableData[i].id == parseInt(this.addData.Id)) {
-                    debugger
+
                     this.LocalGuideData = this.tableData[i];
                     break;
                 }
@@ -363,7 +363,7 @@ export default {
     },
 
     mounted() {
-        debugger
+
         this.token = JSON.parse(localStorage.getItem('userinif')).token;
         this.userId = JSON.parse(localStorage.getItem('userinif')).userInfo.userId
         this.LocalGuide();

+ 4 - 4
src/components/Resource/ThreeCode.vue

@@ -93,9 +93,9 @@ export default {
                 }
             }).then(function (res) {
                 console.log(res)
-                debugger
+
                 if (res.data.code == 200) {
-                    debugger
+
                     that.tableData = res.data.data;
                     that.tableDatas = that.tableData;
 
@@ -153,9 +153,9 @@ export default {
                 }
             }).then(function (res) {
                 console.log(res)
-                debugger
+
                 if (res.data.code == 200) {
-                    debugger
+
                     that.$message({
                         message: '删除成功',
                         type: 'success'

+ 7 - 7
src/components/Resource/ThreeCodeOperation.vue

@@ -130,7 +130,7 @@ export default {
                 }
             }).then(function (res) {
                 if (res.data.code == 200) {
-                    debugger
+
                     that.tableData = res.data.data;
                     that.addData.Id = that.$route.query.id;
                     if (that.addData.Id == undefined || that.addData.Id == null) {
@@ -151,11 +151,11 @@ export default {
         },
         addBtn() {
             const that = this;
-            debugger
+
             that.addData.CreateUserId = that.userId
             that.$refs.addData.validate((valid) => {
                 if (valid) {
-                    debugger
+
                     console.log(that.addData)
                     var url = "/api/Resource/OperationThreeCode"
                     that.$axios({
@@ -167,7 +167,7 @@ export default {
                         data: that.addData
                     }).then(function (res) {
                         console.log(res)
-                        debugger
+
                         if (res.data.code == 200) {
                             that.$message({
                                 message: res.data.msg,
@@ -188,10 +188,10 @@ export default {
             })
         },
         upData() {
-            debugger
+
             for (var i = 0; i < this.tableData.length; i++) {
                 if (this.tableData[i].id == parseInt(this.addData.Id)) {
-                    debugger
+
                     this.ThreeCodeData = this.tableData[i];
                     break;
                 }
@@ -211,7 +211,7 @@ export default {
     },
 
     mounted() {
-        debugger
+
         this.token = JSON.parse(localStorage.getItem('userinif')).token;
         this.userId = JSON.parse(localStorage.getItem('userinif')).userInfo.userId
         this.ThreeCode();

+ 6 - 4
src/components/child/AuthorityUser.vue

@@ -240,7 +240,7 @@ export default {
             this.$axios.post(this.PathUrl + '/api/System/SaveUserAuth', {
                 "uid": this.Valueuesr,
                 "Savejobs": savejob,
-                "Modulid":this.value == '' ? '13':this.value,
+                "Modulid": this.value == '' ? '13' : this.value,
             }, {
                 headers: {
                     'Authorization': 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IkZ1dHVyZSIsImV4cCI6MTY3OTU0MjgwNSwiaXNzIjoiT0FTeXN0ZW0uY29tIiwiYXVkIjoiT0FTeXN0ZW0uY29tIn0.iy5SUInq1p3yjZultRPyzCa2ekLeepSdMLxvPwXY6MI',
@@ -316,7 +316,7 @@ export default {
         //员工下拉框
         UserChange() {
             console.log(this.Valueuesr);
-            debugger
+
             var moduleId = this.value == "" ? 13 : this.value;
             if (this.Valueuesr == '') {
 
@@ -389,10 +389,12 @@ body {
 .job-table .el-table--border .el-table__cell:first-child .cell {
     text-align: center;
 }
-.job-input{
+
+.job-input {
     display: flex;
 }
-.job-input .el-select{
+
+.job-input .el-select {
     margin-right: 5px;
 }
 </style>

+ 15 - 15
src/components/system/Company.vue

@@ -151,7 +151,7 @@ import { del } from 'vue';
 export default {
     data() {
         var isnumber = (rule, value, callback) => {
-            debugger
+
             var reg = /^1[3456789]\d{9}$/;//小数点左边最高16位,小数点右边最多4位
             if (reg.test(value)) {
                 callback();
@@ -246,9 +246,9 @@ export default {
                 }
             }).then(function (res) {
                 console.log(res)
-                debugger
+
                 if (res.data.code == 200) {
-                    debugger
+
                     that.tableDatas = res.data.data;
                     that.tableData = that.tableDatas
                     that.tableDatas.forEach(function (item, index) {
@@ -283,7 +283,7 @@ export default {
         },
         //#region  修改操作
         upDate(index, row) {
-            debugger
+
             this.upDataVisible = true;
             this.updata.Id = row.id
             this.updata.CompanyCode = row.companyCode
@@ -299,7 +299,7 @@ export default {
 
         },
         upDateBtn() {
-            debugger
+
             var that = this
             that.$refs.updata.validate((valid) => {
                 if (valid) {
@@ -322,7 +322,7 @@ export default {
                             return
                         }
 
-                        debugger;
+                        ;
                         var url = "/api/System/EditCompany"
                         var that = this
                         that.$axios({
@@ -334,7 +334,7 @@ export default {
                             data: that.updata
                         }).then(function (res) {
                             console.log(res)
-                            debugger
+
                             if (res.data.code == 200) {
                                 that.$message({
                                     message: '修改成功!',
@@ -361,7 +361,7 @@ export default {
         },
         //#endregion
         del(index, row) {
-            debugger
+
             this.$confirm('此操作将取消订单, 是否继续?', '提示', {
                 confirmButtonText: '确定',
                 cancelButtonText: '取消',
@@ -380,7 +380,7 @@ export default {
                     }
                 }).then(function (res) {
                     console.log(res)
-                    debugger
+
                     if (res.data.code == 200) {
                         that.$message({
                             type: 'success',
@@ -407,7 +407,7 @@ export default {
         },
 
         addDateBtn() {
-            debugger
+
             this.$refs.adddata.validate((valid) => {
                 if (valid) {
                     var that = this
@@ -452,13 +452,13 @@ export default {
                         data: that.adddata
                     }).then(function (res) {
                         console.log(res)
-                        debugger
+
                         if (res.data.code == 200) {
                             that.$message({
                                 message: '添加成功!',
                                 type: 'success'
                             });
-                            debugger
+
                             that.addDataVisible = false;
                             that.adddata.CreateUserId = 0
                             that.adddata.CompanyCode = ""
@@ -502,9 +502,9 @@ export default {
                 }
             }).then(function (res) {
                 console.log(res)
-                debugger
+
                 if (res.data.code == 200) {
-                    debugger
+
                     const data = res.data.data;
                     data.forEach(function (item, index) {
                         that.optionsUsers.push({
@@ -518,7 +518,7 @@ export default {
         },
     },
     mounted() {
-        debugger
+
         this.token = JSON.parse(localStorage.getItem('userinif')).token;
         this.userId = JSON.parse(localStorage.getItem('userinif')).userInfo.userId
         console.log(this.token)

+ 14 - 14
src/components/system/Department.vue

@@ -193,12 +193,12 @@ export default {
                     CompanyId: 0
                 }
             }).then(function (res) {
-                debugger
+
                 console.log(res)
 
                 if (res.data.code == 200) {
-                    debugger
-                    debugger
+
+
                     that.tableDatas = res.data.data;
                     that.tableData = that.tableDatas
                     that.tableDatas.forEach(function (item, index) {
@@ -230,9 +230,9 @@ export default {
                 }
             }).then(function (res) {
                 console.log(res)
-                debugger
+
                 if (res.data.code == 200) {
-                    debugger
+
                     res.data.data.forEach(function (item, index) {
                         that.optionsCompanys.push({
                             value: item.id,
@@ -244,7 +244,7 @@ export default {
             })
         },
         handleChange(event) {
-            debugger
+
             var comId = event;
             const that = this;
             that.optionsDepartment = [{
@@ -286,7 +286,7 @@ export default {
         },
         //#region  修改操作
         upDate(index, row) {
-            debugger
+
             this.upDepVisible = true;
             this.upData.Id = row.id
             this.upData.CompanyId = row.companyId
@@ -296,7 +296,7 @@ export default {
             this.upData.Remark = row.remark
         },
         upDateBtn() {
-            debugger
+
             var that = this
             this.$refs.upData.validate((valid) => {
                 if (valid) {
@@ -324,7 +324,7 @@ export default {
                         data: that.upData
                     }).then(function (res) {
                         console.log(res)
-                        debugger
+
                         if (res.data.code == 200) {
                             that.$message({
                                 message: '修改成功',
@@ -350,7 +350,7 @@ export default {
         },
         //#endregion
         del(index, row) {
-            debugger
+
             this.$confirm('此操作将取消订单, 是否继续?', '提示', {
                 confirmButtonText: '确定',
                 cancelButtonText: '取消',
@@ -369,7 +369,7 @@ export default {
                     }
                 }).then(function (res) {
                     console.log(res)
-                    debugger
+
                     if (res.data.code == 200) {
                         that.$message({
                             type: 'success',
@@ -397,7 +397,7 @@ export default {
 
         },
         Addbtn() {
-            debugger
+
             this.$refs.addData.validate((valid) => {
                 if (valid) {
                     var that = this
@@ -425,7 +425,7 @@ export default {
                         data: that.addData
                     }).then(function (res) {
                         console.log(res)
-                        debugger
+
                         if (res.data.code == 200) {
                             that.$message({
                                 message: '添加成功!',
@@ -455,7 +455,7 @@ export default {
 
     },
     mounted() {
-        debugger
+
         this.token = JSON.parse(localStorage.getItem('userinif')).token;
         this.userId = JSON.parse(localStorage.getItem('userinif')).userInfo.userId
         console.log(this.token)

+ 15 - 15
src/components/system/JobPost.vue

@@ -178,7 +178,7 @@ export default {
                 }
             }).then(function (res) {
                 if (res.data.code == 200) {
-                    debugger
+
                     that.depData = res.data.data;
                 }
             })
@@ -198,9 +198,9 @@ export default {
                 }
             }).then(function (res) {
                 console.log(res)
-                debugger
+
                 if (res.data.code == 200) {
-                    debugger
+
                     that.companyData = res.data.data
 
                 }
@@ -221,12 +221,12 @@ export default {
                     DepId: 0,
                 }
             }).then(function (res) {
-                debugger
+
                 console.log(res)
 
                 if (res.data.code == 200) {
-                    debugger
-                    debugger
+
+
                     that.tableDatas = res.data.data;
                     that.tableData = that.tableDatas
                     if (that.tableDatas.slice((that.currentPage - 1) * that.pageSize, that.currentPage * that.pageSize).length == 0) {
@@ -238,7 +238,7 @@ export default {
             })
         },
         handleChange(event) {
-            debugger
+
             var comId = event;
             const that = this;
             that.upData.DepId = ''
@@ -264,7 +264,7 @@ export default {
         },
         //#region  修改操作
         upDate(index, row) {
-            debugger
+
             this.upJobVisible = true;
             this.upData.Id = row.id
             this.upData.CompanyId = row.companyId
@@ -273,7 +273,7 @@ export default {
             this.upData.Remark = row.remark
         },
         upDateBtn() {
-            debugger
+
             this.$refs.upData.validate((valid) => {
                 if (valid) {
                     var that = this
@@ -296,7 +296,7 @@ export default {
                         data: that.upData
                     }).then(function (res) {
                         console.log(res)
-                        debugger
+
                         if (res.data.code == 200) {
                             that.$message({
                                 message: '修改成功',
@@ -320,7 +320,7 @@ export default {
         },
         //#endregion
         del(index, row) {
-            debugger
+
             this.$confirm('此操作将取消订单, 是否继续?', '提示', {
                 confirmButtonText: '确定',
                 cancelButtonText: '取消',
@@ -339,7 +339,7 @@ export default {
                     }
                 }).then(function (res) {
                     console.log(res)
-                    debugger
+
                     if (res.data.code == 200) {
                         that.$message({
                             type: 'success',
@@ -365,7 +365,7 @@ export default {
 
         },
         Addbtn() {
-            debugger
+
             this.$refs.addData.validate((valid) => {
                 if (valid) {
                     var that = this
@@ -385,7 +385,7 @@ export default {
                         data: that.addData
                     }).then(function (res) {
                         console.log(res)
-                        debugger
+
                         if (res.data.code == 200) {
                             that.$message({
                                 message: '添加成功!',
@@ -413,7 +413,7 @@ export default {
 
     },
     mounted() {
-        debugger
+
         this.token = JSON.parse(localStorage.getItem('userinif')).token;
         this.userId = JSON.parse(localStorage.getItem('userinif')).userInfo.userId
         console.log(this.token)

+ 9 - 9
src/components/system/SetData.vue

@@ -133,9 +133,9 @@ export default {
                 }
             }).then(function (res) {
                 console.log(res)
-                debugger
+
                 if (res.data.code == 200) {
-                    debugger
+
                     that.tableData = res.data.data;
                     that.tableDatas = that.tableData;
                     if (that.tableDatas.slice((that.currentPage - 1) * that.pageSize, that.currentPage * that.pageSize).length == 0) {
@@ -170,9 +170,9 @@ export default {
                 }
             }).then(function (res) {
                 console.log(res)
-                debugger
+
                 if (res.data.code == 200) {
-                    debugger
+
                     res.data.data.forEach(function (item, index) {
                         that.setDataType.push({
                             id: item.id,
@@ -202,7 +202,7 @@ export default {
         },
         //点击修改
         upDate(index, row) {
-            debugger
+
             this.AddSetDataTypeVisible = true;
             this.typeName = "修改数据板块"
             this.OperationData.status = 2
@@ -230,7 +230,7 @@ export default {
             this.$refs.OperationData.validate((valid) => {
                 if (valid) {
                     var that = this
-                    debugger
+
                     that.OperationData.CreateUserId = this.userId
 
                     var url = "/api/System/OperationSetData"
@@ -276,9 +276,9 @@ export default {
                 }
             }).then(function (res) {
                 console.log(res)
-                debugger
+
                 if (res.data.code == 200) {
-                    debugger
+
                     that.$message({
                         message: '删除成功',
                         type: 'success'
@@ -295,7 +295,7 @@ export default {
         }
     },
     mounted() {
-        debugger
+
         this.token = JSON.parse(localStorage.getItem('userinif')).token;
         this.userId = JSON.parse(localStorage.getItem('userinif')).userInfo.userId
         this.SetData();

+ 4 - 4
src/components/system/SetDataType.vue

@@ -134,9 +134,9 @@ export default {
                 }
             }).then(function (res) {
                 console.log(res)
-                debugger
+
                 if (res.data.code == 200) {
-                    debugger
+
                     that.tableData = res.data.data;
                     that.tableDatas = that.tableData;
                     if (that.tableDatas.slice((that.currentPage - 1) * that.pageSize, that.currentPage * that.pageSize).length == 0) {
@@ -240,9 +240,9 @@ export default {
                 }
             }).then(function (res) {
                 console.log(res)
-                debugger
+
                 if (res.data.code == 200) {
-                    debugger
+
                     that.$message({
                         message: '删除成功',
                         type: 'success'

+ 9 - 9
src/components/system/User.vue

@@ -187,7 +187,7 @@ export default {
                     CompanyId: companyId
                 }
             }).then(function (res) {
-                debugger
+
                 console.log(res)
 
                 if (res.data.code == 200) {
@@ -210,7 +210,7 @@ export default {
                 }
             }).then(function (res) {
                 console.log(res)
-                debugger
+
                 if (res.data.code == 200) {
                     that.companyData = res.data.data;
                 }
@@ -245,7 +245,7 @@ export default {
                 }
             }).then(function (res) {
                 console.log(res)
-                debugger
+
                 if (res.data.code == 200) {
                     that.JobData = res.data.data;
                 }
@@ -265,7 +265,7 @@ export default {
                 }
             }).then(function (res) {
                 console.log(res)
-                debugger
+
                 if (res.data.code == 200) {
                     that.tableDatas = res.data.data;
                     that.tableData = that.tableDatas
@@ -313,7 +313,7 @@ export default {
             this.Job(row.companyId, row.depId)
         },
         upBtn() {
-            debugger
+
             this.$refs.upData.validate((valid) => {
                 if (valid) {
                     var that = this
@@ -347,7 +347,7 @@ export default {
                         data: that.upData
                     }).then(function (res) {
                         console.log(res)
-                        debugger
+
                         if (res.data.code == 200) {
                             that.$message({
                                 message: '修改成功',
@@ -371,7 +371,7 @@ export default {
         },
         //#endregion
         del(index, row) {
-            debugger
+
             this.$confirm('此操作将取消订单, 是否继续?', '提示', {
                 confirmButtonText: '确定',
                 cancelButtonText: '取消',
@@ -390,7 +390,7 @@ export default {
                     }
                 }).then(function (res) {
                     console.log(res)
-                    debugger
+
                     if (res.data.code == 200) {
                         that.$message({
                             type: 'success',
@@ -416,7 +416,7 @@ export default {
 
     },
     mounted() {
-        debugger
+
         this.token = JSON.parse(localStorage.getItem('userinif')).token;
         this.userId = JSON.parse(localStorage.getItem('userinif')).userInfo.userId
         console.log(this.token)