123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091 |
- <template>
- <div class="app-container">
- <div class="box-lfet">
- <div class="data">
- <p>日期</p>
- <div class="a1"></div>
- <el-date-picker
- v-model="tiem"
- type="date"
- :editable="false"
- placeholder="选择日期"
- value-format="yyyy-MM-dd"
- @change="shiJian"
- >
- </el-date-picker>
- </div>
- <div class="dadui">
- <img src="../../../images/星星.png" alt="" />
- 单位
- </div>
- <div class="tree">
- <el-tree
- class="userAgrees"
- style="height: calc(100vh - 230px); overflow: auto"
- :data="deptOptions"
- :props="defaultProps"
- @node-click="handleNodeClick"
- default-expand-all
- highlight-current
- :expand-on-click-node="false"
- ></el-tree>
- </div>
- </div>
- <div class="box-right">
- <!-- 搜索条件区域 -->
- <el-form
- :model="queryParams"
- ref="queryForm"
- :inline="true"
- v-show="showSearch"
- label-width="68px"
- >
- </el-form>
- <!-- 添加,删除 -->
- <el-row :gutter="10" class="mb8">
- <el-col :span="1.5">
- <el-button
- type="primary"
- plain
- icon="el-icon-plus"
- size="mini"
- @click="handleAdd"
- v-hasPermi="['grassrootsregistration:bdgldiary:add']"
- >新增</el-button
- >
- </el-col>
- <div class="shuJu" @click="dengJI">
- <span class="box44 public"> 当前数据为 : {{ tiems }}</span>
- <span class="box5 public">
- 已登记部门 : {{ registrationData.yiShenPi }}</span
- >
- <span class="box6">
- 未登记部门 : {{ registrationData.weiShenPi }}</span
- >
- </div>
- <!-- <el-col :span="1.5">
- <el-button
- type="success"
- plain
- icon="el-icon-edit"
- size="mini"
- :disabled="single"
- @click="handleUpdate"
- v-hasPermi="['grassrootsregistration:bdgldiary:edit']"
- >修改</el-button
- >
- </el-col>
- <el-col :span="1.5">
- <el-button
- type="danger"
- plain
- icon="el-icon-delete"
- size="mini"
- :disabled="multiple"
- @click="handleDelete"
- v-hasPermi="['grassrootsregistration:bdgldiary:remove']"
- >删除</el-button
- >
- </el-col>
- <el-col :span="1.5">
- <el-button
- type="warning"
- plain
- icon="el-icon-download"
- size="mini"
- :loading="exportLoading"
- @click="handleExport"
- v-hasPermi="['grassrootsregistration:bdgldiary:export']"
- >导出</el-button
- >
- </el-col> -->
- </el-row>
- <!-- 搜索结果区域 -->
- <el-table
- v-loading="loading"
- :data="bdgldiaryList"
- @selection-change="handleSelectionChange"
- :header-cell-style="{ background: '#003C69', color: 'white' }"
- >
- <el-table-column type="selection" width="55" align="center" />
- <!-- <el-table-column label="序号" align="center" prop="id" /> -->
- <el-table-column label="序号" type="index" width="50" align="center">
- <template scope="scope">
- <span>{{
- (queryParams.pageNum - 1) * queryParams.pageSize +
- scope.$index +
- 1
- }}</span>
- </template>
- </el-table-column>
- <el-table-column label="单位" align="center" prop="unitName" />
- <el-table-column label="值班人员" align="center" prop="peopleName" />
- <el-table-column
- label="值班日期"
- align="center"
- prop="diaryTime"
- width="180"
- :editable="false"
- >
- <template slot-scope="scope">
- <span>{{ parseTime(scope.row.diaryTime, "{y}-{m}-{d}") }}</span>
- </template>
- </el-table-column>
- <el-table-column label="编制干部" align="center" prop="orgcadre" />
- <el-table-column label="编制战士" align="center" prop="orgsoldier" />
- <el-table-column label="编制文职" align="center" prop="orgcivilian" />
- <el-table-column label="审批" align="center" prop="examine">
- <template slot-scope="scope">
- <span v-if="scope.row.examine == '1'" style="color: #67c23a"
- >已审批</span
- >
- <span v-else style="color: #ff4949">未审批</span>
- </template>
- </el-table-column>
- <el-table-column
- width="250"
- label="操作"
- align="center"
- class-name="small-padding fixed-width"
- >
- <template slot-scope="scope">
- <el-button
- v-if="scope.row.common == '1'"
- size="btd"
- type="text"
- @click="handleChakans(scope.row)"
- v-hasPermi="['grassrootsregistration:bdgldiary:edit']"
- ><span class="chakan">审批</span></el-button
- >
- <el-button
- size="btk"
- type="text"
- @click="handleChakan(scope.row)"
- v-hasPermi="['grassrootsregistration:bdgldiary:edit']"
- ><span class="chakan">查看</span></el-button
- >
- <el-button
- size="btu"
- type="text"
- @click="handleUpdate(scope.row)"
- v-hasPermi="['grassrootsregistration:bdgldiary:edit']"
- ><span class="edit">修改</span></el-button
- >
- <el-button
- size="btd"
- type="text"
- @click="handleDelete(scope.row)"
- v-hasPermi="['grassrootsregistration:bdgldiary:remove']"
- ><span class="delete">删除</span></el-button
- >
- </template>
- </el-table-column>
- </el-table>
- <pagination
- v-show="total > 0"
- :total="total"
- :page.sync="queryParams.pageNum"
- :limit.sync="queryParams.pageSize"
- @pagination="getList"
- />
- <!-- 添加或修改要事日记对话框 -->
- <el-dialog
- :title="title"
- :visible.sync="open"
- width="1060px"
- append-to-body
- :close-on-click-modal="false"
- custom-class="userDig"
- >
- <div class="userAgree">
- <el-form
- ref="form"
- :model="form"
- :rules="rules"
- label-width="80px"
- :inline="true"
- >
- <div class="jiben">基本信息</div>
- <el-form-item label="单位" prop="unitId">
- <treeselect
- @select="selectPeo"
- v-model="form.unitId"
- :options="rese"
- placeholder="请选择单位"
- />
- </el-form-item>
- <el-form-item label="值班人员" prop="peopleId">
- <el-select
- v-model="form.peopleName"
- placeholder="请输入单位"
- filterable
- clearable
- @change="btn"
- >
- <el-option
- :label="item.name"
- v-for="(item, i) in renYuan"
- :key="i"
- :value="item"
- class="input_xiala"
- ></el-option>
- </el-select>
- </el-form-item>
- <el-form-item label="值班日期" prop="blogDate">
- <el-date-picker
- clearable
- size="small"
- v-model="form.blogDate"
- type="datetime"
- placeholder="选择值班日期"
- class="text"
- @change="blogDate"
- >
- </el-date-picker>
- </el-form-item>
- <el-form-item label="天气" prop="weather">
- <el-input v-model="form.weather" placeholder="请输入天气" />
- </el-form-item>
- <el-form-item label="值班首长" prop="lead">
- <el-select
- v-model="form.lead"
- filterable
- placeholder="请选择首长"
- clearable
- >
- <el-option
- :label="item.nickName"
- v-for="(item, i) in shouZhang"
- :key="i"
- :value="item.userId"
- class="input_xiala"
- ></el-option>
- </el-select>
- </el-form-item>
- <div class="jiben">实力情况</div>
- <el-form-item label="编制干部" prop="orgcadre">
- <el-input-number
- v-model="form.orgcadre"
- controls-position="right"
- :min="0"
- :max="99999999"
- ></el-input-number>
- </el-form-item>
- <el-form-item label="编制战士" prop="orgsoldier">
- <!-- <el-input v-model="form.orgsoldier" placeholder="请输入编制战士" /> -->
- <el-input-number
- v-model="form.orgsoldier"
- controls-position="right"
- :min="0"
- :max="99999999"
- ></el-input-number>
- </el-form-item>
- <el-form-item label="编制文职" prop="orgcivilian">
- <!-- <el-input v-model="form.orgcivilian" placeholder="请输入编制文职" /> -->
- <el-input-number
- v-model="form.orgcivilian"
- controls-position="right"
- :min="0"
- :max="99999999"
- ></el-input-number>
- </el-form-item>
- <el-form-item label="现有干部" prop="nowcadre">
- <!-- <el-input v-model="form.nowcadre" placeholder="请输入现有干部" /> -->
- <el-input-number
- v-model="form.nowcadre"
- controls-position="right"
- :min="0"
- :max="99999999"
- ></el-input-number>
- </el-form-item>
- <el-form-item label="现有战士" prop="nowsoldier">
- <el-input-number
- v-model="form.nowsoldier"
- controls-position="right"
- :min="0"
- :max="99999999"
- ></el-input-number>
- </el-form-item>
- <el-form-item label="现有文职" prop="nowcivilian">
- <!-- <el-input v-model="form.nowcivilian" placeholder="请输入现有文职" /> -->
- <el-input-number
- v-model="form.nowcivilian"
- controls-position="right"
- :min="0"
- :max="99999999"
- ></el-input-number>
- </el-form-item>
- <div class="jiben">训练、教育或者执行其他任务情况</div>
- <div class="box" v-for="(item, i) in xunlian" :key="i">
- <table
- width="920"
- cellspacing="0"
- align="center"
- border="1"
- style="
- border-bottom: white;
- border-collapse: collapse;
- mso-border-left-alt: 0.5pt solid windowtext;
- mso-border-top-alt: 0.5pt solid windowtext;
- mso-border-right-alt: 0.5pt solid windowtext;
- mso-border-bottom-alt: 0.5pt solid windowtext;
- mso-border-insideh: 0.5pt solid windowtext;
- mso-border-insidev: 0.5pt solid windowtext;
- mso-padding-alt: 0pt 0pt 0pt 0pt;
- "
- bordercolor="white"
- >
- <tr align="center">
- <td width="200" height="40">区分</td>
- <td colspan="2" width="420">内容</td>
- <td width="100">应到人数</td>
- <td width="100">实到人数</td>
- <td width="100">到课率</td>
- </tr>
- <tr align="center">
- <td height="60">
- <el-input
- v-model="item.dateline"
- placeholder="请输入时间"
- ></el-input>
- </td>
- <td rowspan="2" colspan="2">
- <el-input
- type="textarea"
- :rows="1"
- placeholder="请输入内容"
- v-model="item.centertext"
- :autosize="true"
- resize="none"
- >
- {{ item.contents }}
- </el-input>
- </td>
- <td>
- <el-input
- v-model="item.shouldArrive"
- placeholder="应到人数"
- @blur="yinDao"
- oninput="value=value.replace(/[^\d]/g,'')"
- ></el-input>
- </td>
- <td>
- <el-input
- v-model="item.realTo"
- placeholder="实到人数"
- @blur="shiDao"
- oninput="value=value.replace(/[^\d]/g,'')"
- ></el-input>
- </td>
- <td>
- <el-input
- v-model="item.percentage"
- placeholder="到课率"
- readonly
- ></el-input>
- </td>
- </tr>
- </table>
- </div>
- <div class="jiben">公差勤务</div>
- <el-form-item prop="tolerance">
- <div class="box4">
- <el-input
- v-model="form.tolerance"
- type="textarea"
- placeholder="请输入内容"
- autosize
- />
- </div>
- </el-form-item>
- <div class="jiben">人员及装备变动</div>
- <el-form-item prop="transfer">
- <div class="box4">
- <el-input
- v-model="form.transfer"
- type="textarea"
- placeholder="请输入内容"
- autosize
- />
- </div>
- </el-form-item>
- <div class="jiben">装备变动</div>
- <el-form-item prop="equip">
- <div class="box4">
- <el-input
- v-model="form.equip"
- type="textarea"
- placeholder="请输入内容"
- autosize
- />
- </div>
- </el-form-item>
- <div class="jiben">武器装备、军容风纪、内务卫生检查情况</div>
- <el-form-item prop="internal">
- <div class="box4">
- <el-input
- v-model="form.internal"
- type="textarea"
- placeholder="请输入内容"
- autosize
- />
- </div>
- </el-form-item>
- <div class="jiben">配班情况</div>
- <el-form-item label="值班组织人" prop="dutylead">
- <el-select
- v-model="form.dutylead"
- clearable
- placeholder="请选择值班组织人"
- >
- <el-option
- :label="item.name"
- :value="item.name"
- v-for="(item, i) in renYuan"
- :key="i"
- class="input_xiala"
- ></el-option>
- </el-select>
- </el-form-item>
- <el-form-item label="值班交班人" prop="dutya">
- <!-- <el-input v-model="form.dutya" placeholder="请输入值班交班人" /> -->
- <el-select
- v-model="form.dutya"
- clearable
- placeholder="请选择值班交班人"
- >
- <el-option
- :label="item.name"
- :value="item.name"
- v-for="(item, i) in renYuan"
- :key="i"
- class="input_xiala"
- ></el-option>
- </el-select>
- </el-form-item>
- <el-form-item label="值班接班人" prop="dutyb">
- <!-- <el-input v-model="form.dutyb" placeholder="请输入值班接班人" /> -->
- <el-select
- v-model="form.dutyb"
- placeholder="请选择值班接班人"
- clearable
- >
- <el-option
- :label="item.name"
- :value="item.name"
- v-for="(item, i) in renYuan"
- :key="i"
- class="input_xiala"
- ></el-option>
- </el-select>
- </el-form-item>
- <el-form-item label="值日交班人" prop="dutyc">
- <!-- <el-input v-model="form.dutyc" placeholder="请输入值日交班人" /> -->
- <el-select
- v-model="form.dutyc"
- clearable
- placeholder="请选择值日交班人"
- >
- <el-option
- :label="item.name"
- :value="item.name"
- v-for="(item, i) in renYuan"
- :key="i"
- class="input_xiala"
- ></el-option>
- </el-select>
- </el-form-item>
- <el-form-item label="值日接班人" prop="dutyd">
- <!-- <el-input v-model="form.dutyd" placeholder="请输入值日接班人" /> -->
- <el-select
- v-model="form.dutyd"
- clearable
- placeholder="请选择值日接班人"
- >
- <el-option
- :label="item.name"
- :value="item.name"
- v-for="(item, i) in renYuan"
- :key="i"
- class="input_xiala"
- ></el-option>
- </el-select>
- </el-form-item>
- <el-form-item label="厨房交班人" prop="dutye">
- <!-- <el-input v-model="form.dutye" placeholder="请输入厨房交班人" /> -->
- <el-select
- v-model="form.dutye"
- clearable
- placeholder="请选择厨房交班人"
- >
- <el-option
- :label="item.name"
- :value="item.name"
- v-for="(item, i) in renYuan"
- :key="i"
- class="input_xiala"
- ></el-option>
- </el-select>
- </el-form-item>
- <el-form-item label="厨房接班人" prop="dutyf">
- <el-select
- v-model="form.dutyf"
- clearable
- placeholder="请选择厨房接班人"
- >
- <el-option
- :label="item.name"
- :value="item.name"
- v-for="(item, i) in renYuan"
- :key="i"
- class="input_xiala"
- ></el-option>
- </el-select>
- </el-form-item>
- <el-form-item label="交接时间" prop="dutyDate">
- <el-date-picker
- clearable
- size="small"
- v-model="form.dutyDate"
- type="date"
- value-format="yyyy-MM-dd"
- placeholder="请选择交接时间"
- >
- </el-date-picker>
- </el-form-item>
- <div class="jiben">值班交接情况</div>
- <el-form-item prop="dutyinfoA">
- <div class="box4">
- <el-input
- v-model="form.dutyinfoa"
- type="textarea"
- placeholder="请输入内容"
- autosize
- />
- </div>
- </el-form-item>
- <div class="jiben">值日交接情况</div>
- <el-form-item prop="dutyinfoC">
- <div class="box4">
- <el-input
- v-model="form.dutyinfoc"
- type="textarea"
- placeholder="请输入内容"
- autosize
- />
- </div>
- </el-form-item>
- <div class="jiben">厨房交接情况</div>
- <el-form-item prop="dutyinfoE">
- <div class="box4">
- <el-input
- v-model="form.dutyinfoe"
- type="textarea"
- placeholder="请输入内容"
- autosize
- />
- </div>
- </el-form-item>
- <div class="jiben">病号处理情况</div>
- <el-form-item prop="invalid">
- <div class="box4">
- <el-input
- v-model="form.invalid"
- placeholder="请输入内容"
- type="textarea"
- autosize
- />
- </div>
- </el-form-item>
- <div class="jiben">上级通知、指示及其他重要事项</div>
- <el-form-item prop="notice">
- <div class="box4">
- <el-input
- v-model="form.notice"
- placeholder="请输入内容"
- type="textarea"
- autosize
- />
- </div>
- </el-form-item>
- <div class="jiben">查铺查哨</div>
- <div class="box3">
- <el-form v-for="(item1, e) in checkShop" :key="e">
- <div>
- <el-form-item label="" prop="">
- <el-input
- v-model="item1.peopleName"
- placeholder="检查人"
- ></el-input>
- </el-form-item>
- <el-form-item label="" prop="">
- <el-input
- v-model="item1.foremanName"
- placeholder="领班员"
- ></el-input>
- </el-form-item>
- <el-form-item label="" prop="">
- <el-input
- v-model="item1.sentryName"
- placeholder="哨兵姓名"
- ></el-input>
- </el-form-item>
- <el-form-item label="" prop="">
- <!-- <el-date-picker
- type="datetime"
- v-model="item1.examineDate"
- :editable="false"
- size="mini"
- placeholder="选择日期"
- value-format="yyyy-MM-dd-HH-mm"
- @change="chenge"
- :picker-options="pickerOptions"
- >
- </el-date-picker> -->
- <!-- <el-date-picker
- v-model="item1.examineDate"
- type="datetime"
- placeholder="选择日期时间"
- class="sun"
- >
- </el-date-picker> -->
- <el-time-picker
- v-model="item1.examineDate"
- :picker-options="{
- selectableRange: '00:00:00 - 23:59:59',
- }"
- placeholder="选择日期时间"
- value-format="HH:mm:ss"
- >
- </el-time-picker>
- </el-form-item>
- <el-form-item label="" prop="">
- <el-input
- v-model="item1.dialogue"
- placeholder="检查情况"
- ></el-input>
- </el-form-item>
- <el-form-item>
- <el-button
- type="primary"
- icon="el-icon-plus"
- size="mini"
- @click="addForms"
- v-if="e == checkShop.length - 1"
- ></el-button>
- <el-button
- type="danger"
- icon="el-icon-delete"
- size="mini"
- v-if="e > 0"
- @click="delForms(e)"
- ></el-button>
- </el-form-item>
- </div>
- </el-form>
- </div>
- <div class="jiben">临时来队亲属</div>
- <div class="box3">
- <div class="box4">
- <el-form v-for="(item1, i) in relatives" :key="i">
- <el-form-item label="" prop="">
- <el-select v-model="item1.peopleId" placeholder="军人姓名">
- <el-option
- v-for="item in renYuan"
- :key="item.id"
- :label="item.name"
- :value="item.id"
- class="input_xiala"
- >
- </el-option>
- </el-select>
- </el-form-item>
- <el-form-item label="" prop="">
- <el-input
- v-model="item1.name"
- placeholder="家属姓名"
- ></el-input>
- </el-form-item>
- <el-form-item label="" prop="">
- <el-input
- v-model="item1.relation"
- placeholder="关系"
- ></el-input>
- </el-form-item>
- <el-form-item label="" prop="">
- <!-- <el-date-picker
- v-model="item1.comeDate"
- type="date"
- :editable="false"
- size="mini"
- placeholder="来队时间"
- value-format="yyyy-MM-dd"
- >
- </el-date-picker> -->
- <el-time-picker
- v-model="item1.comeDate"
- :picker-options="{
- selectableRange: '00:00:00 - 23:59:59',
- }"
- placeholder="来队时间"
- value-format="HH:mm:ss"
- >
- </el-time-picker>
- </el-form-item>
- <el-form-item label="" prop="">
- <!-- <el-date-picker
- v-model="item1.leaveDate"
- type="date"
- :editable="false"
- size="mini"
- placeholder="离队时间"
- value-format="yyyy-MM-dd"
- >
- </el-date-picker> -->
- <el-time-picker
- v-model="item1.leaveDate"
- :picker-options="{
- selectableRange: '00:00:00 - 23:59:59',
- }"
- placeholder="离队时间"
- value-format="HH:mm:ss"
- >
- </el-time-picker>
- </el-form-item>
- <el-form-item>
- <el-button
- type="primary"
- icon="el-icon-plus"
- size="mini"
- @click="addFormss"
- v-if="i == relatives.length - 1"
- ></el-button>
- <el-button
- type="danger"
- icon="el-icon-delete"
- size="mini"
- v-if="i > 0"
- @click="delFormss(i)"
- ></el-button>
- </el-form-item>
- </el-form>
- </div>
- </div>
- </el-form>
- </div>
- <div slot="footer" class="dialog-footer">
- <el-button type="primary" @click="submitForm(1)">确 定</el-button>
- <el-button @click="resertwo" size="btn">重置</el-button>
- </div>
- </el-dialog>
- <!-- 查看 -->
- <el-dialog
- :visible.sync="menuRoleVisible"
- :title="title"
- append-to-body
- id="chakan"
- :close-on-click-modal="false"
- >
- <bdgldiary
- v-if="menuRoleVisible"
- ref="menuRole"
- :message="wordInfo"
- ></bdgldiary>
- <div slot="footer" class="dialog-footer" v-if="statusShen">
- <el-button type="primary" @click="queDing">通过</el-button>
- </div>
- </el-dialog>
- <!-- 数据查看弹出层 -->
- <el-dialog
- :visible.sync="dialogVisible"
- title="统计详情"
- append-to-body
- id="dialoges"
- :close-on-click-modal="false"
- >
- <div class="zuiDa">
- <div class="shuJuTime">当前数据为 : {{ tiems }}</div>
- <div class="jiben">已登记部门:{{ yishenpi }}个</div>
- <div class="boxxx">
- <div v-for="(item, i) in cg" :key="i" class="greed">
- <span class="greedss"> </span><span>{{ item }}</span>
- </div>
- </div>
- <!-- <span v-for="(item, i) in cg" :key="i" class="greed">{{ item }}</span> -->
- <div class="jiben">未登记部门:{{ weishenpi }}个</div>
- <div class="boxxx">
- <div v-for="(item, i) in sb" :key="i" class="red">
- <span class="greeds"> </span><span>{{ item }}</span>
- </div>
- </div>
- </div>
- </el-dialog>
- </div>
- </div>
- </template>
- <script>
- import bdgldiary from "@/components/look_word/bdgldiary.vue";
- import {
- listBdgldiary,
- getBdgldiary,
- delBdgldiary,
- addBdgldiary,
- updateBdgldiary,
- exportBdgldiary,
- exportBdgShuju,
- updateBdglShenPi,
- } from "@/api/grassrootsregistration/bdgldiary";
- import {
- getDept,
- getZhuChiRen,
- getUser,
- getShiLi,
- getXunLian,
- getWeiShu,
- getUsers,
- } from "@/api/grassrootsregistration/bdglmeeting";
- import { getDicts } from "@/api/system/dict/data";
- // 导入树形结构
- import Treeselect from "@riophae/vue-treeselect";
- import "@riophae/vue-treeselect/dist/vue-treeselect.css";
- import Cookies from "js-cookie";
- export default {
- components: { Treeselect, bdgldiary },
- name: "Bdgldiary",
- data() {
- return {
- // 审批状态
- statusShen: false,
- //查看页面
- menuRoleVisible: false,
- wordInfo: {},
- //判断关闭
- style: "2",
- // 获取首长
- shouZhang: [],
- // 人员组织
- renYuan: [],
- // 添加的树形单位
- rese: [],
- // 遮罩层
- loading: true,
- // 导出遮罩层
- exportLoading: false,
- // 选中数组
- ids: [],
- // 非单个禁用
- single: true,
- // 非多个禁用
- multiple: true,
- // 显示搜索条件
- showSearch: true,
- // 总条数
- total: 0,
- // 要事日记表格数据
- bdgldiaryList: [],
- // 弹出层标题
- title: "",
- // 是否显示弹出层
- open: false,
- // 查询参数
- queryParams: {
- pageNum: 1,
- pageSize: 10,
- unitId: null,
- peopleId: null,
- blogDate: null,
- weather: null,
- orgcadre: null,
- orgsoldier: null,
- orgcivilian: null,
- nowcadre: null,
- nowsoldier: null,
- nowcivilian: null,
- tolerance: null,
- transfer: null,
- equip: null,
- internal: null,
- dutylead: null,
- dutya: null,
- dutyb: null,
- dutyc: null,
- dutyd: null,
- dutye: null,
- dutyf: null,
- dutyinfoa: null,
- dutyinfoc: null,
- dutyinfoe: null,
- dutyDate: null,
- invalid: null,
- notice: null,
- lead: null,
- weekwork: null,
- examine: null,
- peopleId1: null,
- contents: null,
- },
- // 表单参数
- form: {},
- // 表单校验
- rules: {
- unitId: [
- { required: true, message: "单位名称不能为空", trigger: "blur" },
- ],
- peopleId: [
- // { required: true, message: "值班人员不能为空", trigger: "blur" },
- ],
- blogDate: [
- { required: true, message: "值班日期不能为空", trigger: "blur" },
- ],
- weather: [{ required: true, message: "天气不能为空", trigger: "blur" }],
- lead: [
- { required: true, message: "值班首长不能为空", trigger: "change" },
- ],
- orgcadre: [
- { required: true, message: "编制干部不能为空", trigger: "blur" },
- ],
- orgsoldier: [
- { required: true, message: "编制战士不能为空", trigger: "blur" },
- ],
- orgcivilian: [
- { required: true, message: "编制文职不能为空", trigger: "blur" },
- ],
- nowcadre: [
- { required: true, message: "现有干部不能为空", trigger: "blur" },
- ],
- nowsoldier: [
- { required: true, message: "现有战士不能为空", trigger: "blur" },
- ],
- nowcivilian: [
- { required: true, message: "现有文职不能为空", trigger: "blur" },
- ],
- },
- BdgDay: [],
- // 搜索人员
- Renyuan: [],
- // 字典类型查询
- dictType: {
- dictType: "yssp",
- },
- // 字典数据
- ziDian: [],
- //左侧树状
- deptOptions: null,
- //左侧时间选择
- pickerOptions: {
- disabledDate(time) {
- return time.getTime() > Date.now();
- },
- },
- // 树形配置
- defaultProps: {
- children: "children",
- label: "label",
- },
- // 组织人搜索列表00
- list: [],
- // 下拉选项显示隐藏
- xiaLa: false,
- //添加对话框查铺表格为空
- checkShop: [
- {
- peopleName: null,
- foremanName: null,
- sentryName: null,
- examineDate: null,
- dialogue: null,
- },
- ],
- //添加对话框来访人员表格为空
- relatives: [
- {
- peopleId: null,
- name: null,
- relation: null,
- comeDate: null,
- leaveDate: null,
- },
- ],
- // 临时来队亲属
- relatives: [
- {
- peopleId: null,
- name: null,
- relation: null,
- comeDate: null,
- leaveDate: null,
- },
- ],
- // 搜索时间保存
- tiem: null,
- // 训练情况
- xunlian: [
- {
- dateline: null,
- contents: null,
- shouldArrive: null,
- realTo: null,
- percentage: null,
- organizer: null,
- },
- ],
- // 数据时间
- DataTime: "",
- // 右边登记数据
- registrationData: {},
- // 搜索时间的保存
- timeDate: "",
- // 数据查看的弹出层
- dialogVisible: false,
- // 获取成功对象
- cg: {},
- // 获取失败对象
- sb: {},
- // 获取登记部门数量
- yishenpi: "",
- // 获取未登记数量
- weishenpi: "",
- // 数据时间的保存
- tiems: "",
- centertext: null,
- };
- },
- created() {
- // if (Cookies.get("shuaxin") != "true") {
- // window.location.reload();
- // }
- // Cookies.set("shuaxin", "true");
- this.getList();
- // 获取单位
- this.getDept();
- // 获取字典通过未通过
- this.getdict();
- // 获取外部部门树形
- this.treeselect();
- // 获取数据
- this.getShuJu();
- },
- methods: {
- // 点击数据盒子
- dengJI() {
- this.dialogVisible = true;
- },
- //审批按钮操作
- handleChakans(row) {
- // 是否隐藏按钮
- this.opens = false;
- this.statusShen = true;
- const id = row.id || this.ids;
- getBdgldiary(id).then((response) => {
- if (new Date(response.data.blogDate).getDay() == 0) {
- response.data.week = "星期日";
- } else if (new Date(response.data.blogDate).getDay() == 1) {
- response.data.week = "星期一";
- } else if (new Date(response.data.blogDate).getDay() == 2) {
- response.data.week = "星期二";
- } else if (new Date(response.data.blogDate).getDay() == 3) {
- response.data.week = "星期三";
- } else if (new Date(response.data.blogDate).getDay() == 4) {
- response.data.week = "星期四";
- } else if (new Date(response.data.blogDate).getDay() == 5) {
- response.data.week = "星期五";
- } else if (new Date(response.data.blogDate).getDay() == 6) {
- response.data.week = "星期六";
- }
- this.wordInfo = response.data;
- this.title = "审批要事日记";
- this.menuRoleVisible = true;
- });
- },
- // 审批页面确定
- queDing() {
- this.wordInfo.examine = "1";
- if (this.wordInfo.id != null) {
- updateBdglShenPi(this.wordInfo).then((response) => {
- this.menuRoleVisible = false;
- this.getList();
- this.getShuJu(this.timeDate);
- this.$forceUpdate();
- });
- }
- },
- // 获取部门数据
- getShuJu(data) {
- exportBdgShuju(data).then((res) => {
- this.DataTime = data;
- this.registrationData = res;
- this.cg = res.cg;
- this.sb = res.sb;
- this.yishenpi = res.yiShenPi;
- this.weishenpi = res.weiShenPi;
- this.tiems = res.time;
- });
- },
- // 搜索时间触发
- shiJian(data) {
- this.queryParams.diaryTime = data;
- this.timeDate = data;
- this.getList();
- this.getShuJu(data);
- },
- // 应到人数失去焦点触发
- yinDao() {
- this.xunlian.forEach((item) => {
- if (item.shouldArrive != null && item.realTo != null) {
- var str = ((item.realTo / item.shouldArrive) * 100).toFixed(2);
- str += "%";
- item.percentage = str;
- }
- });
- },
- // 实到人数失去焦点触发
- shiDao() {
- this.xunlian.forEach((item) => {
- if (item.shouldArrive != null && item.realTo != null) {
- var str = ((item.realTo / item.shouldArrive) * 100).toFixed(2);
- str += "%";
- item.percentage = str;
- }
- });
- },
- // 获取训练
- XunLian(id, tiem) {
- let y = tiem.getFullYear();
- let m = tiem.getMonth() + 1;
- m = m < 10 ? "0" + m : m;
- let d = tiem.getDate();
- d = d < 10 ? "0" + d : d;
- let h = tiem.getHours();
- h = h < 10 ? "0" + h : h;
- let M = tiem.getMinutes();
- M = M < 10 ? "0" + M : M;
- let s = tiem.getSeconds();
- s = s < 10 ? "0" + s : s;
- let dateTime = y + "-" + m + "-" + d + " " + h + ":" + M + ":" + s;
- getXunLian(id, dateTime).then((res) => {
- console.log(res.data);
- this.xunlian = res.data;
- // for (var i = 0; i < res.data.length; i++) {
- // res.data[i].centertext =
- // res.data[i].startTime +
- // "-" +
- // res.data[i].endTime +
- // " " +
- // this.xunlian[i].contents +
- // "(" +
- // this.xunlian[i].organizer +
- // ")";
- // }
- if (this.xunlian) {
- for (var i = 0; i < this.xunlian.length; i++) {
- this.xunlian[i].centertext =
- this.xunlian[i].startTime +
- "-" +
- this.xunlian[i].endTime +
- " " +
- this.xunlian[i].contents +
- "(" +
- this.xunlian[i].organizer +
- ")";
- }
- }
- });
- },
- // 选中军人触发
- junRen(val) {
- this.relatives[0].peopleId = val.id;
- this.relatives[0].peopleName = val.name;
- },
- /** 新增查询部门下拉树结构 */
- getTreeselect() {
- getDept().then((response) => {
- this.rese = response.data;
- });
- },
- // 增加对话框查铺
- addForms() {
- this.checkShop.push({
- peopleName: null,
- foremanName: null,
- sentryName: null,
- examineDate: null,
- dialogue: null,
- });
- },
- // 删除对话框查铺
- delForms(i) {
- this.checkShop.splice(i, 1);
- },
- //增加对话框临时来访人员
- addFormss() {
- this.relatives.push({
- peopleId: null,
- name: null,
- relation: null,
- comeDate: null,
- leaveDate: null,
- });
- },
- //删除对话框临时来访人员
- delFormss(e) {
- this.relatives.splice(e, 1);
- },
- // 获取外面部门树形
- treeselect() {
- getWeiShu().then((res) => {
- this.deptOptions = res.data;
- });
- },
- //外面树形选择搜索
- handleNodeClick(data) {
- this.queryParams.unitId = data.id;
- // this.queryParams.IsUnit = "1";
- this.getList();
- },
- // 选择值班人触发
- btn(val) {
- this.form.peopleId1 = val.id;
- this.form.peopleName = val.name;
- },
- // 当选择单位时候重置人员
- chongZhi() {
- (this.form = {
- peopleId: null,
- lead: null,
- dutyA: null,
- dutyB: null,
- dutyC: null,
- dutyD: null,
- dutyE: null,
- dutyF: null,
- dutylead: null,
- }),
- (this.relatives = [
- {
- peopleId: null,
- },
- ]);
- },
- // 当点击完成值班时间的选择发起请求
- blogDate(data) {
- // 判断是否全部选择
- if (this.form.unitId !== null && this.form.blogDate !== null) {
- this.XunLian(this.form.unitId, this.form.blogDate);
- }
- },
- // 获取实力情况
- getShiLiRen(id) {
- getShiLi(id).then((res) => {
- this.form.orgcadre = res.data.ganbu;
- this.form.orgsoldier = res.data.shiBin;
- this.form.orgcivilian = res.data.wenZhi;
- this.form.nowcadre = res.data.xianYouGanBu;
- this.form.nowsoldier = res.data.xianYouShiBin;
- this.form.nowcivilian = res.data.xianYouWenZhi;
- });
- },
- // 单位选择触发
- selectPeo(data) {
- this.chongZhi();
- this.form.unitId = data.id;
- // 获取实力情况
- this.form.deptId = data.id;
- this.getShiLiRen(this.form.deptId);
- this.getRenYuan(this.form.unitId);
- this.getShou(this.form.unitId);
- // 判断是否全部选择
- if (this.form.unitId !== null && this.form.blogDate) {
- this.XunLian(this.form.unitId, this.form.blogDate);
- }
- },
- // 根据部门获取人员
- getRenYuan(id) {
- getZhuChiRen(id).then((res) => {
- this.renYuan = res.data;
- });
- },
- // 获取首长
- getShou(id) {
- getUser(id).then((res) => {
- this.shouZhang = res.data;
- });
- },
- // 修改里获取首长
- getShous(id) {
- getUsers(id).then((res) => {
- this.shouZhang = res.data;
- });
- },
- // 搜索第一个选中触发
- search() {
- getZhuChiRen(this.queryParams.deptId).then((res) => {
- this.Renyuan = res.data;
- });
- this.getList();
- },
- // 搜索审批触发
- approve(val) {
- this.queryParams.examine = val * 1;
- this.getList();
- },
- // 字典查询
- getdict() {
- getDicts(this.dictType.dictType).then((res) => {
- // console.log(res);
- this.ziDian = res.data;
- });
- },
- /** 查询要事日记列表 */
- getList() {
- this.loading = true;
- listBdgldiary(this.queryParams).then((response) => {
- this.bdgldiaryList = response.rows;
- this.total = response.total;
- this.loading = false;
- });
- },
- // 查询单位列表
- async getDept() {
- const res = await getDept();
- this.rese = res.data;
- },
- // 取消按钮
- cancel() {
- this.open = false;
- this.reset();
- },
- // 表单重置
- reset() {
- this.form = {
- id: null,
- unitId: null,
- peopleId: null,
- blogDate: null,
- weather: null,
- orgcadre: null,
- orgsoldier: null,
- orgcivilian: null,
- nowcadre: null,
- nowsoldier: null,
- nowcivilian: null,
- tolerance: null,
- transfer: null,
- equip: null,
- internal: null,
- dutylead: null,
- dutya: null,
- dutyb: null,
- dutyc: null,
- dutyd: null,
- dutye: null,
- dutyf: null,
- dutyinfoa: null,
- dutyinfoc: null,
- dutyinfoe: null,
- dutyDate: null,
- invalid: null,
- notice: null,
- lead: null,
- weekwork: null,
- examine: null,
- peopleId1: null,
- contents: null,
- createId: null,
- createName: null,
- };
- (this.relatives = [
- {
- name: null,
- relation: null,
- comeDate: null,
- leaveDate: null,
- peopleId: null,
- peopleName: null,
- },
- ]),
- (this.checkShop = [
- {
- peopleName: null,
- foremanName: null,
- sentryName: null,
- examineDate: null,
- dialogue: null,
- },
- ]),
- (this.xunlian = [
- {
- dateline: null,
- contents: null,
- shouldArrive: null,
- realTo: null,
- percentage: null,
- organizer: null,
- },
- ]),
- this.resetForm("form");
- },
- /** 对话框重置按钮操作 */
- resertwo() {
- this.reset();
- },
- /** 搜索按钮操作 */
- handleQuery() {
- this.queryParams.pageNum = 1;
- this.getList();
- },
- /** 重置按钮操作 */
- resetQuery() {
- this.resetForm("queryForm");
- this.handleQuery();
- },
- // 多选框选中数据
- handleSelectionChange(selection) {
- this.ids = selection.map((item) => item.id);
- this.single = selection.length !== 1;
- this.multiple = !selection.length;
- },
- /** 新增按钮操作 */
- handleAdd(e) {
- // 获取首长
- (this.shouZhang = []),
- // 人员组织
- (this.renYuan = []),
- this.getTreeselect();
- this.reset();
- this.open = true;
- this.title = "添加要事日记";
- this.style = 2;
- e.preventDefault();
- },
- /** 修改按钮操作 */
- handleUpdate(row) {
- this.title = "修改要事日记";
- this.getTreeselect();
- this.reset();
- const id = row.id || this.ids;
- getBdgldiary(id).then((response) => {
- this.form = response.data;
- // 请求首长
- this.getShous(this.form.unitId);
- this.xunlian = response.data.weekworkRegisters;
- if (this.xunlian) {
- for (var i = 0; i < this.xunlian.length; i++) {
- this.xunlian[i].centertext =
- this.xunlian[i].startTime +
- "-" +
- this.xunlian[i].endTime +
- " " +
- this.xunlian[i].contents +
- "(" +
- this.xunlian[i].organizer +
- ")";
- }
- } else {
- this.xunlian = [
- {
- dateline: null,
- contents: null,
- shouldArrive: null,
- realTo: null,
- percentage: null,
- organizer: null,
- },
- ];
- }
- // 请求人员
- this.getRenYuan(this.form.unitId);
- this.open = true;
- // 临时来对
- if (response.data.kinsfolk != null) {
- if (response.data.kinsfolk[0].peopleId != null) {
- this.relatives = response.data.kinsfolk;
- }
- }
- // 查铺查询
- if (
- response.data.inspect[0].peopleName != null ||
- response.data.inspect[0].foremanName != null ||
- response.data.inspect[0].sentryName != null ||
- response.data.inspect[0].examineDate != null ||
- response.data.inspect[0].dialogue != null
- ) {
- this.checkShop = response.data.inspect;
- }
- });
- },
- //查看按钮操作
- handleChakan(row) {
- // 是否隐藏按钮
- this.opens = false;
- this.statusShen = false;
- const id = row.id || this.ids;
- getBdgldiary(id).then((response) => {
- if (new Date(response.data.blogDate).getDay() == 0) {
- response.data.week = "星期日";
- } else if (new Date(response.data.blogDate).getDay() == 1) {
- response.data.week = "星期一";
- } else if (new Date(response.data.blogDate).getDay() == 2) {
- response.data.week = "星期二";
- } else if (new Date(response.data.blogDate).getDay() == 3) {
- response.data.week = "星期三";
- } else if (new Date(response.data.blogDate).getDay() == 4) {
- response.data.week = "星期四";
- } else if (new Date(response.data.blogDate).getDay() == 5) {
- response.data.week = "星期五";
- } else if (new Date(response.data.blogDate).getDay() == 6) {
- response.data.week = "星期六";
- }
- this.wordInfo = response.data;
- // response.data.blogDate
- this.title = "查看要事日记";
- this.menuRoleVisible = true;
- });
- },
- /** 提交按钮 */
- submitForm(style) {
- this.style = style;
- this.$refs["form"].validate((valid) => {
- if (valid) {
- if (
- (this.relatives[0].name ||
- this.relatives[0].peopleId ||
- this.relatives[0].peopleName) != null
- ) {
- this.form.kinsfolk = this.relatives;
- }
- if (
- (this.checkShop[0].peopleName ||
- this.checkShop[0].foremanName ||
- this.checkShop[0].sentryName ||
- this.checkShop[0].examineDate ||
- this.checkShop[0].dialogue) != null
- ) {
- this.form.inspect = this.checkShop;
- }
- if (this.form.id != null) {
- updateBdgldiary(this.form).then((response) => {
- this.$modal.msgSuccess("修改成功");
- this.open = false;
- this.getList();
- });
- } else {
- // 查铺查哨
- if (
- this.checkShop[0].peopleName !== null ||
- this.checkShop[0].sentryName !== null ||
- this.checkShop[0].examineDate !== null ||
- this.checkShop[0].foremanName !== null ||
- this.checkShop[0].dialogue != null
- ) {
- this.form.inspect = this.checkShop;
- }
- // 来对亲属
- if (this.relatives[0].peopleId !== null) {
- this.form.kinsfolk = this.relatives;
- }
- // 训练计划
- this.form.weekworkRegisters = this.xunlian;
- addBdgldiary(this.form).then((response) => {
- this.$modal.msgSuccess("新增成功");
- this.open = false;
- this.getList();
- });
- }
- }
- });
- },
- // 隔行变色
- // changeColor() {
- // var content = document.getElementsByClassName("el-tree-node__content");
- // for (var i = 0; i < content.length; i++) {
- // if (i % 2 === 0) {
- // content[i].style.background = "#00365F ";
- // } else {
- // content[i].style.background = "#003C69";
- // }
- // }
- // },
- /** 删除按钮操作 */
- handleDelete(row) {
- const ids = row.id || this.ids;
- this.$modal
- // .confirm('是否确认删除要事日记编号为"' + ids + '"的数据项?')
- .confirm("是否确认删除该数据?")
- .then(function () {
- return delBdgldiary(ids);
- })
- .then(() => {
- this.getList();
- this.$modal.msgSuccess("删除成功");
- })
- .catch(() => {});
- },
- /** 导出按钮操作 */
- handleExport() {
- const queryParams = this.queryParams;
- this.$modal
- .confirm("是否确认导出所有要事日记数据项?")
- .then(() => {
- this.exportLoading = true;
- return exportBdgldiary(queryParams);
- })
- .then((response) => {
- this.$download.name(response.msg);
- this.exportLoading = false;
- })
- .catch(() => {});
- },
- },
- };
- </script>
- <style scoped>
- ::v-deep .el-dialog {
- width: 1060px !important;
- background-color: #004d86;
- margin: auto;
- }
- ::v-deep .el-dialog__header {
- border-bottom: 1px solid #718a9d;
- margin: auto;
- }
- ::v-deep .el-dialog__title {
- color: #fff;
- font: 18px;
- }
- ::v-deep .el-dialog__headerbtn .el-dialog__close {
- color: #fff;
- }
- ::v-deep .el-form-item__label {
- font: 16px;
- color: #fff;
- width: 100px !important;
- }
- ::v-deep .el-input--small .el-input__inner {
- width: 200px !important;
- height: 36px;
- border: 1px solid white !important;
- color: #fff !important;
- }
- ::v-deep .el-textarea__inner {
- width: 920px;
- height: 104px;
- }
- ::v-deep .el-select-dropdown__list {
- border: none;
- }
- .el-date-table,
- .el-select-dropdown__item {
- color: #fff;
- }
- .el-select-dropdown__item.hover,
- .el-select-dropdown__item:hover {
- background-color: #196299;
- }
- /* .el-select-dropdown__item.hover,
- .el-select-dropdown__item:hover {
- color: #fff !important;
- } */
- ::v-deep .el-dialog__body {
- margin: 10px 0px 20px 68px;
- padding-top: 20px !important;
- box-sizing: border-box;
- /* padding: 30px 12px 30px 28px; */
- }
- /* 表单背景 */
- ::v-deep .el-input__inner {
- background-color: transparent !important;
- color: #fff;
- /* border: 1px solid white !important; */
- border-color: #fff !important;
- }
- /* 调整表单间距 */
- ::v-deep .el-date-editor.el-input,
- .el-date-editor.el-input__inner {
- width: 200px;
- }
- .el-dialog__body .roll-dialog {
- padding: 3px, 0px;
- overflow-y: auto;
- }
- .box {
- font-size: 14px;
- color: #fff;
- /* padding: 0 12px 0 0; */
- margin-left: -55px;
- }
- ::v-deep .btn {
- width: 76px;
- height: 36px;
- color: #fff;
- background-color: #1d96ff;
- border-radius: 4px;
- border: none;
- margin-left: 20px;
- font-size: 14px;
- }
- ::v-deep .el-icon-refresh {
- font-size: 16px;
- margin-left: -3px;
- }
- ::v-deep .el-input-number__increase {
- background-color: transparent !important;
- border: none;
- color: #cccccc;
- border-bottom: none !important;
- }
- ::v-deep .el-input-number__decrease {
- background-color: transparent !important;
- border: none !important;
- color: #cccccc;
- }
- ::v-deep .el-form-item__content {
- width: 200px;
- cursor: pointer !important;
- }
- /* 单位框背景颜色 */
- ::v-deep .vue-treeselect__control {
- background: #004d86 !important;
- color: #fff;
- }
- /* 单位下拉菜单选中字体颜色 */
- ::v-deep .vue-treeselect__single-value {
- color: #fff !important;
- }
- /* 分页按钮 */
- ::v-deep .el-pagination.is-background .el-pager li {
- background-color: #004d86;
- color: #fff;
- }
- ::v-deep .el-pagination.is-background .btn-next {
- background-color: #004d86;
- color: #fff;
- }
- ::v-deep .el-pagination.is-background .btn-prev,
- .el-pagination.is-background .btn-next,
- .el-pagination.is-background .el-pager li {
- background: #004d86 !important;
- color: #fff !important;
- }
- .app-container {
- display: flex;
- }
- /* 左侧树状盒子 */
- .app-container .box-lfet {
- width: 15%;
- min-height: 740px;
- /* background: #003156; */
- /* padding: 10px; */
- margin-right: 10px;
- /* border: 1px solid white; */
- }
- /* 右侧内容盒子 */
- .app-container .box-right {
- width: 85%;
- }
- .app-container .box-lfet .data {
- height: 40px;
- background: #003156;
- margin-bottom: 12px;
- color: #fff;
- display: flex;
- font-size: 13px;
- line-height: 25px;
- position: relative;
- }
- .el-tree {
- background: #003156;
- color: #fff;
- margin-right: 2px;
- padding-top: 7px;
- }
- ::v-deep .el-tree-node__content {
- height: 32px !important;
- }
- ::v-deep .el-table .el-table__header-wrapper th,
- .el-table .el-table__fixed-header-wrapper th {
- word-break: break-word;
- background-color: #004d86 !important;
- color: #fff;
- }
- .box-lfet .dadui {
- height: 40px;
- background: #003156;
- /* border-bottom: 1px solid #718A9D ; */
- background-image: url(../../../images/矩形底部边框.png);
- background-repeat: no-repeat;
- background-position: 0px 39px;
- font-size: 16px;
- color: #1d96ff;
- }
- .box-lfet .dadui img {
- margin: 10px 10px 0px 10px;
- }
- .box-lfet .data p {
- position: absolute;
- top: -5px;
- left: 15px;
- }
- .box-lfet .data .a1 {
- width: 128px;
- height: 26px;
- background: rgba(23, 74, 112, 0.4);
- border-radius: 13px;
- position: absolute;
- top: 7px;
- left: 60px;
- }
- ::v-deep .data .el-date-editor.el-input {
- width: 100%;
- border: none;
- }
- ::v-deep .data .el-input__inner {
- width: 100% !important;
- border: none;
- }
- ::v-deep .data .el-input--medium .el-input__icon {
- line-height: 36px;
- position: absolute;
- right: -223px;
- top: 2px;
- }
- ::v-deep .data .el-input__inner {
- background-color: transparent;
- color: #fff;
- text-align: center;
- margin-top: 2px;
- }
- ::v-deep .data .el-input__suffix {
- position: absolute;
- right: 281px;
- }
- /* 输入框显示手指 */
- ::v-deep .el-input__inner {
- cursor: pointer !important;
- }
- /* 训练、教育或者执行其他任务情况 */
- .box {
- margin-bottom: 25px;
- }
- ::v-deep .box .el-textarea__inner {
- width: 395px;
- border: none;
- height: 50px;
- }
- ::v-deep .box .el-input__inner {
- width: 100%;
- height: 100%;
- border: none;
- text-align: center;
- }
- /* 查铺查哨-临时来对亲属 */
- .box3 {
- width: 920px;
- min-height: 70px;
- border: 1px solid white;
- border-radius: 5px;
- /* background: #409eff; */
- /* margin-bottom: 30px; */
- padding-top: 15px;
- padding-left: 15px;
- margin-bottom: 20px !important;
- }
- /* 表单长度 */
- ::v-deep .box3 .el-form-item__content {
- width: 140px;
- display: flex;
- }
- ::v-deep .box3 .el-input__inner {
- width: 142px;
- height: 37px;
- margin-bottom: 18px;
- }
- ::v-deep .el-select__caret .el-input__icon .el-icon-arrow-up {
- margin-top: -10px;
- }
- /* 添加删除按钮 */
- ::v-deep .box3 .el-button {
- width: 32px;
- height: 32px;
- text-align: center;
- margin-right: 3px;
- margin-top: 2px;
- margin-bottom: 10px;
- }
- ::v-deep .box3 .el-button .el-icon-plus {
- margin-left: -6px;
- }
- ::v-deep .box3 .el-button .el-icon-delete {
- margin-left: -6px;
- }
- ::v-deep .el-input__prefix {
- display: none;
- }
- ::v-deep .el-date-editor.el-input {
- width: 116px;
- height: 36px;
- line-height: 36px;
- }
- ::v-deep .box3 .el-form-item__content .el-input__inner {
- padding: 0px 15px;
- }
- .box3 .el-form-item {
- margin-bottom: 0px;
- }
- ::v-deep .el-select__caret {
- margin-top: -10px !important;
- }
- .el-dialog__body {
- color: #fff;
- }
- /* ::v-deep .vue-treeselect__menu {
- background: #004d86;
- } */
- .greedd > .el-tree-node__content:after {
- content: "";
- width: 10px;
- height: 10px;
- border-radius: 50%;
- background-color: #67c23a;
- margin-left: 80px;
- }
- /* .greedd {
- background-color: #67c23a
- } */
- /* 底部确定取消按钮 */
- ::v-deep .el-dialog__footer {
- padding: 18px 50px;
- margin-right: 20px;
- }
- /* 增加按钮弹框 */
- ::v-deep .el-dialog {
- width: 1060px !important;
- }
- ::v-deep .el-dialog__body {
- padding-left: 0px !important;
- padding-right: 0px !important;
- padding-bottom: 0px !important;
- }
- ::v-deep .box4 .el-textarea__inner {
- min-height: 120px !important;
- }
- /* 调整输入框提示文字颜色 */
- ::v-deep .vue-treeselect__placeholder {
- color: #bdbdbd4f !important;
- }
- ::v-deep input::-webkit-input-placeholder {
- color: #bdbdbd4f !important;
- }
- ::v-deep input:-moz-placeholder {
- color: #bdbdbd4f !important;
- }
- .mb8 {
- position: static;
- }
- .shuJu {
- height: 16px;
- margin-top: 13px;
- margin-right: 90px;
- float: right;
- /* background-color: red; */
- color: #fff;
- font-size: 14px;
- position: absolute;
- right: 10px;
- }
- /* .public {
- margin-right: 40px;
- } */
- .box44::before {
- display: inline-block;
- content: "";
- width: 8px;
- height: 8px;
- /* border-radius: 50%; */
- background-color: #1d96ff;
- margin-left: 26px;
- }
- .box5::before {
- display: inline-block;
- content: "";
- width: 8px;
- height: 8px;
- /* border-radius: 50%; */
- background-color: #67c23a;
- margin-left: 26px;
- }
- .box6::before {
- display: inline-block;
- content: "";
- width: 8px;
- height: 8px;
- /* border-radius: 50%; */
- background-color: #ff4949;
- margin-left: 26px;
- }
- /* 文本域提示文字颜色 */
- ::v-deep ::-webkit-input-placeholder {
- color: #bdbdbd4f !important;
- }
- ::v-deep .el-tree-node__content:hover {
- /* color: #fff; */
- background-color: #003156;
- background-image: url("../../../assets/images/选中.png");
- background-size: 100% 100%;
- background-repeat: no-repeat;
- }
- ::v-deep
- .el-tree--highlight-current
- .el-tree-node.is-current
- > .el-tree-node__content {
- color: #fff !important;
- background-color: #003156;
- background-image: url("../../../assets/images/选中.png");
- background-size: 100% 100%;
- background-repeat: no-repeat;
- }
- ::v-deep .el-tree-node__label {
- color: #fff !important;
- }
- ::v-deep .box table td {
- border-bottom: 1px solid white !important;
- }
- ::v-deep .data .el-input__inner {
- border: none !important;
- }
- ::v-deep .box .el-input__inner {
- border: none !important;
- }
- /* 卡片样式 */
- .app-container {
- height: calc(100vh - 108px) !important;
- }
- </style>
|