Merge branch 'develop' into release-test
Showing
2 changed files
with
12 additions
and
4 deletions
| ... | @@ -26,7 +26,7 @@ watch( | ... | @@ -26,7 +26,7 @@ watch( |
| 26 | if (tab.fullPath.includes(jionPath)) { | 26 | if (tab.fullPath.includes(jionPath)) { |
| 27 | pathIndex.value = index | 27 | pathIndex.value = index |
| 28 | } | 28 | } |
| 29 | return tab.fullPath === newRouter.fullPath | 29 | return tab.fullPath === decodeURIComponent(newRouter.fullPath); |
| 30 | }); | 30 | }); |
| 31 | if (isExist.length == 0) { | 31 | if (isExist.length == 0) { |
| 32 | if (pathIndex.value != -1 && routerLength > 3) { | 32 | if (pathIndex.value != -1 && routerLength > 3) { |
| ... | @@ -58,7 +58,7 @@ watch( | ... | @@ -58,7 +58,7 @@ watch( |
| 58 | // } | 58 | // } |
| 59 | // }) | 59 | // }) |
| 60 | tabbarList.value = list; | 60 | tabbarList.value = list; |
| 61 | tabbarActive.value = newRouter.fullPath; | 61 | tabbarActive.value = decodeURIComponent(newRouter.fullPath); |
| 62 | userStore.setTabbar(tabbarList.value); | 62 | userStore.setTabbar(tabbarList.value); |
| 63 | userStore.setActiveTabbar(combPath, newRouter.fullPath); | 63 | userStore.setActiveTabbar(combPath, newRouter.fullPath); |
| 64 | // nextTick(() => { | 64 | // nextTick(() => { |
| ... | @@ -79,7 +79,6 @@ const changeTab = (pane: any, ev: any) => { | ... | @@ -79,7 +79,6 @@ const changeTab = (pane: any, ev: any) => { |
| 79 | }; | 79 | }; |
| 80 | const removeTab = (targetName) => { | 80 | const removeTab = (targetName) => { |
| 81 | // const tabs = tabbarList.value.filter(item => item.visible ?? true); | 81 | // const tabs = tabbarList.value.filter(item => item.visible ?? true); |
| 82 | debugger | ||
| 83 | const tabs = tabbarList.value; | 82 | const tabs = tabbarList.value; |
| 84 | let activeName = tabbarActive.value, nextTab: any = {}; | 83 | let activeName = tabbarActive.value, nextTab: any = {}; |
| 85 | const setTabs = (activeTab) => { | 84 | const setTabs = (activeTab) => { | ... | ... |
| ... | @@ -508,6 +508,14 @@ const formInfo = ref<any>({ | ... | @@ -508,6 +508,14 @@ const formInfo = ref<any>({ |
| 508 | default: '', | 508 | default: '', |
| 509 | col: 'hide', | 509 | col: 'hide', |
| 510 | }, | 510 | }, |
| 511 | { | ||
| 512 | label: "", | ||
| 513 | type: "input", | ||
| 514 | placeholder: "请输入", | ||
| 515 | field: "subjectDomain", | ||
| 516 | default: '', | ||
| 517 | col: 'hide', | ||
| 518 | }, | ||
| 511 | ], | 519 | ], |
| 512 | rules: { | 520 | rules: { |
| 513 | damName: [ | 521 | damName: [ |
| ... | @@ -1226,7 +1234,8 @@ const selectChange = async (val, row, info) => { | ... | @@ -1226,7 +1234,8 @@ const selectChange = async (val, row, info) => { |
| 1226 | formInfo.value.items.at(4).default = data.length && data[0].dataScale != null ? changeNum(data[0].dataScale, 0) : ''; | 1234 | formInfo.value.items.at(4).default = data.length && data[0].dataScale != null ? changeNum(data[0].dataScale, 0) : ''; |
| 1227 | formInfo.value.items.at(5).defaultValue = data.length ? data[0].caseNumber : ''; | 1235 | formInfo.value.items.at(5).defaultValue = data.length ? data[0].caseNumber : ''; |
| 1228 | formInfo.value.items.at(5).default = data.length && data[0].caseNumber != null ? changeNum(data[0].caseNumber, 0) : ''; | 1236 | formInfo.value.items.at(5).default = data.length && data[0].caseNumber != null ? changeNum(data[0].caseNumber, 0) : ''; |
| 1229 | formInfo.value.items.at(-1).default = data.length ? data[0].damGuid : ''; | 1237 | formInfo.value.items.at(-2).default = data.length ? data[0].damGuid : ''; |
| 1238 | formInfo.value.items.at(-1).default = data.length ? data[0].subjectDomain : ''; | ||
| 1230 | // formInfo.value.items.at(-3).required = data[0].damType != '1' && data[0].damType != '2'; | 1239 | // formInfo.value.items.at(-3).required = data[0].damType != '1' && data[0].damType != '2'; |
| 1231 | // formInfo.value.items.at(-4).required = data[0].damType != '1' && data[0].damType != '2'; | 1240 | // formInfo.value.items.at(-4).required = data[0].damType != '1' && data[0].damType != '2'; |
| 1232 | if (data.length && data[0].coverageArea?.[0]?.[0] != 'all' && data[0].coverageArea) { | 1241 | if (data.length && data[0].coverageArea?.[0]?.[0] != 'all' && data[0].coverageArea) { | ... | ... |
-
Please register or sign in to post a comment