earlyWarningRulePage.vue 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739
  1. <template>
  2. <div class="earlyWarningRules" v-loading="loadingImport">
  3. <div class="earlyWarningRulesBtn">
  4. <div class="collectSeach">
  5. <div class="exceed">
  6. <span class="exceedSpan">业务属性:</span>
  7. <el-select v-model="businessStr" placeholder="请选择业务属性" clearable >
  8. <el-option
  9. v-for="item in binSectionoptions"
  10. :key="item.id"
  11. :label="item.sectionName"
  12. :value="item.id">
  13. </el-option>
  14. </el-select>
  15. </div>
  16. <div class="exceed">
  17. <span class="exceedSpan" style="width:100px">预警名称:</span>
  18. <el-input v-model="indicatorStr" placeholder="请输入预警名称"></el-input>
  19. </div>
  20. <seachs @handleSeach="getSeachData" @handleRest="reset"></seachs>
  21. </div>
  22. <div class="PeriodBtn">
  23. <!-- $utils.havePurview('earlyWarningRules:oneLevel:add') -->
  24. <btns
  25. :showImport="false"
  26. :showExport="false"
  27. :showAdd="true"
  28. :showSave="false" :showDelete="false"
  29. :disSave="true" :disDelete="true" :disImport="true" :disExport="true"
  30. @handleAdd="handleAdd"
  31. ></btns>
  32. </div>
  33. <div class="earlyWarningRulesTableData">
  34. <el-table :data="earlyWarningRulesData" style="width: 100%" @row-dblclick="handleEdit">
  35. <el-table-column label="序号" type="index" align="center" />
  36. <el-table-column label="预警名称" prop="ruleName" />
  37. <el-table-column label="业务属性" prop="sectionName" width="200" />
  38. <el-table-column label="指标名称" prop="indicatorName" />
  39. <el-table-column label="预警类型" prop="type">
  40. <template #default="scope">
  41. <span v-if="scope.row.type === 'YDKP'" style="font-size: 12px;">月度考评</span>
  42. <span v-else-if="scope.row.type === 'JDKP'" style="font-size: 12px;">季度考评</span>
  43. <span v-else style="font-size: 12px;">年度考评</span>
  44. </template>
  45. </el-table-column>
  46. <el-table-column label="预警公式" prop="expression" />
  47. <el-table-column label="描述">
  48. <template #default="scope">
  49. <el-tooltip
  50. class="box-item"
  51. effect="customized"
  52. :content="scope.row.ruleDes"
  53. placement="top"
  54. >
  55. <span class="tooltipCC">{{scope.row.ruleDes}}</span>
  56. </el-tooltip>
  57. </template>
  58. </el-table-column>
  59. <el-table-column label="操作" width="100">
  60. <template #default="scope">
  61. <p class="indicitem" @click="handleDelete(scope.row)">删除</p>
  62. </template>
  63. </el-table-column>
  64. </el-table>
  65. <el-pagination
  66. @size-change="handleSizeChange"
  67. @current-change="handleCurrentChange"
  68. :current-page="page.currentPage"
  69. :page-size="page.pagesize"
  70. layout="total, prev, pager, next, jumper"
  71. :total="page.total">
  72. </el-pagination>
  73. </div>
  74. <el-dialog :title="title" v-model="dialogVisible" width="60vw" :close-on-click-modal="false">
  75. <div class="periodFrom">
  76. <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px" class="demo-ruleForm" :validate-on-rule-change="false">
  77. <el-form-item label="预警名称" prop="ruleName">
  78. <el-input v-model="ruleForm.ruleName" placeholder="请输入预警名称"></el-input>
  79. </el-form-item>
  80. <el-row>
  81. <el-col :span="12">
  82. <el-form-item label="业务属性" prop="binSection">
  83. <el-select v-model="ruleForm.binSection" placeholder="请选择业务属性" :disabled="isSave" @change="changeBinstation">
  84. <el-option
  85. v-for="item in binSectionoptions"
  86. :key="item.id"
  87. :label="item.sectionName"
  88. :value="item.id">
  89. </el-option>
  90. </el-select>
  91. </el-form-item>
  92. </el-col>
  93. <el-col :span="12">
  94. <el-form-item label="指标名称" prop="indicatorId">
  95. <!-- multiple collapse-tags -->
  96. <el-select v-model="ruleForm.indicatorId" placeholder="请选择指标名称"
  97. @change="changeIndication"
  98. :disabled="isSave">
  99. <el-option
  100. v-for="item in indicItemoptions"
  101. :key="item.id"
  102. :label="item.indicatorName"
  103. :value="item.id">
  104. </el-option>
  105. </el-select>
  106. </el-form-item>
  107. </el-col>
  108. <el-col :span="12">
  109. <el-form-item label="预警等级" prop="warningLevel">
  110. <el-select v-model="ruleForm.warningLevel" placeholder="请选择预警等级">
  111. <el-option
  112. v-for="item in warningLeveloptions"
  113. :key="item.value"
  114. :label="item.label"
  115. :value="item.value">
  116. </el-option>
  117. </el-select>
  118. </el-form-item>
  119. </el-col>
  120. <el-col :span="12">
  121. <el-form-item label="预警类型" prop="warningType">
  122. <el-select v-model="ruleForm.warningType" placeholder="请选择预警类型">
  123. <el-option
  124. v-for="item in warningTypeoptions"
  125. :key="item.value"
  126. :label="item.label"
  127. :value="item.value">
  128. </el-option>
  129. </el-select>
  130. </el-form-item>
  131. </el-col>
  132. <el-col :span="12">
  133. <el-form-item label="触发时间" prop="warningDate">
  134. <el-row style="width:100%">
  135. <el-col :span="22">
  136. <el-date-picker
  137. v-model="ruleForm.warningDate"
  138. value-format="YYYY-MM-DD"
  139. type="date"
  140. placeholder="请选择触发时间"
  141. />
  142. </el-col>
  143. <el-col :span="2" class="questionIcon">
  144. <el-popover
  145. placement="right-start"
  146. title="提示"
  147. :width="200"
  148. trigger="hover"
  149. >
  150. <div>
  151. <p>预警类型为年度:表示每年的今天执行;</p>
  152. <p>预警类型为季度:1,4,7,10月份表示每个季度的第一个月执行,2,5,8,11月份表示每个季度的第二个月执行,3,6,9,12月份表示每个季度的第三个月执行;</p>
  153. <p>预警类型为月度:表示每个月的今天执.</p>
  154. </div>
  155. <template #reference>
  156. <el-icon :size="20" color="#3B7AD1"><QuestionFilled /></el-icon>
  157. </template>
  158. </el-popover>
  159. </el-col>
  160. </el-row>
  161. </el-form-item>
  162. </el-col>
  163. <el-col :span="12">
  164. <el-form-item label="是否启用">
  165. <el-switch v-model="ruleForm.isEnable" />
  166. </el-form-item>
  167. </el-col>
  168. </el-row>
  169. <el-row>
  170. <el-col :span="12" class="earlyWarningRight">
  171. <el-form-item label="规则配置">
  172. <el-tabs type="border-card">
  173. <el-tab-pane label="指标项">
  174. <el-table
  175. size="mini"
  176. :show-header="false"
  177. :highlight-current-row="true"
  178. :stripe="false"
  179. :border="false"
  180. height="240"
  181. @row-dblclick="rowDbclick"
  182. :data="multipleSelectionArr"
  183. >
  184. <el-table-column prop="optionName" />
  185. <el-table-column prop="optionCode" />
  186. </el-table>
  187. </el-tab-pane>
  188. <el-tab-pane label="函数">
  189. <el-table
  190. size="mini"
  191. fit
  192. :show-header="false"
  193. :highlight-current-row="true"
  194. :stripe="false"
  195. :border="false"
  196. height="240"
  197. @row-dblclick="tabFuncRowClickHandle"
  198. :data="funcMsg"
  199. >
  200. <el-table-column min-width="40%">
  201. <template #default="scope">
  202. <el-popover trigger="hover" placement="bottom">
  203. <p>描述:{{ scope.row.formulaName }}</p>
  204. <!-- <p>参数:{{ scope.row.param }}</p> -->
  205. <template #reference>
  206. <span size="medium" transition="fade-in-linear">{{
  207. scope.row.formulaName
  208. }}</span>
  209. </template>
  210. </el-popover>
  211. </template>
  212. </el-table-column>
  213. <el-table-column min-width="60%">
  214. <template #default="scope">
  215. <el-popover trigger="hover" placement="bottom">
  216. <p>描述:{{ scope.row.description }}</p>
  217. <!-- <p>参数:{{ scope.row.param }}</p> -->
  218. <template #reference>
  219. <span size="medium" transition="fade-in-linear">{{
  220. scope.row.description
  221. }}</span>
  222. </template>
  223. </el-popover>
  224. </template>
  225. </el-table-column>
  226. </el-table>
  227. </el-tab-pane>
  228. <el-tab-pane label="运算符">
  229. <el-button-group>
  230. <el-button
  231. v-for="item in operator"
  232. :key="item"
  233. plain
  234. @click="scorRuleSplit(item)"
  235. style="width: 60px; margin: 7px 12px; height: 40px; border: 1px solid #409EFF;"
  236. >
  237. {{ item }}
  238. </el-button>
  239. </el-button-group>
  240. </el-tab-pane>
  241. </el-tabs>
  242. </el-form-item>
  243. </el-col>
  244. <el-col :span="12">
  245. <el-form-item label="规则公式" prop="representation">
  246. <div style="display:flex">
  247. <span style="font-size: 14px;color: #F65177;font-weight:blod">
  248. *可双击左侧规则配置辅助写公式,符合Excel规则
  249. </span>
  250. </div>
  251. <el-input
  252. type="textarea"
  253. rows="16"
  254. v-model="ruleForm.representation"
  255. id="representation"
  256. />
  257. </el-form-item>
  258. </el-col>
  259. </el-row>
  260. <el-form-item label="描述" prop="desc">
  261. <el-input v-model="ruleForm.desc" :rows="5" type="textarea" placeholder="请输入描述"></el-input>
  262. </el-form-item>
  263. </el-form>
  264. </div>
  265. <template #footer>
  266. <span class="dialog-footer">
  267. <el-button @click="dialogVisible = false">取 消</el-button>
  268. <el-button type="primary" @click="saveevaluscoringruleMsg('ruleForm')">确 定</el-button>
  269. </span>
  270. </template>
  271. </el-dialog>
  272. </div>
  273. </div>
  274. </template>
  275. <script>
  276. import btns from '../elbuttonS.vue'
  277. import seachs from '../seachGroup.vue'
  278. import {apiGetevaluationWarningruleList, apiGetindicatorListAll, apiGetfunctionList,apiGetIndidicList,
  279. apiGetbinsectionList, apiGetevaluationWarningSave, apiPostevaluationwarningruleDelete} from '../../api/api'
  280. export default {
  281. components: { btns,seachs },
  282. data() {
  283. return {
  284. dialogVisible: false,
  285. title: '',
  286. indicItemoptions: [],
  287. childerindicItemoptions: [],
  288. warningLeveloptions: [],
  289. warningTypeoptions: [],
  290. binSectionoptions: [],
  291. indicatorStr: '',
  292. businessStr: '',
  293. rowdataMsg: {},
  294. isSave: false,
  295. funcMsg: [],
  296. operator: [],
  297. multipleSelectionArr: [],
  298. ruleForm: {
  299. ruleName: '',
  300. binSection: '',
  301. indicatorId: '',
  302. warningLevel: '',
  303. warningType: '',
  304. warningDate: '',
  305. isEnable: true,
  306. representation: '',
  307. desc: ''
  308. },
  309. rules: {
  310. ruleName: [
  311. { required: true, message: '请输入预警名称', trigger: 'blur' }
  312. ],
  313. binSection: [
  314. { required: true, message: '请选择业务属性', trigger: 'change' }
  315. ],
  316. indicatorId: [
  317. { required: true, message: '请选择指标名称', trigger: 'change' }
  318. ],
  319. warningLevel: [
  320. { required: true, message: '请选择预警等级', trigger: 'change' }
  321. ],
  322. warningType: [
  323. { required: true, message: '请选择预警类型', trigger: 'change' }
  324. ],
  325. warningDate: [
  326. { required: true, message: '请选择触发时间', trigger: 'change' }
  327. ],
  328. representation: [
  329. { required: true, message: '请输入公式', trigger: 'blur' }
  330. ],
  331. desc: [
  332. { required: true, message: '请输入描述', trigger: 'blur' }
  333. ]
  334. },
  335. loadingImport: false,
  336. earlyWarningRulesData:[],
  337. page:{
  338. pagesize: 12,
  339. currentPage: 1,
  340. total: 0
  341. }
  342. }
  343. },
  344. created() {
  345. this.warningLeveloptions = [
  346. {
  347. label: '高',
  348. value: 3
  349. },
  350. {
  351. label: '中',
  352. value: 2
  353. },
  354. {
  355. label: '低',
  356. value: 1
  357. }
  358. ]
  359. this.warningTypeoptions = [
  360. {
  361. label: '年度考评',
  362. value: 'NDKP'
  363. },
  364. {
  365. label: '季度考评',
  366. value: 'JDKP'
  367. },
  368. {
  369. label: '月度考评',
  370. value: 'YDKP'
  371. }
  372. ]
  373. this.getEvalscoringData()
  374. this.getDataDictionary()
  375. this.getEvaluationData()
  376. this.getFunData()
  377. this.operator = ["+", "-", "*", "/", "(", ")", ">", ">=", "<", "<=", "==", "!=",
  378. "&&", "||", "!", "%", "true", "false", ".", ]
  379. },
  380. methods:{
  381. // 查询预警规则数据
  382. getEvalscoringData() {
  383. let that = this
  384. let params = {
  385. pageNum: that.page.currentPage,
  386. pageSize: that.page.pagesize,
  387. ruleName: that.indicatorStr,
  388. binSection: that.businessStr
  389. }
  390. apiGetevaluationWarningruleList(params).then(datas =>{
  391. if (datas && datas.data) {
  392. that.earlyWarningRulesData = datas.data.records
  393. that.page.total = datas.data.total
  394. }
  395. })
  396. },
  397. // 函数查询
  398. getFunData() {
  399. let that = this
  400. apiGetfunctionList().then(datas =>{
  401. if (datas && datas.data) {
  402. that.funcMsg = datas.data
  403. }
  404. })
  405. },
  406. // 查询模块
  407. getDataDictionary() {
  408. let that = this
  409. apiGetbinsectionList().then(datas =>{
  410. if (datas && datas.data) {
  411. that.binSectionoptions = datas.data
  412. }
  413. })
  414. },
  415. changeIndication(val) {
  416. let that = this
  417. that.multipleSelectionArr = []
  418. let params = {
  419. indicatorId: val
  420. }
  421. apiGetIndidicList(params).then(datas =>{
  422. if (datas) {
  423. that.multipleSelectionArr = datas
  424. }
  425. })
  426. },
  427. tabFuncRowClickHandle(row) {
  428. let elInput = null
  429. elInput = document.getElementById("representation");
  430. let startPos = elInput.selectionStart; //第0个字符到选中的字符
  431. let endPos = elInput.selectionEnd; //选中字符到末尾字符
  432. if (startPos === undefined || endPos === undefined) return;
  433. let txt = elInput.value;
  434. let func = row.formulaExpresion
  435. // 将插值添加到选中光标位置
  436. let result = txt.substring(0, startPos) + func + txt.substring(endPos);
  437. elInput.value = result;
  438. elInput.focus();
  439. },
  440. rowDbclick(row) {
  441. this.scorRuleSplit(row.optionCode);
  442. },
  443. scorRuleSplit(val) {
  444. let elInput = null
  445. elInput = document.getElementById("representation");
  446. let startPos = elInput.selectionStart;
  447. let endPos = elInput.selectionEnd;
  448. if (startPos === undefined || endPos === undefined) return;
  449. let txt = elInput.value;
  450. let txtSplit = '['+val+']';
  451. let result = txt.substring(0, startPos) + txtSplit + txt.substring(endPos);
  452. elInput.value = result;
  453. this.ruleForm.representation = result
  454. elInput.focus();
  455. elInput.selectionStart = startPos + txtSplit.length;
  456. elInput.selectionEnd = startPos + txtSplit.length;
  457. },
  458. changeBinstation(val) {
  459. this.ruleForm.indicatorId = ''
  460. this.indicItemoptions = []
  461. this.getEvaluationData(val)
  462. },
  463. // 查询指标数据
  464. getEvaluationData(val) {
  465. let that = this
  466. let params = {
  467. binSection: val
  468. }
  469. apiGetindicatorListAll(params).then(datas =>{
  470. if (datas && datas.data) {
  471. that.indicItemoptions = datas.data
  472. }
  473. })
  474. },
  475. handleAdd() {
  476. this.dialogVisible = true
  477. this.isSave = false
  478. this.title = '新增考评预警规则'
  479. this.$nextTick(() =>{
  480. this.ruleForm = {
  481. ruleName: '',
  482. binSection: '',
  483. indicatorId: '',
  484. warningLevel: '',
  485. warningType: '',
  486. warningDate: '',
  487. isEnable: isEnable,
  488. representation: '',
  489. desc: ''
  490. }
  491. })
  492. },
  493. handleEdit(row) {
  494. this.dialogVisible = true
  495. this.isSave = true
  496. this.title = '修改考评预警规则'
  497. this.rowdataMsg = row
  498. this.ruleForm = {
  499. ruleName: row.ruleName,
  500. binSection: row.binSection,
  501. indicatorId: row.indicatorId,
  502. warningLevel: row.grade,
  503. warningType: row.type,
  504. warningDate: row.cronTime,
  505. isEnable: row.enable,
  506. representation: row.expression,
  507. desc: row.ruleDes
  508. }
  509. this.getEvaluationData(row.binSection)
  510. },
  511. saveevaluscoringruleMsg(formName) {
  512. let that = this
  513. that.$refs[formName].validate((valid) => {
  514. if (valid) {
  515. that.saveAndEditIndicatorData()
  516. }
  517. });
  518. },
  519. //新增/修改指标数据
  520. saveAndEditIndicatorData() {
  521. let that = this
  522. let params = {
  523. ruleName: that.ruleForm.ruleName,
  524. binSection: that.ruleForm.binSection,
  525. indicatorId: that.ruleForm.indicatorId,
  526. grade: that.ruleForm.warningLevel,
  527. type: that.ruleForm.warningType,
  528. cronTime: that.ruleForm.warningDate+' 00:00:00',
  529. enable: that.ruleForm.isEnable,
  530. expression: that.ruleForm.representation,
  531. ruleDes: that.ruleForm.desc
  532. }
  533. if (that.isSave) {
  534. let evalradio = that.rowdataMsg
  535. params.id = evalradio.id
  536. }
  537. apiGetevaluationWarningSave(params).then(datas =>{
  538. if (!that.isSave) {
  539. that.$message({
  540. message: '考评预警规则新增成功',
  541. type: 'success'
  542. });
  543. } else {
  544. that.$message({
  545. message: '考评预警规则修改成功',
  546. type: 'success'
  547. });
  548. }
  549. that.dialogVisible = false
  550. that.getEvalscoringData()
  551. })
  552. },
  553. //删除指标数据
  554. handleDelete(row) {
  555. this.$confirm('此操作将永久删除该数据, 是否继续?', '提示', {
  556. confirmButtonText: '确定',
  557. cancelButtonText: '取消',
  558. type: 'warning'
  559. }).then(() => {
  560. let that = this
  561. let params = {
  562. id: row.id
  563. }
  564. apiPostevaluationwarningruleDelete(params).then(datas =>{
  565. if (datas) {
  566. that.$message({
  567. type: 'success',
  568. message: '删除成功!'
  569. });
  570. that.getEvalscoringData()
  571. }
  572. })
  573. })
  574. },
  575. showCounter() {
  576. this.$refs.counter.init(this.ruleForm.optionName)
  577. },
  578. counterStr(val) {
  579. this.ruleForm.optionName = val
  580. },
  581. getSeachData() {
  582. this.page.currentPage = 1
  583. this.getEvalscoringData()
  584. },
  585. reset() {
  586. this.page.currentPage = 1
  587. this.indicatorStr = ''
  588. this.businessStr = ''
  589. this.getEvalscoringData()
  590. },
  591. handleSizeChange(val){
  592. this.page.pagesize = val
  593. this.getEvalscoringData()
  594. },
  595. handleCurrentChange(val){
  596. this.page.currentPage =val
  597. this.getEvalscoringData()
  598. }
  599. }
  600. }
  601. </script>
  602. <style lang="less">
  603. .earlyWarningRules{
  604. .earlyWarningRulesBtn{
  605. .collectSeach{
  606. display: flex;
  607. padding: 24px 20px;
  608. border-bottom: 1px solid#D6DBEA;
  609. .exceed{
  610. display: flex;
  611. .exceedSpan{
  612. width: 75px;
  613. height: 12px;
  614. font-size: 14px;
  615. font-family: Microsoft YaHei;
  616. font-weight: 400;
  617. color: #8991B0;
  618. line-height: 12px;
  619. margin-top: 14px;
  620. }
  621. .el-input{
  622. margin-right:10px;
  623. .el-input__inner{
  624. height:40px;
  625. }
  626. .el-input__suffix{
  627. .el-select__caret{
  628. line-height:30px;
  629. }
  630. }
  631. }
  632. }
  633. .el-select{
  634. margin-right:10px;
  635. .el-input__inner{
  636. height:30px;
  637. }
  638. .el-input__suffix{
  639. .el-select__caret{
  640. line-height:30px;
  641. }
  642. }
  643. }
  644. }
  645. span{
  646. font-size:14px;
  647. }
  648. .PeriodBtn{
  649. display: flex;
  650. justify-content: end;
  651. padding: 20px 0;
  652. }
  653. .el-button{
  654. height: 30px;
  655. // width:100px;
  656. padding: 0 30px ;
  657. // padding-top: 8px;
  658. span{
  659. margin:0;
  660. }
  661. }
  662. }
  663. .earlyWarningRulesTableData{
  664. .el-table{
  665. .el-table__body-wrapper{
  666. height: 60vh !important;
  667. }
  668. .el-input__inner{
  669. height: 30px !important;
  670. }
  671. .el-radio__label{
  672. display: none;
  673. }
  674. .tooltipCC{
  675. width: 400px;
  676. display: inline-block;
  677. overflow: hidden;
  678. text-overflow: ellipsis;
  679. white-space: nowrap;
  680. }
  681. .indicitem{
  682. color: #409EFF;
  683. font-size: 12px;
  684. margin-right: 20px;
  685. cursor:pointer;
  686. &:hover{
  687. text-decoration: underline;
  688. }
  689. }
  690. }
  691. .el-pagination{
  692. margin-top: 20px;
  693. text-align: end;
  694. position: relative;
  695. }
  696. }
  697. .el-overlay{
  698. .el-dialog{
  699. margin-top: 5vh;
  700. .el-dialog__body{
  701. padding: 30px 60px 30px 20px;
  702. .periodFrom{
  703. .el-select, .el-input{
  704. width: 100%;
  705. }
  706. .el-input{
  707. height: 30px;
  708. }
  709. .questionIcon{
  710. .el-icon{
  711. position: relative;
  712. top: 3px;
  713. left: 10px;
  714. }
  715. }
  716. .earlyWarningRight {
  717. width: 100%;
  718. .el-tabs{
  719. width: 100%;
  720. height: 100%;
  721. .el-tabs__content{
  722. .el-table{
  723. .el-table__body-wrapper{
  724. .el-checkbox__inner{
  725. border-radius: 10px;
  726. }
  727. }
  728. }
  729. }
  730. }
  731. }
  732. }
  733. }
  734. }
  735. }
  736. }
  737. </style>