PageSourceSearch

https://www.aqniu.net/js/productWatch-CJleio4F.js

js aqniu.net collected 2026-10-09 04:56:38 UTC 15,861 bytes, 1 lines download raw bytes

1import{u as e}from"./uploadFileList-LwMbd3nI.js";import{s as a,_ as l}from"./request-Cvf0WNS5.js";import{f as t}from"./token-lKaI-k1E.js";import{d as i,f as o,e as u,u as r,an as d,_ as n,i as p,c as s,a as c,b as v,w as m,q as f,l as g,r as y,ak as b,F as _,j as h,g as I,h as w,o as V}from"./main-BR8gIwwd.js";import"./Interface-By4Wv6xK.js";import"./commonUtil-CAIvOrzY.js";import"./FilePreviewDialog-BycDcYT_.js";import"./upload-sF7sAh5-.js";/* empty css                                                                          *//* empty css                                                                       */import"./index-Dos3PyFQ.js";function F(e){const n=r(),p=o(),s=u(""),c=u({}),v=u([]),m=u([]),f=u([]),g=u(!1),y=u([]),b=u([{fileTit:"产品资质/服务资质",tip:"(产品资质:主要指网络关键设备和网络安全专用产品安全认证和安全检测结果,或者提供有效期内的计算机信息系统安全专用产品销售许可证和商用密码产品认证结果\n服务资质:主要指中国网络安全审查认证和市场监管大数据中心、中国信息安全测评中心、国家互联网应急中心(CNCERT)颁发的服务资质证书)",multiple:!1,fileList:[]},{fileTit:"解决方案",tip:"上传解决方案文件",multiple:!1,fileList:[]},{fileTit:"产品白皮书",tip:"上传产品白皮书文件",multiple:!1,fileList:[]},{fileTit:"应用案例",tip:"上传产品应用案例",multiple:!1,fileList:[]},{fileTit:"其它",tip:"上传文件(产品介绍、宣传视频、操作手册等)",multiple:!1,fileList:[]}]),_=u({multiple:!0,value:"categoryId",label:"categoryName",children:"children",checkStrictly:!0,disabled:e=>e.children}),h=async()=>{try{const l=await a({url:"admin/panoramaCategories/getAllPanoramaCategories",method:"post",data:e});200==l.code&&(v.value=l.data)}catch(l){}var e},I=u([]),w=async()=>{let e=new FormData;e.append("productId",s.value);try{const t=await(l=e,a({url:"admin/products/getProductById",method:"post",data:l}));if(200==t.code){if(c.value=t.data,t.data.productCategoryId){t.data.productCategoryId.split(",").forEach(e=>{I.value.push(e.split("/"))}),m.value=I.value}b.value[0].fileList=t.data.productQualificationsFiles,b.value[1].fileList=t.data.solutionFiles,b.value[2].fileList=t.data.whitePaperFiles,b.value[3].fileList=t.data.applicationCasesFiles,b.value[4].fileList=t.data.otherFiles}}catch(t){}finally{setTimeout(()=>{g.value=!0},1e3)}var l};i(()=>{h(),"write"==p.query.type?(s.value=p.query.productRowId,w()):g.value=!0});const V=u([{value:"金融行业",label:"金融行业"},{value:"医疗行业",label:"医疗行业"},{value:"交通行业",label:"交通行业"},{value:"制造行业",label:"制造行业"},{value:"能源行业",label:"能源行业"},{value:"教育/新闻/媒体行业",label:"教育/新闻/媒体行业"},{value:"政府/公共事业单位",label:"政府/公共事业单位"},{value:"公安/监管机构",label:"公安/监管机构"},{value:"军工",label:"军工"},{value:"运营商",label:"运营商"},{value:"计算机与互联网",label:"计算机与互联网"},{value:"消费/服务行业",label:"消费/服务行业"},{value:"其它",label:"其它"}]);return{fileArray:b,fileList:y,formData:c,categoryData:v,casProps:_,prodCate:m,goBack:()=>{n.back()},getCategories:h,getMethods:async(a,l)=>{var t,i,o,u,r,d,n,p,s;"产品资质/服务资质"==l.fileTit?(c.value.productQualifications=[...(null==(t=c.value.productQualifications)?void 0:t.split(","))||[],...a].join(","),await(null==(i=e.value)?void 0:i.validateField("productQualifications"))):"解决方案"==l.fileTit?(c.value.solution=[...(null==(o=c.value.solution)?void 0:o.split(","))||[],...a].join(","),await(null==(u=e.value)?void 0:u.validateField("solution"))):"产品白皮书"==l.fileTit?(c.value.whitePaperFile=[...(null==(r=c.value.whitePaperFile)?void 0:r.split(","))||[],...a].join(","),await(null==(d=e.value)?void 0:d.validateField("whitePaperFile"))):"应用案例"==l.fileTit?(c.value.applicationCases=[...(null==(n=c.value.applicationCases)?void 0:n.split(","))||[],...a].join(","),await(null==(p=e.value)?void 0:p.validateField("applicationCases"))):"其它"==l.fileTit&&(c.value.otherFile=[...(null==(s=c.value.otherFile)?void 0:s.split(","))||[],...a].join(","))},onRemove:async(a,l)=>{var t,i,o,u;"产品资质/服务资质"==l.fileTit?(c.value.productQualifications=a.map(e=>e.fileId).join(","),await(null==(t=e.value)?void 0:t.validateField("productQualifications"))):"解决方案"==l.fileTit?(c.value.solution=a.map(e=>e.fileId).join(","),await(null==(i=e.value)?void 0:i.validateField("solution"))):"产品白皮书"==l.fileTit?(c.value.whitePaperFile=a.map(e=>e.fileId).join(","),await(null==(o=e.value)?void 0:o.validateField("whitePaperFile"))):"应用案例"==l.fileTit?(c.value.applicationCases=a.map(e=>e.fileId).join(","),await(null==(u=e.value)?void 0:u.validateField("applicationCases"))):"其它"==l.fileTit&&(c.value.otherFile=a.map(e=>e.fileId).join(","))},submitForm:async()=>{e.value&&(f.value=[],m.value&&m.value.length>
10&&(m.value.forEach(e=>{const a={details:e.join(",")};f.value.push(a)}),c.value.productCategoryIds=f.value),await e.value.validate(async e=>{if(e){const e=d.service({lock:!0,text:"Loading",background:"rgba(0, 0, 0, 0.7)"});try{c.value.updateUser=t("USER_ID"),"add"==p.query.type?await(l=c.value,a({url:"admin/products/addProduct",method:"post",data:l})):await(e=>a({url:"admin/products/upProduct",method:"post",data:e}))(c.value),n.push("productDisplayPage")}catch(i){}finally{e.close()}}var l}))},applicationIndustryOptions:V,handleCateChange:e=>{if(e.length>3)return l.msgWarning("最多只能选择三个分类"),void(m.value=e.slice(0,3));m.value=e},isInitializing:g}}const C={class:"productManagement"},q={class:"add_search margBot"},j=n({__name:"productWatch",setup(a){const l=u(null),{categoryData:t,casProps:i,prodCate:o,fileArray:r,formData:d,goBack:n,getMethods:j,onRemove:T,applicationIndustryOptions:k,handleCateChange:L,isInitializing:D}=F(l),P={productName:[{required:!0,message:"请输入产品名称",trigger:"blur"}],releaseDate:[{required:!0,message:"请选择发布时间",trigger:"change"}],productCategoryId:[{required:!0,validator:(e,a,l)=>{o.value&&0!==o.value.length?l():l(new Error("请选择产品分类"))},trigger:"change"}],orderNumber:[{required:!0,message:"请输入订单数量",trigger:"blur"}],orderMoney:[{required:!0,message:"请输入订单金额",trigger:"blur"}],productIntroduction:[{required:!0,message:"请输入产品简介",trigger:"blur"}],productAdvantage:[{required:!0,message:"请输入产品优势",trigger:"blur"}],productDetails:[{required:!0,message:"请输入产品详情介绍",trigger:"blur"}],productQualifications:[{required:!0,message:"请上传产品资质/服务资质",trigger:"change"}],panoramaState:[{required:!0,message:"请选择是否申报全景图",trigger:"change"}],solution:[{required:!0,message:"请上传解决方案",trigger:"change"}],whitePaperFile:[{required:!0,message:"请上传产品白皮书",trigger:"change"}],applicationCases:[{required:!0,message:"请上传应用案例",trigger:"change"}],applicationIndustry1:[{required:!0,validator:(e,a,l)=>{a?a===d.value.applicationIndustry2||a===d.value.applicationIndustry3?l(new Error("行业应用不能重复选择")):l():l(new Error("请选择该产品营收占比最高的行业"))},trigger:["blur","submit"]}],applicationIndustry2:[{validator:(e,a,l)=>{!a||a!==d.value.applicationIndustry1&&a!==d.value.applicationIndustry3?l():l(new Error("行业应用不能重复选择"))},trigger:["blur","submit"]}],applicationIndustry3:[{validator:(e,a,l)=>{!a||a!==d.value.applicationIndustry1&&a!==d.value.applicationIndustry2?l():l(new Error("行业应用不能重复选择"))},trigger:["blur","submit"]}]};p(()=>[d.value.applicationIndustry1,d.value.applicationIndustry2,d.value.applicationIndustry3],(e,a)=>((e,a)=>{if(!D.value)return;if(!l.value)return;const t=e.findIndex((e,l)=>e!==a[l]);if(-1===t)return;const i=`applicationIndustry${t+1}`;l.value.validateField(i)})(e,a));const R=()=>{const e="https://www.aqniu.net/api/filePath/documentation/"+encodeURIComponent("安全牛《中国网络安全行业全景图(第十三版)》《AI网络安全全景图(2026版)》细分领域分类说明.xlsx");window.open(e,"_blank")};return(a,u)=>{const p=y("el-button"),F=y("el-input"),D=y("el-form-item"),U=y("el-col"),x=y("el-date-picker"),z=y("el-row"),N=y("el-cascader"),O=y("question-filled"),E=y("el-icon"),A=y("el-tooltip"),M=y("el-option"),Q=y("el-select"),S=y("el-divider"),B=y("el-radio"),H=y("el-radio-group"),Y=y("el-form");return V(),s("div",C,[c("div",q,[v(p,{type:"info",onClick:g(n)},{default:m(()=>[...u[14]||(u[14]=[f("返回",-1)])]),_:1},8,["onClick"])]),v(Y,{ref_key:"formRef",ref:l,model:g(d),rules:P,"label-width":"auto","validate-on-rule-change":!1},{default:m(()=>[v(z,{gutter:20},{default:m(()=>[v(U,{span:12},{default:m(()=>[v(D,{label:"产品名称",prop:"productName"},{default:m(()=>[v(F,{size:"large",modelValue:g(d).productName,"onUpdate:modelValue":u[0]||(u[0]=e=>g(d).productName=e),placeholder:"请输入产品名称"},null,8,["modelValue"])]),_:1})]),_:1}),v(U,{span:12},{default:m(()=>[v(D,{label:"发布时间",prop:"releaseDate"},{default:m(()=>[v(x,{modelValue:g(d).releaseDate,"onUpdate:modelValue":u[1]||(u[1]=e=>g(d).releaseDate=e),type:"year","value-format":"YYYY",placeholder:"请选择发布时间"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),v(z,{gutter:20},{default:m(()=>[v(U,{span:12},{default:m(()=>[v(D,{label:"产品分类",prop:"productCategoryId",style:{position:"relative"}}
1,{default:m(()=>[v(N,{options:g(t),props:g(i),modelValue:g(o),"onUpdate:modelValue":u[2]||(u[2]=e=>b(o)?o.value=e:null),clearable:"",filterable:"",size:"large",style:{width:"100%"},onChange:g(L),placeholder:"请选择产品分类(最多选择3个)"},null,8,["options","props","modelValue","onChange"]),v(A,{content:"点击下载产品分类说明",placement:"top"},{default:m(()=>[v(E,{class:"question-icon",onClick:R},{default:m(()=>[v(O)]),_:1})]),_:1})]),_:1})]),_:1}),v(U,{span:12},{default:m(()=>[v(D,{label:"行业应用1",prop:"applicationIndustry1"},{default:m(()=>[v(Q,{modelValue:g(d).applicationIndustry1,"onUpdate:modelValue":u[3]||(u[3]=e=>g(d).applicationIndustry1=e),placeholder:"请选择该产品营收占比最高的行业",size:"large"},{default:m(()=>[(V(!0),s(_,null,h(g(k),e=>(V(),I(M,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),v(U,{span:12},{default:m(()=>[v(D,{label:"订单数量",prop:"orderNumber"},{default:m(()=>[v(F,{type:"number",modelValue:g(d).orderNumber,"onUpdate:modelValue":u[4]||(u[4]=e=>g(d).orderNumber=e),size:"large",placeholder:"上一年产品合同数量",precision:0,min:"0",onInput:u[5]||(u[5]=e=>{g(d).orderNumber="0"===e?"0":e.replace(/^0+|\D/g,"")})},null,8,["modelValue"])]),_:1})]),_:1}),v(U,{span:12},{default:m(()=>[v(D,{label:"行业应用2",prop:"applicationIndustry2"},{default:m(()=>[v(Q,{modelValue:g(d).applicationIndustry2,"onUpdate:modelValue":u[6]||(u[6]=e=>g(d).applicationIndustry2=e),placeholder:"请选择该产品营收占比次高的行业",size:"large",clearable:""},{default:m(()=>[(V(!0),s(_,null,h(g(k),e=>(V(),I(M,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),v(z,{gutter:20},{default:m(()=>[v(U,{span:12},{default:m(()=>[v(D,{label:"订单金额",prop:"orderMoney"},{default:m(()=>[v(F,{type:"number",modelValue:g(d).orderMoney,"onUpdate:modelValue":u[7]||(u[7]=e=>g(d).orderMoney=e),size:"large",placeholder:"上一年产品营收",precision:2,min:"0.01",onInput:u[8]||(u[8]=e=>{g(d).orderMoney="0"===e?"0":e.replace(/[^\d.]/g,"").replace(/^0+(\d)/,"$1").replace(/^\./,"0.").replace(/\.{2,}/g,".").replace(/^(\d*\.\d{0,2}).*$/g,"$1")})},{suffix:m(()=>[...u[15]||(u[15]=[f("万元",-1)])]),_:1},8,["modelValue"])]),_:1})]),_:1}),v(U,{span:12},{default:m(()=>[v(D,{label:"行业应用3",prop:"applicationIndustry3"},{default:m(()=>[v(Q,{modelValue:g(d).applicationIndustry3,"onUpdate:modelValue":u[9]||(u[9]=e=>g(d).applicationIndustry3=e),placeholder:"请选择该产品营收占比第三的行业",size:"large",clearable:""},{default:m(()=>[(V(!0),s(_,null,h(g(k),e=>(V(),I(M,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),v(U,{span:24},{default:m(()=>[v(D,{label:"产品简介",prop:"productIntroduction"},{default:m(()=>[v(F,{type:"textarea",modelValue:g(d).productIntroduction,"onUpdate:modelValue":u[10]||(u[10]=e=>g(d).productIntroduction=e),autosize:{minRows:3},placeholder:"100字以内,显示在全景图"},null,8,["modelValue"])]),_:1})]),_:1}),v(U,{span:24},{default:m(()=>[v(D,{label:"产品优势",prop:"productAdvantage"},{default:m(()=>[v(F,{type:"textarea",modelValue:g(d).productAdvantage,"onUpdate:modelValue":u[11]||(u[11]=e=>g(d).productAdvantage=e),autosize:{minRows:3},placeholder:"限填3项"},null,8,["modelValue"])]),_:1})]),_:1}),v(U,{span:24},{default:m(()=>[v(D,{label:"产品详情介绍",prop:"productDetails"},{default:m(()=>[v(F,{type:"textarea",modelValue:g(d).productDetails,"onUpdate:modelValue":u[12]||(u[12]=e=>g(d).productDetails=e),autosize:{minRows:5},placeholder:"1000字以内,针对安全牛个人会员显示"},null,8,["modelValue"])]),_:1})]),_:1}),v(U,{span:24},{default:m(()=>[(V(!0),s(_,null,h(g(r).slice(0,1),(a,l)=>(V(),I(D,{key:l,label:a.fileTit,prop:"productQualifications"},{default:m(()=>[v(e,{fileList:a.fileList,multiple:a.multiple,tip:a.tip,onOnHttpRequest:e=>g(j)(e,a),onOnRemove:e=>g(T)(e,a)},null,8,["fileList","multiple","tip","onOnHttpRequest","onOnRemove"])]),_:2},1032,["label"]))),128))]),_:1})]),_:1}),v(S,{"content-position":"left",style:{border:"none"}},{default:m(()=>[...u[16]||(u[16]=[c("p",{style:{"font-size":"20px"}},"以下内容仅针对安全牛甲方展示:",-1)])]),_:1}),v(z,{gutter:20},{default:m(()=>[v(U,{span:24},{default:m(()=>[(V(!0),s(_,null,h(g(r).slice(1),(a,l)=>(V(),I(D,{key:l,label:a.fileTit,prop:"解决方案"===a.fileTit?"solution":"产品白皮书"===a.fileTit?"whitePaperFile":"应用案例"===a.fileTit?"applicationCases":""},{default:m(()=>[v(e,{fileList:a.fileList,multiple:a.multiple,tip:a.tip,onOnHttpRequest:e=>g(j)(e,a),onOnRemove:e=>g(T)(e,a)},null,8,["fileList","multiple","tip","onOnHttpRequest","onOnRemove"])]),_:2},1032,["label","prop"]))),128))]),_:1}),v(U,{span:24},{default:m(()=>[v(D,{label:"是否申报全景图",prop:"panoramaState"},{default:m(()=>[v(H,{modelValue:g(d).panoramaState,"onUpdate:modelValue":u[13]||(u[13]=e=>g(d).panoramaState=e)},{default:m(()=>[v(B,{value:1},{default:m(()=>
1[...u[17]||(u[17]=[f("是",-1)])]),_:1}),v(B,{value:0},{default:m(()=>[...u[18]||(u[18]=[f("否",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),1===g(d).panoramaState?(V(),I(U,{key:0,span:24},{default:m(()=>[v(D,{label:"注意事项"},{default:m(()=>[...u[19]||(u[19]=[c("p",{style:{"font-size":"12px",color:"#999"}},[f(" 1、本页信息将用于第十三版全景图申报及细分领域收录; "),c("br"),f(" 2、请按申报要求填写,以客观、公正地反映企业真实的技术与产品能力; "),c("br"),f(" 3、非自主研发产品不在收录范围;正在研发、测试,未实际应用产品不在收录范围,原则上产品上市时间需为2023年或以前,经市场检验一年; "),c("br"),f(" 4、产品根据核心功能可选择最多三项产品分类,产品分类说明可见图表查询; "),c("br"),f(" 5、产品订单、产品金额、产品资质仅用于验证企业申报产品领域真实合理性,安全牛将严格保障相关数据安全 ")],-1)])]),_:1})]),_:1})):w("",!0)]),_:1})]),_:1},8,["model"])])}}},[["__scopeId","data-v-996b1c94"]]);export{j as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.