Parcourir la source

二线入区核注清单管理,变更后,列表申报类型还是备案,查看回执中的记录是备案(应该是变更)

CzRger il y a 7 mois
Parent
commit
f2aa03cd01

+ 4 - 1
snowy-admin-web/src/views/yqyc/zero/two/in-nuclear-annotation/detail.vue

@@ -500,7 +500,7 @@ const tzOptions = ref([])
 const activeKey = ref('1')
 const userInfo = tool.data.get('USER_INFO')
 // 打开抽屉
-const onOpen = (record, view = false, copy) => {
+const onOpen = (record, view = false, copy, sblx) => {
 	isView.value = view
 	if (record) {
 		qySecondLineInHzdApi.qysecondlinehzdrqtzDetail({id: record.id}).then(res => {
@@ -510,6 +510,9 @@ const onOpen = (record, view = false, copy) => {
 			if (copy) {
 				delete formData.value.id
 			}
+			if (sblx) {
+				formData.value.sblx = sblx
+			}
 		})
 	} else {
 		formData.value.tzType = '二线入区'

+ 3 - 3
snowy-admin-web/src/views/yqyc/zero/two/in-nuclear-annotation/index.vue

@@ -93,7 +93,7 @@
 							<a-button type="link" danger size="small" v-if="hasPerm('qySecondlineHzdTzDelete') && (record.status == 1 || record.status == 4)">删除</a-button>
 						</a-popconfirm>
 						<a @click="onDetail(record, false,true)">复制</a>
-						<a @click="onDetail(record)" v-if="record.status == 3">变更</a>
+						<a @click="onDetail(record, false, false, 'bgsq')" v-if="record.status == 3">变更</a>
 						<a @click="onBack(record)" v-if="record.status == 2">撤回</a>
 					</a-space>
 				</template>
@@ -248,10 +248,10 @@
         })
     }
 	// 切换至表单
-    const onDetail = (record = null, view, copy) => {
+    const onDetail = (record = null, view, copy, sblx) => {
     	indexShow.value = false
     	nextTick(() => {
-            detailRef.value.onOpen(record, view, copy)
+            detailRef.value.onOpen(record, view, copy, sblx)
     	})
     }
     const onBack = (record) => {

+ 4 - 1
snowy-admin-web/src/views/yqyc/zero/two/out-nuclear-annotation/detail.vue

@@ -501,7 +501,7 @@ const tzOptions = ref([])
 const activeKey = ref('1')
 const userInfo = tool.data.get('USER_INFO')
 // 打开抽屉
-const onOpen = (record, view = false, copy) => {
+const onOpen = (record, view = false, copy, sblx) => {
 	isView.value = view
 	if (record) {
 		qySecondlineHzdTzApi.qySecondlineHzdTzDetail({id: record.id}).then(res => {
@@ -511,6 +511,9 @@ const onOpen = (record, view = false, copy) => {
 			if (copy) {
 				delete formData.value.id
 			}
+			if (sblx) {
+				formData.value.sblx = sblx
+			}
 		})
 	} else {
 		formData.value.tzType = '二线出区'

+ 3 - 3
snowy-admin-web/src/views/yqyc/zero/two/out-nuclear-annotation/index.vue

@@ -93,7 +93,7 @@
 							<a-button type="link" danger size="small" v-if="hasPerm('qySecondlineHzdTzDelete') && (record.status == 1 || record.status == 4)">删除</a-button>
 						</a-popconfirm>
 						<a @click="onDetail(record, false,true)">复制</a>
-						<a @click="onDetail(record)" v-if="record.status == 3">变更</a>
+						<a @click="onDetail(record, false, false, 'bgsq')" v-if="record.status == 3">变更</a>
 						<a @click="onBack(record)" v-if="record.status == 2">撤回</a>
 					</a-space>
 				</template>
@@ -248,10 +248,10 @@
         })
     }
 	// 切换至表单
-    const onDetail = (record = null, view, copy) => {
+    const onDetail = (record = null, view, copy, sblx) => {
     	indexShow.value = false
     	nextTick(() => {
-            detailRef.value.onOpen(record, view, copy)
+            detailRef.value.onOpen(record, view, copy, sblx)
     	})
     }
     const onBack = (record) => {