From a6fdbed4f31530c080b591d78c141e561db78967 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期一, 28 九月 2026 09:35:01 +0800
Subject: [PATCH] feat(inspection): 更新检测类型选项并移除湿度字段 - 将"委托试验"改为"委托检验",增加委托检测、实验室间比对、能力验证等检测类型 - 移除所有表单中的湿度相关字段及验证逻辑 - 在报告准备界面添加印章选择功能,支持MA章、报告章、骑缝章的位置选择 - 优化报告结果流程界面,增加报告下载功能和领报告相关信息字段 - 新增印章管理系统,支持印章的增删改查和图片上传功能

---
 src/views/CNAS/resourceDemand/device/component/scrapApplicationForm.vue |   31 +++++++++++--------------------
 1 files changed, 11 insertions(+), 20 deletions(-)

diff --git a/src/views/CNAS/resourceDemand/device/component/scrapApplicationForm.vue b/src/views/CNAS/resourceDemand/device/component/scrapApplicationForm.vue
index a01adbf..51a6439 100644
--- a/src/views/CNAS/resourceDemand/device/component/scrapApplicationForm.vue
+++ b/src/views/CNAS/resourceDemand/device/component/scrapApplicationForm.vue
@@ -73,6 +73,11 @@
 </template>
 
 <script>
+import {
+  getDeviceScrapped,
+  addDeviceScrapped,
+} from '@/api/cnas/resourceDemand/device.js'
+import { selectUserCondition } from "@/api/business/inspectionTask";
 export default {
   name: "scrapApplicationForm",
   // import 寮曞叆鐨勭粍浠堕渶瑕佹敞鍏ュ埌瀵硅薄涓墠鑳戒娇鐢�
@@ -122,7 +127,9 @@
     },
     // 鏌ヨ璇︽儏
     searchInfo() {
-      this.$axios.get(this.$api.deviceScrapped.getDeviceScrapped + '?scrappedId=' + this.form.scrappedId).then(res => {
+      getDeviceScrapped({
+        scrappedId: this.form.scrappedId
+      }).then(res => {
         if (res.code === 200) {
           this.form = { ...res.data }
           if (this.form.isFinish === 0) {
@@ -155,13 +162,7 @@
       this.form.flowType = this.currentStep
       this.$refs.modelForm.validate((valid) => {
         if (valid) {
-          this.$axios.post(this.$api.deviceScrapped.addDeviceScrapped,
-            this.form, {
-            headers: {
-              'Content-Type': 'application/json'
-            },
-            noQs: true
-          }).then(res => {
+          addDeviceScrapped(this.form).then(res => {
             if (res.code == 200) {
               this.$message.success('鏂板鎴愬姛')
               this.resetForm()
@@ -179,18 +180,8 @@
       this.$emit('closeDialog')
     },
     getUserList() {
-      this.$axios.post(this.$api.user.selectUserList, {
-        page: { current: -1, size: -1, },
-        entity: { name: null }
-      }, {
-        headers: {
-          'Content-Type': 'application/json'
-        }
-      }).then(res => {
-        if (res.code === 201) {
-          return
-        }
-        this.userList = res.data.records
+      selectUserCondition().then(res => {
+        this.userList = res.data
       })
     },
   },

--
Gitblit v1.9.3