123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034 |
- <!-- 委员会申请列表 -->
- <template>
- <div class="autoBox box1" style="position: relative; background: #f5f5f5">
- <div class="center" style="margin-top: 20px">
- <div class="left">
- <div class="centerLeft1">
- <div class="top">
- <div class="top1"></div>
- <div class="top2"></div>
- <div class="allApplication">
- <span>{{
- $t("common.submitapplications")
- }}</span>
- </div>
- <div @click="back" class="more">
- <span>{{ "<" }}{{ $t("common.return") }}</span>
- </div>
- </div>
- <div class="content">
- <!--<div class="content1">
- <div class="english">中文</div>
- <div class="english2" v-if="showenglish">English</div>
- <div v-if="!showenglish" @click="addlanguage()" style="margin-left: 20px;cursor:pointer; margin-top: 10px;">+</div>
- </div>-->
- <div class="content2">
- <span> {{ $i18n.locale == 'en' ? 'Application Type ' : '申请类型' }}:</span>
- <el-select v-model="changeselect" :placeholder="this.$i18n.locale == 'en' ? 'Please Choose' :'请选择'" style="width:415px" >
- <el-option
- style="width:415px"
- v-for="item in options"
- :key="item.value"
- :label="$i18n.locale == 'en' ?item.label2:item.label"
- :value="item.value">
- </el-option>
- </el-select>
- <div v-if="commitee_activities" style="margin-top: 39px;width: 93%;height:auto;display: flex;flex-wrap: wrap;align-items: center;background-clip: content-box;">
- <div class="tableTr">
- <div class="tableTd20"> {{ $i18n.locale == 'en' ? 'Apply Name ' : '申请人' }}</div>
- <div class="tableTd30">
- <span style="margin-left:20px">{{applyname}}</span>
- </div>
- <div class="tableTd20">{{ $i18n.locale == 'en' ? 'Apply Num ' : '申请编号' }}</div>
- <div class="tableTd30">
- <span style="margin-left:20px">{{applynumber}}</span>
- </div>
- </div>
- <div class="tableTr">
- <div class="tableTd20">{{ $i18n.locale == 'en' ? 'Apply Time ' : '申请时间' }}</div>
- <div class="tableTd30">
- <span style="margin-left:20px">{{applytime}}</span>
- </div>
- <div class="tableTd20"><span style="color:red">*</span>
- {{ $i18n.locale == 'en' ? 'belong Committe ' : '所属委员会' }}
- </div>
- <div class="tableTd30">
- <el-select v-model="commact_committee" :placeholder="this.$i18n.locale == 'en' ? 'Please Choose' :'请选择'" style="width:300px;margin-left:20px" >
- <el-option
- :style="$i18n.locale == 'en' ?'width:500px':'width:300px'"
- v-for="item in committeeoptions"
- :key="item.value"
- :label="$i18n.locale == 'en' ?item.label2:item.label"
- :value="item.value">
- </el-option>
- </el-select>
- </div>
- </div>
- <div class="tableTr">
- <div class="tableTd20"><span style="color:red"> *</span> {{ $i18n.locale == 'en' ? 'Title ' : '标题' }}</div>
- <div class="tableTd120">
- <el-input v-model="commact_title" :placeholder="this.$i18n.locale == 'en' ? 'Please The Input' :'请输入'"></el-input>
- </div>
- </div>
- <div class="tableTr" style="height:93px">
- <div class="tableTd20" style="height:93px"> {{ $i18n.locale == 'en' ? 'Content ' : '内容摘要' }}</div>
- <div class="tableTd120" style="padding-top:0px;height:93px">
- <div class="inputDeep">
- <el-input
- type="textarea"
- :rows="3"
- :placeholder="this.$i18n.locale == 'en' ? 'Please The Input' :'请输入'"
- style="resize: none"
- :maxlength="200"
- v-model="commact_content">
- </el-input>
- <div style="float:right"><span>{{zititotal}}</span>/200</div>
- </div>
- </div>
- </div>
- </div>
- <div v-if="office_doc" style="margin-top: 39px;width: 93%;height:auto;display: flex;flex-wrap: wrap;align-items: center;background-clip: content-box;">
- <div class="tableTr">
- <div class="tableTd20"> {{ $i18n.locale == 'en' ? 'Apply Name ' : '申请人' }}</div>
- <div class="tableTd30">
- <span style="margin-left:20px">{{applyname}}</span>
- </div>
- <div class="tableTd20">{{ $i18n.locale == 'en' ? 'Apply Num ' : '申请编号' }}</div>
- <div class="tableTd30">
- <span style="margin-left:20px">{{applynumber}}</span>
- </div>
- </div>
- <div class="tableTr">
- <div class="tableTd20">{{ $i18n.locale == 'en' ? 'Apply Time ' : '申请时间' }}</div>
- <div class="tableTd30">
- <span style="margin-left:20px">{{applytime}}</span>
- </div>
- <div class="tableTd20"><span style="color:red">*</span>
- {{ $i18n.locale == 'en' ? 'belong Committe ' : '所属委员会' }}
- </div>
- <div class="tableTd30">
- <el-select v-model="off_committee" :placeholder="this.$i18n.locale == 'en' ? 'Please Choose' :'请选择'" style="width:300px;margin-left:20px" >
- <el-option
- :style="$i18n.locale == 'en' ?'width:500px':'width:300px'"
- v-for="item in committeeoptions"
- :key="item.value"
- :label="$i18n.locale == 'en' ?item.label2:item.label"
- :value="item.value">
- </el-option>
- </el-select>
- </div>
- </div>
- <div class="tableTr">
- <div class="tableTd20"><span style="color:red"> *</span>{{ $i18n.locale == 'en' ? 'Title ' : '标题' }}</div>
- <div class="tableTd120">
- <el-input v-model="off_title" :placeholder="this.$i18n.locale == 'en' ? 'Please The Input' :'请输入'"></el-input>
- </div>
- </div>
- <div class="tableTr" style="height:93px">
- <div class="tableTd20" style="height:93px">{{ $i18n.locale == 'en' ? 'Content ' : '内容摘要' }}</div>
- <div class="tableTd120" style="padding-top:0px;height:93px">
- <div class="inputDeep">
- <el-input
- type="textarea"
- :rows="3.5"
- :placeholder="this.$i18n.locale == 'en' ? 'Please The Input' :'请输入'"
- style="resize: none"
- :maxlength="200"
- v-model="off_content">
- </el-input>
- <div style="float:right"><span>{{zititotal1}}</span>/200</div>
- </div>
- </div>
- </div>
- </div>
- <div v-if="work_plan" style="margin-top: 39px;width: 93%;height:auto;display: flex;flex-wrap: wrap;align-items: center;background-clip: content-box;">
- <div class="tableTr">
- <div class="tableTd20"> {{ $i18n.locale == 'en' ? 'Apply Name ' : '申请人' }}</div>
- <div class="tableTd30">
- <span style="margin-left:20px">{{applyname}}</span>
- </div>
- <div class="tableTd20" style="width:20%">{{ $i18n.locale == 'en' ? 'Apply Num ' : '申请编号' }}</div>
- <div class="tableTd30" style="width:30%">
- <span style="margin-left:20px">{{applynumber}}</span>
- </div>
- </div>
- <div class="tableTr">
- <div class="tableTd20">{{ $i18n.locale == 'en' ? 'Apply Time ' : '申请时间' }}</div>
- <div class="tableTd30">
- <span style="margin-left:20px">{{applytime}}</span>
- </div>
- <div class="tableTd20" style="width:20%"><span style="color:red;">*</span>
- {{ $i18n.locale == 'en' ? 'belong Committe ' : '所属委员会' }}
- </div>
- <div class="tableTd30" style="width:30%">
- <el-select v-model="work_committee" :placeholder="this.$i18n.locale == 'en' ? 'Please Choose' :'请选择'" style="width:235px;margin-left:20px" >
- <el-option
- :style="$i18n.locale == 'en' ?'width:500px':'width:300px'"
- v-for="item in committeeoptions"
- :key="item.value"
- :label="$i18n.locale == 'en' ?item.label2:item.label"
- :value="item.value">
- </el-option>
- </el-select>
- </div>
- </div>
- <div class="tableTr">
- <div class="tableTd20"><span style="color:red"> *</span>{{ $i18n.locale == 'en' ? 'Title ' : '标题' }}</div>
- <div class="tableTd30">
- <el-input style="" v-model="work_title" :placeholder="this.$i18n.locale == 'en' ? 'Please The Input' :'请输入'"></el-input>
- </div>
- <div class="tableTd20" style="width:20%"><span style="color:red;"> *</span>{{ $i18n.locale == 'en' ? 'Work Plans ' : '工作计划/总结年度' }}</div>
- <div class="tableTd30" style="width:30%">
- <el-date-picker
- style="width:80%;margin-left:20px"
- v-model="work_plans"
- type="date"
- :placeholder="this.$i18n.locale == 'en' ? 'Choose Date' :'选择日期'">
- </el-date-picker>
- </div>
- </div>
- <div class="tableTr" style="height:93px">
- <div class="tableTd20" style="height:93px">{{ $i18n.locale == 'en' ? 'Content ' : '内容摘要' }}</div>
- <div class="tableTd120" style="padding-top:0px;height:93px">
- <div class="inputDeep">
- <el-input
- type="textarea"
- :rows="3.5"
- :placeholder="this.$i18n.locale == 'en' ? 'Please The Input' :'请输入'"
- style="resize: none"
- :maxlength="200"
- v-model="work_content">
- </el-input>
- <div style="float:right"><span>{{zititotal2}}</span>/200</div>
- </div>
- </div>
- </div>
- </div>
- <div v-if="information_send" style="margin-top: 39px;width: 93%;height:auto;display: flex;flex-wrap: wrap;align-items: center;background-clip: content-box;">
- <div class="tableTr">
- <div class="tableTd20"> {{ $i18n.locale == 'en' ? 'Apply Name ' : '申请人' }}</div>
- <div class="tableTd30">
- <span style="margin-left:20px">{{applyname}}</span>
- </div>
- <div class="tableTd20">{{ $i18n.locale == 'en' ? 'Apply Num ' : '申请编号' }}</div>
- <div class="tableTd30">
- <span style="margin-left:20px">{{applynumber}}</span>
- </div>
- </div>
- <div class="tableTr">
- <div class="tableTd20">{{ $i18n.locale == 'en' ? 'Apply Time ' : '申请时间' }}</div>
- <div class="tableTd30">
- <span style="margin-left:20px">{{applytime}}</span>
- </div>
- <div class="tableTd20"><span style="color:red">*</span>
- {{ $i18n.locale == 'en' ? 'belong Committe ' : '所属委员会' }}
- </div>
- <div class="tableTd30">
- <el-select v-model="infor_committee" :placeholder="this.$i18n.locale == 'en' ? 'Please Choose' :'请选择'" style="width:300px;margin-left:20px" >
- <el-option
- :style="$i18n.locale == 'en' ?'width:500px':'width:300px'"
- v-for="item in committeeoptions"
- :key="item.value"
- :label="$i18n.locale == 'en' ?item.label2:item.label"
- :value="item.value">
- </el-option>
- </el-select>
- </div>
- </div>
- <div class="tableTr">
- <div class="tableTd20"><span style="color:red"> *</span>{{ $i18n.locale == 'en' ? 'Title ' : '标题' }}</div>
- <div class="tableTd120">
- <el-input v-model="infor_title" :placeholder="this.$i18n.locale == 'en' ? 'Please The Input' :'请输入'"></el-input>
- </div>
- </div>
- <div class="tableTr">
- <div class="tableTd20"><span style="color:red"> *</span>{{ $i18n.locale == 'en' ? 'Release Range ' : '发布范围' }}</div>
- <div class="tableTd120">
- <el-select v-model="infor_sendarea" :placeholder="this.$i18n.locale == 'en' ? 'Please Choose' :'请选择'" style="width:300px;margin-left:20px" >
- <el-option
- style="width:300px"
- v-for="item in options4"
- :key="item.value"
- :label="$i18n.locale == 'en' ?item.label2:item.label"
- :value="item.value">
- </el-option>
- </el-select>
- </div>
- </div>
- <div class="tableTr" style="height:93px">
- <div class="tableTd20" style="height:93px">{{ $i18n.locale == 'en' ? 'Content ' : '内容摘要' }}</div>
- <div class="tableTd120" style="padding-top:0px;height:93px">
- <div class="inputDeep">
- <el-input
- type="textarea"
- :rows="3.5"
- :placeholder="this.$i18n.locale == 'en' ? 'Please The Input' :'请输入'"
- style="resize: none"
- :maxlength="200"
- v-model="infor_content">
- </el-input>
- <div style="float:right"><span>{{zititotal3}}</span>/200</div>
- </div>
- </div>
- </div>
- </div>
- <div v-if="advice" style="margin-top: 39px;width: 93%;height:auto;display: flex;flex-wrap: wrap;align-items: center;background-clip: content-box;">
- <div class="tableTr">
- <div class="tableTd20"> {{ $i18n.locale == 'en' ? 'Apply Name ' : '申请人' }}</div>
- <div class="tableTd30">
- <span style="margin-left:20px">{{applyname}}</span>
- </div>
- <div class="tableTd20">{{ $i18n.locale == 'en' ? 'Apply Num ' : '申请编号' }}</div>
- <div class="tableTd30">
- <span style="margin-left:20px">{{applynumber}}</span>
- </div>
- </div>
- <div class="tableTr">
- <div class="tableTd20">{{ $i18n.locale == 'en' ? 'Apply Time ' : '申请时间' }}</div>
- <div class="tableTd30">
- <span style="margin-left:20px">{{applytime}}</span>
- </div>
- <div class="tableTd20"><span style="color:red">*</span>
- {{ $i18n.locale == 'en' ? 'belong Committe ' : '所属委员会' }}
- </div>
- <div class="tableTd30">
- <el-select v-model="advice_committee" :placeholder="this.$i18n.locale == 'en' ? 'Please Choose' :'请选择'" style="width:300px;margin-left:20px" >
- <el-option
- :style="$i18n.locale == 'en' ?'width:500px':'width:300px'"
- v-for="item in committeeoptions2"
- :key="item.value"
- :label="$i18n.locale == 'en' ?item.label2:item.label"
- :value="item.value">
- </el-option>
- </el-select>
- </div>
- </div>
- <div class="tableTr">
- <div class="tableTd20"><span style="color:red">*</span> {{ $i18n.locale == 'en' ? 'Receive Committe ' : '接收委员会' }}</div>
- <div class="tableTd30" style="overflow-y: auto">
- <el-select multiple v-model="advice_acceptCommittee" :placeholder="this.$i18n.locale == 'en' ? 'Please Choose' :'请选择'" style="width:300px;margin-left:20px" >
- <el-option
- :style="$i18n.locale == 'en' ?'width:500px':'width:300px'"
- v-for="item in committeeoptions2"
- :key="item.value"
- :label="$i18n.locale == 'en' ?item.label2:item.label"
- :value="item.value">
- </el-option>
- </el-select>
- </div>
- <div class="tableTd20">
- <span style="color:red">*</span>
- {{ $i18n.locale == 'en' ? 'receiver ' : ' 接收人' }}
- </div>
- <div class="tableTd30" style="overflow-y: auto">
- <el-select multiple v-model="advice_person" :placeholder="this.$i18n.locale == 'en' ? 'Please Choose Can Choose More' :'请选择 可多选'" style="width:300px;margin-left:20px" >
- <el-option
- style="width:300px"
- v-for="item in advice_personoption"
- :key="item.value"
- :label="item.label"
- :value="item.value">
- </el-option>
- </el-select>
- </div>
- </div>
- <div class="tableTr">
- <div class="tableTd20"><span style="color:red"> *</span>{{ $i18n.locale == 'en' ? 'Title ' : '标题' }}</div>
- <div class="tableTd120">
- <el-input v-model="advice_title" :placeholder="this.$i18n.locale == 'en' ? 'Please The Input' :'请输入'"></el-input>
- </div>
- </div>
- <div class="tableTr" style="height:93px">
- <div class="tableTd20" style="height:93px">{{ $i18n.locale == 'en' ? 'Content ' : '内容摘要' }}</div>
- <div class="tableTd120" style="padding-top:0px;height:93px">
- <div class="inputDeep">
- <el-input
- type="textarea"
- :rows="3.5"
- :placeholder="this.$i18n.locale == 'en' ? 'Please The Input' :'请输入'"
- style="resize: none"
- :maxlength="200"
- v-model="advice_content">
- </el-input>
- <div style="float:right"><span>{{zititotal4}}</span>/200</div>
- </div>
- </div>
- </div>
- </div>
- <div style="display:flex;margin-top:31px;padding-left:20px" v-if="!information_send">
- <div style="width:7%;margin-top:4px"><span v-if="opinionFlag" style="color:red">*</span>{{ $i18n.locale == 'en' ? 'Body ' : ' 正文' }}:</div>
- <div style="width:93%">
- <el-upload
- class="upload-demo"
- action="/api/nationregioncomittee-service/nrc/nrcApplys/uploadFile"
- :on-remove="handleRemove"
- :before-remove="beforeRemove"
- :before-upload="beforeUpload"
- :on-success="handleAvatarSuccessAnnex"
- multiple
- :on-exceed="handleExceed"
- :file-list="fileList">
- <el-button size="small"><i class="el-icon-upload2"></i>{{ $i18n.locale == 'en' ? 'Upload File ' : ' 上传文件' }}</el-button>
- <div slot="tip" class="el-upload__tip">{{ $i18n.locale == 'en' ? 'Supported file name extension :doc. docx. PDF. The size of a single file cannot exceed 4MB ' : ' 支持扩展名:doc. docx. pdf,单个文件大小不超过4MB' }}</div>
- </el-upload>
- </div>
- </div>
- <div style="display:flex;margin-top:31px;padding-left:20px" v-if="!information_send">
- <div style="width:7%;margin-top:4px" :style="$i18n.locale =='en'? 'width:9%;margin-top:4px':'width:7%;margin-top:4px'">{{ $i18n.locale == 'en' ? 'Attachment ' : '附件' }}:</div>
- <div :style="$i18n.locale =='en'? 'width:91%':'width:93%'">
- <el-upload
- class="upload-demo"
- action="/api/nationregioncomittee-service/nrc/nrcApplys/uploadFile"
- :on-remove="handleRemove1"
- :before-remove="beforeRemove1"
- :before-upload="beforeUpload1"
- :on-success="handleAvatarSuccessAnnex1"
- multiple
- :on-exceed="handleExceed1"
- :file-list="fileList1">
- <el-button size="small"><i class="el-icon-upload2"></i>{{ $i18n.locale == 'en' ? 'Upload File ' : ' 上传文件' }}</el-button>
- <div slot="tip" class="el-upload__tip">{{ $i18n.locale == 'en' ? 'Supported file name extension :.rar.zip.doc.docx.pdf .jpg.png., The size of a single file cannot exceed 4MB ' : ' 支持扩展名:.rar.zip.doc.docx.pdf .jpg.png.,单个文件大小不超过4MB.' }}</div>
- </el-upload>
- </div>
- </div>
- <div style="display:flex;margin-top:31px;padding-left:20px" v-if="information_send">
- <div style="width:7%;margin-top:4px"><span style="color:red">*</span>{{ $i18n.locale == 'en' ? 'Body ' : ' 正文' }}:</div>
- <div style="width:93%">
- <el-upload
- class="upload-demo"
- action="/api/nationregioncomittee-service/nrc/nrcApplys/uploadFile"
- :on-remove="handleRemove2"
- :before-remove="beforeRemove2"
- :before-upload="beforeUpload2"
- :limit="1"
- :on-success="handleAvatarSuccessAnnex2"
- multiple
- :on-exceed="handleExceed2"
- :file-list="fileList2">
- <el-button size="small"><i class="el-icon-upload2"></i>{{ $i18n.locale == 'en' ? 'Upload File ' : ' 上传文件' }}</el-button>
- <div slot="tip" class="el-upload__tip">{{ $i18n.locale == 'en' ? 'Upload JPG / PNG format file. The file cannot exceed 10m, and up to 1 piece can be uploaded' : ' 上传jpg/png格式文件,文件不能超过10M,最多可上传1张' }}</div>
- </el-upload>
- </div>
- </div>
- <div style="display:flex;margin-top:31px;padding-left:20px" v-if="information_send">
- <div style="width:7%;margin-top:4px" :style="$i18n.locale =='en'? 'width:10%;margin-top:4px':'width:7%;margin-top:4px'"><span style="color:red">*</span>{{ $i18n.locale == 'en' ? 'Attachment ' : ' 附件' }}:</div>
- <div :style="$i18n.locale =='en'? 'width:91%':'width:93%'">
- <el-upload
- class="upload-demo"
- action="/api/nationregioncomittee-service/nrc/nrcApplys/uploadFile"
- :on-remove="handleRemove3"
- :before-remove="beforeRemove3"
- :before-upload="beforeUpload3"
- :limit="1"
- :on-success="handleAvatarSuccessAnnex3"
- multiple
- :on-exceed="handleExceed3"
- :file-list="fileList3">
- <el-button size="small"><i class="el-icon-upload2"></i>{{ $i18n.locale == 'en' ? 'Upload File ' : ' 上传文件' }}</el-button>
- <div slot="tip" class="el-upload__tip">{{ $i18n.locale == 'en' ? 'Upload PDF format file. The file cannot exceed 50m' : '上传Pdf格式文件,文件不能超过50M' }}</div>
- </el-upload>
- </div>
- </div>
- <div style="margin-top:70px;display:flex">
- <div class="submit" :style="$i18n.locale =='en'? 'padding-left: 35px;':''" @click="submit">{{ $i18n.locale == 'en' ? 'Submit ' : ' 提交' }}</div>
- <div class="cancel" :style="$i18n.locale =='en'? 'padding-left: 35px;':''" @click="cancel">{{ $i18n.locale == 'en' ? 'Cancel ' : ' 取消' }}</div>
- </div>
- <el-dialog :title="this.$i18n.locale == 'en' ? 'Select Transactor' :'选择办理人'" :visible.sync="dialogFormVisible">
- <el-form :model="form" style="padding-left:30%">
- <el-form-item :label="this.$i18n.locale == 'en' ? 'Current Node' :'当前流程节点'">
- <el-input style="width:415px;" :placeholder="this.$i18n.locale == 'en' ? 'Regional Secretariat' :'区域秘书处'" v-model="form.handlelink" disabled=true></el-input>
- </el-form-item>
- <el-form-item :label="this.$i18n.locale == 'en' ? 'Transactor' :'办理人'" style="" >
- <el-select multiple v-model="form.transactor" :placeholder="this.$i18n.locale == 'en' ? 'Please Select Transactor' :'请选择办理人'" style="width:415px">
- <el-option
- style="width:400px;margin-left:10px"
- v-for="item in transactoroption"
- :key="item.value"
- :label="item.label"
- :value="item.value">
- </el-option>
- </el-select>
- </el-form-item>
- <el-form-item style="margin-top:300px;margin-left:100px">
- <el-button type="primary" @click="submit_banli" >{{ $i18n.locale == 'en' ? 'Submit ' : ' 确定' }}</el-button>
- <el-button @click="cancel_banli">{{ $i18n.locale == 'en' ? 'Cancel ' : ' 取消' }}</el-button>
- </el-form-item>
- </el-form>
- </el-dialog>
- <el-dialog class="languages" title="添加语言" :visible.sync="dialogFormVisible2">
- <el-form :model="form1" style="padding-left:30%">
- <el-form-item label="语言" style="margin-left:14px;" >
- <el-select multiple v-model="form1.language" :placeholder="this.$i18n.locale == 'en' ? 'Please Choose' :'请选择'" style="width:415px">
- <el-option
- style="width:515px;margin-left:10px"
- v-for="item in language"
- :key="item.value"
- :label="item.label"
- :value="item.value">
- </el-option>
- </el-select>
- </el-form-item>
- <el-form-item label="翻译" style="margin-left:14px;" >
- <el-radio-group v-model="form1.language_flag">
- <el-radio :label="1">是</el-radio>
- <el-radio :label="0">否</el-radio>
- </el-radio-group>
- </el-form-item>
- <el-form-item style="margin-top:50px;margin-left:100px">
- <el-button type="primary" @click="submit_lange" >保存</el-button>
- <el-button @click="cancel_lange">关闭</el-button>
- </el-form-item>
- </el-form>
- </el-dialog>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </template>
- <script>
- import { getwaitnumber,getcommittee1,getcommittee2,getwaitacceser,createwaitapply,gettransactor,translations} from '@/api/committee/nrc';
- import { getToken } from "@/api/token";
- import Screen from "@/components/screen";
- export default {
- name: "Submitapplication",
- props: ["flag"],
- components: {
- Screen,
- },
- data() {
- return {
- submitFlag:1,
- opinionFlag:true,
- English:{
- },
- zititotal:0,
- zititotal1:0,
- zititotal2:0,
- zititotal3:0,
- zititotal4:0,
- showenglish:false,
- dialogFormVisible:false,
- dialogFormVisible2:false,
- form: {
- handlelink: "", //总部流转
- transactor: [], //办理人
- },
- form1: {
- language: "",
- language_flag:0,
- },
- submittitle:undefined,
- submitnumber:undefined,
- submitname:undefined,
- submittime:undefined,
- flagid:undefined,
- transparams:{},
- transactoroption:[],
- transactorid:undefined,
- transactorstatus:undefined,
- committeeoptions:[],//所属委员会
- committeeoptions2:[],//意见与建议 所属委员会
- committeeoptionsfull:[],//所属委员会
- committeeoptions2full:[],//意见与建议 所属委员会
- language:[{
- label: "英文",
- value: "1"
- }],
- options: [ {
- label: "活动方案",
- label2: "Programme Of Activities",
- value: "1"},
- {
- label: "公文",
- label2: "Document",
- value: "5"},
- {
- label: "工作计划/总结",
- label2: "Work Plan / Summary",
- value: "4"},
- {
- label: "资料发布",
- label2: "Data Release",
- value: "6"},
- {
- label: "意见建议",
- label2: "Comments And Suggestions",
- value: "2"},],
- options4:[
- {
- label: "网站公开",
- label2: "Site Public",
- value: "网站公开"},
- {
- label: "委员会内部",
- label2: "Committee Internal",
- value: "委员会内部"},
- ],
- fileList: [],
- fileList1: [],
- fileList2: [],
- fileList3: [],
- filepath:undefined,
- filepath1:undefined,
- filepath2:undefined,
- filepath3:undefined,
- filename:[],
- filename1:[],
- filename2:[],
- filename3:[],
- changeselect: '',
- commitee_activities:true,//委员会活动与方案
- office_doc:false,//公文
- work_plan:false,//工作计划
- information_send:false,//资料与发布
- advice:false,//意见与建议
- applyname:undefined,//申请人
- applynumber:123343223,//申请编号
- applytime:undefined,//申请时间
- commact_committee:undefined,//委员会活动与方案--所属委员会
- commact_content:undefined,//---内容
- commact_title:undefined,//标题
- off_committee:undefined,//公文--所属委员会
- off_title:undefined,//公文——标题
- off_content:undefined,//公文——内容
- work_committee:undefined,//工作计划————所属委员会
- work_plans:undefined,
- work_title:undefined,
- work_content:undefined,
- infor_committee:undefined,//资料与发布--所属委员会
- infor_title:undefined,
- infor_sendarea:undefined,
- infor_content:undefined,
- advice_committee:undefined,//意见与建议--所属委员会
- advice_acceptCommittee:undefined,
- advice_personoption:[],
- advice_person:[],
- advice_title:undefined,
- advice_content:undefined,
- defaultProps: {
- children: "param",
- label: "name",
- },
- defaultShowNodes:[],
- refresh:1,
- flag:[],
- search: "",
- screen1s: {
- value: "common.type",
- item: [],
- },
- screen1def: null,
- screen2Item: null,
- };
- },
- watch: {
- "$i18n.locale"() {
- this.committeeoptions2 = new Array();
- this.committeeoptions = new Array();
- if(this.$i18n.locale == "en"){
- for(let i=0;i<this.committeeoptions2full.length;i++){
- if(this.committeeoptions2full[i].label2!="" && this.committeeoptions2full[i].label2!=null && this.committeeoptions2full[i].label2!=undefined){
- this.committeeoptions2.push(this.committeeoptions2full[i]);
- }
- }
- for(let i=0;i<this.committeeoptionsfull.length;i++){
- if(this.committeeoptionsfull[i].label2!="" && this.committeeoptionsfull[i].label2!=null && this.committeeoptionsfull[i].label2!=undefined){
- this.committeeoptions.push(this.committeeoptionsfull[i]);
- }
- }
- }else{
- this.committeeoptions2 = this.committeeoptions2full;
- this.committeeoptions = this.committeeoptionsfull;
- }
- },
- CountryId() {},
- commact_content(){
- console.log(this.commact_content.length)
- if(this.commact_content.length>200){
- this.$message.error('不能超过200个字')
- }
- this.zititotal=this.commact_content.length
- },
- off_content(){
- if(this.off_content.length>200){
- this.$message.error('不能超过200个字')
- }
- this.zititotal1=this.off_content.length
- },
- work_content(){
- if(this.work_content.length>200){
- this.$message.error('不能超过200个字')
- }
- this.zititotal2=this.work_content.length
- },
- infor_content(){
- if(this.infor_content.length>200){
- this.$message.error('不能超过200个字')
- }
- this.zititotal3=this.infor_content.length
- },
- advice_content(){
- if(this.advice_content.length>200){
- this.$message.error('不能超过200个字')
- }
- this.zititotal4=this.advice_content.length
- },
- advice_acceptCommittee(newVal,oldVal){
- if(this.advice_acceptCommittee.length!=0){
- let aa=''
- this.advice_acceptCommittee.forEach(item=>{
- aa+=item+','
- })
- aa = aa.substr(0, aa.length - 1);
- let params={
- committeeId:aa,
- }
- this.advice_personoption=[]
- getwaitacceser(params).then(res=>{
- for(let i=0;i<res.data.page.length;i++){
- let obj={}
- obj.data=[];
- obj.label=res.data.page[i].name
- obj.value=res.data.page[i].id
- this.advice_personoption.push(obj)
- }
- }
- )
- }else{
- this.advice_personoption=[]
- }
- },
- changeselect(newVal,oldVal){
- console.log(newVal)
- if(newVal==1){
- this.commitee_activities=true;
- this.office_doc=false;
- this.work_plan=false;
- this.information_send=false;
- this.advice=false;
- this.opinionFlag = true;
- }
- if(newVal==5){
- this.commitee_activities=false;
- this.office_doc=true;
- this.work_plan=false;
- this.information_send=false;
- this.advice=false;
- this.opinionFlag = true;
- }
- if(newVal==4){
- this.commitee_activities=false;
- this.office_doc=false;
- this.work_plan=true;
- this.information_send=false;
- this.advice=false;
- this.opinionFlag = true;
- }
- if(newVal==6){
- this.commitee_activities=false;
- this.office_doc=false;
- this.work_plan=false;
- this.information_send=true;
- this.advice=false;
- this.opinionFlag = true;
- }
- if(newVal==2){
- this.commitee_activities=false;
- this.office_doc=false;
- this.work_plan=false;
- this.information_send=false;
- this.advice=true;
- this.opinionFlag = false;
- }
- },
- },
- updated(){
- },
- mounted() {
- let language='我喜欢你'
- translations(language).then(res=>{
- })
- console.log(this.$store.state.user)
- getwaitnumber().then(res=>{
- this.applynumber=res.data.replyNumber
- })
- let params1={
- type:2,
- frontOrBack:2,
- }
- gettransactor(params1).then(res=>{
- let aa=res.data.handlePeople;
- var newArr = [];
- aa.forEach(item=>{
- var index = 0;
- let obj={}
- obj.data=[];
- obj.label=item.name;
- obj.value=item.id
- newArr.push(obj);
- // this.$set(this.transactoroption,index,obj);
- index++;
- })
- console.log(this.transactoroption)
- this.transactoroption = newArr;
- })
- getcommittee1().then(res=>{
- /* this.commiteeoptions=res.data.page*/
- for(let i=0;i<res.data.page.length;i++){
- let obj={}
- obj.data=[];
- obj.label=res.data.page[i].committeeName
- obj.label2=res.data.page[i].committeeNameEn
- obj.value=res.data.page[i].id
- this.committeeoptionsfull.push(obj)
- }
- if(this.$i18n.locale == "en"){
- for(let i=0;i<this.committeeoptionsfull.length;i++){
- if(this.committeeoptionsfull[i].label2!="" && this.committeeoptionsfull[i].label2!=null && this.committeeoptionsfull[i].label2!=undefined){
- this.committeeoptions.push(this.committeeoptionsfull[i]);
- }
- }
- }else{
- this.committeeoptions = this.committeeoptionsfull;
- }
- })
- getcommittee2().then(res=>{
- /* this.commiteeoptions=res.data.page*/
- for(let i=0;i<res.data.page.length;i++){
- let obj={}
- obj.data=[];
- obj.label=res.data.page[i].committeeName
- obj.label2=res.data.page[i].committeeNameEn
- obj.value=res.data.page[i].id
- this.committeeoptions2full.push(obj)
- }
- if(this.$i18n.locale == "en"){
- for(let i=0;i<this.committeeoptions2full.length;i++){
- if(this.committeeoptions2full[i].label2!="" && this.committeeoptions2full[i].label2!=null && this.committeeoptions2full[i].label2!=undefined){
- this.committeeoptions2.push(this.committeeoptions2full[i]);
- }
- }
- }else{
- this.committeeoptions2 = this.committeeoptions2full;
- }
- })
- // this.applyname=this.$store.state.user.user.realName
- let test = JSON.parse(window.localStorage.getItem("user"))
- this.applyname = test.realName?test.realName:test.username
- this.applytime=this.getNowFormatDate()
- },
- destroyed() {},
- methods: {
- addlanguage(){
- this.dialogFormVisible2=true;
- },
- submit_lange(){
- if(this.form1.language){
- this.showenglish=true;
- }
- this.dialogFormVisible2=false;
- },
- cancel_lange(){
- this.dialogFormVisible2=false;
- },
- cancel(){
- if(this.flag==1){
- var params = {
- name: "workspace",
- type: false,
- };
- this.$emit("applicationType", params);
- }
- if(this.flag==2){
- var params = {
- name: "application",
- type: false,
- };
- this.$emit("applicationType", params);
- }
- },
- handleCurrentChange() {},
- back() {
- if(this.flag==1){
- var params = {
- name: "workspace",
- type: false,
- };
- this.$emit("applicationType", params);
- }
- if(this.flag==2){
- var params = {
- name: "application",
- type: false,
- };
- this.$emit("applicationType", params);
- }
- },
- screenBack() {},
- submit() {
- if(this.changeselect==''||this.changeselect==undefined){
- if(this.$i18n.locale == "en"){
- this.$message.error('Please select the application type');
- }else {
- this.$message.error('请选择申请类型');
- }
- return;
- }
- let file=this.filename.concat(this.filename1)
- let file1=this.filename2.concat(this.filename3)
- if(this.changeselect==1){
- if(this.commact_title==''||this.commact_title==undefined){
- if(this.$i18n.locale == "en"){
- this.$message.error('Please enter title');
- }else {
- this.$message.error('请输入标题');
- }
- return;
- }
- if(this.commact_committee==''||this.commact_committee==undefined){
- if(this.$i18n.locale == "en"){
- this.$message.error('Please select a committee');
- }else {
- this.$message.error('请选择所属委员会');
- }
- return;
- }
- if(file.length <= 0){
- if(this.$i18n.locale == "en"){
- this.$message.error('Please select a committee');
- }else {
- this.$message.error('请选择正文');
- }
- return;
- }
- let params={
- frontOrBack:2,
- applyType:this.changeselect,
- applyPeople:this.applyname,
- applyNumber:this.applynumber,
- applyTime:this.applytime,
- title:this.commact_title,
- abstractInfo:this.commact_content,
- belongCommittee:this.commact_committee,
- statusDict:1,
- files:file
- }
- this.createwaitapplys(params)
- }
- if(this.changeselect==5){
- if(this.off_title==''||this.off_title==undefined){
- if(this.$i18n.locale == "en"){
- this.$message.error('Please enter title');
- }else {
- this.$message.error('请输入标题');
- }
- return;
- }
- if(this.off_committee==''||this.off_committee==undefined){
- if(this.$i18n.locale == "en"){
- this.$message.error('Please select a committee');
- }else {
- this.$message.error('请选择所属委员会');
- }
- return;
- }
- if(file.length <= 0){
- if(this.$i18n.locale == "en"){
- this.$message.error('Please select a committee');
- }else {
- this.$message.error('请选择正文');
- }
- return;
- }
- let params={
- frontOrBack:2,
- applyType:this.changeselect,
- applyPeople:this.applyname,
- applyNumber:this.applynumber,
- applyTime:this.applytime,
- title:this.off_title,
- abstractInfo:this.off_content,
- belongCommittee:this.off_committee,
- statusDict:1,
- files:file
- }
- this.createwaitapplys(params)
- }
- if(this.changeselect==4){
- if(this.work_title==''||this.work_title==undefined){
- if(this.$i18n.locale == "en"){
- this.$message.error('Please enter title');
- }else {
- this.$message.error('请输入标题');
- }
- return;
- }
- if(this.work_committee==''||this.work_committee==undefined){
- if(this.$i18n.locale == "en"){
- this.$message.error('Please select a committee');
- }else {
- this.$message.error('请选择所属委员会');
- }
- return;
- }
- if(this.work_plans==''||this.work_plans==undefined){
- if(this.$i18n.locale == "en"){
- this.$message.error('Please select a work plan');
- }else {
- this.$message.error('请选择工作计划');
- }
- return;
- }
- if(file.length <= 0){
- if(this.$i18n.locale == "en"){
- this.$message.error('Please select a Text');
- }else {
- this.$message.error('请选择正文');
- }
- return;
- }
- let params={
- frontOrBack:2,
- applyType:this.changeselect,
- applyPeople:this.applyname,
- applyNumber:this.applynumber,
- applyTime:this.applytime,
- title:this.work_title,
- abstractInfo:this.work_content,
- belongCommittee:this.work_committee,
- workPlanSummaryYear:this.work_plans?(this.getNowFormatDate1(this.work_plans)):this.work_plans,
- statusDict:1,
- files:file
- }
- this.createwaitapplys(params)
- }
- if(this.changeselect==6){
- if(this.infor_title==''||this.infor_title==undefined){
- if(this.$i18n.locale == "en"){
- this.$message.error('Please enter title');
- }else {
- this.$message.error('请输入标题');
- }
- return;
- }
- if(this.infor_committee==''||this.infor_committee==undefined){
- if(this.$i18n.locale == "en"){
- this.$message.error('Please select a committee');
- }else {
- this.$message.error('请选择所属委员会');
- }
- return;
- }
- if(file1.length <= 1){
- if(this.$i18n.locale == "en"){
- this.$message.error('Please select a Text and Annexes');
- }else {
- this.$message.error('请选择正文和附件');
- }
- return;
- }
- let params={
- frontOrBack:2,
- applyType:this.changeselect,
- applyPeople:this.applyname,
- applyNumber:this.applynumber,
- applyTime:this.applytime,
- title:this.infor_title,
- abstractInfo:this.infor_content,
- belongCommittee:this.infor_committee,
- statusDict:1,
- releaseScope:this.infor_sendarea,
- files:file1
- }
- this.createwaitapplys(params)
- }
- if(this.changeselect==2){
- if(this.advice_title==''||this.advice_title==undefined){
- if(this.$i18n.locale == "en"){
- this.$message.error('Please enter title');
- }else {
- this.$message.error('请输入标题');
- }
- return;
- }
- if(this.advice_committee==''||this.advice_committee==undefined){
- if(this.$i18n.locale == "en"){
- this.$message.error('Please select a committee');
- }else {
- this.$message.error('请选择所属委员会');
- }
- return;
- }
- if(this.advice_person.length==0){
- if(this.$i18n.locale == "en"){
- this.$message.error('Please select a recipient');
- }else {
- this.$message.error('请选择接收人');
- }
- return;
- }
- if(this.advice_acceptCommittee.length==0){
- if(this.$i18n.locale == "en"){
- this.$message.error('Please select a committee');
- }else {
- this.$message.error('请选择所属委员会');
- }
- return;
- }
- /*if(file.length <= 0){
- this.$message.error('请选择正文');
- return;
- }*/
- let adviceperson=''
- if(this.advice_person){
- this.advice_person.forEach(item=>{
- adviceperson+=','+item+','
- })
- }
- let adviceacceptcommittee=''
- if(this.advice_acceptCommittee){
- this.advice_acceptCommittee.forEach(item=>{
- adviceacceptcommittee+=','+item+','
- })
- }
- let params={
- frontOrBack:2,
- applyType:this.changeselect,
- applyPeople:this.applyname,
- applyNumber:this.applynumber,
- applyTime:this.applytime,
- title:this.advice_title,
- abstractInfo:this.advice_content,
- acceptCommittee:adviceacceptcommittee,
- belongCommittee:this.advice_committee,
- accepter:adviceperson,
- statusDict:1,
- files:file
- }
- this.createwaitapplys(params)
- }
- if(this.form1.language_flag == 1){
- this.submitEnglish();
- }
- },
- // 选择英文翻译在提交一次表单
- submitEnglish(){
- let file=this.filename.concat(this.filename1)
- let file1=this.filename2.concat(this.filename3)
- },
- cancel_banli(){
- this.dialogFormVisible=false;
- },
- submit_banli(){
- if(this.submitFlag != 1){
- this.$message.error("请勿重复提交");
- return;
- }
- this.submitFlag = 2;
- console.log(this.transparams)
- if(this.form.transactor.length==0){
- if(this.$i18n.locale == "en"){
- alert('Please select The transactor')
- }else {
- alert('请选择办理人')
- }
- return;
- }
- let aa=''
- let bb=''
- if(this.form.transactor.length>0){
- this.form.transactor.forEach(item=>{
- aa+=item+','
- bb+=','+item+','
- })
- aa = aa.substr(0, aa.length - 1);
- }
- this.transparams.reserveOne=bb
- /* this.transparams.approver=aa*/
- this.transparams.frontOrBack=2
- this.transparams.lauguage="ZH"
- //let params=this.transparams
- let params={}
- params.nrcApplys=[]
- params.approver=aa
- params.nrcApplys.push(this.transparams)
- createwaitapply(params).then(res=>{
- this.submitFlag = 1;
- if(res.status=='200'){
- this.dialogFormVisible=false;
- var params2 = {
- name: "submitapplicasuccess",
- type: false,
- successObj:res.data[0],
- flag:1,
- };
- this.$emit("applicationType", params2);
- return;
- /* this.$router.push({
- name:'Submitapplicasuccess',
- params:{
- submittitle:res.data.title,
- submitnumber:res.data.applyNumber,
- submitname:res.data.applyPeople,
- submittime:res.data.applyTime,
- }
- })*/
- }else {
- this.$message.error(res.msg);
- }
- }).catch(e=>{
- this.submitFlag = 1;
- this.$message.error(e.msg);
- })
- },
- createwaitapplys(params){
- console.log(params)
- this.transparams=params
- console.log(this.transparams)
- this.dialogFormVisible=true;
- // this.$router.push("transactor");
- /* this.transparams=params
- console.log(this.transparams)
- this.$layer.iframe({
- content: {
- content: Transactor, //传递的组件对象
- parent: this,//当前的vue对象
- data: {
- transparams:this.transparams,
- transactoroption:this.transactoroption,
- transactorid:this.transactorid,
- transactorstatus:this.transactorstatus,
- flagid:this.$route.params.flagid
- }
- },
- area: ["760px", "360px"],
- title: "选择办理人"
- } ,3,{
- });*/
- /* createwaitapply(params).then(res=>{
- if(res.msg=='保存成功'){
- this.transactorstatus=res.data.applyStatus
- this.transactorid=res.data.id
- this.$layer.iframe({
- content: {
- content: Transactor, //传递的组件对象
- parent: this,//当前的vue对象
- data: {
- transactoroption:this.transactoroption,
- transactorid:this.transactorid,
- transactorstatus:this.transactorstatus,
- }
- },
- area: ["760px", "760px"],
- title: "选择办理人"
- } ,3,{
- });
- }
- /!* this.$parent.closeTabByName('Submitsuccess');
- this.$parent.clickMenu({
- "checked": false,
- "icon": "fa-legal",
- "id": "authApplication",
- "name": "Submitsuccess",
- "parentId": "4",
- "text": "提交成功",
- "children": [
- ]
- }, 3, {
- applicationId: authApplication.applicationId,
- });
- }*!/
- })*/
- },
- handleAvatarSuccessAnnex(res, file) {
- if (res.status==500){
- if (this.$i18n.locale.toUpperCase() == 'EN') {
- this.$message.error("Upload Failed");
- }else {
- this.$message.error(res.msg);
- }
- this.fileList.splice(this.fileList.indexOf(file), 1)
- return
- }
- let obj={}
- obj.fileNameDisplay=file.name
- obj.filePath=res.data.filePath
- obj.type=2
- this.filename.push(obj)
- console.log(this.filename)
- },
- handleAvatarSuccessAnnex1(res, file) {
- if (res.status==500){
- if (this.$i18n.locale.toUpperCase() == 'EN') {
- this.$message.error("Upload Failed");
- }else {
- this.$message.error(res.msg);
- }
- this.fileList1.splice(this.fileList1.indexOf(file), 1)
- return
- }
- let obj={}
- obj.fileNameDisplay=file.name
- obj.filePath=res.data.filePath
- obj.type=3
- this.filename1.push(obj)
- },
- handleAvatarSuccessAnnex2(res, file) {
- if (res.status==500){
- if (this.$i18n.locale.toUpperCase() == 'EN') {
- this.$message.error("Upload Failed");
- }else {
- this.$message.error(res.msg);
- }
- this.fileList2.splice(this.fileList2.indexOf(file), 1)
- return
- }
- let obj={}
- obj.fileNameDisplay=file.name
- obj.filePath=res.data.filePath
- obj.type=2
- this.filename2.push(obj)
- },
- handleAvatarSuccessAnnex3(res, file) {
- if (res.status==500){
- if (this.$i18n.locale.toUpperCase() == 'EN') {
- this.$message.error("Upload Failed");
- }else {
- this.$message.error(res.msg);
- }
- this.fileList3.splice(this.fileList3.indexOf(file), 1)
- return
- }
- let obj={}
- obj.fileNameDisplay=file.name
- obj.filePath=res.data.filePath
- obj.type=5
- this.filename3.push(obj)
- },
- beforeUpload(file) {
- var FileExt = file.name.replace(/.+\./, "");
- if (['zip', 'pdf', 'doc', 'docx', 'excel', 'xls', 'xlsx'].indexOf(FileExt.toLowerCase()) === -1) {
- if (this.$i18n.locale.toUpperCase() == 'EN') {
- this.$message({
- type: 'warning',
- message: 'Please upload zip,pdf,word,excel The attachment!'
- });
- }else {
- this.$message({
- type: 'warning',
- message: '请上传zip,pdf,word,excel的附件!'
- });
- }
- this.fileList.splice(this.fileList.indexOf(file), 1)
- abort();
- return false;
- }
- this.isLt2k = file.size / 1024 / 1024 < 10 ? '1' : '0';
- if (this.isLt2k === '0') {
- if (this.$i18n.locale.toUpperCase() == 'EN') {
- this.$message({
- message: 'Upload file size cannot exceed 10m!',
- type: 'error'
- });
- } else {
- this.$message({
- message: '上传文件大小不能超过10M!',
- type: 'error'
- });
- }
- this.fileList.splice(this.fileList.indexOf(file), 1)
- abort();
- return false;
- }
- },
- beforeUpload2(file) {
- var FileExt = file.name.replace(/.+\./, "");
- if (["jpg", "png"].indexOf(FileExt.toLowerCase()) === -1) {
- if (this.$i18n.locale.toUpperCase() == 'EN') {
- this.$message({
- type: "warning",
- message: "Please upload JPG, PNG files!",
- });
- }else {
- this.$message({
- type: "warning",
- message: "请上传jpg,png的文件!",
- });
- }
- this.fileList2.splice(this.fileList2.indexOf(file), 1)
- abort();
- return false;
- }
- this.isLt2k = file.size / 1024 / 1024 < 10 ? '1' : '0';
- if (this.isLt2k === '0') {
- if (this.$i18n.locale.toUpperCase() == 'zh') {
- this.$message({
- message: '上传文件大小不能超过10M!',
- type: 'error'
- });
- } else {
- this.$message({
- message: 'Upload file size cannot exceed 10m!',
- type: 'error'
- });
- }
- this.fileList2.splice(this.fileList2.indexOf(file), 1)
- abort();
- return false;
- }
- },
- beforeUpload3(file) {
- var FileExt = file.name.replace(/.+\./, "");
- if (['pdf'].indexOf(FileExt.toLowerCase()) === -1) {
- if (this.$i18n.locale.toUpperCase() == 'EN') {
- this.$message({
- type: 'warning',
- message: 'Please Upload PDF File!!'
- });
- }else {
- this.$message({
- type: 'warning',
- message: '请上传pdf的文件!!'
- });
- }
- this.fileList3.splice(this.fileList3.indexOf(file), 1)
- abort();
- return false;
- }
- this.isLt2k = file.size / 1024 / 1024 < 10 ? '1' : '0';
- if (this.isLt2k === '0') {
- if (this.$i18n.locale.toUpperCase() == 'zh') {
- this.$message({
- message: '上传文件大小不能超过10M!',
- type: 'error'
- });
- } else {
- this.$message({
- message: 'Upload file size cannot exceed 10m!',
- type: 'error'
- });
- }
- this.fileList3.splice(this.fileList3.indexOf(file), 1)
- abort();
- return false;
- }
- },
- beforeUpload1(file) {
- var FileExt = file.name.replace(/.+\./, "");
- if (['rar', 'zip', 'doc', 'docx', 'pdf', 'jpg', 'png'].indexOf(FileExt.toLowerCase()) === -1) {
- if (this.$i18n.locale.toUpperCase() == 'EN') {
- this.$message({
- type: 'warning',
- message: 'Please upload pictures!'
- });
- }else {
- this.$message({
- type: 'warning',
- message: '请上传图片!'
- });
- }
- this.fileList1.splice(this.fileList1.indexOf(file), 1)
- abort();
- return false;
- }
- this.isLt2k = file.size / 1024 / 1024 < 10 ? '1' : '0';
- if (this.isLt2k === '0') {
- if (this.$i18n.locale.toUpperCase() == 'zh') {
- this.$message({
- message: '上传文件大小不能超过10M!',
- type: 'error'
- });
- } else {
- this.$message({
- message: 'Upload file size cannot exceed 10m!',
- type: 'error'
- });
- }
- this.fileList1.splice(this.fileList1.indexOf(file), 1)
- abort();
- return false;
- }
- },
- handleRemove(file, fileList) {
- console.log(file, fileList);
- this.filename.forEach((item,index)=>{
- if(file.name==item.fileNameDisplay){
- this.filename.splice(index,1)
- }
- })
- console.log(this.filename)
- },
- handleRemove1(file, fileList) {
- console.log(file, fileList);
- this.filename1.forEach((item,index)=>{
- if(file.name==item.fileNameDisplay){
- this.filename1.splice(index,1)
- }
- })
- console.log(this.filename1)
- },
- handleRemove2(file, fileList) {
- console.log(file, fileList);
- this.filename2.forEach((item,index)=>{
- if(file.name==item.fileNameDisplay){
- this.filename2.splice(index,1)
- }
- })
- console.log(this.filename2)
- },
- handleRemove3(file, fileList) {
- console.log(file, fileList);
- this.filename3.forEach((item,index)=>{
- if(file.name==item.fileNameDisplay){
- this.filename3.splice(index,1)
- }
- })
- console.log(this.filename3)
- },
- handleExceed(files, fileList) {
- if (this.$i18n.locale.toUpperCase() == 'EN') {
- this.$message.warning(`Limit the selection to three files,This time I have chosen ${files.length} file,A total chose ${files.length + fileList.length} file`);
- }else {
- this.$message.warning(`限制选择 3 个文件,本次选择了 ${files.length} 个文件,共选择了 ${files.length + fileList.length} 个文件`);
- }
- },
- handleExceed1(files, fileList) {
- if (this.$i18n.locale.toUpperCase() == 'EN') {
- this.$message.warning(`Limit the selection to three files,This time I have chosen ${files.length} file,A total chose ${files.length + fileList.length} file`);
- }else {
- this.$message.warning(`限制选择 3 个文件,本次选择了 ${files.length} 个文件,共选择了 ${files.length + fileList.length} 个文件`);
- }
- },
- handleExceed2(files, fileList) {
- if (this.$i18n.locale.toUpperCase() == 'EN') {
- this.$message.warning(`Limit the selection to 1 file,This time I have chosen ${files.length} file,A total chose ${files.length + fileList.length} file`);
- }else {
- this.$message.warning(`限制选择 1 个文件,本次选择了 ${files.length} 个文件,共选择了 ${files.length + fileList.length} 个文件`);
- }
- },
- handleExceed3(files, fileList) {
- if (this.$i18n.locale.toUpperCase() == 'EN') {
- this.$message.warning(`Limit the selection to 1 file,This time I have chosen ${files.length} file,A total chose ${files.length + fileList.length} file`);
- }else {
- this.$message.warning(`限制选择 1 个文件,本次选择了 ${files.length} 个文件,共选择了 ${files.length + fileList.length} 个文件`);
- }
- },
- beforeRemove(file, fileList) {
- if (this.$i18n.locale.toUpperCase() == 'EN') {
- return this.$confirm(`Sure to remove ${ file.name }?`);
- }else {
- return this.$confirm(`确定移除 ${ file.name }?`);
- }
- },
- beforeRemove1(file, fileList) {
- if (this.$i18n.locale.toUpperCase() == 'EN') {
- return this.$confirm(`Sure to remove ${ file.name }?`);
- }else {
- return this.$confirm(`确定移除 ${ file.name }?`);
- }
- },
- beforeRemove2(file, fileList) {
- if (this.$i18n.locale.toUpperCase() == 'EN') {
- return this.$confirm(`Sure to remove ${ file.name }?`);
- }else {
- return this.$confirm(`确定移除 ${ file.name }?`);
- }
- },
- beforeRemove3(file, fileList) {
- if (this.$i18n.locale.toUpperCase() == 'EN') {
- return this.$confirm(`Sure to remove ${ file.name }?`);
- }else {
- return this.$confirm(`确定移除 ${ file.name }?`);
- }
- },
- getNowFormatDate () {
- let now = new Date();
- let year = now.getFullYear(); //获取完整的年份(4位,1970-????)
- let month = now.getMonth() + 1; //获取当前月份(0-11,0代表1月)
- let today = now.getDate(); //获取当前日(1-31)
- let hour = now.getHours(); //获取当前小时数(0-23)
- let minute = now.getMinutes(); //获取当前分钟数(0-59)
- let second = now.getSeconds(); //获取当前秒数(0-59)
- let nowTime = ''
- nowTime = year + '-' + this.fillZero(month) + '-' + this.fillZero(today) + ' ' + this.fillZero(hour) + ':' +
- this.fillZero(minute) + ':' + this.fillZero(second)
- return nowTime
- },
- getNowFormatDate1 (value) {
- let now = new Date(value);
- let year = now.getFullYear(); //获取完整的年份(4位,1970-????)
- let month = now.getMonth() + 1; //获取当前月份(0-11,0代表1月)
- let today = now.getDate(); //获取当前日(1-31)
- let hour = now.getHours(); //获取当前小时数(0-23)
- let minute = now.getMinutes(); //获取当前分钟数(0-59)
- let second = now.getSeconds(); //获取当前秒数(0-59)
- let nowTime = ''
- nowTime = year + '-' + this.fillZero(month) + '-' + this.fillZero(today)
- return nowTime
- },
- fillZero (str) {
- var realNum;
- if (str < 10) {
- realNum = '0' + str;
- } else {
- realNum = str;
- }
- return realNum;
- },
- },
- };
- </script>
- <style scoped>
- /deep/ .el-upload-list__item.is-success.focusing .el-icon-close-tip {
- display: none !important;
- }
- /deep/ .el-dialog__body{
- height:500px;
- }
- /deep/ .languages .el-dialog__body{
- height:300px;
- }
- /deep/ .banliren .el-select>.el-input {
- display: block;
- margin-left: 15px;
- }
- /deep/ .el-upload-list__item {
- width: 299px;
- }
- .submit{
- box-sizing: border-box;
- width: 120px;
- height: 40px;
- margin-left: 339px;
- background: #3A8EE6;
- border: 1px solid #3A8EE6;
- border-radius: 4px;
- /* Bold/Body */
- padding-left:44px;
- font-family: 'Noto Sans SC';
- font-style: normal;
- font-weight: 500;
- font-size: 14px;
- line-height: 22px;
- /* identical to box height, or 157% */
- display: flex;
- align-items: center;
- text-align: center;
- font-feature-settings: 'tnum' on, 'lnum' on;
- cursor:pointer;
- /* Neutral Color/White */
- color: #FFFFFF;
- }
- .cancel{
- box-sizing: border-box;
- width: 120px;
- height: 40px;
- margin-left: 30px;
- padding-left:44px;
- background: white;
- border: 1px solid #e9ebef;
- border-radius: 4px;
- cursor:pointer;
- font-family: 'Noto Sans SC';
- font-style: normal;
- font-weight: 500;
- font-size: 14px;
- line-height: 22px;
- /* identical to box height, or 157% */
- display: flex;
- align-items: center;
- text-align: center;
- font-feature-settings: 'tnum' on, 'lnum' on;
- color: rgba(17, 17, 17, 0.65);
- }
- /deep/ .applytype .el-select {
- width: 415px!important;
- }
- /* 利用穿透,设置input边框隐藏 */
- .inputDeep>>>.el-input__inner {
- border: 0;
- }
- /* 如果你的 el-input type 设置成textarea ,就要用这个了 */
- .inputDeep>>>.el-textarea__inner {
- border: 0;
- resize: none;/* 这个是去掉 textarea 下面拉伸的那个标志,如下图 */
- }
- .english{
- box-sizing: border-box;
- /* position: absolute;*/
- width: 80px;
- height: 40px;
- margin-left: 69px;
- border: 1px solid rgba(0, 0, 0, 0.15);
- border-radius: 2px;
- font-family: 'Noto Sans SC';
- font-style: normal;
- font-weight: 400;
- font-size: 14px;
- line-height: 22px;
- /* identical to box height, or 157% */
- display: flex;
- align-items: center;
- font-feature-settings: 'tnum' on, 'lnum' on;
- color: rgba(0, 0, 0, 0.85);
- padding-left:22px;
- }
- .english2{
- box-sizing: border-box;
- /* position: absolute;*/
- width: 80px;
- height: 40px;
- margin-left: 20px;
- border: 1px solid rgba(0, 0, 0, 0.15);
- border-radius: 2px;
- font-family: 'Noto Sans SC';
- font-style: normal;
- font-weight: 400;
- font-size: 14px;
- line-height: 22px;
- /* identical to box height, or 157% */
- display: flex;
- align-items: center;
- font-feature-settings: 'tnum' on, 'lnum' on;
- color: rgba(0, 0, 0, 0.85);
- padding-left:10px;
- }
- .box1 {
- padding: 0 0 20px 0;
- position: absolute;
- }
- .center {
- display: flex;
- }
- .topImg img {
- display: inline-block;
- width: 1200px;
- height: 324px;
- }
- .centerLeft1 {
- border-radius: 0px;
- width: 1198px;
- height: 877px;
- left: 360px;
- top: 317px;
- background: #FFFFFF;
- }
- .left {
- position: relative;
- }
- .top .top1 {
- position: absolute;
- width: 5.5px;
- height: 10.5px;
- left: 20px;
- top: 35px;
- background: #376ac7;
- z-index: 1;
- }
- .top .top2 {
- position: absolute;
- width: 5.5px;
- height: 15px;
- left: 20px;
- top: 35px;
- background: #83bd50;
- }
- .top .allApplication {
- position: absolute;
- height: 22px;
- left: 34px;
- top: 31px;
- }
- .top .allApplication span {
- font-family: "PingFang SC";
- font-style: normal;
- font-weight: 600;
- font-size: 16px;
- line-height: 22px;
- color: #375586;
- }
- .top .notice {
- position: absolute;
- height: 22px;
- left: 160px;
- top: 32px;
- }
- .top .notice span {
- font-family: "PingFang SC";
- font-style: normal;
- font-weight: 600;
- font-size: 16px;
- line-height: 22px;
- color: rgba(10, 10, 10, 0.85);
- }
- .top .more {
- position: absolute;
- height: 16px;
- right: 21px;
- top: 31px;
- }
- .top .more span {
- font-family: "Roboto";
- font-style: normal;
- font-weight: 500;
- font-size: 14px;
- line-height: 16px;
- color: #4790f7;
- }
- .content .content1 {
- box-sizing: border-box;
- position: absolute;
- width: 100%;
- height: 70px;
- left: 0px;
- top: 78px;
- display: flex;
- }
- .content .content2 {
- box-sizing: border-box;
- position: absolute;
- width: 100%;
- height: 729px;
- left: 0px;
- /*top: 148px;*/
- top: 80px;
- background: #FFFFFF;
- padding-left:125px;
- }
- .content .title {
- font-family: "PingFang SC";
- font-style: normal;
- font-weight: 600;
- font-size: 14px;
- line-height: 20px;
- color: rgba(0, 0, 0, 0.85);
- position: absolute;
- left: 16px;
- top: 16px;
- right: 14px;
- bottom: 113px;
- }
- .content .time {
- font-family: "Roboto";
- font-style: normal;
- font-weight: 400;
- font-size: 12px;
- line-height: 14px;
- color: rgba(0, 0, 0, 0.65);
- position: absolute;
- left: 16px;
- top: 61px;
- }
- .content .type {
- font-family: "PingFang SC";
- font-style: normal;
- font-weight: 400;
- font-size: 14px;
- line-height: 20px;
- color: rgba(0, 0, 0, 0.85);
- position: absolute;
- left: 16px;
- top: 89px;
- }
- .content .toView {
- margin-left: 100px;
- font-family: "Roboto";
- font-style: normal;
- font-weight: 400;
- font-size: 14px;
- line-height: 16px;
- color: #274e92;
- }
- .content .toProgress {
- font-family: "Roboto";
- font-style: normal;
- font-weight: 400;
- font-size: 14px;
- line-height: 16px;
- color: #274e92;
- }
- .centerLeft2 {
- position: relative;
- margin-top: 20px;
- height: 177px;
- width: 850px;
- border-radius: 0px;
- background: #fff;
- }
- .content .audit {
- position: absolute;
- right: 5%;
- }
- .area {
- position: absolute;
- top: 100px;
- }
- .pag {
- position: absolute;
- bottom: 0;
- right: 0;
- }
- .tableTr{
- height:40px;
- width: 98%;
- display: flex;
- align-items: center;
- color: #A0A4AA;
- }
- .tableTd20{
- box-sizing: border-box;
- display: flex;
- flex-direction: row;
- justify-content: center;
- align-items: center;
- padding: 9px 20px;
- gap: 4px;
- width: 13%;
- height: 40px;
- background: #F5F7FA;
- border: 1px solid #DCDFE6;
- border-radius: 0px;
- font-family: 'PingFang SC';
- font-style: normal;
- font-weight: 600;
- font-size: 14px;
- line-height: 22px;
- /* identical to box height, or 157% */
- display: flex;
- align-items: center;
- text-align: center;
- font-feature-settings: 'tnum' on, 'lnum' on;
- color: rgba(0, 0, 0, 0.85);
- }
- .tableTd30{
- background: #FFFFFF;
- border: 1px solid #DCDFE6;
- mix-blend-mode: normal;
- width:37%;
- text-align: left;
- height:40px;
- font-family: 'Noto Sans SC';
- font-style: normal;
- font-weight: 400;
- font-size: 14px;
- line-height: 22px;
- display: flex;
- align-items: center;
- font-feature-settings: 'tnum' on, 'lnum' on;
- color: rgba(0, 0, 0, 0.45);
- }
- .tableTd120{
- border: 1px solid #DCDFE6;
- width:87%;
- text-align: left;
- height:40px;
- font-size:15px;
- }
- .tableTd50{
- width:50%; height:40px;
- text-align: center;
- display: flex;
- flex-wrap: nowrap;
- justify-content: space-around;
- }
- </style>
|