소스 검색

保存展开表单修改

duy 1 년 전
부모
커밋
254dfa525f

+ 3 - 2
src/views/agree/land/collapse-form/index.vue

@@ -287,7 +287,7 @@ const changeFormDatas = (pKeyId, type) => {
 const ActiveKey = ref('')
 const CollapseChange = (name) => {
     ActiveKey.value = name
-    setStoreValue('activeKey', ActiveKey.value)
+
     let index = getCollapseItemIndex(name)
   
     if (index > -1) {
@@ -373,7 +373,7 @@ const setChangeFormDatas = async (pkeyId, type) => {
 const DragModalTableForm = ref([])
 const DragModalHeight = ref(600)
 const windowClick = async (item, indexs) => {
-
+setStoreValue('activeKey', ActiveKey.value)
     const list = deepClone(DragModalTableForm.value)
     let index = arrIndex(list, 'pkeyId', item.id)
     if (!item.isWindow) {
@@ -599,6 +599,7 @@ const tableFormSaveClick = async (item, dragItem = null, index) => {
            
             tableFormSaveLoading.value = false
             agreementId.value = agreementId
+            
             renewData(isSave)
             // await getBussPdfInfo(item, dragItem)
         } else {

+ 1 - 2
src/views/agree/special/collapse-form/index.vue

@@ -287,7 +287,6 @@ const changeFormDatas = (pKeyId, type) => {
 const ActiveKey = ref('')
 const CollapseChange = (name) => {
     ActiveKey.value = name
-    setStoreValue('activeKey', ActiveKey.value)
     let index = getCollapseItemIndex(name)
   
     if (index > -1) {
@@ -373,7 +372,7 @@ const setChangeFormDatas = async (pkeyId, type) => {
 const DragModalTableForm = ref([])
 const DragModalHeight = ref(600)
 const windowClick = async (item, indexs) => {
-
+    setStoreValue('activeKey', ActiveKey.value)
     const list = deepClone(DragModalTableForm.value)
     let index = arrIndex(list, 'pkeyId', item.id)
     if (!item.isWindow) {

+ 2 - 2
src/views/agree/tomb/collapse-form/index.vue

@@ -287,7 +287,7 @@ const changeFormDatas = (pKeyId, type) => {
 const ActiveKey = ref('')
 const CollapseChange = (name) => {
     ActiveKey.value = name
-    setStoreValue('activeKey', ActiveKey.value)
+
     let index = getCollapseItemIndex(name)
   
     if (index > -1) {
@@ -373,7 +373,7 @@ const setChangeFormDatas = async (pkeyId, type) => {
 const DragModalTableForm = ref([])
 const DragModalHeight = ref(600)
 const windowClick = async (item, indexs) => {
-
+    setStoreValue('activeKey', ActiveKey.value)
     const list = deepClone(DragModalTableForm.value)
     let index = arrIndex(list, 'pkeyId', item.id)
     if (!item.isWindow) {