123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833 |
- <template>
- <div class="app-container">
- <el-row :gutter="10" class="mb8">
- <el-col :span="1.5" class="isSubmit">
- <el-radio-group v-model="aaa" @change="radioGroup">
- <el-radio-button label="1">发布任务</el-radio-button>
- <el-radio-button label="0">执行任务</el-radio-button>
- </el-radio-group>
- </el-col>
- </el-row>
- <hr />
- <el-form
- :model="queryParams"
- ref="queryForm"
- size="small"
- :inline="true"
- v-show="showSearch"
- label-width="68px"
- >
- <el-form-item label="" prop="taskName">
- <el-input
- v-model="queryParams.taskName"
- placeholder="请输入任务名称"
- clearable
- @input="handleQuery"
- />
- </el-form-item>
- <el-form-item>
- <!-- <el-button
- type="primary"
- icon="el-icon-search"
- size="mini"
- @click="handleQuery"
- >搜索</el-button
- > -->
- <el-button icon="el-icon-refresh" type="btr" @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-if="aaa == 1"
- v-hasPermi="['workingArrangements:worktaskplan:add']"
- >新增</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:worktaskplan: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:worktaskplan:remove']"
- >删除</el-button
- >
- </el-col> -->
- <!-- <el-col :span="1.5">
- <el-button
- type="warning"
- plain
- icon="el-icon-download"
- size="mini"
- @click="handleExport"
- v-hasPermi="['workingArrangements:worktaskplan:export']"
- >导出</el-button
- >
- </el-col> -->
- </el-row>
- <el-table
- v-loading="loading"
- :data="worktaskplanList"
- @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" width="50">
- <template scope="scope">
- <span>{{
- (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1
- }}</span>
- </template>
- </el-table-column>
- <el-table-column
- label="任务名称"
- align="center"
- prop="taskName"
- show-overflow-tooltip
- />
- <el-table-column
- label="开始时间"
- align="center"
- prop="startTime"
- width="180"
- >
- <template slot-scope="scope">
- <span>{{ parseTime(scope.row.startTime, "{y}-{m}-{d}") }}</span>
- </template>
- </el-table-column>
- <el-table-column
- label="结束时间"
- align="center"
- prop="endTime"
- width="180"
- >
- <template slot-scope="scope">
- <span>{{ parseTime(scope.row.endTime, "{y}-{m}-{d}") }}</span>
- </template>
- </el-table-column>
- <el-table-column
- label="任务总数"
- align="center"
- prop="taskCount"
- v-if="taskCounts"
- width="100"
- />
- <el-table-column
- label="当前进度"
- align="center"
- prop="taskProgress"
- v-if="taskProgres"
- width="100"
- >
- <template slot-scope="scope">
- <span>{{ scope.row.taskProgress }}%</span>
- </template>
- </el-table-column>
- <el-table-column
- label="执行单位数"
- align="center"
- prop="unitCount"
- v-if="unitCounts"
- width="100"
- />
- <el-table-column
- label="备注"
- align="center"
- prop="remarkInfo"
- show-overflow-tooltip
- />
- <el-table-column
- v-if="aaa == 0"
- label="任务说明"
- align="center"
- prop="planDetail.taskDescription"
- show-overflow-tooltip
- />
- <el-table-column
- label="操作"
- align="center"
- class-name="small-padding fixed-width"
- width="400"
- >
- <template slot-scope="scope">
- <el-button
- v-if="aaa == 0"
- size="btk"
- type="text"
- @click="handleUpdatebZXCK(scope.row)"
- v-hasPermi="['workingArrangements:taskplandetail:add']"
- >查看</el-button
- >
- <el-button
- v-if="aaa == 0 && scope.row.taskStatus == 1"
- size="btk"
- type="text"
- @click="handleUpdateb(scope.row)"
- v-hasPermi="['workingArrangements:taskplandetail:add']"
- >执行</el-button
- >
- <el-button
- v-if="aaa != 0"
- size="btk"
- type="text"
- @click="handleUpdatechakan(scope.row)"
- v-hasPermi="['workingArrangements:taskplandetail:add']"
- >查看</el-button
- >
- <el-button
- v-if="aaa != 0"
- size="btzx"
- type="text"
- @click="handleUpdateAdd(scope.row)"
- v-hasPermi="['workingArrangements:taskplandetail:add']"
- >添加分支任务</el-button
- >
- <el-button
- v-if="aaa != 0"
- size="btu"
- type="text"
- @click="handleUpdate(scope.row)"
- v-hasPermi="['workingArrangements:worktaskplan:edit']"
- >修改</el-button
- >
- <el-button
- v-if="aaa != 0"
- size="btd"
- type="text"
- @click="handleDelete(scope.row)"
- v-hasPermi="['workingArrangements:worktaskplan: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="新增工作任务"
- :visible.sync="open"
- width="800px"
- append-to-body
- :close-on-click-modal="false"
- custom-class="addbox"
- >
- <el-form
- ref="form"
- :model="form"
- :rules="rules"
- label-width="80px"
- inline
- >
- <el-form-item label="任务名称" prop="taskName">
- <el-input v-model="form.taskName" placeholder="" class="ren_wu" />
- </el-form-item>
- <el-form-item label="开始时间" prop="startTime">
- <el-date-picker
- clearable
- v-model="form.startTime"
- type="date"
- value-format="yyyy-MM-dd"
- placeholder=""
- >
- </el-date-picker>
- </el-form-item>
- <el-form-item label="结束时间" prop="endTime">
- <el-date-picker
- clearable
- v-model="form.endTime"
- type="date"
- value-format="yyyy-MM-dd"
- placeholder=""
- >
- </el-date-picker>
- </el-form-item>
- <div class="jiben">任务附件</div>
- <fileUpload v-model="form.annexList" class="m-l-20" :limit="5" />
- <div class="jiben">备注</div>
- <el-form-item label="" prop="remarkInfo">
- <el-input
- v-model="form.remarkInfo"
- 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">取 消</el-button>
- </div>
- </el-dialog>
- <!-- 添加人员 -->
- <el-dialog
- :title="title"
- :visible.sync="opens"
- width="800px"
- append-to-body
- :close-on-click-modal="false"
- custom-class="box"
- >
- <el-form
- ref="form6"
- :model="form6"
- :rules="rules6"
- label-width="80px"
- :inline="true"
- >
- <el-form-item label="执行单位" prop="unitId">
- <treeselect
- v-model="form6.unitId"
- :options="deptOptions"
- placeholder="请选择单位"
- @select="selectPeo"
- />
- </el-form-item>
- <el-form-item label="执行人员" prop="peopleId">
- <el-select v-model="form6.peopleId" placeholder="请选择执行人员">
- <el-option
- v-for="(item, i1) in executor"
- :key="i1 + ' '"
- :label="item.nickName"
- :value="item.userId"
- />
- </el-select>
- </el-form-item>
- <div class="jiben">任务说明</div>
- <el-form-item label="" prop="taskDescription">
- <el-input
- v-model="form6.taskDescription"
- type="textarea"
- placeholder="请输入内容"
- />
- </el-form-item>
- </el-form>
- <div slot="footer" class="dialog-footer">
- <el-button type="primary" @click="submitForms">提 交</el-button>
- <el-button @click="cancel">取 消</el-button>
- </div>
- </el-dialog>
- <!-- 修改工作任务 -->
- <el-dialog
- title="修改工作任务"
- :visible.sync="openx"
- width="1000px"
- append-to-body
- :close-on-click-modal="false"
- custom-class="box2"
- >
- <el-form
- ref="form"
- :model="form"
- :rules="rules"
- label-width="80px"
- :inline="true"
- >
- <el-form-item label="任务名称" prop="taskName">
- <el-input v-model="form.taskName" placeholder="" />
- </el-form-item>
- <el-form-item
- label="开始时间"
- prop="startTime"
- style="margin-left: 280px"
- >
- <el-date-picker
- clearable
- v-model="form.startTime"
- type="date"
- value-format="yyyy-MM-dd"
- placeholder=""
- >
- </el-date-picker>
- </el-form-item>
- <el-form-item label="结束时间" prop="endTime">
- <el-date-picker
- clearable
- v-model="form.endTime"
- type="date"
- value-format="yyyy-MM-dd"
- placeholder=""
- >
- </el-date-picker>
- </el-form-item>
- <el-form-item label="发布人" prop="createBy" style="margin-left: 280px">
- <el-input v-model="form.createBy" disabled></el-input>
- </el-form-item>
- <div class="jiben">任务进度</div>
- <el-progress
- :text-inside="true"
- :stroke-width="24"
- :percentage="form.taskProgress * 1"
- color="#0079fe"
- :class="form.taskProgress * 1 < 60 ? 'a' : 'b'"
- ></el-progress>
- <div class="jiben">任务详情</div>
- <el-table
- :data="renWuXiangQingList"
- @selection-change="handleSelectionChange"
- :header-cell-style="{ background: '#2a6b9a', color: 'white' }"
- >
- <el-table-column label="序号" align="center" prop="" width="50">
- <template scope="scope">
- <span>{{
- (queryParams.pageNum - 1) * queryParams.pageSize +
- scope.$index +
- 1
- }}</span>
- </template>
- </el-table-column>
- <el-table-column label="单位" prop="unitId" :formatter="unitDan" />
- <el-table-column
- label="人员"
- prop="peopleId"
- :formatter="peopleRen"
- />
- <el-table-column
- label="任务描述"
- prop="taskDescription"
- width="100"
- show-overflow-tooltip
- >
- </el-table-column>
- <el-table-column
- label="执行情况"
- prop="taskStatus"
- :formatter="taskStatusZhi"
- >
- </el-table-column>
- <el-table-column
- label="操作"
- align="center"
- class-name="small-padding fixed-width"
- width="200"
- >
- <template slot-scope="scope">
- <el-button
- size="btu"
- type="text"
- @click="handleUpdates(scope.row)"
- v-hasPermi="['workingArrangements:worktaskplan:edit']"
- >修改</el-button
- >
- <el-button
- size="btd"
- type="text"
- @click="handleUpdateEdit(scope.row)"
- v-hasPermi="['workingArrangements:worktaskplan:edit']"
- >删 除</el-button
- >
- </template>
- </el-table-column>
- </el-table>
- <div class="jiben">任务附件</div>
- <div
- v-for="(item, i2) in form.annexList"
- :key="i2 + ' '"
- class="box3"
- >
- <el-input
- label="附件名称"
- v-model="item.name"
- style="width: 820px"
- disabled
- />
- <a
- :href="url + item.url"
- :download="item.name"
- title="下载"
- style="color: white; margin-left: 10px"
- >下载附件</a
- >
- </div>
- <!-- <fileUpload v-model="form.annexList" class="m-l-20" :limit="5" /> -->
- <div class="jiben">备注</div>
- <el-form-item label="" prop="remarkInfo">
- <el-input
- v-model="form.remarkInfo"
- 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">取 消</el-button>
- </div>
- </el-dialog>
- <!-- 发布人查看工作任务 -->
- <el-dialog
- title="查看工作任务"
- :visible.sync="openxc"
- width="1000px"
- append-to-body
- :close-on-click-modal="false"
- custom-class="box2"
- >
- <el-form
- ref="form"
- :model="form"
- :rules="rules"
- label-width="80px"
- :inline="true"
- >
- <el-form-item label="任务名称" prop="taskName">
- <el-input v-model="form.taskName" placeholder="" disabled />
- </el-form-item>
- <el-form-item
- label="开始时间"
- prop="startTime"
- style="margin-left: 280px"
- >
- <el-date-picker
- disabled
- clearable
- v-model="form.startTime"
- type="date"
- value-format="yyyy-MM-dd"
- placeholder=""
- >
- </el-date-picker>
- </el-form-item>
- <el-form-item label="结束时间" prop="endTime">
- <el-date-picker
- disabled
- clearable
- v-model="form.endTime"
- type="date"
- value-format="yyyy-MM-dd"
- placeholder=""
- >
- </el-date-picker>
- </el-form-item>
- <el-form-item label="发布人" prop="createBy" style="margin-left: 280px">
- <el-input v-model="form.createBy" disabled></el-input>
- </el-form-item>
- <div class="jiben">任务进度</div>
- <el-progress
- :text-inside="true"
- :stroke-width="24"
- :percentage="form.taskProgress * 1"
- color="#0079fe"
- :class="form.taskProgress * 1 < 60 ? 'a' : 'b'"
- ></el-progress>
- <div class="jiben">任务详情</div>
- <el-table
- :data="renWuXiangQingList"
- @selection-change="handleSelectionChange"
- :header-cell-style="{ background: '#2a6b9a', color: 'white' }"
- >
- <el-table-column label="序号" align="center" prop="" width="50">
- <template scope="scope">
- <span>{{
- (queryParams.pageNum - 1) * queryParams.pageSize +
- scope.$index +
- 1
- }}</span>
- </template>
- </el-table-column>
- <el-table-column label="单位" prop="unitId" :formatter="unitDan" />
- <el-table-column
- label="人员"
- prop="peopleId"
- :formatter="peopleRen"
- />
- <el-table-column
- label="任务描述"
- prop="taskDescription"
- width="100"
- show-overflow-tooltip
- >
- </el-table-column>
- <el-table-column
- label="执行情况"
- prop="taskStatus"
- :formatter="taskStatusZhi"
- >
- </el-table-column>
- <el-table-column
- label="操作"
- align="center"
- class-name="small-padding fixed-width"
- width="200"
- >
- <template slot-scope="scope">
- <el-button
- size="btk"
- type="text"
- @click="handleUpdateCha(scope.row)"
- v-hasPermi="['workingArrangements:worktaskplan:add']"
- >查看</el-button
- >
- </template>
- </el-table-column>
- </el-table>
- <div class="jiben">任务附件</div>
- <div
- v-for="(item, i2) in form.annexList"
- :key="i2 + ' '"
- class="box3"
- >
- <el-input
- label="附件名称"
- v-model="item.name"
- style="width: 820px"
- disabled
- />
- <a
- :href="url + item.url"
- :download="item.name"
- title="下载"
- style="color: white; margin-left: 10px"
- >下载附件</a
- >
- </div>
- <!-- <fileUpload v-model="form.annexList" class="m-l-20" :limit="5" /> -->
- <div class="jiben">备注</div>
- <el-form-item label="" prop="remarkInfo">
- <el-input
- v-model="form.remarkInfo"
- type="textarea"
- placeholder="请输入内容"
- disabled
- />
- </el-form-item>
- </el-form>
- <div slot="footer" class="dialog-footer">
- <el-button @click="cancel" type="primary">关 闭</el-button>
- </div>
- </el-dialog>
- <!-- 修改添加人员 -->
- <el-dialog
- :title="title"
- :visible.sync="openxs"
- width="800px"
- append-to-body
- :close-on-click-modal="false"
- custom-class="box"
- >
- <el-form
- ref="form"
- :model="form1"
- :rules="rules"
- label-width="80px"
- :inline="true"
- >
- <el-form-item label="执行单位" prop="unitId">
- <treeselect
- v-model="form1.unitId"
- :options="deptOptions"
- placeholder="请选择单位"
- @select="selectPeo"
- />
- </el-form-item>
- <el-form-item label="执行人员" prop="peopleId">
- <el-select v-model="form1.peopleId" placeholder="请选择执行人员">
- <el-option
- v-for="(item, i1) in executor"
- :key="i1 + ' '"
- :label="item.nickName"
- :value="item.userId"
- />
- </el-select>
- </el-form-item>
- <div class="jiben">任务说明</div>
- <el-form-item label="" prop="taskDescription">
- <el-input
- v-model="form1.taskDescription"
- type="textarea"
- placeholder="请输入内容"
- />
- </el-form-item>
- </el-form>
- <div slot="footer" class="dialog-footer">
- <el-button type="primary" @click="submitFormsx">提 交</el-button>
- <el-button @click="cancels">取 消</el-button>
- </div>
- </el-dialog>
- <!-- 查看执行单位列表 -->
- <el-dialog
- :title="title"
- :visible.sync="openxC"
- width="800px"
- append-to-body
- :close-on-click-modal="false"
- custom-class="box4"
- >
- <el-form
- ref="form"
- :model="form3"
- :rules="rules"
- label-width="80px"
- :inline="true"
- >
- <div class="jiben">任务说明</div>
- <el-form-item label="执行单位" prop="unitId">
- <treeselect
- v-model="form3.unitId"
- :options="deptOptions"
- placeholder="请选择单位"
- disabled
- />
- </el-form-item>
- <el-form-item label="执行人员" prop="peopleId">
- <el-select
- v-model="form3.peopleId"
- placeholder="请选择执行人员"
- disabled
- >
- <el-option
- v-for="(item, i1) in executor"
- :key="i1 + ' '"
- :label="item.nickName"
- :value="item.userId"
- />
- </el-select>
- </el-form-item>
- <el-form-item label="" prop="taskDescription">
- <el-input
- v-model="form3.taskDescription"
- type="textarea"
- placeholder="请输入内容"
- disabled
- />
- </el-form-item>
- <div v-if="form3.feedbackTime">
- <div class="jiben">执行反馈</div>
- <el-form-item label="反馈时间" prop="startTime">
- <el-date-picker
- clearable
- v-model="form3.feedbackTime"
- type="date"
- value-format="yyyy-MM-dd"
- disabled
- >
- </el-date-picker>
- </el-form-item>
- <el-input
- v-model="form3.feedbackDescription"
- type="textarea"
- placeholder="请输入内容"
- disabled
- />
- <div
- v-for="(item, i3) in form3.annexList"
- :key="i3 + ' '"
- class="box3"
- style="margin-top: 20px"
- >
- <el-input
- label="附件名称"
- v-model="item.name"
- style="width: 820px"
- disabled
- />
- <a
- :href="url + item.url"
- :download="item.name"
- title="下载"
- style="color: white; margin-left: 10px"
- >下载附件</a
- >
- </div>
- <div v-if="form3.rejectContent">
- <div class="jiben">驳回原因</div>
- <el-input
- v-model="form3.rejectContent"
- type="textarea"
- placeholder=""
- disabled
- />
- </div>
- </div>
- </el-form>
- <div slot="footer" class="dialog-footer">
- <el-button type="primary" @click="cancelc">取 消</el-button>
- </div>
- </el-dialog>
- <!-- 执行人任务查看 -->
- <el-dialog
- :title="title"
- :visible.sync="openzxck"
- width="900px"
- append-to-body
- :close-on-click-modal="false"
- custom-class="box5"
- >
- <el-form
- ref="form"
- :model="form8"
- :rules="rules"
- label-width="80px"
- :inline="true"
- >
- <el-form-item label="任务名称" prop="taskName">
- <el-input
- v-model="form8.taskName"
- placeholder=""
- disabled
- class="ren_wu1"
- />
- </el-form-item>
- <el-form-item
- label="开始时间"
- prop="startTime"
- style="margin-right: 155px"
- >
- <el-date-picker
- clearable
- v-model="form8.startTime"
- type="date"
- value-format="yyyy-MM-dd"
- placeholder=""
- disabled
- >
- </el-date-picker>
- </el-form-item>
- <el-form-item label="结束时间" prop="endTime">
- <el-date-picker
- clearable
- v-model="form8.endTime"
- type="date"
- value-format="yyyy-MM-dd"
- placeholder=""
- disabled
- >
- </el-date-picker>
- </el-form-item>
- <el-form-item label="发布人" prop="createBy">
- <el-input v-model="form8.createBy" disabled></el-input>
- </el-form-item>
- <div
- style="height: 33px; color: #fff; font-size: 15px; padding-left: 26px"
- >
- 附件
- </div>
- <div
- v-for="(item, i2) in form8.annexList"
- :key="i2 + ' '"
- class="box3"
- style="margin-left: 22px"
- >
- <el-input
- label="附件名称"
- v-model="item.name"
- style="width: 820px"
- disabled
- />
- <a
- :href="url + item.url"
- :download="item.name"
- title="下载"
- style="color: white; margin-left: 10px"
- >下载附件</a
- >
- </div>
- <div
- style="height: 33px; color: #fff; font-size: 15px; margin-left: 26px"
- >
- 任务说明
- </div>
- <el-form-item label="" prop="remarkInfo" style="margin-left: 20px">
- <el-input
- v-model="form9.taskDescription"
- type="textarea"
- placeholder="请输入内容"
- disabled
- />
- </el-form-item>
- <div
- style="height: 33px; color: #fff; font-size: 15px; margin-left: 26px"
- >
- 备注
- </div>
- <el-form-item label="" prop="remarkInfo" style="margin-left: 20px">
- <el-input
- v-model="form8.remarkInfo"
- type="textarea"
- placeholder="请输入内容"
- disabled
- />
- </el-form-item>
- <div v-if="form9.feedbackDescription">
- <div class="jiben">反馈说明</div>
- <el-form-item label="" prop="feedbackDescription">
- <el-input
- v-model="form9.feedbackDescription"
- type="textarea"
- placeholder="请输入内容"
- disabled
- />
- </el-form-item>
- </div>
- <div
- v-for="(item, i3) in form9.annexList"
- :key="i3 + ' '"
- class="box3"
- style="margin-left: 26px"
- >
- <el-input
- label="附件名称"
- v-model="item.name"
- style="width: 820px"
- disabled
- />
- <a
- :href="url + item.url"
- :download="item.name"
- title="下载"
- style="color: white; margin-left: 10px"
- >下载附件</a
- >
- </div>
- </el-form>
- <div slot="footer" class="dialog-footer">
- <el-button type="primary" @click="cancelb">取 消</el-button>
- </div>
- </el-dialog>
- <!-- 执行 -->
- <el-dialog
- :title="title"
- :visible.sync="openxb"
- width="1000px"
- append-to-body
- :close-on-click-modal="false"
- custom-class="box2"
- >
- <el-form
- ref="form"
- :model="form2"
- :rules="rules"
- label-width="80px"
- :inline="true"
- >
- <el-form-item label="任务名称" prop="taskName">
- <el-input v-model="form2.taskName" placeholder="" disabled />
- </el-form-item>
- <el-form-item
- label="开始时间"
- prop="startTime"
- style="margin-left: 280px"
- disabled
- >
- <el-date-picker
- clearable
- v-model="form2.startTime"
- type="date"
- value-format="yyyy-MM-dd"
- placeholder=""
- disabled
- >
- </el-date-picker>
- </el-form-item>
- <el-form-item label="结束时间" prop="endTime">
- <el-date-picker
- clearable
- v-model="form2.endTime"
- type="date"
- value-format="yyyy-MM-dd"
- placeholder=""
- disabled
- >
- </el-date-picker>
- </el-form-item>
- <el-form-item label="发布人" prop="createBy" style="margin-left: 280px">
- <el-input v-model="form2.createBy" disabled></el-input>
- </el-form-item>
- <div style="height: 33px; color: #fff; font-size: 15px">附件</div>
- <div
- v-for="(item, i2) in form2.annexList"
- :key="i2 + ' '"
- class="box3"
- >
- <el-input
- label="附件名称"
- v-model="item.name"
- style="width: 820px"
- disabled
- />
- <a
- :href="url + item.url"
- :download="item.name"
- title="下载"
- style="color: white; margin-left: 10px"
- >下载附件</a
- >
- </div>
- <div style="height: 33px; color: #fff">任务说明</div>
- <el-form-item label="" prop="remarkInfo">
- <el-input
- v-model="nairong"
- type="textarea"
- placeholder="请输入内容"
- disabled
- />
- </el-form-item>
- <div style="height: 33px; color: #fff; font-size: 15px">备注</div>
- <el-form-item label="" prop="remarkInfo">
- <el-input
- v-model="form2.remarkInfo"
- type="textarea"
- placeholder="请输入内容"
- disabled
- />
- </el-form-item>
- <div class="jiben">反馈说明</div>
- <el-form-item label="" prop="feedbackDescription">
- <el-input
- v-model="form2.feedbackDescription"
- type="textarea"
- placeholder="请输入内容"
- />
- </el-form-item>
- <fileUpload v-model="form2.annexLists" class="m-l-20" :limit="5" />
- </el-form>
- <div slot="footer" class="dialog-footer">
- <el-button type="primary" @click="submitFormsb">提 交</el-button>
- <el-button @click="cancelb">取 消</el-button>
- </div>
- </el-dialog>
- </div>
- </template>
- <script>
- import {
- listWorktaskplan,
- getWorktaskplan,
- delWorktaskplan,
- addWorktaskplan,
- updateWorktaskplan,
- taskplandetail,
- getBytTskPlanId,
- updateTaskplandetail,
- getDepts,
- listUsers,
- getUserzs,
- addAnnex,
- taskplandetailIds,
- audit,
- delTaskplandetail,
- executeList,
- } from "@/api/workingArrangements/worktaskplan";
- import { getDept } from "@/api/grassrootsregistration/bdglmeeting";
- // 获取用户信息
- import { getUserProfile } from "@/api/system/user";
- // 导入树形结构
- import Treeselect from "@riophae/vue-treeselect";
- import "@riophae/vue-treeselect/dist/vue-treeselect.css";
- // 查询字典
- import { getDicts } from "@/api/system/dict/data";
- export default {
- name: "Worktaskplan",
- components: {
- Treeselect,
- },
- props: ["task_status"],
- data() {
- return {
- url: process.env.VUE_APP_BASE_API,
- // 遮罩层
- loading: true,
- // 选中数组
- ids: [],
- // 子表选中数据
- checkedBdglWorkTaskPlanDetail: [],
- // 非单个禁用
- single: true,
- // 非多个禁用
- multiple: true,
- // 显示搜索条件
- showSearch: true,
- // 总条数
- total: 0,
- // 任务计划基本信息表格数据
- worktaskplanList: [],
- // 任务计划执行详情表格数据
- bdglWorkTaskPlanDetailList: [],
- // 弹出层标题
- title: "",
- // 是否显示弹出层
- open: false,
- // 修改的弹出层
- openx: false,
- // 修改任务详情人员
- openxs: false,
- // 执行单位列表查看
- openxC: false,
- // 编辑弹出层
- openxb: false,
- // 审批的弹出层
- openxShen: false,
- // 外面查看弹出层
- openxc: false,
- // 执行人查看弹出层
- openzxck: false,
- // 查询参数
- queryParams: {
- pageNum: 1,
- pageSize: 10,
- taskName: null,
- startTime: null,
- endTime: null,
- annex: null,
- remarkInfo: null,
- },
- // 表单参数
- form: {},
- // 表单校验
- rules: {
- taskName: [
- { required: true, message: "任务名称不能为空", trigger: "blur" },
- ],
- startTime: [
- { required: true, message: "任务开始时间不能为空", trigger: "blur" },
- ],
- endTime: [
- { required: true, message: "任务结束时间不能为空", trigger: "blur" },
- ],
- },
- // 添加执行单位人员
- opens: false,
- // 获取单位
- deptOptions: [],
- // 执行人
- executor: [],
- // 当前行的id
- ides: null,
- // 任务总进度
- comstatus: 0,
- // 任务详情列表
- renWuXiangQingList: [],
- // 任务详情列表修改
- form1: {},
- // 所有单位
- unitId: [],
- // 所有人员
- renList: [],
- // 执行情况字典
- zhiXinQingKuang: [],
- // 获取用户信息
- userS: {},
- // 编辑
- form2: {},
- // 查看
- form3: {},
- // 发布人
- fabuRen: null,
- // 审批
- form4: {},
- form5: {},
- // 添加执行单位人员
- form6: {},
- rules6: {
- unitId: [
- { required: true, message: "执行单位不能为空", trigger: "blur" },
- ],
- peopleId: [
- { required: true, message: "执行人员不能为空", trigger: "blur" },
- ],
- },
- // 编辑提交数据
- form7: {},
- usersid: null,
- // 执行人查看
- form8: {},
- form9: {},
- // 里面当前列表刷新
- LiMianId: null,
- aaa: 1,
- // 任务总数
- taskCounts: true,
- // 当前进度
- taskProgres: true,
- // 执行单位数
- unitCounts: true,
- // 执行按钮任务说明
- nairong: null,
- };
- },
- created() {
- this.getList();
- //部门数据
- getDepts().then((res) => {
- if (res.code == 200) {
- this.unitId = res.data;
- }
- });
- // 获取所有人员
- listUsers().then((res) => {
- this.renList = res.rows;
- });
- getDicts("task_status").then((response) => {
- this.zhiXinQingKuang = response.data;
- });
- this.getUser();
- },
- methods: {
- // 执行人查看
- handleUpdatebZXCK(row) {
- // console.log(row);
- this.usersid = row.planDetail.id;
- this.form8.id = row.id;
- getWorktaskplan(this.form8.id).then((res) => {
- this.form8 = res.data;
- });
- taskplandetailIds(this.usersid).then((res) => {
- this.form9 = res.data;
- });
- this.title = "查看";
- this.openzxck = true;
- },
- // 列表的两个请求
- radioGroup() {
- if (this.aaa == 1) {
- this.taskCounts = true;
- this.taskProgres = true;
- this.unitCounts = true;
- this.getList();
- } else {
- this.taskCounts = false;
- this.taskProgres = false;
- this.unitCounts = false;
- executeList(this.queryParams).then((res) => {
- this.worktaskplanList = res.rows;
- this.total = res.total;
- this.loading = false;
- });
- }
- },
- // 修改工作计划列表删除
- handleUpdateEdit(row) {
- const id = row.id;
- delTaskplandetail(id).then((res) => {
- this.getListS(this.LiMianId);
- });
- },
- btns(row) {
- if (row == 1) {
- this.aaa = 1;
- } else {
- this.aaa = 0;
- }
- },
- // 查询任务详细列表
- getListS(id) {
- getBytTskPlanId(id).then((res) => {
- this.renWuXiangQingList = res.data;
- });
- },
- // 审批通过按钮
- submitFormTong() {
- this.form5.taskStatus = 2;
- audit(this.form5).then((res) => {
- this.openxShen = false;
- this.getListS(this.LiMianId);
- });
- },
- // 驳回按钮
- cancelBo() {
- this.form5.rejectContent = this.form4.rejectContent;
- this.form5.taskStatus = 3;
- if (this.form5.rejectContent) {
- audit(this.form5).then((res) => {
- this.openxShen = false;
- this.getListS(this.LiMianId);
- });
- } else {
- this.$message.error("请填写驳回原因");
- }
- },
- // 审批按钮操作
- handleUpdateShen(row) {
- this.form5.id = row.id;
- this.getBuMeng();
- const id = row.id || this.ids;
- taskplandetailIds(id).then((res) => {
- this.form4 = res.data;
- this.getRen(this.form4.unitId);
- });
- this.openxShen = true;
- },
- // 编辑提交按钮
- submitFormsb() {
- this.form7.id = this.usersid;
- this.form7.annexList = this.form2.annexLists || null;
- this.form7.feedbackDescription = this.form2.feedbackDescription || null;
- if (this.form7.id && this.form7.feedbackDescription) {
- addAnnex(this.form7).then((res) => {
- this.openxb = false;
- this.$modal.msgSuccess("执行成功");
- executeList(this.queryParams).then((res) => {
- this.worktaskplanList = res.rows;
- this.total = res.total;
- this.loading = false;
- });
- });
- } else {
- this.$message.error("请填写反馈说明");
- }
- },
- // 点击执行查看
- getChaKan(id) {},
- // 点击执行
- handleUpdateb(row) {
- this.nairong = row.planDetail.taskDescription;
- this.usersid = row.planDetail.id;
- this.form2.id = row.id;
- getWorktaskplan(this.form2.id).then((res) => {
- this.form2 = res.data;
- // console.log(this.form2);
- });
- this.getChaKan(this.usersid);
- this.title = "编辑";
- this.openxb = true;
- },
- // 获取登录信息
- getUser() {
- getUserProfile().then((response) => {
- this.userS = response.data;
- });
- },
- // 执行单位列表查看
- handleUpdateCha(row) {
- this.getBuMeng();
- const id = row.id || this.ids;
- taskplandetailIds(id).then((res) => {
- this.form3 = res.data;
- this.getRen(this.form3.unitId);
- });
- this.openxC = true;
- this.title = "查看";
- },
- // 执行情况翻译
- taskStatusZhi(row) {
- var name = "";
- this.zhiXinQingKuang.map((item) => {
- if (row.taskStatus == item.dictValue) {
- name = item.dictLabel;
- }
- });
- return name;
- },
- // 人员翻译
- peopleRen(row) {
- var name = "";
- this.renList.map((item) => {
- if (item.userId == row.peopleId) {
- name = item.nickName;
- }
- });
- return name;
- },
- // 单位翻译
- unitDan(row) {
- var deptName = "";
- this.unitId.map((item) => {
- if (item.deptId == row.unitId) {
- deptName = item.deptName;
- }
- });
- return deptName;
- },
- // 修改工作任务的执行人
- submitFormsx() {
- if (this.form1.id) {
- updateTaskplandetail(this.form1).then((res) => {
- this.openxs = false;
- });
- }
- },
- // 点击修改里面的按钮
- handleUpdates(row) {
- this.getBuMeng();
- this.form1 = row;
- this.getRen(this.form1.unitId);
- this.openxs = true;
- },
- // 获取执行人
- getRen(id) {
- getUserzs(id).then((res) => {
- this.executor = res.rows;
- });
- },
- // 选择部门单位触发
- selectPeo(data) {
- this.form.unitId = data.id;
- this.form.peopleId = null;
- this.form1.peopleId = null;
- this.getRen(this.form.unitId);
- },
- // 获取部门列表
- getBuMeng() {
- getDept().then((res) => {
- this.deptOptions = res.data;
- });
- },
- // 提交执行任务按钮操作
- submitForms() {
- this.$refs["form6"].validate((valid) => {
- if (valid) {
- this.form6.taskPlanId = this.ides;
- taskplandetail(this.form6).then((response) => {
- this.$modal.msgSuccess("添加成功,请继续编辑");
- this.reset();
- });
- }
- });
- },
- // 添加执行单位
- handleUpdateAdd(row) {
- this.ides = row.id;
- this.getBuMeng();
- this.opens = true;
- this.title = "添加执行单位";
- },
- /** 查询任务计划基本信息列表 */
- getList() {
- this.loading = true;
- listWorktaskplan(this.queryParams).then((response) => {
- this.worktaskplanList = response.rows;
- this.total = response.total;
- this.loading = false;
- });
- },
- // 取消按钮
- cancel() {
- this.open = false;
- this.opens = false;
- this.openx = false;
- this.openxs = false;
- this.openxc = false;
- this.reset();
- },
- // 修改内部取消按钮
- cancels() {
- this.openxs = false;
- },
- // 编辑的取消
- cancelb() {
- this.form2 = {};
- this.openxb = false;
- this.openzxck = false;
- this.form8 = {};
- this.form9 = {};
- },
- // 查看取消
- cancelc() {
- this.form3 = {};
- this.openxC = false;
- },
- // 表单重置
- reset() {
- this.form = {
- id: null,
- taskName: null,
- startTime: null,
- endTime: null,
- annex: null,
- remarkInfo: null,
- createBy: null,
- createTime: null,
- updateBy: null,
- updateTime: null,
- unitId: null,
- peopleId: null,
- taskDescription: null,
- taskProgress: null,
- };
- this.form6 = {};
- this.bdglWorkTaskPlanDetailList = [];
- this.resetForm("form");
- this.resetForm("form6");
- },
- /** 搜索按钮操作 */
- 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() {
- this.reset();
- this.open = true;
- this.title = "新增工作任务";
- },
- /** 修改按钮操作 */
- handleUpdate(row) {
- this.reset();
- const id = row.id || this.ids;
- this.LiMianId = row.id;
- getWorktaskplan(id).then((response) => {
- this.form = response.data;
- this.form.taskProgress = this.form.taskProgress * 1;
- this.fabuRen = response.data.createBy;
- this.openx = true;
- this.title = "修改工作任务";
- });
- this.getListS(id);
- },
- /** 发布人查看按钮操作 */
- handleUpdatechakan(row) {
- this.reset();
- const id = row.id || this.ids;
- this.LiMianId = row.id;
- getWorktaskplan(id).then((response) => {
- this.form = response.data;
- this.form.taskProgress = this.form.taskProgress * 1;
- this.fabuRen = response.data.createBy;
- this.openxc = true;
- this.title = "查看工作任务";
- });
- this.getListS(id);
- },
- /** 提交按钮 */
- submitForm() {
- this.$refs["form"].validate((valid) => {
- if (valid) {
- if (this.form.id != null) {
- updateWorktaskplan(this.form).then((response) => {
- this.$modal.msgSuccess("修改成功");
- this.open = false;
- this.openx = false;
- this.getList();
- });
- } else {
- addWorktaskplan(this.form).then((response) => {
- this.$modal.msgSuccess("新增成功");
- this.open = false;
- this.getList();
- });
- }
- }
- });
- },
- /** 删除按钮操作 */
- handleDelete(row) {
- const ids = row.id || this.ids;
- this.$modal
- .confirm("是否确认删除任务计划的数据项?")
- .then(function () {
- return delWorktaskplan(ids);
- })
- .then(() => {
- this.getList();
- this.$modal.msgSuccess("删除成功");
- })
- .catch(() => {});
- },
- /** 导出按钮操作 */
- handleExport() {
- this.$download(
- "workingArrangements/worktaskplan/export",
- {
- ...this.queryParams,
- },
- `worktaskplan_${new Date().getTime()}.xlsx`
- );
- },
- },
- };
- </script>
- <style scoped>
- /* 总进度条字体颜色 */
- ::v-deep .b .el-progress-bar__innerText {
- color: #fff;
- }
- ::v-deep .a .el-progress-bar__innerText {
- color: #da4655;
- }
- /* 总进度条样式 */
- ::v-deep .el-progress-bar {
- margin-bottom: 20px;
- }
- ::v-deep .el-progress-bar__outer {
- height: 19px !important;
- width: 859px;
- }
- /* 修改任务详情列表样式 */
- ::v-deep .box2 .el-table {
- margin-bottom: 25px;
- }
- /* 修改弹框中的备注 */
- ::v-deep .box2 .el-textarea__inner {
- width: 855px;
- }
- ::v-deep .box2 .el-dialog__body {
- margin-left: 51px;
- }
- ::v-deep .box2 .el-dialog__footer {
- margin-right: 58px;
- }
- ::v-deep .box1 .el-table__row {
- height: 0px !important;
- }
- ::v-deep .el-dialog__body .el-table th.is-leaf {
- border: none !important;
- }
- ::v-deep .el-dialog__body table td {
- border: none !important;
- }
- ::v-deep .el-input__inner {
- height: 36px;
- background-color: transparent !important;
- color: #fff;
- border: 1px solid white !important;
- }
- ::v-deep .el-textarea__inner {
- width: 619px;
- height: 104px;
- }
- ::v-deep .box .el-textarea__inner {
- width: 614px;
- height: 104px;
- }
- ::v-deep .box1 .el-form-item__content {
- width: 800px;
- }
- ::v-deep .el-dialog__body .el-table tr:nth-child(odd) {
- background-color: #004d86 !important;
- }
- ::v-deep .el-dialog__body .el-table tr:nth-child(even) {
- background-color: #2a6b9a !important;
- }
- ::v-deep .el-input__inner {
- border: 1px solid white !important;
- }
- .el-select-dropdown__item.selected {
- color: #000;
- font-weight: bold;
- }
- .vue-treeselect__menu {
- color: #606266;
- }
- /* 日历样式 */
- .el-date-picker__editor-wrap .el-input .el-input__inner {
- width: 100px !important;
- }
- .el-date-picker__time-header {
- border-bottom: none;
- }
- ::v-deep .el-input--small .el-input__inner {
- height: 36px;
- }
- ::v-deep .el-upload__tip {
- position: static !important;
- margin-left: 3px;
- margin-bottom: 21px;
- }
- .ren_wu {
- width: 500px !important;
- }
- .ren_wu1 {
- width: 636px;
- }
- /* 基本信息背景 */
- .jiben {
- width: 700px;
- height: 32px;
- background-image: url(../../../images/小标题底.png);
- margin-bottom: 25px;
- color: #fff;
- padding-left: 16px;
- line-height: 32px;
- background-size: 100%;
- }
- ::v-deep .el-form--inline .el-form-item {
- margin-right: 21px;
- }
- ::v-deep .el-dialog__body {
- margin-left: 73px;
- }
- ::v-deep .vue-treeselect__control {
- width: 217px;
- }
- ::v-deep .box3 .el-input__inner {
- margin-bottom: 20px;
- }
- .box3 a {
- border: 1px solid white;
- display: inline-block;
- width: 100px;
- height: 33px;
- border-radius: 5px;
- line-height: 33px;
- text-align: center;
- }
- ::v-deep .el-input.is-disabled .el-input__inner {
- color: #fff;
- }
- ::v-deep .upload-file-list .el-upload-list__item {
- max-width: 500px !important;
- }
- /* 新增工作任务 */
- ::v-deep .addbox .el-dialog__footer {
- margin-right: 107px;
- }
- ::v-deep .addbox .el-dialog__body {
- margin-left: 56px !important;
- }
- /* 查看 */
- ::v-deep .box4 .box3 .is-disabled {
- width: 500px !important;
- }
- ::v-deep .box4 .el-textarea__inner {
- width: 614px;
- }
- ::v-deep .isSubmit {
- margin-left: 44%;
- }
- ::v-deep .box5 .box3 .el-input {
- width: 577px !important;
- }
- ::v-deep .box5 .el-dialog__footer {
- margin-right: 88px;
- }
- ::v-deep .box5 .el-textarea__inner {
- width: 687px !important;
- }
- ::v-deep .box5 .el-dialog__body {
- margin-left: 69px;
- }
- ::v-deep .box .el-dialog__footer {
- margin-right: 73px !important;
- }
- /* ::v-deep .box2 .el-form-item {
- margin-right: 147px !important;
- } */
- ::v-deep .box2 .el-table {
- width: 860px !important;
- }
- ::v-deep .box2 .box3 .el-input {
- width: 747px !important;
- }
- hr {
- border: none;
- height: 1px;
- background-color: rgba(204, 204, 204, 0.3);
- margin-bottom: 20px;
- margin-top: 20px;
- }
- ::v-deep .box4 .el-dialog__footer {
- margin-right: 79px;
- }
- /* 查看 添加分支任务*/
- .el-button--btzx.is-active,
- .el-button--btzx:active {
- background: #1d96ff;
- border-color: #1d96ff;
- color: #ffffff;
- }
- .el-button--btzx:focus,
- .el-button--btzx:hover {
- background: #41a4fa;
- border-color: #41a4fa;
- color: #ffffff;
- }
- .el-button--btzx {
- width: 100px !important;
- border: 1px solid transparent;
- padding: 3px 8px;
- font-size: 14px;
- line-height: 1.5;
- border-radius: 3px;
- color: #fff;
- background-color: #1d96ff;
- }
- ::v-deep .el-dialog {
- background-color: #004d86;
- }
- ::v-deep .el-dialog__title {
- color: #fff;
- }
- ::v-deep .el-link.el-link--default {
- color: #fff;
- }
- ::v-deep .el-upload__tip {
- color: #fff;
- }
- ::v-deep .vue-treeselect__control {
- background: transparent;
- }
- ::v-deep .vue-treeselect__single-value {
- color: #fff;
- }
- ::v-deep .el-progress-bar__outer {
- background-color: rgba(25, 98, 153, 1);
- }
- ::v-deep .el-date-editor.el-input,
- .el-date-editor {
- width: 200px;
- }
- ::v-deep .el-pagination .el-input__inner {
- width: 100px;
- height: 28px;
- }
- ::v-deep .el-pagination__jump .el-input__inner {
- width: 46px;
- }
- </style>
|