HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/8.2.20
System: Linux 825a8fd6cf8c 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
User: apache (48)
PHP: 8.2.20
Disabled: NONE
Upload Files
File: /var/www/html/public/static/js/queList-466e668c.js
import{ab as v}from"./message-2472a54a.js";import{useEqu as A}from"./hookQue-497e85aa.js";import{uploadQuo as G}from"./po-e92ee608.js";import{d as q,o as H,Q as c,e as s,f as n,g as e,y as d,m as _,v as h,u as l,t as C,p as y,F as p,I as r,l as b,x as N,i as J,b5 as K,b4 as O}from"./runtime-core.esm-bundler-6128546f.js";import{_ as X}from"./_plugin-vue_export-helper-c27b6911.js";import"./vue-router-a383d220.js";import"./index-cdc44ec6.js";import"./preload-helper-78dc9057.js";import"./vue-i18n.runtime.esm-bundler-6949bcab.js";import"./index-b7f916e1.js";import"./_commonjsHelpers-87174ba5.js";import"./utils-2ab4f76a.js";const i=x=>(K("data-v-5c847245"),x=x(),O(),x),Y={class:"main"},Z={class:"upload-demo_box"},ee={key:0,class:"file_type"},te={class:"name_box"},oe=i(()=>e("div",null,[h("Question Name "),e("span",{style:{color:"red"}},"*"),h(" :")],-1)),le=i(()=>e("div",{style:{"margin-left":"20px"}},"Whether to share:",-1)),se={class:"footprint_type"},ne=i(()=>e("div",{style:{"margin-left":"20px"}},[h(" classification "),e("span",{style:{color:"red"}}," *"),h(" : ")],-1)),ae={class:"footprint_type"},de=i(()=>e("div",{style:{"margin-left":"20px"}},"Time of receipt:",-1)),ie={class:"main_box"},ue={key:0,class:"pli_upload"},ce={style:{width:"100%"}},_e={class:"topic_box_content"},pe={style:{width:"75%"}},re=["onUpdate:modelValue"],me={class:"fraction_box"},he={class:"name_box"},ve=i(()=>e("div",null,"fraction:",-1)),ye=["onUpdate:modelValue"],be={class:"name_box"},xe=i(()=>e("div",null,"classification:",-1)),fe={class:"footprint_type"},Ve={class:"name_box"},ge=i(()=>e("div",null,"correct answer:",-1)),ke={style:{color:"red"}},Ue=i(()=>e("div",{class:"line"},null,-1)),we={class:"button_box"},Ie={style:{width:"100%"}},Ce={class:"topic_box_content"},Se={style:{width:"75%"}},je=["onUpdate:modelValue"],Pe={class:"fraction_box"},De={class:"name_box"},Fe=i(()=>e("div",null,"fraction:",-1)),Ne=["onUpdate:modelValue"],qe={class:"name_box"},Be=i(()=>e("div",null,"classification:",-1)),Le={class:"footprint_type"},Qe={class:"name_box"},Te=i(()=>e("div",null,"correct answer:",-1)),Ee={style:{color:"red"}},Me=i(()=>e("div",{class:"line"},null,-1)),$e=q({name:"/crm/yuyue/importQue"}),Re=q({...$e,setup(x){const{uploadSlotFile:B,tip:g,topicData:S,share:L,detailNum:u,saveT:j,subjectData:k,onSubmit:Q,onSelect:T,remove:E,upload:M,importDialog:U}=A();return H(()=>{}),($,a)=>{const P=c("el-button"),R=c("el-upload"),f=c("el-option"),V=c("el-select"),W=c("el-date-picker"),D=c("el-input"),F=c("el-checkbox"),z=c("el-dialog");return s(),n("div",Y,[e("div",Z,[d(R,{"on-success":l(B),"on-error":$.uploadSlotFileFailed,"on-remove":l(E),ref_key:"upload",ref:M,class:"upload-demo",action:l(G),limit:1},{trigger:_(()=>[d(P,{type:"primary",plain:""},{default:_(()=>[h("Import")]),_:1}),l(g)==1?(s(),n("span",ee,"Please import PDF, doc, and docx files.")):C("",!0)]),_:1},8,["on-success","on-error","on-remove","action"])]),e("div",te,[oe,y(e("input",{class:"input1",type:"text","onUpdate:modelValue":a[0]||(a[0]=t=>l(u).title=t)},null,512),[[v,l(u).title]]),le,e("span",se,[d(V,{modelValue:l(u).shareValue,"onUpdate:modelValue":a[1]||(a[1]=t=>l(u).shareValue=t),filterable:"",placeholder:"Please select",style:{width:"170px",height:"28px"}},{default:_(()=>[(s(!0),n(p,null,r(l(L),t=>(s(),b(f,{key:t.id,label:t.name,value:t.name_k},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),ne,e("span",ae,[d(V,{modelValue:l(u).subjectId,"onUpdate:modelValue":a[2]||(a[2]=t=>l(u).subjectId=t),filterable:"",placeholder:"Please select",style:{width:"170px",height:"28px"},onChange:a[3]||(a[3]=t=>l(T)(l(u).subjectId))},{default:_(()=>[(s(!0),n(p,null,r(l(k),t=>(s(),b(f,{key:t.id,label:t.name,value:t.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),de,d(W,{modelValue:l(u).year,"onUpdate:modelValue":a[4]||(a[4]=t=>l(u).year=t),type:"month",placeholder:"Pick a month"},null,8,["modelValue"])]),e("div",ie,[l(g)==1?(s(),n("div",ue," Please upload the test questions ")):C("",!0),(s(!0),n(p,null,r(l(S),(t,w)=>(s(),n("div",{class:"topic_box_top",key:w},[e("div",ce,[d(D,{modelValue:t.content,"onUpdate:modelValue":o=>t.content=o,rows:1,type:"textarea"},null,8,["modelValue","onUpdate:modelValue"]),e("div",_e,[e("div",pe,[(s(!0),n(p,null,r(t.options,(o,I)=>(s(),n("div",{key:I},[d(F,{onChange:m=>l(j)(m,t,o)},null,8,["onChange"]),y(e("input",{class:"input2",type:"text","onUpdate:modelValue":m=>o.content=m},null,8,re),[[v,o.content]])]))),128))]),e("div",me,[e("div",he,[ve,y(e("input",{class:"input1",type:"text","onUpdate:modelValue":o=>t.score=o},null,8,ye),[[v,t.score]])]),e("div",be,[xe,e("span",fe,[d(V,{modelValue:t.subjectId,"onUpdate:modelValue":o=>t.subjectId=o,filterable:"",placeholder:"Please select",style:{width:"170px",height:"28px"}},{default:_(()=>[(s(!0),n(p,null,r(l(k),o=>(s(),b(f,{key:o.id,label:o.name,value:o.id},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])])]),e("div",Ve,[ge,e("span",ke,N(t.answer),1)])])]),Ue])]))),128))]),e("div",we,[l(g)==2?(s(),b(P,{key:0,type:"primary",onClick:a[5]||(a[5]=t=>l(Q)())},{default:_(()=>[h("Submit")]),_:1})):C("",!0)]),d(z,{modelValue:l(U),"onUpdate:modelValue":a[6]||(a[6]=t=>J(U)?U.value=t:null),title:""},{default:_(()=>[(s(!0),n(p,null,r(l(S),(t,w)=>(s(),n("div",{class:"topic_box_top",key:w},[e("div",Ie,[d(D,{modelValue:t.content,"onUpdate:modelValue":o=>t.content=o,rows:1,type:"textarea"},null,8,["modelValue","onUpdate:modelValue"]),e("div",Ce,[e("div",Se,[(s(!0),n(p,null,r(t.options,(o,I)=>(s(),n("div",{key:I},[d(F,{onChange:m=>l(j)(m,t,o)},null,8,["onChange"]),y(e("input",{class:"input2",type:"text","onUpdate:modelValue":m=>o.content=m},null,8,je),[[v,o.content]])]))),128))]),e("div",Pe,[e("div",De,[Fe,y(e("input",{class:"input1",type:"text","onUpdate:modelValue":o=>t.score=o},null,8,Ne),[[v,t.score]])]),e("div",qe,[Be,e("span",Le,[d(V,{modelValue:t.subjectId,"onUpdate:modelValue":o=>t.subjectId=o,filterable:"",placeholder:"Please select",style:{width:"170px",height:"28px"}},{default:_(()=>[(s(!0),n(p,null,r(l(k),o=>(s(),b(f,{key:o.id,label:o.name,value:o.id},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])])]),e("div",Qe,[Te,e("span",Ee,N(t.answer),1)])])]),Me])]))),128))]),_:1},8,["modelValue"])])}}});const tt=X(Re,[["__scopeId","data-v-5c847245"]]);export{tt as default};