123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827 |
- <template>
- <div class="app-container planTask">
- <el-form
- :model="queryParams"
- ref="queryForm"
- :inline="true"
- v-show="showSearch"
- label-width="120px"
- >
- <el-form-item prop="type" class="plantypes" label-width="80px">
- <el-select v-model="queryParams.types" placeholder="请选择计划类型">
- <el-option
- v-for="(item, i) in ziDian"
- :key="i"
- :label="item.dictLabel"
- :value="item.dictLabel"
- @click.native="zidainType(item)"
- >
- </el-option>
- </el-select>
- </el-form-item>
- <el-form-item prop="unitId" class="plantypes" label-width="80px">
- <treeselect
- v-model="queryParams.unitId"
- :options="users"
- placeholder="请选择发布单位"
- class="threeselects"
- @select="selectPeo3"
- />
- </el-form-item>
- <el-form-item>
- <!-- <el-button type="primary" icon="el-icon-search" size="btn" @click="handleQuery">搜索</el-button> -->
- <el-button
- type="btr"
- icon="el-icon-refresh"
- size="mini"
- @click="resetQuery"
- >重置</el-button
- >
- </el-form-item>
- </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="['workingArrangements:planTask:add']"
- >新增</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="['workingArrangements:planTask:export']"
- >导出</el-button
- >
- </el-col>
- <!-- <el-col :span="1.5">
- <el-button
- type="success"
- plain
- icon="el-icon-edit"
- size="mini"
- :disabled="single"
- @click="handleUpdate"
- v-hasPermi="['workingArrangements:planTask: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="['workingArrangements:planTask: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="['workingArrangements:planTask:export']"
- >导出</el-button
- >
- </el-col> -->
- <!-- <right-toolbar
- :showSearch.sync="showSearch"
- @queryTable="getList"
- ></right-toolbar> -->
- </el-row>
- <!-- 渲染table表格 -->
- <el-table
- v-loading="loading"
- :data="planTaskList"
- @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="name" />
- <!-- <el-table-column
- label="发布单位"
- align="center"
- prop="unitName"
- :formatter="unit3Format"
- /> -->
- <el-table-column label="发布人" align="center" prop="username" />
- <el-table-column
- label="计划类型"
- align="center"
- prop="type"
- :formatter="unit4Format"
- />
- <el-table-column
- label="执行人"
- align="center"
- prop="peopleId"
- :formatter="unit2Format"
- show-overflow-tooltip
- />
- <el-table-column
- label="计划开始时间"
- align="center"
- prop="startTime"
- width="180"
- >
- <template slot-scope="scope">
- <span>{{ parseTime(scope.row.startTime) }}</span>
- </template>
- </el-table-column>
- <el-table-column
- label="计划结束时间"
- align="center"
- prop="endTime"
- width="180"
- >
- <template slot-scope="scope">
- <span>{{ parseTime(scope.row.endTime) }}</span>
- </template>
- </el-table-column>
- <el-table-column
- label="计划描述"
- align="center"
- prop="contents"
- class="discrible"
- show-overflow-tooltip
- />
- <el-table-column
- label="操作"
- align="center"
- class-name="small-padding fixed-width"
- width="300"
- >
- <template slot-scope="scope">
- <el-button
- size="btlook"
- type="text"
- @click="ViewProgress(scope.row)"
- v-if="scope.row.common == 1 && scope.row.taskProgress != '100'"
- >
- <span>进度录入</span>
- </el-button>
- <el-button
- size="btk"
- type="text"
- @click="handleChakan(scope.row)"
- v-if="scope.row.common == 1"
- >
- <!-- 单人进度 -->
- <span class="chakan">查看</span>
- </el-button>
- <el-button
- size="btk"
- type="text"
- @click="handleChakan1(scope.row)"
- v-if="scope.row.common == 2 || scope.row.common == 0"
- >
- <!-- 多人进度 -->
- <span class="chakan">查看</span>
- </el-button>
- <el-button
- size="btu"
- type="text"
- @click="handleUpdate(scope.row)"
- v-hasPermi="['workingArrangements:planTask:edit']"
- v-if="scope.row.common == 2"
- >修改</el-button
- >
- <el-button
- size="btd"
- type="text"
- @click="handleDelete(scope.row)"
- v-if="scope.row.common == 2"
- v-hasPermi="['workingArrangements:planTask:remove']"
- >删除</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="990px"
- append-to-body
- class="el-dialog__header"
- :close-on-click-modal="false"
- >
- <el-form
- ref="form"
- :model="form"
- :rules="rules"
- label-width="100px"
- :inline="true"
- >
- <div class="jiben">基本信息</div>
- <el-form-item label="计划名称" prop="name">
- <el-input
- placeholder="请输入计划名称"
- label="计划名称"
- v-model="form.name"
- @click.native="planName"
- />
- </el-form-item>
- <el-form-item label="任务编号" prop="number">
- <el-input
- placeholder="请选择任务编号"
- label="任务编号"
- v-model="form.number"
- :disabled="true"
- class="ipt"
- >
- </el-input>
- </el-form-item>
- <el-form-item label="发布单位" prop="adminId">
- <treeselect
- placeholder="请选择发布单位"
- v-model="form.adminId"
- :options="part"
- @select="selectPeo"
- class="threeselects"
- disabled
- />
- </el-form-item>
- <!-- <el-form-item label="执行单位" prop="unitId">
- <treeselect
- v-model="form.unitId"
- :options="users"
- placeholder="请选择执行单位"
- class="threeselects"
- @select="selectPeo1"
- />
- </el-form-item> -->
- <el-form-item label="计划类型" prop="type" class="change_plan_type">
- <el-select
- v-model="form.type"
- placeholder="请选择计划类型"
- ref="dict"
- clearable
- size="small"
- >
- <el-option
- v-for="(item, i) in ziDian"
- :key="i"
- :label="item.dictLabel"
- :value="parseInt(item.dictSort)"
- >
- </el-option>
- </el-select>
- </el-form-item>
- <el-form-item label="发布人" prop="username">
- <el-input
- placeholder="请输入发布人"
- v-model="form.username"
- :disabled="true"
- class="ipt"
- >
- </el-input>
- </el-form-item>
- <div>
- <el-form-item label="执行单位" prop="unitId" label-width="100px">
- <div>
- <el-select
- multiple
- filterable
- v-model="form.unitId"
- id="execute"
- ref="peoplenames"
- placeholder="请选择执行单位"
- @remove-tag="selent"
- >
- <el-option
- v-for="(item, i) in danWeisList"
- :label="item.deptName"
- :value="item.deptId"
- id="execute"
- @click.native="danFn()"
- />
- </el-select>
- </div>
- </el-form-item>
- </div>
- <div>
- <el-form-item label="执行人" prop="peopleName" label-width="100px">
- <div>
- <el-select
- multiple
- v-model="form.peopleName"
- placeholder="请选择执行人"
- id="execute"
- ref="peoplenames"
- >
- <el-option
- v-for="item in executor"
- :label="item.nickName"
- :value="item.userId"
- id="execute"
- @click.native="returnExecutor(item.deptId, item.nickName)"
- />
- </el-select>
- </div>
- </el-form-item>
- </div>
- <el-form-item label="开始时间" prop="startTime">
- <el-date-picker
- clearable
- size="small"
- v-model="form.startTime"
- type="datetime"
- placeholder="请选择开始时间"
- value-format="yyyy-MM-dd HH:mm:ss"
- >
- </el-date-picker>
- </el-form-item>
- <el-form-item label="结束时间" prop="endTime">
- <el-date-picker
- clearable
- size="small"
- v-model="form.endTime"
- type="datetime"
- placeholder="请选择结束时间"
- default-time="00:00:00"
- value-format="yyyy-MM-dd HH:mm:ss"
- >
- </el-date-picker>
- </el-form-item>
- <div class="jiben">计划附件</div>
- <el-form-item style="margin-left: 30px">
- <fileUpload v-model="form.file" :limit="1" />
- </el-form-item>
- <div class="jiben">计划描述</div>
- <el-form-item prop="contents">
- <el-input
- v-model="form.contents"
- type="textarea"
- placeholder="请输入内容"
- />
- </el-form-item>
- <div class="jiben">备注</div>
- <el-form-item prop="remark">
- <el-input
- v-model="form.remark"
- type="textarea"
- placeholder="请输入内容"
- />
- </el-form-item>
- </el-form>
- <div slot="footer" class="dialog-footer">
- <el-button type="primary" @click="submitForm">确 定</el-button>
- <el-button @click="cancel" size="btn">取 消</el-button>
- </div>
- </el-dialog>
- <!-- 进度录入弹框 -->
- <el-dialog
- :title="title"
- :visible.sync="open1"
- width="980px"
- append-to-body
- class="el-dialog__header"
- :close-on-click-modal="false"
- >
- <el-form
- ref="Progress"
- :model="Progress"
- :rules="rules1"
- label-width="100px"
- :inline="true"
- >
- <div class="jiben">完成进度</div>
- <el-form-item prop="planProgress">
- <!-- <el-input
- label="计划名称"
- v-model="Progress.comPlan"
- class="big"
- @change="comPlan"
- /> -->
- <div>
- <el-input-number
- v-model="Progress.planProgress"
- controls-position="right"
- :min="0"
- :max="100"
- ></el-input-number>
- <el-progress
- :text-inside="true"
- :stroke-width="24"
- :percentage="Progress.planProgress"
- color="rgba(41, 231, 205, 1)"
- class="jinduProgress"
- ></el-progress>
- </div>
- </el-form-item>
- <!-- <div class="jiben">任务周期</div>
- <el-form-item prop="comWeek">
- <el-input label="计划名称" v-model="Progress.comWeek" class="big" />
- </el-form-item> -->
- <!-- <div class="jiben">任务完成状态</div>
- <el-progress
- :text-inside="true"
- :stroke-width="30"
- :percentage="Progress.statu"
- style="height: 50px"
- ></el-progress> -->
- <!-- <div class="jiben">附件文档</div>
- <el-form-item prop="file">
- <el-input label="计划名称" v-model="Progress.file" class="big" />
- </el-form-item> -->
- <div class="jiben">附件</div>
- <el-form-item>
- <fileUpload v-model="Progress.file" />
- </el-form-item>
- <div class="jiben">备注</div>
- <el-form-item prop="remark">
- <el-input
- v-model="Progress.remark"
- type="textarea"
- placeholder="请输入内容"
- />
- </el-form-item>
- <!-- <div class="jiben">计划描述</div>
- <el-form-item prop="contents">
- <el-input
- v-model="Progress.contents"
- type="textarea"
- placeholder="请输入内容"
- />
- </el-form-item> -->
- <div class="jiben">完成时间</div>
- <el-form-item prop="accomplishTime">
- <el-date-picker
- class="comtimer"
- clearable
- size="small"
- v-model="Progress.accomplishTime"
- type="date"
- value-format="yyyy-MM-dd"
- placeholder="选择完成时间"
- >
- </el-date-picker>
- </el-form-item>
- </el-form>
- <div slot="footer" class="dialog-footer">
- <el-button type="primary" @click="submitForm1">确 定</el-button>
- <el-button @click="cancel" size="btn">取 消</el-button>
- </div>
- </el-dialog>
- <!-- 单人进度查看弹框 -->
- <el-dialog
- :title="title"
- :visible.sync="open2"
- width="980px"
- append-to-body
- class="el-dialog__header"
- :close-on-click-modal="false"
- >
- <el-form
- ref="singleTable"
- :model="singleTable"
- :rules="rules"
- label-width="100px"
- :inline="true"
- >
- <div class="jiben">完成进度</div>
- <!-- <el-form-item prop="comPlan"> -->
- <!-- <el-input
- label="计划名称"
- v-model="ProgressLook.comPlan"
- class="big"
- /> -->
- <!-- </el-form-item> -->
- <el-progress
- :text-inside="true"
- :stroke-width="24"
- :percentage="singleTable.planProgresses"
- style="margin-bottom: 20px"
- color="rgba(41, 231, 205, 1)"
- ></el-progress>
- <div class="jiben">任务信息</div>
- <el-form-item label="发布人" prop="username" label-width="auto">
- <el-input
- placeholder="请输入发布人"
- v-model="singleTable.username"
- :disabled="true"
- class="ipt"
- style="color: #fff; width: 350px"
- >
- </el-input>
- </el-form-item>
- <el-form-item prop="comWeek" label="任务周期" label-width="100px">
- <!-- <el-input
- v-model="singleTable."
- class="big"
- /> -->
- <div
- style="
- width: 350px;
- border: 1px solid #fff;
- border-radius: 4px;
- min-height: 35px;
- height: auto !important;
- line-height: 35px;
- text-indent: 1em;
- margin-bottom: 20px;
- color: #fff;
- "
- >
- {{ singleTable.startTime }} 至 {{ singleTable.endTime }}
- </div>
- </el-form-item>
- <!-- <div class="thistext"></div> -->
- <div class="jiben">附件文档</div>
- <el-form-item prop="file">
- <el-input
- label="附件名称"
- v-model="singleTable.fileName"
- style="width: 820px"
- />
- <!-- <div>{{singleTableb.fileName}}</div> -->
- <a
- :href="singleTable.file"
- :download="singleTable.fileName"
- title="下载"
- style="color: white; margin-left: 10px"
- class="downloadfile"
- >下载附件</a
- >
- </el-form-item>
- <!-- <a :href="singleTable.planProgress.file" style="color:white">下载附件</a> -->
- <div class="jiben">任务描述</div>
- <!-- <el-form-item prop="contents">
- <el-input
- v-model="ProgressLook.contents"
- type="textarea"
- placeholder="请输入内容"
- />
- </el-form-item> -->
- <div class="thistext">{{ singleTable.contents }}</div>
- <div class="jiben">备注</div>
- <!-- <el-form-item prop="remark">
- <el-input
- v-model="ProgressLook.remark"
- type="textarea"
- placeholder="请输入内容"
- />
- </el-form-item> -->
- <div class="thistext">{{ singleTable.remark }}</div>
- </el-form>
- <div slot="footer" class="dialog-footer">
- <el-button type="primary" @click="submitForm2">确 定</el-button>
- <el-button @click="cancel" size="btn">取 消</el-button>
- </div>
- </el-dialog>
- <!-- 多人进度查看弹框 -->
- <el-dialog
- :title="title"
- :visible.sync="open3"
- width="980px"
- append-to-body
- class="el-dialog__header jinduchakan"
- :close-on-click-modal="false"
- >
- <el-form
- ref="moreTable"
- :model="moreTable"
- :rules="rules"
- label-width="100px"
- :inline="true"
- >
- <div class="jiben">完成进度</div>
- <el-progress
- :text-inside="true"
- :stroke-width="24"
- :percentage="comstatus"
- style="margin-bottom: 20px"
- color="rgba(41, 231, 205, 1)"
- ></el-progress>
- <div class="jiben">任务信息</div>
- <el-form-item label="发布人" prop="username" label-width="auto">
- <el-input
- placeholder="请输入发布人"
- v-model="moreTable.username"
- :disabled="true"
- class="ipt"
- style="color: #fff; width: 350px"
- >
- </el-input>
- </el-form-item>
- <el-form-item prop="comWeek" label="任务周期" label-width="100px">
- <!-- <el-input
- v-model="singleTable."
- class="big"
- /> -->
- <div
- style="
- width: 350px;
- border: 1px solid #fff;
- border-radius: 4px;
- min-height: 35px;
- height: auto !important;
- line-height: 35px;
- text-indent: 1em;
- margin-bottom: 20px;
- color: #fff;
- "
- >
- {{ moreTable.startTime }} 至 {{ moreTable.endTime }}
- </div>
- </el-form-item>
- <!-- <div class="thistext"></div> -->
- <div class="jiben">附件文档</div>
- <el-form-item prop="file">
- <!-- <el-input label="计划名称" v-model="ProgressLook.file" class="big" /> -->
- <!-- <a :href="moreTable.file" download title="下载" style="color:white;margin-left:10px">下载附件</a> -->
- <el-input
- label="附件名称"
- v-model="moreTable.fileName"
- style="width: 820px"
- />
- <!-- <div>{{singleTableb.fileName}}</div> -->
- <a
- :href="moreTable.file"
- :download="moreTable.fileName"
- title="下载"
- style="color: white; margin-left: 10px"
- class="downloadfile"
- >下载附件</a
- >
- </el-form-item>
- <div class="jiben">任务描述</div>
- <!-- <el-form-item prop="contents">
- <el-input
- v-model="ProgressLook.contents"
- type="textarea"
- placeholder="请输入内容"
- />
- </el-form-item> -->
- <div class="thistext">{{ moreTable.contents }}</div>
- <div class="jiben">备注</div>
- <!-- <el-form-item prop="remark">
- <el-input
- v-model="ProgressLook.remark"
- type="textarea"
- placeholder="请输入内容"
- />
- </el-form-item> -->
- <div class="thistext">{{ moreTable.remark }}</div>
- <div class="jiben">执行人信息</div>
- <el-table
- :data="moreTable.planProgresses"
- border
- style="width: 100%; background: #004d86"
- class="tabless"
- >
- <el-table-column prop="peopleName" label="执行人" width="180">
- </el-table-column>
- <el-table-column label="任务周期" width="190">
- <template slot-scope="scope">
- <div>{{ scope.row.taskCycle }}</div>
- </template>
- </el-table-column>
- <el-table-column prop="schedule" label="进度">
- <template slot-scope="scope">
- <el-progress
- :text-inside="true"
- :stroke-width="24"
- :percentage="scope.row.schedule"
- style="margin-bottom: 20px"
- color="rgba(41, 231, 205, 1)"
- ></el-progress>
- </template>
- </el-table-column>
- <el-table-column prop="accomplishTime" label="完成时间" width="180">
- </el-table-column>
- <el-table-column label="状态" width="180">
- <template slot-scope="scope">
- <div>{{ scope.row.schedule == 100 ? "完成" : "未完成" }}</div>
- </template>
- </el-table-column>
- <el-table-column prop="address" label="下载">
- <template slot-scope="scope">
- <a :href="scope.row.file" download>下载附件</a>
- </template>
- </el-table-column>
- </el-table>
- </el-form>
- <div slot="footer" class="dialog-footer">
- <el-button type="primary" @click="submitForm2">确 定</el-button>
- <el-button @click="cancel" size="btn">取 消</el-button>
- </div>
- </el-dialog>
- <!-- 导出弹框 -->
- <el-dialog
- :title="title"
- :visible.sync="open5"
- width="450px"
- append-to-body
- class="el-dialog__header jinduchakan"
- :close-on-click-modal="false"
- >
- <el-form
- ref="queryParamsTime"
- :model="queryParamsTime"
- :rules="queryParamsRules"
- label-width="100px"
- :inline="true"
- >
- <div>
- <el-form-item label="请选择类型">
- <el-select
- v-model="category"
- placeholder="请选择类型"
- @change="leixingchange"
- id="leixing"
- >
- <el-option value="时间">时间</el-option>
- <el-option value="年">年</el-option>
- <el-option value="月">月</el-option>
- </el-select>
- </el-form-item>
- </div>
- <el-form-item label="开始时间" prop="startTime" v-if="shijian">
- <el-date-picker
- placeholder="请选择开始时间"
- clearable
- size="small"
- v-model="queryParamsTime.startTime"
- type="date"
- value-format="yyyy-MM-dd"
- style="width: 200px"
- ></el-date-picker>
- </el-form-item>
- <el-form-item
- label="结束时间"
- label-width="100px"
- prop="endTime"
- v-if="shijian"
- >
- <el-date-picker
- placeholder="请选择结束时间"
- clearable
- size="small"
- v-model="queryParamsTime.endTime"
- type="date"
- value-format="yyyy-MM-dd"
- ></el-date-picker>
- </el-form-item>
- <el-form-item label="年份" prop="createtime" v-if="nian">
- <el-date-picker
- placeholder="请选择年份"
- clearable
- size="small"
- v-model="queryParamsTime.createtime"
- type="year"
- value-format="yyyy"
- style="width: 200px"
- ></el-date-picker>
- </el-form-item>
- <el-form-item label="月份" label-width="100px" prop="yue" v-if="yue">
- <el-date-picker
- placeholder="请选择月份"
- clearable
- size="small"
- v-model="queryParamsTime.yue"
- type="month"
- value-format="yyyy-MM"
- ></el-date-picker>
- </el-form-item>
- </el-form>
- <div slot="footer" class="dialog-footer">
- <el-button type="primary" @click="submitForm4">导 出</el-button>
- <el-button @click="cancel">取 消</el-button>
- </div>
- </el-dialog>
- </div>
- </template>
- <script>
- import {
- listPlanTask,
- getPlanTask,
- delPlanTask,
- addPlanTask,
- updatePlanTask,
- exportPlanTask,
- singProgress,
- moreProgress,
- uploadProgress,
- } from "@/api/workingArrangements/planTask";
- import { getDicts } from "@/api/system/dict/data";
- import {
- deptUser,
- allUser,
- getDept,
- getDeptList,
- getUnitUsers,
- } from "@/api/workingArrangements/workTask";
- import Treeselect from "@riophae/vue-treeselect";
- import "@riophae/vue-treeselect/dist/vue-treeselect.css";
- import { getDept2 } from "@/api/grassrootsregistration/bdglmeeting";
- import Cookies from "js-cookie";
- import { listDept } from "@/api/system/dept";
- export default {
- name: "PlanTask",
- dicts: ["plan_type"],
- components: { Treeselect },
- data() {
- return {
- // 遮罩层
- loading: true,
- // 导出遮罩层
- exportLoading: false,
- // 选中数组
- ids: [],
- // 非单个禁用
- single: true,
- // 非多个禁用
- multiple: true,
- // 显示搜索条件
- showSearch: true,
- // 总条数
- total: 0,
- // 工作计划表格数据
- planTaskList: [],
- // 弹出层标题
- title: "",
- // 是否显示弹出层
- open: false,
- // 显示进度录入框
- open1: false,
- // 显示进度查看框
- open2: false,
- // 显示多人进度查看框
- open3: false,
- // 查询参数
- queryParams: {
- pageNum: 1,
- pageSize: 10,
- name: null,
- peopleId: null,
- number: null,
- startTime: null,
- endTime: null,
- file: null,
- fileName: null,
- contents: null,
- adminId: null,
- unitId: null,
- unitName: null,
- createtime: null,
- updatetime: null,
- type: null,
- peopleName: null,
- unitName2: null,
- taskProgress: null,
- releaseUnit: null,
- executableUnit: null,
- },
- // 表单参数
- form: {},
- // 表单校验
- rules: {
- number: [{ required: true, message: "编号不能为空", trigger: "blur" }],
- peopleName: [
- { required: true, message: "执行人不能为空", trigger: "blur" },
- ],
- name: [{ required: true, message: "不能为空", trigger: "blur" }],
- adminId: {
- required: true,
- message: "发布单位不能为空",
- trigger: "blur",
- },
- unitId: {
- required: true,
- message: "执行单位不能为空",
- trigger: "blur",
- },
- type: { required: true, message: "计划类型不能为空", trigger: "blur" },
- startTime: {
- required: true,
- message: "开始时间不能为空",
- trigger: "blur",
- },
- endTime: {
- required: true,
- message: "结束时间不能为空",
- trigger: "blur",
- },
- },
- rules1: {
- // planProgress: [
- // { required: true, message: "请输入完成进度", trigger: "blur" }
- // ],
- },
- // 获取部门列表
- part: [],
- // 获取执行单位
- ExecutableUnit: [],
- // 执行人
- executor: [],
- // 发布单位id
- issueUnit: [],
- // 执行人姓名
- executorName: [],
- // 执行单位id
- executableUnitId: [],
- rylist: [],
- // 部门列表
- getdeptList: [],
- // 进度录入参数
- Progress: {
- schedule: "",
- file: "",
- remark: "",
- accomplishTime: "",
- },
- // 进度查看参数
- ProgressLook: {},
- // 查询字典
- dictType: {
- dictType: "plan_type",
- },
- // 执行单位列表
- users: [],
- // 字典
- ziDian: [],
- // 进度查看
- tableData: [],
- // 单人进度查看列表
- singleTable: [],
- // 多人进度查看列表
- moreTable: [],
- // 进度录入id
- jinduId: "",
- // 进度表格
- jinduTable: [],
- partsp: null,
- comstatus: 0,
- // 导出弹出层的显示与隐藏
- open5: false,
- shijian: true,
- nian: false,
- yue: false,
- category: "时间",
- queryParamsRules: {
- startTime: [
- { required: true, message: "开始时间不能为空", trigger: "blur" },
- ],
- endTime: [
- { required: true, message: "结束时间不能为空", trigger: "blur" },
- ],
- createtime: {
- required: true,
- message: "年份不能为空",
- trigger: "blur",
- },
- yue: {
- required: true,
- message: "月份不能为空",
- trigger: "blur",
- },
- },
- queryParamsTime: {
- startTime: null,
- endTime: null,
- createtime: null,
- yue: null,
- },
- //获取单位所有不是树形结构
- danWeisList: [],
- };
- },
- created() {
- this.getList();
- this.getdept();
- allUser().then((res) => {
- this.rylist = res.rows;
- });
- getDept2().then((res) => {
- this.users = res.data;
- });
- getDeptList().then((res) => {
- this.getdeptList = res.data;
- });
- this.getdict();
- // this.chooseplan();
- // this.selectPeo3();
- getDept2().then((res) => {
- this.users = res.data;
- });
- },
- methods: {
- //删除所有单位的某一个触发
- selent() {
- this.renyuanEs();
- this.form.peopleName = [];
- },
- //点击多选单位
- danFn() {
- this.renyuanEs();
- },
- //获取多选单位下的人员
- renyuanEs() {
- if (this.form.unitId.length > 0) {
- var ids = this.form.unitId.join(",");
- getUnitUsers(ids).then((res) => {
- this.executor = res.data;
- });
- } else {
- this.executor = [];
- }
- },
- //获取所有单位
- danWeis() {
- listDept().then((res) => {
- this.danWeisList = res.data;
- });
- },
- // 导出重置
- resets() {
- this.queryParamsTime = {
- startTime: null,
- endTime: null,
- createtime: null,
- yue: null,
- };
- this.resetForm("queryParamsTime");
- },
- // 点击类型触发
- leixingchange(value) {
- if (value == "时间") {
- this.resets();
- this.shijian = true;
- this.nian = false;
- this.yue = false;
- } else if (value == "年") {
- this.resets();
- this.shijian = false;
- this.nian = true;
- this.yue = false;
- } else {
- this.resets();
- this.shijian = false;
- this.nian = false;
- this.yue = true;
- }
- },
- comPlan() {
- if (this.Progress.comPlan > 100) {
- this.Progress.comPlan = 0;
- alert("完成进度不能大于100");
- return;
- } else {
- this.Progress.statu = this.Progress.comPlan;
- }
- },
- // 获取执行人
- getZhuChi(id) {
- deptUser(id).then((res) => {
- // this.renYuan = res.data;
- this.executor = res.data;
- });
- },
- // 到访单位选中触发
- selectPeo2(val) {
- // 获取执行单位列表
- getDept2().then((res) => {
- this.users = res.data;
- });
- this.queryParams.unitId = val.id;
- this.queryParams.name = "";
- this.queryParams.unitName = val.label;
- this.getZhuChi(this.queryParams.unitId);
- },
- // 发布单位选中触发
- selectPeo(val) {
- this.form.adminId = val.id;
- // this.getZhuChi(this.form.adminId);
- },
- // 发布单位选中触发
- selectPeo3(val) {
- this.queryParams.unitId = val.id;
- this.getZhuChi(this.queryParams.unitId);
- this.getList();
- },
- // 执行单位选中触发
- selectPeo1(val) {
- this.form.unitId = val.id;
- this.form.peopleName = "";
- this.getZhuChi(this.form.unitId);
- },
- // 查询计划类型
- getdict() {
- getDicts(this.dictType.dictType).then((res) => {
- this.ziDian = res.data;
- });
- },
- /** 查询工作计划列表 */
- getList() {
- this.loading = true;
- listPlanTask(this.queryParams).then((response) => {
- this.planTaskList = response.rows;
- this.total = response.total;
- this.loading = false;
- });
- },
- // 取消按钮
- cancel() {
- this.open = false;
- this.comstatus = 0;
- this.reset();
- this.open1 = false;
- this.open2 = false;
- this.open3 = false;
- this.open5 = false;
- },
- // 表单重置
- reset() {
- this.form = {
- id: null,
- name: null,
- peopleId: null,
- number: null,
- startTime: null,
- endTime: null,
- file: null,
- fileName: null,
- remark: null,
- contents: null,
- adminId: null,
- unitId: null,
- unitName: null,
- createtime: null,
- updatetime: null,
- type: null,
- peopleName: null,
- unitName2: null,
- taskProgress: null,
- releaseUnit: null,
- executableUnit: null,
- comstatus: null,
- };
- this.Progress = {
- schedule: "",
- file: "",
- remark: "",
- accomplishTime: "",
- };
- this.resetForm("form");
- },
- /** 搜索按钮操作 */
- handleQuery() {
- this.queryParams.pageNum = 1;
- this.getList();
- },
- /** 重置按钮操作 */
- resetQuery() {
- this.queryParams = {};
- this.resetForm("queryForm");
- this.handleQuery();
- this.getList();
- },
- // 多选框选中数据
- handleSelectionChange(selection) {
- this.ids = selection.map((item) => item.id);
- this.single = selection.length !== 1;
- this.multiple = !selection.length;
- },
- /** 新增按钮操作 */
- handleAdd() {
- this.reset();
- this.open = true;
- this.title = "添加工作计划";
- this.danWeis();
- this.form.adminId = Cookies.get("deptId");
- this.form.username = Cookies.get("nickName");
- this.form.userId = Cookies.get("userId");
- var today = new Date();
- var y = today.getFullYear();
- var M = today.getMonth() + 1;
- var d = today.getDate();
- var h = today.getHours();
- var m = today.getMinutes();
- var s = today.getSeconds();
- var w = today.getDay();
- if (M < 10) {
- M = "0" + M;
- }
- if (d < 10) {
- d = "0" + d;
- }
- if (h < 10) {
- h = "0" + h;
- }
- if (m < 10) {
- m = "0" + m;
- }
- if (s < 10) {
- s = "0" + s;
- }
- this.form.startTime = y + "-" + M + "-" + d + " " + h + ":" + m + ":" + s;
- // 获取执行单位列表
- getDept2().then((res) => {
- this.users = res.data;
- });
- this.getdict();
- },
- /** 进度录入按钮操作 */
- ViewProgress(row) {
- // this.reset();
- this.open1 = true;
- this.title = "进度录入";
- this.jinduId = row.id;
- singProgress(this.jinduId).then((res) => {
- this.Progress.id = res.data.planProgress.id;
- this.Progress.taskId = res.data.id;
- this.Progress.planProgress = res.data.planProgress.schedule;
- this.Progress.peopleId = res.data.workProgress.peopleId;
- // this.Progress.fileName = res.data.fileName;
- });
- },
- // 进度查看单人进度
- handleChakan(row) {
- this.reset();
- this.open2 = true;
- this.title = "进度查看";
- // 获取当前行的id
- singProgress(row.id).then((res) => {
- this.singleTable = res.data;
- this.singleTable.planProgresses =
- this.singleTable.planProgress.schedule;
- this.singleTable.peopleName = res.data.peopleName
- .split(",")
- .map(Number);
- this.singleTable.file =
- process.env.VUE_APP_BASE_API + this.singleTable.file;
- // this.getZhuChi(res.data.unitId);
- });
- },
- // 多人进度查看
- handleChakan1(row) {
- this.reset();
- this.open3 = true;
- this.title = "进度查看";
- // 获取当前行的id
- moreProgress(row.id).then((res) => {
- this.comstatus = 0;
- this.moreTable = res.data;
- this.moreTable.planProgresses.map((item) => {
- item.file = process.env.VUE_APP_BASE_API + item.file;
- });
- this.moreTable.file =
- process.env.VUE_APP_BASE_API + this.moreTable.file;
- this.moreTable.planProgresses.forEach((item) => {
- this.comstatus += parseInt(
- item.schedule / this.moreTable.planProgresses.length
- );
- });
- });
- },
- /** 修改按钮操作 */
- handleUpdate(row) {
- this.reset();
- getDept2().then((res) => {
- this.users = res.data;
- });
- const id = row.id || this.ids;
- getPlanTask(id).then((response) => {
- this.form = response.data;
- this.form.type = parseInt(this.form.type);
- this.form.unitId = this.form.unitId.split(",").map(Number);
- this.danWeis();
- this.renyuanEs();
- // this.form.type=this.form.type+""
- this.form.peopleName = this.form.peopleName.split(",").map(Number);
- this.open = true;
- this.title = "修改工作计划";
- });
- },
- unit2Format(row, column) {
- var deptName = "";
- if (
- parseInt(this.planTaskList[0].common) == 1 ||
- this.planTaskList[0].common == 2
- ) {
- this.rylist.map((item) => {
- row.peopleName.split(",").forEach((items, index) => {
- if (item.userId == items) {
- deptName += item.nickName + " ";
- }
- });
- });
- } else if (parseInt(this.planTaskList[0].common) == 0) {
- this.rylist.map((item) => {
- row.peopleName.split(",").forEach((items, index) => {
- if (item.userId == items) {
- deptName += item.nickName + " ";
- }
- });
- });
- }
- return deptName;
- },
- unit3Format(row, column) {
- var deptName = "";
- if (
- parseInt(this.planTaskList[0].common) == 1 ||
- this.planTaskList[0].common == 2
- ) {
- this.getdeptList.map((item) => {
- if (item.deptId == row.adminId) {
- deptName = item.deptName;
- }
- });
- } else if (parseInt(this.planTaskList[0].common) == 0) {
- this.getdeptList.map((item) => {
- if (item.deptId == row.adminId) {
- deptName = item.deptName;
- }
- });
- // this.part[0].children.map((item) => {
- // if (item.id == row.adminId) {
- // deptName = item.label;
- // }
- // });
- }
- return deptName;
- },
- unit4Format(row, column) {
- var deptName = "";
- this.ziDian.map((item) => {
- if (item.dictValue == row.type) {
- deptName = item.dictLabel;
- }
- });
- return deptName;
- },
- zidainType(item) {
- this.queryParams.type = item.dictValue;
- this.getList();
- },
- /** 提交按钮 */
- submitForm() {
- if (this.form.file) {
- this.form.fileName = this.form.file[0].name;
- this.form.file = this.form.file[0].url;
- }
- this.$refs["form"].validate((valid) => {
- if (valid) {
- if (this.form.adminId === this.form.unitId) {
- alert("发布单位和执行单位不能相同");
- } else {
- this.form.peopleName = this.form.peopleName.join(",");
- this.form.peopleId = this.form.peopleName;
- if (this.form.id != null) {
- if (this.form.unitId.length > 0) {
- this.form.unitId = this.form.unitId.join(",");
- }
- updatePlanTask(this.form).then((response) => {
- this.$modal.msgSuccess("修改成功");
- this.open = false;
- this.getList();
- });
- } else {
- if (this.form.unitId.length > 0) {
- this.form.unitId = this.form.unitId.join(",");
- }
- addPlanTask(this.form).then((response) => {
- this.$modal.msgSuccess("新增成功");
- this.open = false;
- this.getList();
- });
- }
- }
- }
- });
- },
- submitForm1() {
- if (this.Progress.file) {
- this.Progress.fileName = this.Progress.file[0].name;
- this.Progress.file = this.Progress.file[0].url;
- }
- // this.Progress.fileName=this.Progress.file[0].name
- // this.Progress.file=this.Progress.file[0].url
- this.$refs["Progress"].validate((valid) => {
- if (valid) {
- this.Progress.schedule = this.Progress.planProgress;
- uploadProgress(this.Progress).then((res1) => {
- this.$modal.msgSuccess("上传成功");
- // this.Progress
- this.reset();
- this.open1 = false;
- this.getList();
- });
- }
- });
- },
- submitForm2() {
- this.comstatus = 0;
- this.open2 = false;
- this.open3 = false;
- },
- /** 删除按钮操作 */
- handleDelete(row) {
- const ids = row.id || this.ids;
- this.$modal
- .confirm("是否确认删除?")
- .then(function () {
- return delPlanTask(ids);
- })
- .then(() => {
- this.getList();
- this.$modal.msgSuccess("删除成功");
- })
- .catch(() => {});
- },
- /** 导出按钮操作 */
- handleExport() {
- this.open5 = true;
- this.title = "导出工作数据";
- this.resets();
- },
- //导出
- submitForm4() {
- this.$refs["queryParamsTime"].validate((valid) => {
- if (valid) {
- if (this.category == "月") {
- this.queryParamsTime.createtime = this.queryParamsTime.yue;
- }
- this.$modal
- .confirm("是否确认导出数据项?")
- .then(() => {
- this.exportLoading = true;
- return exportPlanTask(this.queryParamsTime);
- })
- .then((response) => {
- this.$download.name(response.msg);
- this.exportLoading = false;
- this.open5 = false;
- })
- .catch(() => {});
- }
- });
- },
- // 发布单位接口
- getdept() {
- getDept().then((res) => {
- this.part = res.data;
- });
- },
- // 发送执行人列表
- returnExecutor(id, name) {},
- // 计划编号
- planName() {
- let date = new Date();
- let year = date.getFullYear();
- let month =
- date.getMonth() + 1 <= 9
- ? "0" + (date.getMonth() + 1)
- : date.getMonth() + 1;
- let day = date.getDate();
- let hour = date.getHours() <= 9 ? "0" + date.getHours() : date.getHours();
- let minute =
- date.getMinutes <= 9 ? "0" + date.getMinutes() : date.getMinutes();
- this.form.number = year + month + day + hour + minute;
- },
- // 获取发布单位id
- issueunit(id) {
- this.form.adminId = id;
- },
- // 选择计划
- chooseplan(item) {
- this.form.type = item.dictValue;
- },
- },
- };
- </script>
- <style>
- .el-input__inner {
- height: 36px;
- line-height: 36px;
- background-color: #00365f;
- color: #fff;
- border: 1px solid white !important;
- }
- .el-select-dropdown {
- background-color: white;
- }
- .el-dialog__wrapper .el-form-item__label {
- color: white !important;
- }
- .el-dialog {
- background-color: #004d86 !important;
- }
- .el-form-item__label {
- width: 30%;
- }
- .el-textarea {
- width: 70%;
- }
- .el-dialog__title {
- color: white;
- }
- .el-dialog__header {
- border-bottom: 1px solid #718a9d;
- }
- .el-textarea__inner {
- width: 945px;
- height: 104px;
- }
- /* 表宽度 */
- .el-input {
- width: 200px;
- }
- .serialNumber {
- border: 1px solid white;
- border-radius: 5px;
- width: 200px;
- text-indent: 1em;
- color: white;
- line-height: 36px;
- }
- .el-date-editor.el-input,
- .el-date-editor {
- width: 200px;
- }
- /* 执行 */
- #execute {
- width: 510px;
- /* width: auto; */
- }
- .el-input--suffix {
- width: auto;
- }
- /* 计划附件 */
- .el-upload__tip {
- position: absolute;
- top: -5px;
- width: 500px;
- left: 100px;
- color: white;
- }
- /* 上传附件样式 */
- .el-icon-document {
- padding: 3px 5px;
- color: white;
- }
- .el-upload-list__item:hover {
- background-color: #00365f;
- }
- /* 上传附件的删除按钮样式 */
- .el-link--inner {
- margin-left: 3px;
- }
- .el-select-dropdown__item:hover {
- color: #1890ff !important;
- }
- /* 下拉框的颜色 */
- .el-scrollbar li {
- background-color: white;
- color: black;
- }
- .el-scrollbar li:hover {
- background-color: #00365f;
- color: white;
- }
- .el-select-dropdown__wrap .el-scrollbar__view {
- background-color: white;
- }
- /* 修改计划类型样式 */
- .el-input--small .el-input__inner {
- height: 36px;
- line-height: 36px;
- }
- .el-input--medium .el-input__inner {
- background-color: rgba(0, 0, 0, 0);
- }
- /* 修改编号样式 */
- .ipt .el-input__inner {
- background-color: #004d86 !important;
- }
- /* 进度查看 */
- .el-button--btlook.is-active,
- .el-button--btlook:active {
- background: #32a5d3;
- border-color: #32a5d3;
- color: #ffffff;
- }
- .el-button--btlook:focus,
- .el-button--btlook:hover {
- background: #32a5d3;
- border-color: #32a5d3;
- color: #ffffff;
- }
- .el-button--btlook {
- width: 70px !important;
- border: 1px solid transparent;
- padding: 3px 8px;
- font-size: 14px;
- line-height: 1.5;
- border-radius: 3px;
- color: #fff;
- background-color: #32a5d3;
- }
- .big .el-input__inner {
- width: 940px;
- }
- /* 树形 */
- .threeselects {
- width: 200px;
- }
- .threeselects .vue-treeselect__input {
- background-color: #004d86;
- /* color: white; */
- }
- .el-form-item__content {
- /* color: white; */
- border-bottom: 1px solid #004d86;
- }
- .vue-treeselect__control {
- background-color: #004d86;
- border-bottom: 1px solid white;
- /* color: whi; */
- /* color: white; */
- }
- .vue-treeselect__placeholder {
- color: white;
- }
- .change_plan_type .el-input__inner {
- width: 200px;
- }
- /* 表格样式 */
- .el-table__empty-block {
- background-color: #004d86;
- }
- .el-table {
- background-color: #004d86;
- }
- .comtimer .el-input__inner {
- width: 940px;
- }
- /* 备注 */
- .thistext {
- color: white;
- width: 930px;
- border: 1px solid #fff;
- border-radius: 4px;
- height: auto;
- min-height: 35px;
- text-indent: 1em;
- line-height: 35px;
- margin-bottom: 20px;
- /* margin: auto; */
- }
- /* 完成进度 */
- .complue .el-input__inner {
- width: 940px;
- }
- .complue {
- width: 940px;
- }
- /* 进度 */
- .jinduProgress {
- width: 740px;
- position: absolute;
- left: 210px;
- top: 5px;
- }
- /* 表格 */
- .tabless .el-table__row {
- background-color: #004d86;
- }
- .has-gutter {
- background-color: #004d86;
- }
- .el-dialog__body .el-table tr:nth-child(odd) {
- background-color: #004d86 !important;
- }
- .el-dialog__body .el-table tr:nth-child(even) {
- background-color: #004d86 !important;
- }
- .el-dialog__body table td {
- border-bottom: 1px solid white !important;
- }
- .el-dialog__body .el-table th.is-leaf {
- border: 1px solid white ;
- }
- /* 下载按钮 */
- .downloadfile {
- border: 1px solid white;
- display: inline-block;
- width: 100px;
- height: 33px;
- border-radius: 5px;
- line-height: 33px;
- text-align: center;
- }
- .el-table__row {
- border-bottom: 1px solid white;
- }
- .el-input-number__increase {
- background-color: #004d86;
- }
- .el-input-number__decrease {
- background-color: #004d86;
- }
- /* 进度条百分比 */
- .el-progress-bar__innerText {
- color: #004d86;
- /* font-weight: 200; */
- }
- .el-progress-bar__outer {
- background-color: rgba(25, 98, 153, 1);
- }
- /* 上下箭头 */
- .el-icon-arrow-up,
- .el-icon-arrow-down {
- color: white;
- }
- .vue-treeselect__single-value {
- color: white;
- }
- /* table表格 */
- ::v-deep .el-table th.el-table__cell {
- background-color: pink !important;
- }
- .el-table__empty-block {
- border-bottom: 1px solid white;
- }
- .vue-treeselect__control {
- background-color: transparent !important;
- }
- .threeselects .vue-treeselect__input {
- background-color: transparent !important;
- }
- .el-table__body-wrapper .el-table__empty-block {
- border: none !important;
- }
- .plantypes .el-form-item__label {
- text-align: center;
- }
- .vue-treeselect__placeholder {
- color: #ccc;
- }
- .el-form-item__content {
- border-bottom: none !important;
- }
- .jinduchakan .el-table__body-wrapper .el-table__empty-block {
- border-bottom: 2px solid white !important;
- border-left: 2px solid white !important;
- border-right: 2px solid white !important;
- }
- /* 去除默认字体 */
- /* .el-select .el-input__inner */
- .el-select-dropdown__item.selected {
- color: #000;
- font-weight: bold;
- }
- .vue-treeselect__menu {
- color: #606266;
- }
- .el-scrollbar li:hover {
- color: black;
- }
- </style>
|