b6cf658c5d1fb23ecfb839b13fe27beb05654c0e.svn-base 63 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480
  1. <template>
  2. <div style="height:100%;width:100%" id="wenTiContainer_sk">
  3. <el-container>
  4. <el-aside
  5. width="318px"
  6. style="border-right:2px solid #d5d5ff;float:left;text-align: center;"
  7. :style="{'max-height':testHeight+'px','height':testHeight+'px'}">
  8. <span style="display: flex;justify-content: center;align-items: center;border-bottom: 1px solid #ebeef5;">
  9. <el-button size="mini" :class="tabType==1 ? 'skactive' : 'sknormal'" @click="tabChange('1')">当前数据</el-button>
  10. <!-- <el-button size="mini" :class="tabType==2 ? 'skactive' : 'sknormal'" @click="tabChange('2')">历史数据</el-button>-->
  11. <el-button size="mini" :class="tabType==0 ? 'skactive' : 'sknormal'" @click="tabChange('0')">全部数据</el-button>
  12. </span>
  13. <div
  14. class="tree"
  15. style="
  16. height: calc(100% - 50px);
  17. width: 100%;
  18. overflow: auto;
  19. display: inline-flex;"
  20. >
  21. <el-tree
  22. :highlight-current="true"
  23. style="height:100%;"
  24. :data="treeData"
  25. node-key="id"
  26. show-checkbox
  27. @check-change="handleCheckChange"
  28. ref="jigou_tree"
  29. >
  30. <div class="custom-tree-node" slot-scope="{ node, data }">
  31. <span style="float:left;">{{ data.pnm}}</span>
  32. <div
  33. style="float:right;display: flex;justify-content: flex-end;align-items: center;width:50%;"
  34. >
  35. <span style="color:blue;width:80px;"></span>
  36. </div>
  37. </div>
  38. </el-tree>
  39. </div>
  40. </el-aside>
  41. <el-main style="margin:0px;padding:0px;" class="shuiku" v-loading="exportLoading">
  42. <div class="pages" :style="{'max-height':testHeight+'px'}">
  43. <div class="search">
  44. <el-row type="flex" justify="space-between">
  45. <el-col :span="24">
  46. <el-form
  47. :inline="true"
  48. size="mini"
  49. class="demo-form-inline"
  50. style="padding-left: 10px;"
  51. >
  52. <el-form-item label="行政区划:">
  53. <el-input
  54. resize="none"
  55. type="input"
  56. :rows="3"
  57. placeholder="请输入行政区划名称"
  58. v-model.trim="findParams.adFullName"
  59. clearable
  60. ></el-input>
  61. </el-form-item>
  62. <el-form-item label="工程名称:">
  63. <el-input
  64. resize="none"
  65. type="input"
  66. :rows="3"
  67. placeholder="请输入工程名称"
  68. v-model.trim="findParams.nm"
  69. clearable
  70. ></el-input>
  71. </el-form-item>
  72. </el-form>
  73. </el-col>
  74. </el-row>
  75. <el-row type="flex" justify="space-bv-fortween" v-show="showExpandSearchPanel">
  76. <el-col :span="24">
  77. <el-form
  78. :inline="true"
  79. size="mini"
  80. class="demo-form-inline"
  81. style="padding-left: 10px;"
  82. >
  83. <el-form-item label="问题类别:">
  84. <el-select v-model="findParams.inspPblmName" clearable placeholder="请选择">
  85. <el-option
  86. v-for="item in problemList"
  87. :key="item.guid"
  88. :label="item.inspPblmsName"
  89. :value="item.inspPblmsName"
  90. ></el-option>
  91. </el-select>
  92. </el-form-item>
  93. <el-form-item label="是否典型:">
  94. <el-select v-model="findParams.ifCasePblm" clearable placeholder="请选择">
  95. <el-option
  96. v-for="item in supervision"
  97. :key="item.value"
  98. :label="item.label"
  99. :value="item.value"
  100. ></el-option>
  101. </el-select>
  102. </el-form-item>
  103. <el-form-item label="问题筛选:">
  104. <el-select v-model="pblscr" clearable placeholder="请选择">
  105. <el-option
  106. v-for="item in pblscrList"
  107. :key="item.value"
  108. :label="item.lable"
  109. :value="item.value"
  110. ></el-option>
  111. </el-select>
  112. </el-form-item>
  113. <el-form-item label="上报人员:">
  114. <el-input
  115. resize="none"
  116. type="input"
  117. :rows="3"
  118. placeholder="请输入名称"
  119. v-model.trim="findParams.persName"
  120. ></el-input>
  121. </el-form-item>
  122. <el-form-item label="严重程度:">
  123. <el-select v-model="findParams.inspPblmCate" clearable placeholder="请选择">
  124. <el-option
  125. v-for="item in supervisionState"
  126. :key="item.value"
  127. :label="item.label"
  128. :value="item.value"
  129. ></el-option>
  130. </el-select>
  131. </el-form-item>
  132. <el-form-item label="发现时间:">
  133. <el-date-picker
  134. v-model="value6"
  135. type="daterange"
  136. value-format="yyyy-MM-dd"
  137. style="width:240px"
  138. range-separator="至"
  139. start-placeholder="开始日期"
  140. end-placeholder="结束日期"
  141. ></el-date-picker>
  142. </el-form-item>
  143. <el-form-item label="所在组:">
  144. <el-input
  145. resize="none"
  146. type="input"
  147. :rows="3"
  148. placeholder="请输入所在组名称"
  149. v-model.trim="pblscrGroup"
  150. clearable
  151. ></el-input>
  152. </el-form-item>
  153. <el-form-item label="是否包含多媒体文件:">
  154. <el-select v-model="findParams.hasVedio" clearable placeholder="请选择">
  155. <el-option
  156. v-for="item in hasVedio1"
  157. :key="item.value"
  158. :label="item.label"
  159. :value="item.value"
  160. ></el-option>
  161. </el-select>
  162. </el-form-item>
  163. <el-form-item label="问题督查状态:">
  164. <el-select v-model="findParams.state" clearable placeholder="请选择">
  165. <el-option
  166. v-for="item in stateList"
  167. :key="item.value"
  168. :label="item.label"
  169. :value="item.value"
  170. ></el-option>
  171. </el-select>
  172. </el-form-item>
  173. </el-form>
  174. </el-col>
  175. </el-row>
  176. <el-row type="flex" justify="space-between" style="border-top:1px solid #0014ff2e;">
  177. <el-col style="padding-bottom:10px;" :offset="11" :span="2">
  178. <el-button
  179. style="float:right;margin-right:10px;border: 1px solid #0014ff2e;
  180. border-radius: 0px 0px 5px 5px;border-top: 0px;"
  181. type="info"
  182. plain
  183. size="mini"
  184. @click="showExpandSearchPanel = !showExpandSearchPanel"
  185. >
  186. {{showExpandSearchPanel?'收起':'更多条件'}}
  187. <i
  188. class="el-icon-arrow-down el-icon--right"
  189. v-show="!showExpandSearchPanel"
  190. />
  191. <i class="el-icon-arrow-up el-icon--right" v-show="showExpandSearchPanel"/>
  192. </el-button>
  193. </el-col>
  194. <el-col :offset="2" :span="9">
  195. <el-button
  196. style="color:rgba(255,255,255,1);float:right;margin-right:10px;margin-top:5px;"
  197. type="primary"
  198. icon="el-icon-search"
  199. @click="search"
  200. >&nbsp;查&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;询&nbsp;
  201. </el-button>
  202. <!-- <el-button
  203. style="color:rgba(255,255,255,1);float:right;margin-right:10px;margin-top:5px;"
  204. type="success"
  205. icon="el-icon-download"
  206. @click="exportWord"
  207. >导出WORD</el-button>
  208. -->
  209. <el-button
  210. style="color:rgba(255,255,255,1);float:right;margin-right:10px;margin-top:5px;"
  211. type="success"
  212. icon="el-icon-download"
  213. @click="exportExcel"
  214. >导出EXCEL
  215. </el-button>
  216. <el-button
  217. style="color:rgba(255,255,255,1);float:right;margin-right:10px;margin-top:5px;"
  218. type="success"
  219. @click="submitBtn"
  220. >问题提交
  221. </el-button>
  222. <el-button
  223. v-if="isGd"
  224. style="color:rgba(255,255,255,1);float:right;margin-right:10px;margin-top:5px;"
  225. type="success"
  226. icon="el-icon-download"
  227. @click="toForm"
  228. >导出一表一单
  229. </el-button>
  230. <!-- <el-button
  231. style="color:rgba(255,255,255,1);float:right;margin-right:10px;margin-top:5px;"
  232. type="success"
  233. icon="el-icon-download"
  234. @click="showPlDialog"
  235. :disabled="uploadDisabled"
  236. >上传模板</el-button>
  237. <el-button
  238. style="color:rgba(255,255,255,1);float:right;margin-right:10px;margin-top:5px;"
  239. type="success"
  240. icon="el-icon-download"
  241. @click="downloadTemplate"
  242. >导出模板</el-button>
  243. <shuiZhaWentiPl v-if="showTianBaoPl"
  244. :showTianBaoPl="showTianBaoPl"
  245. @closePlDialog="closePlDialog">
  246. </shuiZhaWentiPl>-->
  247. </el-col>
  248. </el-row>
  249. </div>
  250. <!-- 查询展示 -->
  251. <div class="search" style="margin-top:10px;">
  252. <el-table
  253. v-loading="loading"
  254. border
  255. ref="multipleTable"
  256. :height="tableHeight"
  257. :data="searchResult"
  258. @row-click="openDetails"
  259. tooltip-effect="dark"
  260. style="width: 100%"
  261. @selection-change="handleSelectionChange"
  262. >
  263. <el-table-column
  264. type="selection"
  265. min-width="55">
  266. </el-table-column>
  267. <!-- <el-table-column align="center" type="index" label="序号" min-width="25">-->
  268. <!-- <template slot-scope="scope">{{ (currentPage - 1) * pageSize + (scope.$index + 1) }}-->
  269. <!-- </template>-->
  270. <!-- </el-table-column>-->
  271. <el-table-column
  272. header-align="center"
  273. align="center"
  274. min-width="60"
  275. prop="province"
  276. label="省" v-if="isXj"
  277. show-overflow-tooltip
  278. ></el-table-column>
  279. <el-table-column
  280. header-align="center"
  281. align="center"
  282. min-width="60"
  283. prop="city"
  284. :label="ownAdName"
  285. show-overflow-tooltip
  286. ></el-table-column>
  287. <el-table-column
  288. header-align="center"
  289. align="center"
  290. min-width="60"
  291. prop="country"
  292. label="县"
  293. v-if="isXj"
  294. show-overflow-tooltip
  295. ></el-table-column>
  296. <el-table-column
  297. header-align="center"
  298. align="center"
  299. min-width="80"
  300. prop="nm"
  301. label="工程名称"
  302. show-overflow-tooltip
  303. ></el-table-column>
  304. <el-table-column
  305. header-align="center"
  306. align="center"
  307. min-width="80"
  308. prop="inspPblmName"
  309. label="问题类别"
  310. show-overflow-tooltip
  311. ></el-table-column>
  312. <el-table-column
  313. header-align="center"
  314. align="center"
  315. min-width="80"
  316. prop="checkPoint"
  317. label="检查项目"
  318. show-overflow-tooltip
  319. ></el-table-column>
  320. <el-table-column
  321. header-align="center"
  322. align="center"
  323. min-width="60"
  324. prop="ifCasePblm"
  325. label="典型"
  326. >
  327. <template slot-scope="scope">
  328. <p v-if="scope.row.ifCasePblm == 1">是</p>
  329. <p v-if="scope.row.ifCasePblm == 0">否</p>
  330. </template>
  331. </el-table-column>
  332. <el-table-column
  333. header-align="center"
  334. align="center"
  335. min-width="80"
  336. prop="inspPblmCate"
  337. label="严重程度"
  338. >
  339. <template slot-scope="scope">
  340. <p v-if="scope.row.inspPblmCate == 0">
  341. <span class="inspPblmCate" style="background: #27C19F;">一般</span>
  342. </p>
  343. <p v-if="scope.row.inspPblmCate == 1">
  344. <span class="inspPblmCate" style="background: #E6A23C;">较重</span>
  345. </p>
  346. <p v-if="scope.row.inspPblmCate == 2">
  347. <span class="inspPblmCate" style="background: #F56C6C;">严重</span>
  348. </p>
  349. <p v-if="scope.row.inspPblmCate == 3">
  350. <span class="inspPblmCate" style="background: #795548;">特别严重</span>
  351. </p>
  352. </template>
  353. </el-table-column>
  354. <el-table-column
  355. header-align="center"
  356. align="center"
  357. min-width="100"
  358. prop="state"
  359. label="问题督查状态">
  360. <template slot-scope="scope">
  361. <p v-if="Number(scope.row.state) === 0"><span class="inspPblmCate"
  362. style="background: #F56C6C;">未提交</span>
  363. </p>
  364. <p v-if="scope.row.state == 2"><span class="inspPblmCate"
  365. style="background: #409EFF;">已提交</span>
  366. </p>
  367. <p v-if="scope.row.state == 3"><span class="inspPblmCate"
  368. style="background: #67C23A;">已发布</span>
  369. </p>
  370. </template>
  371. </el-table-column>
  372. <!-- <el-table-column-->
  373. <!-- header-align="center"-->
  374. <!-- align="center"-->
  375. <!-- min-width="70"-->
  376. <!-- prop="attach"-->
  377. <!-- label="附件"-->
  378. <!-- show-overflow-tooltip-->
  379. <!-- >-->
  380. <!-- <template slot-scope="scope">-->
  381. <!-- <span>{{'附件' + scope.row.attach}}</span>-->
  382. <!-- </template>-->
  383. <!-- </el-table-column>-->
  384. <!-- <el-table-column-->
  385. <!-- header-align="center"-->
  386. <!-- align="center"-->
  387. <!-- min-width="80"-->
  388. <!-- prop="snNum"-->
  389. <!-- label="问题序号"-->
  390. <!-- show-overflow-tooltip-->
  391. <!-- ></el-table-column>-->
  392. <el-table-column
  393. header-align="center"
  394. align="center"
  395. min-width="70"
  396. prop="persName"
  397. label="上报人"
  398. ></el-table-column>
  399. <el-table-column
  400. header-align="center"
  401. align="center"
  402. min-width="80"
  403. show-overflow-tooltip
  404. prop="orgNm"
  405. label="所在组"
  406. ></el-table-column>
  407. <el-table-column
  408. prop="collTime"
  409. label="上报时间"
  410. sortable
  411. align="center"
  412. min-width="100"
  413. show-overflow-tooltip>
  414. <template slot-scope="scope">
  415. {{scope.row.collTime ? formatDateTime(scope.row.collTime) : ''}}
  416. </template>
  417. </el-table-column>
  418. <el-table-column
  419. header-align="center"
  420. align="center"
  421. min-width="80"
  422. prop="hasVedio"
  423. label="是否包含多媒体文件"
  424. >
  425. <template slot-scope="scope">
  426. <p v-if="scope.row.hasVedio == 1">是</p>
  427. <p v-if="scope.row.hasVedio == 0">否</p>
  428. </template>
  429. </el-table-column>
  430. <el-table-column
  431. align="center"
  432. prop
  433. min-width="100"
  434. label="操作"
  435. show-overflow-tooltip
  436. fixed="right"
  437. >
  438. <template slot-scope="scope">
  439. <el-button icon="el-icon-view" title="查看详情" type="text"
  440. @click.native.stop="showDetails(scope.row.pblmId)"></el-button>
  441. <el-button
  442. v-if="ownPriv('manage')"
  443. icon="el-icon-edit"
  444. title="修改问题"
  445. type="text"
  446. @click.native.stop="changeSup(scope.row.pblmId)"
  447. ></el-button>
  448. <el-button
  449. v-if="ownPriv('manage')"
  450. icon="el-icon-delete"
  451. type="text"
  452. title="删除问题" @click.native.stop="removeSuperviseOne(scope.row.pblmId)"
  453. ></el-button>
  454. </template>
  455. </el-table-column>
  456. </el-table>
  457. <!-- 分页 -->
  458. <div class="paginationWarpper">
  459. <el-pagination
  460. class="paginationCenter"
  461. background
  462. @size-change="handleSizeChange"
  463. @current-change="search"
  464. :current-page.sync="currentPage"
  465. :page-sizes="[10, 20, 50, 100]"
  466. :page-size="pageSize"
  467. layout="total, sizes, prev, pager, next, jumper"
  468. :total="total"
  469. ></el-pagination>
  470. </div>
  471. </div>
  472. <!-- 详情弹框 -->
  473. <el-dialog
  474. class="outerDialog custom_dialog"
  475. title="问题详情"
  476. @close="detailClose"
  477. v-if="supervisionDetailsVisible"
  478. :visible.sync="supervisionDetailsVisible"
  479. >
  480. <supervision-details ref="xianqing" :problemId="currentProblemId"></supervision-details>
  481. <span slot="footer">
  482. <el-button style="margin-top:5px;" @click="supervisionDetailsVisible = false">返回</el-button>
  483. </span>
  484. </el-dialog>
  485. <!-- 删除弹窗 -->
  486. <el-dialog class="deleteDialog" title="问题删除描述" :visible.sync="problemDeleteVisible">
  487. <Problem-delete
  488. ref="deleteMiaoShu"
  489. :deleteProblemId="deleteId"
  490. @deleteSuccess="deleteSuccess"
  491. ></Problem-delete>
  492. <span slot="footer">
  493. <el-button @click="problemDeleteVisible = false">返回</el-button>
  494. </span>
  495. </el-dialog>
  496. <!-- 修改弹框 -->
  497. <problem-edit :editId="editId" @closeEditDialog="closeEditDialog"
  498. v-if="changeSupervisionVisible"></problem-edit>
  499. </div>
  500. </el-main>
  501. </el-container>
  502. </div>
  503. </template>
  504. <script>
  505. import {pblmSubmit, submitUpload} from "../../api/duChaAPI.js";
  506. import {formatDateTime2} from '@util/gw_date.js'
  507. import {exportModel} from "@util/gw_exportModel";
  508. import request from "../../utils/gw_ajax_request.js";
  509. import {hostUrl} from "@util/global_variable.js";
  510. import elaudio from "../../widgets/elAudioShort.vue";
  511. import inuptWithDuChaTreeNode from "../../widgets/inuptWithDuChaTreeNode.vue";
  512. import inputWidthDuChaNodes from "../../widgets/inputWithDuChaNodes.vue";
  513. import inputWidthDuChaShuiKu from "../../widgets/inputWith_sk.vue";
  514. import problemDialog from "./problemDialog.vue";
  515. import {formatDateTime2New} from "../../utils/gw_date";
  516. export default {
  517. props: ["codeId"],
  518. components: {
  519. // 问题详情
  520. supervisionDetails: resolve => {
  521. require(["./supervisionDetails_shuibao.vue"], resolve);
  522. },
  523. // 问题删除
  524. ProblemDelete: resolve => {
  525. require(["./problemDelete.vue"], resolve);
  526. },
  527. // 问题修改
  528. problemEdit: resolve => {
  529. require(["./shuiBaoProblemModify.vue"], resolve);
  530. },
  531. elaudio: elaudio,
  532. inuptWithDuChaTreeNode: inuptWithDuChaTreeNode,
  533. inputWidthDuChaNodes: inputWidthDuChaNodes,
  534. inputWidthDuChaShuiKu: inputWidthDuChaShuiKu,
  535. problemDialog: problemDialog
  536. },
  537. data() {
  538. return {
  539. tabType: "0",//0全部数据,1当前数据,2历史数据
  540. showExpandSearchPanel: false,
  541. tableHeight: window.innerHeight - 290,
  542. dataAll: {},
  543. globoId: "",
  544. currentDate: new Date(),
  545. deleteId: "",
  546. treeNodeArray: [],
  547. treeNodeSelectVisible: false,
  548. adNodeArray: [],
  549. adNodeSelectVisible: false,
  550. areaSelectVisible: false,
  551. rsvrNodeArray: [],
  552. rsvrNodeSelectVisible: false,
  553. skSelectVisible: false,
  554. currentProblemId: "",
  555. updateIdXiuGai: "",
  556. rules1: {
  557. inspPblmName: [
  558. {
  559. required: true,
  560. message: "请输入问题名称",
  561. trigger: "blur"
  562. },
  563. {
  564. min: 1,
  565. max: 999,
  566. message: "不超过100字符",
  567. trigger: "blur"
  568. }
  569. ],
  570. inspPblmDesc: [
  571. {
  572. required: true,
  573. message: "请输入问题描述",
  574. trigger: "blur"
  575. }
  576. ],
  577. recPers: [
  578. {
  579. required: true,
  580. message: "请输入记录人",
  581. trigger: "blur"
  582. },
  583. {
  584. min: 1,
  585. max: 999,
  586. message: "不超过100字符",
  587. trigger: "blur"
  588. }
  589. ],
  590. objType: [
  591. {
  592. required: true,
  593. message: "请选择督查对象类型",
  594. trigger: "change"
  595. }
  596. ],
  597. objId: [
  598. {
  599. required: true,
  600. message: "请选择督查对象类型",
  601. trigger: "change"
  602. }
  603. ],
  604. inspPblmType: [
  605. {
  606. required: true,
  607. message: "请选择督查问题类型",
  608. trigger: "change"
  609. }
  610. ],
  611. dataStat: [
  612. {
  613. required: true,
  614. message: "请选择数据状态",
  615. trigger: "change"
  616. }
  617. ],
  618. collTime: [
  619. {
  620. required: true,
  621. message: "请选择采集时间",
  622. trigger: "change"
  623. }
  624. ],
  625. ifCasePblm: [
  626. {
  627. required: true,
  628. message: "请选择是否典型",
  629. trigger: "change"
  630. }
  631. ],
  632. pblmStat: [
  633. {
  634. required: true,
  635. message: "请选择问题类型",
  636. trigger: "change"
  637. }
  638. ],
  639. inspPblmCate: [
  640. {
  641. required: true,
  642. message: "请选择问题程度",
  643. trigger: "change"
  644. },
  645. {
  646. trigger: "change"
  647. }
  648. ]
  649. },
  650. dxdcAsideHeight: window.innerHeight - 220,
  651. maxHeight: window.innerHeight - 300,
  652. testHeight: window.innerHeight - 80,
  653. supervisionStateList: [
  654. {
  655. value: "0",
  656. label: "暂存"
  657. },
  658. {
  659. value: "1",
  660. label: "上报"
  661. }
  662. ],
  663. supervisionState: [
  664. {
  665. value: "0",
  666. label: "一般"
  667. },
  668. {
  669. value: "1",
  670. label: "较重"
  671. },
  672. {
  673. value: "2",
  674. label: "严重"
  675. },
  676. {
  677. value: "3",
  678. label: "特别严重"
  679. }
  680. ],
  681. supervision: [
  682. {
  683. value: "1",
  684. label: "是"
  685. },
  686. {
  687. value: "0",
  688. label: "否"
  689. }
  690. ],
  691. hasVedio1: [
  692. {
  693. value: "1",
  694. label: "是"
  695. },
  696. {
  697. value: "0",
  698. label: "否"
  699. }
  700. ],
  701. findUseOrgArray: [],
  702. areaInputValue: {},
  703. memberInputValue: {},
  704. multipleSelection: [], // 已选
  705. selectionType: {
  706. remove: 0,
  707. befor: 0,
  708. now: 0,
  709. after: 0
  710. },
  711. // 根据客户点击的督查类型查找督查对象ID
  712. // 新增
  713. listobjId: [],
  714. userId: localStorage.getItem("userid"),
  715. treeData: [],
  716. // 修改督查
  717. changeSupervisionVisible: false,
  718. leibie: [],
  719. // 查询
  720. value6: [],
  721. findParams: {
  722. hasVedio: "",
  723. adCode: "",
  724. pblmStat: "",
  725. inspPblmCate: "",
  726. ifCasePblm: "",
  727. nm: "",
  728. adFullName: "",
  729. startTime: "",
  730. endTime: "",
  731. objType: 17,
  732. inspPblmName: "",
  733. persId: localStorage.getItem("userid"),
  734. state: ''
  735. },
  736. stateList: [
  737. {
  738. label: '未提交',
  739. value: '0'
  740. },
  741. {
  742. label: '已提交',
  743. value: '2'
  744. },
  745. {
  746. label: '已发布',
  747. value: '3'
  748. }
  749. ],
  750. currentPage: 1, // 页码
  751. pageSize: 20, // 条数
  752. loading: false,
  753. total: 0, // 总数
  754. searchResult: [], // 结果
  755. crId: "", // 当前督查id
  756. // 督查详情
  757. userid: localStorage.getItem("userid"),
  758. supervisionDetailsVisible: false,
  759. problemDeleteVisible: false,
  760. supervisionDetails: {},
  761. pblmId: "",
  762. gwComFiles: [],
  763. pblscr: "",
  764. pblscrList: [
  765. {
  766. lable: "我的问题",
  767. value: localStorage.getItem("userid")
  768. }
  769. ],
  770. pblscrGroup: "",
  771. problemList: [],
  772. currentCheckPointList: [],
  773. currentProblemDescList: [],
  774. t1: {},
  775. t2: {},
  776. t3: {},
  777. xiangqingmiaoshu: "",
  778. wenTiLeiBie: "",
  779. jianChaXiangMu: "",
  780. header: {
  781. persId: localStorage.getItem("userid")
  782. },
  783. exportLoading: false,
  784. datas: {},
  785. showTianBaoPl: false,
  786. orgType: '017',
  787. // orgType:'006',
  788. };
  789. },
  790. computed: {
  791. hostUrl() {
  792. return hostUrl;
  793. },
  794. formatDateTime() {
  795. return formatDateTime2New
  796. },
  797. isGd(){
  798. if(localStorage.getItem('currentRlcode').substring(0,2)=="44"){
  799. return true;
  800. }else{
  801. return false;
  802. }
  803. }
  804. },
  805. created() {
  806. if (this.userId) {
  807. console.log("已经登录");
  808. this.search();
  809. } else {
  810. this.$router.push("/login");
  811. }
  812. this.getLeftTreeData();
  813. this.getproblemSmallType();
  814. },
  815. activated() {
  816. },
  817. methods: {
  818. openDetails(row) {
  819. this.currentProblemId = row.pblmId;
  820. this.supervisionDetailsVisible = true;
  821. },
  822. tabChange(tabType) {
  823. this.tabType = tabType;
  824. this.getLeftTreeData();
  825. this.search();
  826. },
  827. handleCheckChange(data, checked, indeterminate) {
  828. let cNarray = this.$refs["jigou_tree"].getCheckedNodes();
  829. console.log(cNarray);
  830. this.treeNodeArray = cNarray;
  831. },
  832. getLeftTreeData() {
  833. var _self = this;
  834. request
  835. .get("/dc/organization/base/getAllNode", {
  836. params: {
  837. userId: this.userId,
  838. orgType: this.orgType,
  839. tabType: this.tabType
  840. }
  841. })
  842. .then(res => {
  843. let data = res.data;
  844. data.forEach(ele => {
  845. if (ele.pid == null || ele.pid == "") {
  846. ele.pid = "017";
  847. }
  848. });
  849. data = _self.getTrees(data);
  850. _self.treeData = data;
  851. });
  852. },
  853. //格式化树形数据
  854. getTrees(list) {
  855. //@wxcwater重写方法 适应多个树
  856. let highLevelLength = 99; //预设最大节点id长度,目前最大应该为12,所以设置为99保证正常
  857. let _self = this;
  858. list.forEach((item, index) => {
  859. item["pidLength"] = item.pid && item.pid != "" ? item.pid.length : 0;
  860. if (highLevelLength > item.pidLength) {
  861. highLevelLength = item.pidLength;
  862. }
  863. });
  864. console.log(highLevelLength);
  865. let heightLevelNode = [];
  866. list.forEach((item, index) => {
  867. if (highLevelLength >= item.pidLength) {
  868. heightLevelNode.push(item);
  869. }
  870. });
  871. list.forEach((item, index) => {
  872. heightLevelNode.forEach(pItem => {
  873. _self.addTreeNode(pItem, item);
  874. });
  875. });
  876. console.log(heightLevelNode);
  877. return heightLevelNode;
  878. },
  879. addTreeNode: function (treeNode, leafNode) {
  880. let _self = this;
  881. if (!treeNode.hasOwnProperty("children")) {
  882. treeNode["children"] = [];
  883. }
  884. if (leafNode.pid == treeNode.id) {
  885. treeNode.children.push(leafNode);
  886. return;
  887. }
  888. treeNode.children.forEach(item => {
  889. _self.addTreeNode(item, leafNode);
  890. });
  891. },
  892. // 查询参数逻辑
  893. insertTreeNode: function (params) {
  894. this.treeNodeArray.push({
  895. name: params.name,
  896. code: params.code
  897. });
  898. this.treeNodeSelectVisible = false;
  899. this.areaSelectVisible = false;
  900. this.skSelectVisible = false;
  901. },
  902. deleteTreeNode: function (tag) {
  903. let deleteIndex;
  904. this.treeNodeArray.forEach((item, index) => {
  905. if (item.code == tag.code) {
  906. deleteIndex = index;
  907. }
  908. });
  909. this.treeNodeArray.splice(deleteIndex, 1);
  910. },
  911. selectDuChaAreaNode(params) {
  912. this.adNodeArray.push(params);
  913. this.areaSelectVisible = false;
  914. this.skSelectVisible = false;
  915. },
  916. deleteAreaNode(tag) {
  917. let deleteIndex;
  918. this.adNodeArray.forEach((item, index) => {
  919. if (item.adCode == tag.adCode) {
  920. deleteIndex = index;
  921. return;
  922. }
  923. });
  924. this.adNodeArray.splice(deleteIndex, 1);
  925. },
  926. selectSkNode(params) {
  927. this.rsvrNodeArray.push(params);
  928. this.skSelectVisible = false;
  929. },
  930. deleteSkNode(tag) {
  931. let deleteIndex;
  932. this.rsvrNodeArray.forEach((item, index) => {
  933. if (item.rsCode == tag.rsCode) {
  934. deleteIndex = index;
  935. return;
  936. }
  937. });
  938. this.rsvrNodeArray.splice(deleteIndex, 1);
  939. },
  940. // end
  941. // 操作成功反馈
  942. successInfo() {
  943. this.$message({
  944. type: "success",
  945. message: "操作成功!"
  946. });
  947. },
  948. // 操作失败反馈
  949. failInfo(val) {
  950. this.$message.error(val);
  951. },
  952. // 已选择项
  953. handleSelectionChange(val) {
  954. this.multipleSelection = val;
  955. },
  956. // 文件上传
  957. submitUpload() {
  958. this.$refs.upload.submit();
  959. },
  960. // 查询
  961. search() {
  962. this.loading = true;
  963. let _self = this;
  964. request
  965. .get("/dc/organization/base/getAllNode", {
  966. params: {
  967. userId: this.userId,
  968. orgType: this.orgType,
  969. tabType: this.tabType
  970. }
  971. })
  972. .then(res => {
  973. let orgAllNode = res.data;
  974. _self.loading = true;
  975. let data = _self.findParams;
  976. data.startTime = _self.value6 && _self.value6.length > 0 ? _self.value6[0] : "";
  977. data.endTime = _self.value6 && _self.value6.length > 0 ? _self.value6[1] : "";
  978. data.pageNum = _self.currentPage;
  979. data.recPers = _self.pblscr;
  980. data.orgNm = _self.pblscrGroup;
  981. data.pageSize = _self.pageSize;
  982. _self.findUseOrgArray = [];
  983. _self.treeNodeArray.forEach(item => {
  984. if (item.id.length < 12) {
  985. orgAllNode.forEach(orgItem => {
  986. if (orgItem.id.startsWith(item.code)) {
  987. _self.findUseOrgArray.push(orgItem.id);
  988. }
  989. });
  990. }
  991. _self.findUseOrgArray.push(item.id);
  992. });
  993. if (_self.findUseOrgArray.length > 0) {
  994. data["orgIds"] = _self.findUseOrgArray.join(",");
  995. } else {
  996. data["orgIds"] = "";
  997. }
  998. this.dataAll = data;
  999. data.tabType = this.tabType;
  1000. request.post(`/dc/insp/pblm/page/prdPblm`, data).then(res => {
  1001. _self.loading = false;
  1002. _self.multipleSelection = [];
  1003. if (res.success) {
  1004. res.data.list.forEach(item => {
  1005. if (item.inTm || item.upTm || item.rectTm || item.fdTm) {
  1006. item.inTm =
  1007. typeof item.inTm == "string"
  1008. ? item.inTm
  1009. : dateFormat(item.inTm, "yyyy-MM-dd");
  1010. item.upTm =
  1011. typeof item.upTm == "string"
  1012. ? item.upTm
  1013. : dateFormat(item.upTm, "yyyy-MM-dd");
  1014. item.rectTm =
  1015. typeof item.rectTm == "string"
  1016. ? item.rectTm
  1017. : dateFormat(item.rectTm, "yyyy-MM-dd");
  1018. item.fdTm =
  1019. typeof item.fdTm == "string"
  1020. ? item.fdTm
  1021. : dateFormat(item.fdTm, "yyyy-MM-dd");
  1022. }
  1023. });
  1024. _self.searchResult = res.data.list;
  1025. _self.total = res.data.total;
  1026. } else {
  1027. _self.failInfo();
  1028. }
  1029. });
  1030. });
  1031. },
  1032. async submitBtn() {
  1033. if (this.multipleSelection.length === 0) {
  1034. this.$message.warning('请至少选择一条问题');
  1035. return;
  1036. }
  1037. let newArray = this.multipleSelection.map((item) => {
  1038. return {
  1039. "objId": item.objId,
  1040. "objType": item.objType,
  1041. "state": "3"
  1042. }
  1043. });
  1044. const {success, message} = await pblmSubmit(newArray);
  1045. if (success) {
  1046. this.$message.success('问题发布成功');
  1047. this.search();
  1048. } else {
  1049. this.$message.warning(message);
  1050. }
  1051. },
  1052. toForm(){
  1053. var idArr = [];
  1054. if(this.multipleSelection && this.multipleSelection.length==0){
  1055. this.$message.warning("请选择数据");
  1056. return false;
  1057. }else{
  1058. this.multipleSelection.forEach((item)=>{
  1059. idArr.push(item.pblmId);
  1060. })
  1061. }
  1062. var ids = idArr.join(",");
  1063. let host = hostUrl;
  1064. let nginx = '/pageofficePath/';
  1065. let href = 'pageoffice://|' + host + nginx + '/pageoffice/pblm/list/word?ids='+ids+'&filename=pblm|width=1100px;height=800px;ismodal=false;||91A4EE66EC1921F376873E85D6C74FFA|A890649B44577C32CE1930797E1299F9';
  1066. let a = document.createElement('a'); // 创建a标签
  1067. a.setAttribute('href', href);// href链接
  1068. a.click();// 自执行点击事件
  1069. },
  1070. async exportExcel() {
  1071. let _self = this;
  1072. await request
  1073. .get("/dc/organization/base/getAllNode", {
  1074. params: {
  1075. userId: this.userId,
  1076. orgType: this.orgType
  1077. }
  1078. })
  1079. .then(res => {
  1080. let orgAllNode = res.data;
  1081. let data = _self.findParams;
  1082. data.pageNum = _self.currentPage;
  1083. data.pageSize = _self.pageSize;
  1084. data.villType = "0";
  1085. this.datas = JSON.stringify(data);
  1086. _self.treeNodeArray.forEach(item => {
  1087. console.log(item);
  1088. if (item.id.length < 12) {
  1089. orgAllNode.forEach(orgItem => {
  1090. if (orgItem.id.startsWith(item.id)) {
  1091. _self.findUseOrgArray.push(orgItem.id);
  1092. }
  1093. });
  1094. } else {
  1095. _self.findUseOrgArray.push(item.id);
  1096. }
  1097. });
  1098. });
  1099. let url = "/pdcApi/dc/insp/pblm/page/prdPblm/export";
  1100. let type = "post";
  1101. let exportName = "水保问题列表.xls";
  1102. let result = await exportModel(type, url, exportName, this.datas);
  1103. _self.exportLoading = result;
  1104. },
  1105. async exportWord() {
  1106. let _self = this;
  1107. _self.exportLoading = true;
  1108. await request
  1109. .get("/dc/organization/base/getAllNode", {
  1110. params: {
  1111. userId: this.userId,
  1112. orgType: this.orgType
  1113. }
  1114. })
  1115. .then(res => {
  1116. let orgAllNode = res.data;
  1117. let data = _self.findParams;
  1118. data.pageNum = _self.currentPage;
  1119. data.pageSize = _self.pageSize;
  1120. data.villType = "0";
  1121. _self.treeNodeArray.forEach(item => {
  1122. if (item.id.length < 12) {
  1123. orgAllNode.forEach(orgItem => {
  1124. if (orgItem.id.startsWith(item.id)) {
  1125. _self.findUseOrgArray.push(orgItem.id);
  1126. }
  1127. });
  1128. } else {
  1129. _self.findUseOrgArray.push(item.id);
  1130. }
  1131. });
  1132. });
  1133. await request
  1134. .post("/prdPblm/doc", _self.dataAll)
  1135. .then(res => {
  1136. if (res.success) {
  1137. _self.exportLoading = false;
  1138. console.log(this.response);
  1139. var a = document.createElement("a");
  1140. a.href = `${this.hostUrl}${res.data.downloadPath}`;
  1141. //设置文件名称
  1142. a.download = "水保问题详情.doc";
  1143. a.click();
  1144. } else {
  1145. _self.$mesage.error(res.message);
  1146. }
  1147. })
  1148. .catch(res => {
  1149. _self.$mesage.error(res.message);
  1150. });
  1151. },
  1152. downFile(blob, fileName) {
  1153. // 非IE下载
  1154. if ("download" in document.createElement("a")) {
  1155. let link = document.createElement("a");
  1156. link.href = window.URL.createObjectURL(blob); // 创建下载的链接
  1157. link.download = fileName; // 下载后文件名
  1158. link.style.display = "none";
  1159. document.body.appendChild(link);
  1160. link.click(); // 点击下载
  1161. window.URL.revokeObjectURL(link.href); // 释放掉blob对象
  1162. document.body.removeChild(link); // 下载完成移除元素
  1163. } else {
  1164. // IE10+下载
  1165. window.navigator.msSaveBlob(blob, fileName);
  1166. }
  1167. },
  1168. handleSizeChange(pageSize) {
  1169. this.pageSize = pageSize;
  1170. this.search();
  1171. },
  1172. // 详情弹框
  1173. showDetails(id) {
  1174. this.currentProblemId = id;
  1175. this.supervisionDetailsVisible = true;
  1176. },
  1177. // 删除弹窗
  1178. removeSuperviseOne(id) {
  1179. this.deleteId = id;
  1180. this.problemDeleteVisible = true;
  1181. },
  1182. deleteSuccess() {
  1183. this.problemDeleteVisible = false;
  1184. this.search();
  1185. this.$emit("problemCount");
  1186. },
  1187. // 修改弹窗显示
  1188. changeSup(pblmId) {
  1189. this.editId = pblmId
  1190. this.changeSupervisionVisible = true
  1191. },
  1192. // 修改弹窗关闭
  1193. closeEditDialog(val) {
  1194. this.changeSupervisionVisible = false
  1195. if (val == 'success') this.search()
  1196. },
  1197. showPlDialog() {
  1198. this.showTianBaoPl = true;
  1199. },
  1200. closePlDialog(val) {
  1201. this.showTianBaoPl = false;
  1202. this.search();
  1203. },
  1204. getproblemSmallType() {
  1205. let result = [];
  1206. request.get('/dc/insp/pblms/getPblmType', {
  1207. params: {
  1208. type: 17
  1209. }
  1210. }).then(res => {
  1211. if (res.success) {
  1212. res.data.forEach((ele) => {
  1213. let haveinspPblmsName = false;
  1214. result.forEach((inspPblm) => {
  1215. if (inspPblm['inspPblmsName'] == ele.inspPblmsName) {
  1216. let havechekPoint = false;
  1217. inspPblm['checkPoints'].forEach((chekPoint) => {
  1218. if (chekPoint['checkPointName'] == ele.checkPoint) {
  1219. //
  1220. chekPoint['pblmDescs'].push({
  1221. pblmDesc: ele.pblmDesc,
  1222. sn: ele.sn,
  1223. guid: ele.guid,
  1224. });
  1225. havechekPoint = true;
  1226. }
  1227. });
  1228. if (!havechekPoint) {
  1229. let newCheckPoint = {};
  1230. newCheckPoint['checkPointName'] = ele.checkPoint;
  1231. newCheckPoint['sort2'] = ele.sort2;
  1232. newCheckPoint['pblmDescs'] = [{
  1233. pblmDesc: ele.pblmDesc,
  1234. sn: ele.sn,
  1235. guid: ele.guid,
  1236. }]
  1237. inspPblm['checkPoints'].push(newCheckPoint);
  1238. }
  1239. haveinspPblmsName = true;
  1240. }
  1241. });
  1242. if (!haveinspPblmsName) {
  1243. let haveinspPblmsObj = {};
  1244. haveinspPblmsObj['inspPblmsName'] = ele.inspPblmsName;
  1245. haveinspPblmsObj['sort1'] = ele.sort1;
  1246. haveinspPblmsObj['checkPoints'] = [{
  1247. checkPointName: ele.checkPoint,
  1248. sort2: ele.sort2,
  1249. pblmDescs: [{
  1250. pblmDesc: ele.pblmDesc,
  1251. sn: ele.sn,
  1252. guid: ele.guid,
  1253. }]
  1254. }];
  1255. result.push(haveinspPblmsObj);
  1256. }
  1257. })
  1258. this.problemList = result;
  1259. }
  1260. })
  1261. },
  1262. detailClose() {
  1263. this.currentProblemId = ''
  1264. }
  1265. },
  1266. watch: {
  1267. codeId: function () {
  1268. this.search();
  1269. },
  1270. showExpandSearchPanel: function (val) {
  1271. if (val) {
  1272. this.tableHeight = window.innerHeight - 389;
  1273. } else {
  1274. this.tableHeight = window.innerHeight - 290;
  1275. }
  1276. }
  1277. }
  1278. };
  1279. </script>
  1280. <style rel="stylesheet/scss" lang="scss" scoped>
  1281. @import "./base.css";
  1282. @import url("/src/assets/iconfont/iconfont.css");
  1283. @import url("/src/assets/css/mixin.scss");
  1284. .upload-container {
  1285. width: 100%;
  1286. position: relative;
  1287. .image-uploader {
  1288. width: 35%;
  1289. float: left;
  1290. }
  1291. .image-preview {
  1292. width: 200px;
  1293. height: 200px;
  1294. position: relative;
  1295. border: 1px dashed #d9d9d9;
  1296. float: left;
  1297. // margin-left: 50px;
  1298. .image-preview-wrapper {
  1299. position: relative;
  1300. width: 100%;
  1301. height: 100%;
  1302. img {
  1303. width: 100%;
  1304. height: 100%;
  1305. }
  1306. }
  1307. .image-preview-action {
  1308. position: absolute;
  1309. width: 100%;
  1310. height: 100%;
  1311. left: 0;
  1312. top: 0;
  1313. cursor: default;
  1314. text-align: center;
  1315. color: #fff;
  1316. opacity: 0;
  1317. font-size: 20px;
  1318. background-color: rgba(0, 0, 0, 0.5);
  1319. transition: opacity 0.3s;
  1320. cursor: pointer;
  1321. text-align: center;
  1322. line-height: 200px;
  1323. .el-icon-delete {
  1324. font-size: 36px;
  1325. }
  1326. }
  1327. &:hover {
  1328. .image-preview-action {
  1329. opacity: 1;
  1330. }
  1331. }
  1332. }
  1333. .image-app-preview {
  1334. margin-bottom: 10px;
  1335. width: 40vh;
  1336. height: 180px;
  1337. position: relative;
  1338. border: 1px dashed #d9d9d9;
  1339. float: left;
  1340. // margin-left: 50px;
  1341. .app-fake-conver {
  1342. height: 44px;
  1343. position: absolute;
  1344. width: 100%; // background: rgba(0, 0, 0, .1);
  1345. text-align: center;
  1346. line-height: 64px;
  1347. color: #fff;
  1348. }
  1349. }
  1350. }
  1351. .bottom {
  1352. margin-top: 13px;
  1353. line-height: 12px;
  1354. }
  1355. .button {
  1356. padding: 0;
  1357. float: right;
  1358. }
  1359. .image {
  1360. width: 100%;
  1361. display: block;
  1362. }
  1363. .clearfix:before,
  1364. .clearfix:after {
  1365. display: table;
  1366. content: "";
  1367. }
  1368. .clearfix:after {
  1369. clear: both;
  1370. }
  1371. #wenTiContainer_sk .el-tree-node {
  1372. /* overflow: auto; */
  1373. }
  1374. #wenTiContainer_sk .el-tree-node > .el-tree-node__children {
  1375. overflow: auto;
  1376. }
  1377. .shuiku .el-date-editor.el-input {
  1378. min-width: 180px !important;
  1379. }
  1380. .shuiku .header {
  1381. padding: 0px 10px;
  1382. }
  1383. .shuiku .el-row {
  1384. margin-bottom: 5px;
  1385. }
  1386. .shuiku .content {
  1387. margin: 10px;
  1388. }
  1389. /* .search .el-table>>>.el-tooltip {
  1390. white-space: pre-wrap !important;
  1391. line-height: 30px;
  1392. font-size: 0;
  1393. } */
  1394. .shuiku .search > > > .el-table .el-button:nth-child(odd) {
  1395. margin-left: 0 !important;
  1396. }
  1397. .custom_dialog .el-dialog {
  1398. width: 60% !important;
  1399. }
  1400. .custom_dialog .scroll300 {
  1401. max-height: 60vh !important;
  1402. }
  1403. .shuiku .el-tag + .el-tag {
  1404. margin-left: 10px;
  1405. }
  1406. .shuiku .button-new-tag {
  1407. margin-left: 10px;
  1408. height: 28px;
  1409. line-height: 28px;
  1410. padding-top: 0;
  1411. padding-bottom: 0;
  1412. }
  1413. .shuiku .input-new-tag {
  1414. width: 90px;
  1415. margin-left: 10px;
  1416. vertical-align: bottom;
  1417. }
  1418. .inspPblmCate {
  1419. padding: 2px 10px;
  1420. border-radius: 10px;
  1421. color: #ffffff;
  1422. -webkit-border-radius: 10px;
  1423. -moz-border-radius: 10px;
  1424. border-radius: 10px;
  1425. }
  1426. .skactive {
  1427. background: #3f8eff !important;
  1428. color: white !important;
  1429. margin-top: 5px;
  1430. margin-bottom: 5px;
  1431. }
  1432. .sknormal {
  1433. background: white;
  1434. margin-top: 5px;
  1435. margin-bottom: 5px;
  1436. }
  1437. </style>