123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707 |
- <template>
- <div class="app-container">
- <el-form
- :model="queryParams"
- ref="queryForm"
- :inline="true"
- v-show="showSearch"
- label-width="68px"
- >
- <!-- <el-form-item label="受检单位_id" prop="inspectedUnitId">
- <el-input
- v-model="queryParams.inspectedUnitId"
- placeholder="请输入受检单位_id"
- clearable
- size="small"
- @keyup.enter.native="handleQuery"
- />
- </el-form-item>
- <el-form-item label="受检单位" prop="inspectedUnit">
- <el-input
- v-model="queryParams.inspectedUnit"
- placeholder="请输入受检单位"
- clearable
- size="small"
- @keyup.enter.native="handleQuery"
- />
- </el-form-item>
- <el-form-item label="类型" prop="inspectionType">
- <el-select v-model="queryParams.inspectionType" placeholder="请选择类型" clearable size="small">
- <el-option label="请选择字典生成" value="" />
- </el-select>
- </el-form-item>
- <el-form-item label="单位检查_id" prop="unitCheckId">
- <el-input
- v-model="queryParams.unitCheckId"
- placeholder="请输入单位检查_id"
- clearable
- size="small"
- @keyup.enter.native="handleQuery"
- />
- </el-form-item>
- <el-form-item label="检查单位" prop="unitCheck">
- <el-input
- v-model="queryParams.unitCheck"
- placeholder="请输入检查单位"
- clearable
- size="small"
- @keyup.enter.native="handleQuery"
- />
- </el-form-item>
- <el-form-item label="检查时间" prop="inspectionTime">
- <el-input
- v-model="queryParams.inspectionTime"
- placeholder="请输入检查时间"
- clearable
- size="small"
- @keyup.enter.native="handleQuery"
- />
- </el-form-item>
- <el-form-item label="检查地点" prop="inspectionSite">
- <el-input
- v-model="queryParams.inspectionSite"
- placeholder="请输入检查地点"
- clearable
- size="small"
- @keyup.enter.native="handleQuery"
- />
- </el-form-item>
- <el-form-item label="分值" prop="score">
- <el-input
- v-model="queryParams.score"
- placeholder="请输入分值"
- clearable
- size="small"
- @keyup.enter.native="handleQuery"
- />
- </el-form-item>
- <el-form-item label="整改时间" prop="rectificationTime">
- <el-input
- v-model="queryParams.rectificationTime"
- placeholder="请输入整改时间"
- clearable
- size="small"
- @keyup.enter.native="handleQuery"
- />
- </el-form-item>
- <el-form-item label="当前状态" prop="currentState">
- <el-input
- v-model="queryParams.currentState"
- placeholder="请输入当前状态"
- clearable
- size="small"
- @keyup.enter.native="handleQuery"
- />
- </el-form-item>
- <el-form-item label="是由" prop="question">
- <el-input
- v-model="queryParams.question"
- placeholder="请输入是由"
- clearable
- size="small"
- @keyup.enter.native="handleQuery"
- />
- </el-form-item>
- <el-form-item label="创建人ID" prop="createUserId">
- <el-input
- v-model="queryParams.createUserId"
- placeholder="请输入创建人ID"
- clearable
- size="small"
- @keyup.enter.native="handleQuery"
- />
- </el-form-item>
- <el-form-item label="创建人" prop="createUser">
- <el-input
- v-model="queryParams.createUser"
- placeholder="请输入创建人"
- clearable
- size="small"
- @keyup.enter.native="handleQuery"
- />
- </el-form-item>
- <el-form-item label="负责人ID" prop="chargePeopleId">
- <el-input
- v-model="queryParams.chargePeopleId"
- placeholder="请输入负责人ID"
- clearable
- size="small"
- @keyup.enter.native="handleQuery"
- />
- </el-form-item>
- <el-form-item label="负责人" prop="chargePeople">
- <el-input
- v-model="queryParams.chargePeople"
- placeholder="请输入负责人"
- clearable
- size="small"
- @keyup.enter.native="handleQuery"
- />
- </el-form-item>
- <el-form-item label="图片举证" prop="pictureProof">
- <el-input
- v-model="queryParams.pictureProof"
- placeholder="请输入图片举证"
- clearable
- size="small"
- @keyup.enter.native="handleQuery"
- />
- </el-form-item>
- <el-form-item label="文件举证" prop="documentProof">
- <el-input
- v-model="queryParams.documentProof"
- placeholder="请输入文件举证"
- clearable
- size="small"
- @keyup.enter.native="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" size="mini" @click="resetQuery">重置</el-button>
- </el-form-item>-->
- </el-form>
- <el-row :gutter="10" class="mb8">
- <el-col :span="1.5" class="isSubmit">
- <el-radio-group
- v-model="queryParams.caoZuoType"
- @change="caoZuoTypefun"
- >
- <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-row :gutter="10" class="mb8">
- <el-col :span="1.5">
- <el-button
- type="success"
- v-if="queryParams.caoZuoType == 0"
- style="background: #1d96ff"
- @click="handleAdd"
- v-hasPermi="['bdglregular:regularinfo:jian']"
- >减分录入</el-button
- >
- </el-col>
- <el-col :span="1.5">
- <el-button
- type="success"
- v-if="queryParams.caoZuoType == 1"
- style="background: #1d96ff"
- v-hasPermi="['bdglregular:regularinfo:jia']"
- @click="handleAdd"
- >加分录入</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="['bdglregular:regularinfo:remove']"
- >删除</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="['bdglregular:regularinfo: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="['bdglregular:regularinfo: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="['bdglregular:regularinfo:export']"
- >导出</el-button>
- </el-col>-->
- <!-- <right-toolbar
- :showSearch.sync="showSearch"
- @queryTable="getList"
- ></right-toolbar> -->
- <el-form
- :model="queryParams"
- ref="queryForm"
- :inline="true"
- v-show="showSearch"
- label-width="68px"
- >
- <el-form-item prop="inspectedUnitId">
- <treeselect
- v-model="queryParams.inspectedUnitId"
- :options="deptOptions"
- placeholder="请选择受检单位"
- @select="selectPeos"
- />
- </el-form-item>
- <el-form-item prop="currentState">
- <el-select
- v-model="queryParams.currentState"
- placeholder="请选择状态"
- clearable
- size="small"
- @change="handleQuery"
- class="states"
- >
- <el-option
- v-for="item in statelist"
- :key="item"
- :label="item"
- :value="item"
- ></el-option>
- </el-select>
- </el-form-item>
- <el-form-item>
- <el-button size="btr" @click="resetQuery">重置</el-button>
- </el-form-item>
- </el-form>
- </el-row>
- <el-table
- v-loading="loading"
- :data="regularinfoList"
- :header-cell-style="{ background: '#003C69', color: 'white' }"
- @selection-change="handleSelectionChange"
- >
- <el-table-column type="selection" width="55" align="center" />
- <el-table-column label="序号" align="center" type="index" />
- <el-table-column
- :label="queryParams.caoZuoType == 0 ? '受检单位' : '单位'"
- align="center"
- key="inspectedUnit"
- prop="inspectedUnit"
- />
- <el-table-column
- label="类型"
- align="center"
- key="inspectionType"
- prop="inspectionType"
- >
- <template slot-scope="scope">
- <dict-tag
- :options="dict.type.inspectionType"
- :value="scope.row.inspectionType"
- />
- </template>
- </el-table-column>
- <el-table-column
- label="检查单位"
- align="center"
- prop="unitCheck"
- width="150"
- key="unitCheck"
- v-if="queryParams.caoZuoType == 0"
- />
- <el-table-column
- label="检查时间"
- align="center"
- prop="inspectionTime"
- width="150px"
- key="inspectionTime"
- />
- <el-table-column
- width="250"
- show-overflow-tooltip
- label="检查地点"
- align="center"
- prop="inspectionSite"
- key="inspectionSite"
- />
- <el-table-column label="分值" align="center" key="score" prop="score">
- <template slot-scope="scope">
- <div style="color: rgb(255 106 0)" v-if="queryParams.caoZuoType == 0">
- {{ scope.row.score }}
- </div>
- <div style="color: rgb(2 255 2)" v-if="queryParams.caoZuoType == 1">
- {{ scope.row.score }}
- </div>
- </template>
- </el-table-column>
- <el-table-column
- label="当前状态"
- align="center"
- prop="currentState"
- v-if="queryParams.caoZuoType == 0"
- key="currentState"
- >
- <template slot-scope="scope">
- <div
- style="color: rgb(255 106 0)"
- v-if="scope.row.currentState == '未通过'"
- >
- {{ scope.row.currentState }}
- </div>
- <div style="color: #ffa500" v-if="scope.row.currentState == '待处理'">
- {{ scope.row.currentState }}
- </div>
- <div style="color: #3498db" v-if="scope.row.currentState == '待验收'">
- {{ scope.row.currentState }}
- </div>
- <div
- style="color: rgb(2 255 2)"
- v-if="scope.row.currentState == '已通过'"
- >
- {{ scope.row.currentState }}
- </div>
- <div style="color: #909399" v-if="scope.row.currentState == '已逾期'">
- {{ scope.row.currentState }}
- </div>
- </template>
- </el-table-column>
- <el-table-column
- label="事由"
- show-overflow-tooltip
- align="center"
- prop="question"
- key="question"
- />
- <el-table-column
- label="整改时间"
- align="center"
- prop="rectificationTime"
- v-if="queryParams.caoZuoType == 0"
- width="150px"
- key="rectificationTime"
- />
- <el-table-column
- label="操作"
- align="center"
- class-name="small-padding fixed-width"
- width="250"
- fixed="right"
- >
- <template slot-scope="scope">
- <el-button
- size="btk"
- type="text"
- v-if="
- scope.row.caoZuoType == '0' &&
- scope.row.isCaoZuoDept == 0 &&
- (scope.row.currentState == '未通过' ||
- scope.row.currentState == '待处理')
- "
- @click="handleUpdate(scope.row)"
- >整改</el-button
- >
- <el-button
- size="btu"
- type="text"
- @click="shenpifun(scope.row)"
- v-if="
- queryParams.caoZuoType == 0 &&
- scope.row.isShenPi == 0 &&
- scope.row.currentState == '待验收'
- "
- >审批</el-button
- >
- <!-- v-if="scope.row.unitCheckId==this.danWies" -->
- <!-- bdglregular:regularinfo:query -->
- <el-button
- v-if="scope.row.currentState == '待处理' && scope.row.isShenPi == 0"
- size="btu"
- type="text"
- @click="handleAdds(scope.row)"
- >修改</el-button
- >
- <el-button
- size="btd"
- type="text"
- @click="handleDelete(scope.row)"
- v-if="scope.row.isShenPi == 0"
- >删除</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="500px"
- append-to-body
- :close-on-click-modal="false"
- >
- <el-form
- ref="form"
- :model="form"
- :rules="rules"
- :inline="true"
- label-width="120px"
- >
- <div class="jiben">基本信息</div>
- <el-form-item
- label="检查单位"
- prop="unitCheck"
- v-if="queryParams.caoZuoType == 0"
- >
- <el-select
- v-model="form.unitCheck"
- @change="unitCheckIdfun"
- clearable
- placeholder="请选择检查单位"
- :disabled="disabled && btnnum != 0 && btnnum != 1 && zg == 3"
- >
- <el-option
- v-for="dict in unitId"
- :key="dict.deptId"
- :label="dict.deptName"
- :value="dict"
- ></el-option>
- </el-select>
- </el-form-item>
- <el-form-item
- :label="queryParams.caoZuoType == 0 ? '受检单位' : '单位'"
- prop="inspectedUnit"
- >
- <el-select
- v-model="form.inspectedUnit"
- @change="inspectedUnitfun"
- clearable
- :placeholder="
- queryParams.caoZuoType == 0 ? '请选择受检单位' : '请选择单位'
- "
- :disabled="disabled && btnnum != 0 && btnnum != 1 && zg == 3"
- >
- <el-option
- v-for="dict in unitId"
- :key="dict.deptId"
- :label="dict.deptName"
- :value="dict"
- ></el-option>
- </el-select>
- </el-form-item>
- <el-form-item label="类型" prop="inspectionType">
- <el-select
- v-model="form.inspectionType"
- :disabled="disabled && btnnum != 0 && btnnum != 1 && zg == 3"
- clearable
- placeholder="请选择类型"
- >
- <el-option
- v-for="dict in inspectionType"
- :key="dict.dictValue"
- :label="dict.dictLabel"
- :value="dict.dictValue"
- ></el-option>
- </el-select>
- </el-form-item>
- <el-form-item label="检查时间" prop="inspectionTime">
- <el-date-picker
- clearable
- size="small"
- v-model="form.inspectionTime"
- type="datetime"
- default-time="00:00:00"
- value-format="yyyy-MM-dd HH:mm:ss"
- placeholder="选择检查时间"
- :disabled="disabled && btnnum != 0 && btnnum != 1 && zg == 3"
- ></el-date-picker>
- </el-form-item>
- <el-form-item label="检查地点" prop="inspectionSite">
- <el-input
- v-model="form.inspectionSite"
- :disabled="disabled && btnnum != 0 && btnnum != 1 && zg == 3"
- placeholder="请输入检查地点"
- />
- </el-form-item>
- <el-form-item label="分值" prop="score" v-if="jiannum == 0">
- <!-- <el-input v-model="form.score" type="number" @blur="scoreblur" :disabled="disabled" placeholder="请输入分值" /> -->
- <el-input-number
- v-model="form.score"
- controls-position="right"
- :min="0"
- ></el-input-number>
- </el-form-item>
- <el-form-item
- label="整改时间"
- prop="rectificationTime"
- v-if="queryParams.caoZuoType == 0"
- >
- <el-date-picker
- clearable
- size="small"
- v-model="form.rectificationTime"
- type="datetime"
- default-time="00:00:00"
- value-format="yyyy-MM-dd HH:mm:ss"
- placeholder="选择整改时间"
- :disabled="disabled && btnnum != 0 && btnnum != 1 && zg == 3"
- ></el-date-picker>
- </el-form-item>
- <el-form-item
- label="受检负责人"
- prop="chargePeople"
- v-if="jiannum != 0"
- >
- <el-select
- v-model="form.chargePeople"
- clearable
- @change="chargePeoplefun"
- placeholder="请选择受检负责人"
- :disabled="disabled && btnnum != 0 && btnnum != 1 && zg != 3"
- >
- <el-option
- v-for="dict in peopleIds"
- :key="dict.id"
- :label="dict.name"
- :value="dict"
- ></el-option>
- </el-select>
- </el-form-item>
- <div class="jiben" v-if="queryParams.caoZuoType == 0">存在问题</div>
- <div class="jiben" v-if="queryParams.caoZuoType == 1">加分事由</div>
- <el-form-item label prop="question">
- <el-input
- v-model="form.question"
- :disabled="disabled && btnnum != 0 && btnnum != 1 && zg == 3"
- type="textarea"
- placeholder="请输入内容"
- />
- </el-form-item>
- <div class="jiben" v-if="jiannum != 0">整改措施</div>
- <el-form-item label prop="correctiveAction" v-if="jiannum != 0">
- <el-input
- v-model="form.correctiveAction"
- :disabled="disabled && btnnum != 0 && btnnum != 1 && zg != 3"
- type="textarea"
- placeholder="请输入内容"
- />
- </el-form-item>
- <div class="jiben" v-if="jiannum != 0">图片举证</div>
- <el-form-item label prop="pictureProof" v-if="jiannum != 0">
- <imageUpload v-model="form.pictureProof" :limit="1" />
- </el-form-item>
- <div class="jiben" v-if="jiannum != 0">文件举证</div>
- <el-form-item label prop="documentProof" v-if="jiannum != 0">
- <fileUpload
- v-model="form.documentProof"
- :limit="1"
- :class="{ active: isActive }"
- />
- </el-form-item>
- <div class="jiben" v-if="currentState == 1">未通过原因</div>
- <el-form-item label prop="score" v-if="currentState == 1">
- <el-input
- v-model="form.reasonReturn"
- :disabled="disabled || curr"
- type="textarea"
- placeholder="请输入未通过原因"
- />
- </el-form-item>
- </el-form>
- <div slot="footer" class="dialog-footer">
- <el-button
- type="primary"
- @click="submitForm"
- v-if="btnnum != 0 && btnnum != 1 && zg != 3"
- >确 定</el-button
- >
- <el-button
- type="primary"
- @click="submitForm2"
- v-if="btnnum != 0 && btnnum != 1 && zg == 3"
- >确 定</el-button
- >
- <el-button type="primary" @click="tongguofun" v-if="btnnum == 0"
- >通 过</el-button
- >
- <el-button type="primary" @click="zhenggaifun" v-if="btnnum == 0"
- >重新整改</el-button
- >
- <el-button type="primary" @click="weitongguofun" v-if="btnnum == 1"
- >确 定</el-button
- >
- <el-button @click="cancel" size="btn">取 消</el-button>
- </div>
- </el-dialog>
- <el-dialog
- :title="title"
- :visible.sync="open1"
- width="500px"
- append-to-body
- :close-on-click-modal="false"
- >
- <el-form
- ref="form"
- :model="form"
- :rules="rules"
- :inline="true"
- label-width="120px"
- >
- <div class="jiben">基本信息</div>
- <el-form-item
- label="检查单位"
- prop="unitCheck"
- v-if="queryParams.caoZuoType == 0"
- >
- <el-select
- v-model="form.unitCheck"
- @change="unitCheckIdfun"
- clearable
- placeholder="请选择检查单位"
- :disabled="disabled"
- >
- <el-option
- v-for="dict in unitId"
- :key="dict.deptId"
- :label="dict.deptName"
- :value="dict"
- ></el-option>
- </el-select>
- </el-form-item>
- <el-form-item
- :label="queryParams.caoZuoType == 0 ? '受检单位' : '单位'"
- prop="inspectedUnit"
- >
- <el-select
- v-model="form.inspectedUnit"
- @change="inspectedUnitfun"
- clearable
- :placeholder="
- queryParams.caoZuoType == 0 ? '请选择受检单位' : '请选择单位'
- "
- :disabled="disabled"
- >
- <el-option
- v-for="dict in unitId"
- :key="dict.deptId"
- :label="dict.deptName"
- :value="dict"
- ></el-option>
- </el-select>
- </el-form-item>
- <el-form-item label="类型" prop="inspectionType">
- <el-select
- v-model="form.inspectionType"
- :disabled="disabled"
- clearable
- placeholder="请选择类型"
- >
- <el-option
- v-for="dict in inspectionType"
- :key="dict.dictValue"
- :label="dict.dictLabel"
- :value="dict.dictValue"
- ></el-option>
- </el-select>
- </el-form-item>
- <el-form-item label="检查时间" prop="inspectionTime">
- <el-date-picker
- clearable
- size="small"
- v-model="form.inspectionTime"
- type="datetime"
- default-time="00:00:00"
- value-format="yyyy-MM-dd HH:mm:ss"
- placeholder="选择检查时间"
- ></el-date-picker>
- </el-form-item>
- <el-form-item label="检查地点" prop="inspectionSite">
- <el-input
- v-model="form.inspectionSite"
- :disabled="disabled"
- placeholder="请输入检查地点"
- />
- </el-form-item>
- <el-form-item label="分值" prop="score">
- <!-- <el-input v-model="form.score" type="number" @blur="scoreblur" :disabled="disabled" placeholder="请输入分值" /> -->
- <el-input-number
- v-model="form.score"
- controls-position="right"
- :min="0"
- ></el-input-number>
- </el-form-item>
- <el-form-item
- label="整改时间"
- prop="rectificationTime"
- v-if="queryParams.caoZuoType == 0"
- >
- <el-date-picker
- clearable
- size="small"
- v-model="form.rectificationTime"
- type="datetime"
- default-time="00:00:00"
- value-format="yyyy-MM-dd HH:mm:ss"
- placeholder="选择整改时间"
- :disabled="disabled"
- ></el-date-picker>
- </el-form-item>
- <div class="jiben" v-if="queryParams.caoZuoType == 0">存在问题</div>
- <div class="jiben" v-if="queryParams.caoZuoType == 1">加分事由</div>
- <el-form-item label prop="question">
- <el-input
- v-model="form.question"
- :disabled="disabled"
- 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="open1 = false" size="btn">取 消</el-button>
- </div>
- </el-dialog>
- <el-dialog
- :title="title"
- :visible.sync="open3"
- width="500px"
- append-to-body
- :close-on-click-modal="false"
- >
- <el-form
- ref="form"
- :model="form"
- :rules="rules"
- :inline="true"
- label-width="120px"
- >
- <div class="jiben">基本信息</div>
- <el-form-item
- label="检查单位"
- prop="unitCheck"
- v-if="queryParams.caoZuoType == 0"
- >
- <el-select
- v-model="form.unitCheck"
- @change="unitCheckIdfun"
- clearable
- placeholder="请选择检查单位"
- :disabled="disabled"
- >
- <el-option
- v-for="dict in unitId"
- :key="dict.deptId"
- :label="dict.deptName"
- :value="dict"
- ></el-option>
- </el-select>
- </el-form-item>
- <el-form-item
- :label="queryParams.caoZuoType == 0 ? '受检单位' : '单位'"
- prop="inspectedUnit"
- >
- <el-select
- v-model="form.inspectedUnit"
- @change="inspectedUnitfun"
- clearable
- :placeholder="
- queryParams.caoZuoType == 0 ? '请选择受检单位' : '请选择单位'
- "
- :disabled="disabled"
- >
- <el-option
- v-for="dict in unitId"
- :key="dict.deptId"
- :label="dict.deptName"
- :value="dict"
- ></el-option>
- </el-select>
- </el-form-item>
- <el-form-item label="类型" prop="inspectionType">
- <el-select
- v-model="form.inspectionType"
- :disabled="disabled"
- clearable
- placeholder="请选择类型"
- >
- <el-option
- v-for="dict in inspectionType"
- :key="dict.dictValue"
- :label="dict.dictLabel"
- :value="dict.dictValue"
- ></el-option>
- </el-select>
- </el-form-item>
- <el-form-item label="检查时间" prop="inspectionTime">
- <el-date-picker
- clearable
- size="small"
- v-model="form.inspectionTime"
- type="datetime"
- default-time="00:00:00"
- value-format="yyyy-MM-dd HH:mm:ss"
- placeholder="选择检查时间"
- :disabled="disabled"
- ></el-date-picker>
- </el-form-item>
- <el-form-item label="检查地点" prop="inspectionSite">
- <el-input
- v-model="form.inspectionSite"
- :disabled="disabled"
- placeholder="请输入检查地点"
- />
- </el-form-item>
- <el-form-item label="分值" prop="score" v-if="jiannum == 0">
- <!-- <el-input v-model="form.score" type="number" @blur="scoreblur" :disabled="disabled" placeholder="请输入分值" /> -->
- <el-input-number
- v-model="form.score"
- controls-position="right"
- :min="0"
- ></el-input-number>
- </el-form-item>
- <el-form-item
- label="整改时间"
- prop="rectificationTime"
- v-if="queryParams.caoZuoType == 0"
- >
- <el-date-picker
- clearable
- size="small"
- v-model="form.rectificationTime"
- type="datetime"
- default-time="00:00:00"
- value-format="yyyy-MM-dd HH:mm:ss"
- placeholder="选择整改时间"
- :disabled="disabled"
- ></el-date-picker>
- </el-form-item>
- <el-form-item
- label="受检负责人"
- prop="chargePeople"
- v-if="jiannum != 0"
- >
- <el-select
- v-model="form.chargePeople"
- clearable
- @change="chargePeoplefun"
- placeholder="请选择受检负责人"
- :disabled="disabled"
- >
- <el-option
- v-for="dict in peopleIds"
- :key="dict.id"
- :label="dict.name"
- :value="dict"
- ></el-option>
- </el-select>
- </el-form-item>
- <div class="jiben" v-if="queryParams.caoZuoType == 0">存在问题</div>
- <div class="jiben" v-if="queryParams.caoZuoType == 1">加分事由</div>
- <el-form-item label prop="question">
- <el-input
- v-model="form.question"
- :disabled="disabled"
- type="textarea"
- placeholder="请输入内容"
- />
- </el-form-item>
- <div class="jiben" v-if="jiannum != 0">整改措施</div>
- <el-form-item label prop="correctiveAction" v-if="jiannum != 0">
- <el-input
- v-model="form.correctiveAction"
- :disabled="disabled"
- type="textarea"
- placeholder="请输入内容"
- />
- </el-form-item>
- <div class="jiben" v-if="jiannum != 0">图片举证</div>
- <el-form-item label prop="pictureProof" v-if="jiannum != 0">
- <imageUpload v-model="form.pictureProof" :limit="1" />
- </el-form-item>
- <div class="jiben" v-if="jiannum != 0">文件举证</div>
- <el-form-item label prop="documentProof" v-if="jiannum != 0">
- <!-- <fileUpload
- v-model="form.documentProof"
- :limit="1"
- :class="{ active: isActive }"
- /> -->
- <input
- label="附件名称"
- v-model="form.wenjianname"
- style="width: 600px"
- class="wenjian"
- />
- <a
- :href="url + form.documentProof"
- :download="form.wenjianname"
- title="下载"
- style="color: white; margin-left: 10px"
- class="downloadfile"
- >下载附件</a
- >
- </el-form-item>
- <div class="jiben" v-if="currentState == 1">未通过原因</div>
- <el-form-item label prop="score" v-if="currentState == 1">
- <el-input
- v-model="form.reasonReturn"
- :disabled="disabled || curr"
- type="textarea"
- placeholder="请输入未通过原因"
- />
- </el-form-item>
- </el-form>
- <div slot="footer" class="dialog-footer">
- <el-button
- type="primary"
- @click="submitForm"
- v-if="btnnum != 0 && btnnum != 1 && zg != 3"
- >确 定</el-button
- >
- <el-button
- type="primary"
- @click="submitForm2"
- v-if="btnnum != 0 && btnnum != 1 && zg == 3"
- >确 定</el-button
- >
- <el-button type="primary" @click="tongguofun" v-if="btnnum == 0"
- >通 过</el-button
- >
- <el-button type="primary" @click="zhenggaifun" v-if="btnnum == 0"
- >重新整改</el-button
- >
- <el-button type="primary" @click="weitongguofun" v-if="btnnum == 1"
- >确 定</el-button
- >
- <el-button @click="cancel" size="btn">取 消</el-button>
- </div>
- </el-dialog>
- </div>
- </template>
- <script>
- import {
- listRegularinfo,
- getRegularinfo,
- delRegularinfo,
- addRegularinfo,
- updateRegularinfo,
- exportRegularinfo,
- getDept,
- listPeople,
- editquestion,
- editissuccess,
- editisfalse,
- bumenlist,
- getDeptss,
- listRegularinfos,
- } from "@/api/bdglregular/regularinfo";
- import { getUserProfile } from "@/api/system/user";
- // 查询字典
- import { getDicts } from "@/api/system/dict/data";
- // import {
- // getDept
- // } from "@/api/grassrootsregistration/bdglmeeting";
- // 导入树形结构
- import Treeselect from "@riophae/vue-treeselect";
- import "@riophae/vue-treeselect/dist/vue-treeselect.css";
- export default {
- name: "Regularinfo",
- dicts: ["inspectionType"],
- components: {
- Treeselect,
- },
- data() {
- return {
- // 遮罩层
- loading: true,
- // 导出遮罩层
- exportLoading: false,
- // 选中数组
- ids: [],
- // 非单个禁用
- single: true,
- // 非多个禁用
- multiple: true,
- // 显示搜索条件
- showSearch: true,
- // 总条数
- total: 0,
- // 经常性检查表格数据
- regularinfoList: [],
- // 弹出层标题
- title: "",
- // 是否显示弹出层
- open: false,
- // 查询参数
- queryParams: {
- pageNum: 1,
- pageSize: 10,
- inspectedUnitId: null,
- inspectedUnit: null,
- inspectionType: null,
- unitCheckId: null,
- unitCheck: null,
- inspectionTime: null,
- inspectionSite: null,
- score: null,
- rectificationTime: null,
- currentState: null,
- question: null,
- createUserId: null,
- createUser: null,
- chargePeopleId: null,
- chargePeople: null,
- correctiveAction: null,
- pictureProof: null,
- documentProof: null,
- caoZuoType: 0,
- },
- // 用户
- user: {},
- // danWies:0,
- yongHu: "",
- // 表单参数
- form: {},
- // 表单校验
- rules: {
- unitCheck: [
- { required: true, message: "检查单位不能为空", trigger: "change" },
- ],
- inspectedUnit: [
- { required: true, message: "受检单位不能为空", trigger: "change" },
- ],
- inspectionType: [
- { required: true, message: "类型不能为空", trigger: "change" },
- ],
- inspectionTime: [
- { required: true, message: "检查时间不能为空", trigger: "change" },
- ],
- inspectionSite: [
- { required: true, message: "检查地点不能为空", trigger: "blur" },
- ],
- score: [{ required: true, message: "分值不能为空", trigger: "blur" }],
- rectificationTime: [
- { required: true, message: "整改时间不能为空", trigger: "change" },
- ],
- chargePeople: [
- { required: true, message: "负责人不能为空", trigger: "change" },
- ],
- },
- //单位
- unitId: [],
- // 树形结构列表
- deptOptions: [],
- //检查类型
- inspectionType: [],
- //调动人员对象
- peopleIds: [],
- //区分减分、增改
- jiannum: null,
- btnnum: null,
- disabled: false,
- currentState: null,
- curr: null,
- isdisabled: false,
- open1: false,
- zg: null,
- isActive: null,
- sp: null,
- open3: false,
- url: process.env.VUE_APP_BASE_API,
- statelist: ["未通过", "待处理", "待验收", "已通过", "已逾期"],
- };
- },
- created() {
- // this.danWiess()
- this.queryParams = {
- pageNum: 1,
- pageSize: 10,
- inspectedUnitId: null,
- inspectedUnit: null,
- inspectionType: null,
- unitCheckId: null,
- unitCheck: null,
- inspectionTime: null,
- inspectionSite: null,
- score: null,
- rectificationTime: null,
- currentState: null,
- question: null,
- createUserId: null,
- createUser: null,
- chargePeopleId: null,
- chargePeople: null,
- correctiveAction: null,
- pictureProof: null,
- documentProof: null,
- caoZuoType: 0,
- };
- // this.danWiess()
- //部门数据
- getDept().then((res) => {
- if (res.code == 200) {
- this.unitId = res.data;
- }
- });
- //调动人员对象
- listPeople().then((res) => {
- if (res.code == 200) {
- this.peopleIds = res.rows;
- }
- });
- //检查类型
- this.getDicts("inspectionType").then((response) => {
- this.inspectionType = response.data;
- });
- if (this.$route.query.obj) {
- this.queryParams.inspectedUnitId = this.$route.query.obj.id;
- this.queryParams.currentState = this.$route.query.obj.name;
- listRegularinfos(this.queryParams).then((res) => {
- this.regularinfoList = res.rows;
- this.total = res.total;
- this.loading = false;
- });
- } else {
- this.getList();
- }
- // 获取单位树形
- this.getBuMeng();
- },
- watch: {
- $route(to, from) {
- this.queryParams = {
- pageNum: 1,
- pageSize: 10,
- inspectedUnitId: null,
- inspectedUnit: null,
- inspectionType: null,
- unitCheckId: null,
- unitCheck: null,
- inspectionTime: null,
- inspectionSite: null,
- score: null,
- rectificationTime: null,
- currentState: null,
- question: null,
- createUserId: null,
- createUser: null,
- chargePeopleId: null,
- chargePeople: null,
- correctiveAction: null,
- pictureProof: null,
- documentProof: null,
- caoZuoType: 0,
- };
- if (to.query.obj) {
- this.queryParams.inspectedUnitId = to.query.obj.id;
- this.queryParams.currentState = to.query.obj.name;
- listRegularinfos(this.queryParams).then((res) => {
- this.regularinfoList = res.rows;
- this.total = res.total;
- this.loading = false;
- });
- } else {
- this.getList();
- }
- // listRegularinfos
- },
- },
- mounted() {
- // this.danWiess()
- },
- methods: {
- selectPeos(data) {
- this.queryParams.inspectedUnitId = data.id;
- this.getList();
- },
- // 获取单位列表
- getBuMeng() {
- getDeptss().then((res) => {
- this.deptOptions = res.data;
- });
- },
- danWiess() {
- // 获取当前用户接口
- getUserProfile().then((response) => {
- this.user = response.data;
- // if(response)
- this.danWies = response.data.dept.deptId;
- });
- },
- /** 查询经常性检查列表 */
- getList() {
- this.loading = true;
- listRegularinfo(this.queryParams).then((response) => {
- this.regularinfoList = response.rows;
- this.total = response.total;
- this.loading = false;
- });
- },
- // 取消按钮
- cancel() {
- this.open = false;
- this.open3 = false;
- this.reset();
- this.jiannum = null;
- },
- // 表单重置
- reset() {
- this.form = {
- id: null,
- inspectedUnitId: null,
- inspectedUnit: null,
- inspectionType: null,
- unitCheckId: null,
- unitCheck: null,
- inspectionTime: null,
- inspectionSite: null,
- score: null,
- rectificationTime: null,
- currentState: null,
- question: null,
- createTime: null,
- createUserId: null,
- createUser: null,
- updateTime: null,
- chargePeopleId: null,
- chargePeople: null,
- correctiveAction: null,
- pictureProof: null,
- documentProof: null,
- reasonReturn: null,
- };
- this.resetForm("form");
- },
- /** 搜索按钮操作 */
- 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 = "经常性检查";
- this.jiannum = 0;
- this.btnnum = null;
- this.isdisabled = false;
- 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.inspectionTime =
- y + "-" + M + "-" + d + " " + h + ":" + m + ":" + s;
- },
- // // 修改按钮操作
- // handleAdds(row){
- // this.open = true;
- // this.title = "经常性检查";
- // const id = row.id || this.ids;
- // getRegularinfo(id).then((response)=>{
- // this.form = response.data;
- // this.open = true;
- // })
- // },
- /** 整改按钮操作 */
- handleUpdate(row) {
- this.reset();
- const id = row.id || this.ids;
- getRegularinfo(id).then((response) => {
- this.form = response.data;
- this.disabled = true;
- this.open = true;
- this.title = "修改经常性检查";
- this.jiannum = 1;
- this.btnnum = null;
- this.zg = 3;
- this.isActive = null;
- if (this.form.currentState == "未通过") {
- this.currentState = 1;
- this.curr = true;
- }
- });
- },
- // 修改按钮
- handleAdds(row) {
- this.isdisabled = true;
- this.reset();
- const id = row.id || this.ids;
- getRegularinfo(id).then((response) => {
- this.form = response.data;
- this.open1 = true;
- this.title = "修改经常性检查";
- // this.jiannum = 1;
- // this.btnnum = null;
- // if (this.form.currentState == "未通过") {
- // this.currentState = 1;
- // this.curr = true;
- // }
- });
- },
- /** 审批按钮操作 */
- shenpifun(row) {
- this.reset();
- const id = row.id || this.ids;
- getRegularinfo(id).then((response) => {
- this.disabled = true;
- this.form = response.data;
- this.open3 = true;
- this.title = "修改经常性检查";
- this.jiannum = 1;
- this.btnnum = 0;
- this.isActive = 1;
- this.sp = 0;
- });
- },
- //通过
- tongguofun() {
- editissuccess(this.form).then((res) => {
- if (res.code == 200) {
- this.$modal.msgSuccess("审批成功");
- this.open = false;
- this.open3 = false;
- this.getList();
- }
- });
- },
- //重新整改
- zhenggaifun() {
- this.jiannum = 0;
- this.btnnum = 1;
- this.disabled = false;
- this.currentState = 1;
- this.curr = false;
- this.open3 = false;
- this.open = true;
- // this.reset();
- // editissuccess().then(res => {
- // if (res.code == 200) {
- // this.$modal.msgSuccess("审批成功");
- // }
- // });
- },
- //未通过提交
- weitongguofun() {
- editisfalse(this.form).then((res) => {
- this.$modal.msgSuccess("操作成功");
- this.open = false;
- this.getList();
- });
- },
- submitForm2() {
- if (this.form.documentProof) {
- if (typeof this.form.documentProof != "string") {
- let documentProofs = this.form.documentProof;
- this.form.documentProof = documentProofs[0].url;
- this.form.wenjianname = documentProofs[0].name;
- }
- }
- this.form.caoZuoType = this.queryParams.caoZuoType;
- editquestion(this.form).then((response) => {
- this.$modal.msgSuccess("整改成功");
- this.open = false;
- this.open1 = false;
- // this.open3=false;
- this.getList();
- });
- },
- /** 提交按钮 */
- submitForm() {
- this.$refs["form"].validate((valid) => {
- if (valid) {
- if (this.form.documentProof) {
- if (typeof this.form.documentProof != "string") {
- let documentProofs = this.form.documentProof;
- this.form.documentProof = documentProofs[0].url;
- this.form.wenjianname = documentProofs[0].name;
- }
- }
- if (this.form.id != null) {
- this.form.caoZuoType = this.queryParams.caoZuoType;
- updateRegularinfo(this.form).then((response) => {
- this.$modal.msgSuccess("修改成功");
- this.open = false;
- this.open1 = false;
- // this.open3=false;
- this.getList();
- });
- } else {
- this.form.caoZuoType = this.queryParams.caoZuoType;
- addRegularinfo(this.form).then((response) => {
- this.$modal.msgSuccess("新增成功");
- this.open = false;
- this.open1 = false;
- // this.open3=false;
- this.getList();
- });
- }
- }
- });
- },
- /** 删除按钮操作 */
- handleDelete(row) {
- const ids = row.id || this.ids;
- this.$modal
- .confirm("是否确认删除经常性检查的数据项?")
- .then(function () {
- return delRegularinfo(ids);
- })
- .then(() => {
- this.getList();
- this.$modal.msgSuccess("删除成功");
- })
- .catch(() => {});
- },
- /** 导出按钮操作 */
- handleExport() {
- const queryParams = this.queryParams;
- this.$modal
- .confirm("是否确认导出所有经常性检查数据项?")
- .then(() => {
- this.exportLoading = true;
- return exportRegularinfo(queryParams);
- })
- .then((response) => {
- this.$download.name(response.msg);
- this.exportLoading = false;
- })
- .catch(() => {});
- },
- //检查单位
- unitCheckIdfun(val) {
- this.form.unitCheckId = val.deptId;
- this.form.unitCheck = val.deptName;
- },
- //受检单位
- inspectedUnitfun(val) {
- this.form.inspectedUnitId = val.deptId;
- this.form.inspectedUnit = val.deptName;
- },
- //负责人
- chargePeoplefun(val) {
- this.form.chargePeopleId = val.id;
- this.form.chargePeople = val.name;
- },
- caoZuoTypefun() {
- this.getList();
- },
- scoreblur() {
- if (this.form.score < 0) {
- this.form.score = null;
- }
- },
- },
- };
- </script>
- <style scoped>
- /* 选择状态样式 */
- ::v-deep .states .el-input .el-input__inner{
- background-color: transparent !important;
- }
- /* 树形样式 */
- ::v-deep .vue-treeselect {
- width: 220px;
- }
- ::v-deep .vue-treeselect__control {
- background-color: transparent;
- }
- ::v-deep .vue-treeselect__single-value {
- color: #fff;
- }
- ::v-deep .el-dialog {
- width: 1030px !important;
- background-color: #004d86;
- }
- ::v-deep .el-dialog__header {
- border-bottom: 1px solid #718a9d;
- }
- ::v-deep .el-dialog__title {
- color: #fff;
- font: 18px;
- }
- ::v-deep .el-dialog__headerbtn .el-dialog__close {
- color: #fff;
- }
- .el-form-item ::v-deep .el-input__inner {
- width: 200px;
- height: 36px;
- background: #004d86;
- color: #fff;
- border: 1px solid #fff !important;
- }
- ::v-deep .el-date-editor.el-input {
- width: 200px;
- height: 36px;
- }
- ::v-deep .el-upload--picture-card {
- height: 210px;
- width: 170px;
- line-height: 210px;
- }
- .el-upload--picture-card /deep/ .el-upload--picture-card i {
- font-size: 48px;
- }
- ::v-deep .el-upload__tip {
- display: none;
- }
- ::v-deep .el-textarea__inner {
- width: 980px;
- height: 104px;
- }
- .div-box-title span {
- width: 25px;
- height: 25px;
- display: inline-block;
- background-color: #1c86e1;
- line-height: 25px;
- text-align: center;
- font-size: 16px;
- cursor: pointer;
- margin-left: 865px;
- }
- .el-select-dropdown__item:hover {
- color: #1c86e1;
- }
- .el-select-dropdown__item {
- color: #000;
- }
- .el-tree {
- background-color: #00365f;
- color: #fff;
- }
- ::v-deep .el-tree-node__content:hover {
- color: #1c86e1;
- }
- ::v-deep .el-upload-list--picture-card .el-upload-list__item {
- height: 210px;
- width: 170px;
- }
- ::v-deep .radiogroup {
- height: 36px;
- }
- ::v-deep .radiogroup .el-radio-button {
- height: 36px;
- }
- ::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-dialog__body {
- padding: 30px 0px 30px 25px;
- }
- ::v-deep .el-dialog__footer {
- margin-right: 5px;
- }
- .isSubmit {
- margin-left: 42% !important;
- }
- .el-radio-button {
- width: 122px !important;
- height: 30px !important;
- line-height: 30px !important;
- border: none !important;
- }
- ::v-deep .el-radio-button__inner {
- width: 120px !important;
- height: 30px !important;
- line-height: 8px !important;
- background: #196299;
- border: none;
- color: #fff;
- }
- ::v-deep .el-radio-button:first-child .el-radio-button__inner {
- border-left: none !important;
- }
- ::v-deep .el-radio-button__orig-radio:checked + .el-radio-button__inner {
- color: #ffffff;
- background-color: #006cff !important;
- border-color: #006cff !important;
- -webkit-box-shadow: -1px 0 0 0 #006cff !important;
- box-shadow: -1px 0 0 0 #006cff !important;
- }
- /* 将水平线设为红色: */
- hr {
- border: none;
- height: 1px;
- background-color: rgba(204, 204, 204, 0.5);
- }
- ::v-deep img {
- object-fit: cover;
- }
- ::v-deep .active .upload-file-uploader .el-upload .el-button {
- display: none;
- }
- /* 下载按钮 */
- .downloadfile {
- border: 1px solid white;
- display: inline-block;
- width: 100px;
- height: 33px;
- border-radius: 5px;
- line-height: 33px;
- text-align: center;
- }
- .wenjian {
- width: 600px !important;
- height: 33px;
- }
- </style>
|