From b4630f63b53443eeeb8a62caff83fd70f7a4318c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=A3=95=E8=B4=A2?= Date: Tue, 7 Nov 2023 18:25:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/js/util.js | 2 +- src/components/Image/ImageCategoryTree.vue | 2 +- src/components/mdp-ui-ext/mdp-expand/FormData.vue | 2 +- src/components/mdp-ui-ext/mdp-expand/FormDataItem.vue | 2 +- src/components/mdp-ui-ext/mdp-image/Index.vue | 2 +- src/components/mdp-ui-ext/mdp-select-tag/TagSelect.vue | 2 +- src/components/mdp-ui/js/util.js | 2 +- src/components/mdp-ui/mixin/MdpSelectMixin.js | 2 +- src/permission.js | 2 +- src/store/modules/permission.js | 2 +- src/views/mdp/lcode/formData/Index.vue | 2 +- src/views/mdp/lcode/formField/Index.vue | 2 +- src/views/xm/core/xmIteration/XmIterationForLinkComplex.vue | 2 +- src/views/xm/core/xmTestCase/XmTestCaseMng.vue | 2 +- src/views/xm/core/xmTestPlanCase/XmTestPlanCaseEdit.vue | 2 +- src/views/xm/rpt/index/CompsSet.vue | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/common/js/util.js b/src/common/js/util.js index d326ac15..b28831dd 100644 --- a/src/common/js/util.js +++ b/src/common/js/util.js @@ -152,7 +152,7 @@ export default { }, calcMaxHeight(cssSelector) { - debugger; + var table=cssSelector; if(typeof cssSelector == 'string'){ table=document.querySelector(cssSelector); diff --git a/src/components/Image/ImageCategoryTree.vue b/src/components/Image/ImageCategoryTree.vue index 583a2179..d2b53ceb 100644 --- a/src/components/Image/ImageCategoryTree.vue +++ b/src/components/Image/ImageCategoryTree.vue @@ -198,7 +198,7 @@ this.$emit('current-change',data, node); }, handleNodeClick(data, node, comp) { - debugger; + this.currentImageCategory=Object.assign({},data) this.$emit('node-click',data, node, comp); }, diff --git a/src/components/mdp-ui-ext/mdp-expand/FormData.vue b/src/components/mdp-ui-ext/mdp-expand/FormData.vue index 1d31a116..863f63a8 100644 --- a/src/components/mdp-ui-ext/mdp-expand/FormData.vue +++ b/src/components/mdp-ui-ext/mdp-expand/FormData.vue @@ -127,7 +127,7 @@ import treeTool from '@/components/mdp-ui/js/treeTool.js' editSubmit: function () { this.$refs.editForm.validate((valid) => { if (valid) { - debugger + this.editLoading = true; let params = Object.assign({}, this.editForm); if(this.isExtInfosCpd){ diff --git a/src/components/mdp-ui-ext/mdp-expand/FormDataItem.vue b/src/components/mdp-ui-ext/mdp-expand/FormDataItem.vue index e137bbbe..70d38281 100644 --- a/src/components/mdp-ui-ext/mdp-expand/FormDataItem.vue +++ b/src/components/mdp-ui-ext/mdp-expand/FormDataItem.vue @@ -208,7 +208,7 @@ }, onFieldChange(val){ - debugger; + this.$emit('input',this.editForm) this.$emit('change',this.editForm,this.field) diff --git a/src/components/mdp-ui-ext/mdp-image/Index.vue b/src/components/mdp-ui-ext/mdp-image/Index.vue index 9de312a1..cd071ebd 100644 --- a/src/components/mdp-ui-ext/mdp-image/Index.vue +++ b/src/components/mdp-ui-ext/mdp-image/Index.vue @@ -149,7 +149,7 @@ export default { } }, initCurrData(){ - debugger + var val=this.value if(!val){ this.myVal=val diff --git a/src/components/mdp-ui-ext/mdp-select-tag/TagSelect.vue b/src/components/mdp-ui-ext/mdp-select-tag/TagSelect.vue index bbbfc9ae..70b1d3ef 100644 --- a/src/components/mdp-ui-ext/mdp-select-tag/TagSelect.vue +++ b/src/components/mdp-ui-ext/mdp-select-tag/TagSelect.vue @@ -139,7 +139,7 @@ data() { methods: { //页面初始化需要配置的特殊逻辑写这里 initCurrData(){ - debugger + this.searchTableDatas(); }, diff --git a/src/components/mdp-ui/js/util.js b/src/components/mdp-ui/js/util.js index 9e4abfd5..ccecdd2c 100644 --- a/src/components/mdp-ui/js/util.js +++ b/src/components/mdp-ui/js/util.js @@ -401,7 +401,7 @@ export default { }, calcMaxHeight:function(cssSelector) { - debugger; + var table=cssSelector; if(typeof cssSelector == 'string'){ table=document.querySelector(cssSelector); diff --git a/src/components/mdp-ui/mixin/MdpSelectMixin.js b/src/components/mdp-ui/mixin/MdpSelectMixin.js index 6502b896..931a0308 100644 --- a/src/components/mdp-ui/mixin/MdpSelectMixin.js +++ b/src/components/mdp-ui/mixin/MdpSelectMixin.js @@ -556,7 +556,7 @@ export const MdpSelectMixin = { * @returns */ initOptionsByInitName(myVal,myName){ - debugger + this.initOptions=myVal.map((v,idx)=>{ var option={} option[this.props['id']]=v diff --git a/src/permission.js b/src/permission.js index 9d583aef..5a6d3610 100644 --- a/src/permission.js +++ b/src/permission.js @@ -76,7 +76,7 @@ router.beforeEach((to, from, next) => { next({ path: '/login' }) }) }else{ - debugger + store.dispatch('GenerateRoutes', {roles:store.getters.roles ,menus:store.getters.myMenus} ).then(() => { // 根据roles权限生成可访问的路由表 router.addRoutes(store.getters.addRouters) // 动态添加可访问路由表 next({ ...to, replace: true }) // hack方法 确保addRoutes已完成 ,set the replace: true so the navigation will not leave a history record diff --git a/src/store/modules/permission.js b/src/store/modules/permission.js index 5c0d023f..5505b61d 100644 --- a/src/store/modules/permission.js +++ b/src/store/modules/permission.js @@ -80,7 +80,7 @@ function filterAsyncRouter(asyncRouterMap, roles,menus) { return false }) - debugger + return accessedRouters } function filterAsyncRouterWithParentRoute(proute, roles,menus) { diff --git a/src/views/mdp/lcode/formData/Index.vue b/src/views/mdp/lcode/formData/Index.vue index 85ef4936..8fa962fb 100644 --- a/src/views/mdp/lcode/formData/Index.vue +++ b/src/views/mdp/lcode/formData/Index.vue @@ -265,7 +265,7 @@ export default { //页面数据加载完后需要对数据进行加工处理的 afterList(datas,isOk,apiName){ if(datas){ - debugger; + var dataType=this.$route.params.dataType var dataField=this.$route.params.dataField var camelDf=this.$mdp.toCamel(dataField) diff --git a/src/views/mdp/lcode/formField/Index.vue b/src/views/mdp/lcode/formField/Index.vue index f4b58f20..55c28b9c 100644 --- a/src/views/mdp/lcode/formField/Index.vue +++ b/src/views/mdp/lcode/formField/Index.vue @@ -592,7 +592,7 @@ export default { } }, hasChild(id){ - debugger + return this.hasMyChild(id,this.selectedFields) }, hasMyChild(id,children){ diff --git a/src/views/xm/core/xmIteration/XmIterationForLinkComplex.vue b/src/views/xm/core/xmIteration/XmIterationForLinkComplex.vue index fe596811..9f397fd2 100644 --- a/src/views/xm/core/xmIteration/XmIterationForLinkComplex.vue +++ b/src/views/xm/core/xmIteration/XmIterationForLinkComplex.vue @@ -438,7 +438,7 @@ this.$nextTick(() => { - debugger; + initDicts(this) //this.maxTableHeight = util.calcTableMaxHeight(this.$refs.pageBody.$el); diff --git a/src/views/xm/core/xmTestCase/XmTestCaseMng.vue b/src/views/xm/core/xmTestCase/XmTestCaseMng.vue index 26865c76..16ce3284 100644 --- a/src/views/xm/core/xmTestCase/XmTestCaseMng.vue +++ b/src/views/xm/core/xmTestCase/XmTestCaseMng.vue @@ -235,7 +235,7 @@ export default { } this.load.list = true; listXmTestCase(params).then((res) => { - debugger; + var tips=res.data.tips; if(tips.isOk){ this.pageInfo.total = res.data.total; diff --git a/src/views/xm/core/xmTestPlanCase/XmTestPlanCaseEdit.vue b/src/views/xm/core/xmTestPlanCase/XmTestPlanCaseEdit.vue index 9c0880fd..7eb8b104 100644 --- a/src/views/xm/core/xmTestPlanCase/XmTestPlanCaseEdit.vue +++ b/src/views/xm/core/xmTestPlanCase/XmTestPlanCaseEdit.vue @@ -477,7 +477,7 @@ import JsonViewer from 'vue-json-viewer' this.editSomeFields(this.editForm,'execStatus',res.status==200?"2":"4") } }).catch(res=>{ - debugger; + var func=new Function('res','env',autoStepObj.expectResult) var result=func(res,env) if(result==true){ diff --git a/src/views/xm/rpt/index/CompsSet.vue b/src/views/xm/rpt/index/CompsSet.vue index 2837d0c9..1c4a68df 100644 --- a/src/views/xm/rpt/index/CompsSet.vue +++ b/src/views/xm/rpt/index/CompsSet.vue @@ -247,7 +247,7 @@ export default { //this.comps.forEach(k=>k.id=k.id?k.id:k.compId) this.$nextTick(()=>{ - debugger + this.maxTableHeight = util.calcMaxHeight(this.$refs.table.$el) if(this.category){ this.filters.category=this.category