addDialog.vue 48 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341
  1. <template>
  2. <el-dialog class="inspectionPlan-dialog-box"
  3. :title="addDialogTitle" :visible.sync="addDialogType" v-if="addDialogType"
  4. @close="addDialogOff" width="1303px" append-to-body>
  5. <div class="inspectionPlan-dialog-add-box" v-show="addDialogBoxType==1">
  6. <div class="left-max-box" v-if="!lookInfoType">
  7. <div class="left-max-title-box">
  8. <img src="@/assets/ZDimages/safetyCheck/icon_jhbt.png">
  9. <p>计划标题快选</p>
  10. </div>
  11. <div class="left-max-list-box scrollbar-box">
  12. <p v-for="(item,index) in quickSelectionList" :key="index" @click="checkTitle(item)">{{item}}</p>
  13. </div>
  14. </div>
  15. <div class="right-max-box scrollbar-box">
  16. <el-form :model="dialogForm" :rules="rules" label-width="140px">
  17. <el-form-item label="计划标题:" prop="data1">
  18. <el-input :disabled="lookInfoType" v-model="dialogForm.data1" placeholder="请输入计划标题" maxLength="30" style="width:450px;"/>
  19. </el-form-item>
  20. <el-form-item label="检查类型:" prop="data2">
  21. <el-input v-model="dialogForm.data2" placeholder="请选择检查类型" maxLength="10" disabled style="width:450px;"/>
  22. </el-form-item>
  23. <el-form-item label="检查周期:" prop="data3">
  24. <div class="date-range-box">
  25. <div class="date-range-left-box">
  26. <el-date-picker
  27. :disabled="lookInfoType"
  28. :clearable="false"
  29. v-model="dialogForm.data3"
  30. style="width:450px;"
  31. value-format="yyyy-MM-dd"
  32. type="daterange"
  33. range-separator="-"
  34. :picker-options="pickerOptions"
  35. start-placeholder="开始日期"
  36. end-placeholder="结束日期"
  37. ></el-date-picker>
  38. </div>
  39. <div class="date-range-right-box" v-if="!lookInfoType">
  40. <p @click="checkTime(1)">本月</p>
  41. <p @click="checkTime(2)">本季度</p>
  42. <p @click="checkTime(3)">全年</p>
  43. </div>
  44. </div>
  45. </el-form-item>
  46. <el-form-item label="检查范围:" prop="data4">
  47. <div class="dialog-range-max-box">
  48. <div class="dialog-range-select-box">
  49. <el-select :disabled="lookInfoType" v-model="dialogForm.data4" placeholder="请选择检查范围" style="width:450px;">
  50. <el-option
  51. v-for="item in dialogRangeOptions"
  52. :key="item.value"
  53. :label="item.label"
  54. :value="item.value">
  55. </el-option>
  56. </el-select>
  57. </div>
  58. <div class="dialog-range-text-box">
  59. <p class="inquire-button-one button-p" v-if="dialogForm.data4 == 2" @click="dialogClickType(2)">{{lookInfoType?'查看':'选择学院'}}</p>
  60. <p class="inquire-button-one button-p" v-if="dialogForm.data4 == 3" @click="dialogClickType(3)">{{lookInfoType?'查看':'选择实验室'}}</p>
  61. <p class="text-p" v-if="dialogForm.data4 == 2">已选择{{deptCheckNum}}个学院,共{{subCheckNum}}间实验室</p>
  62. <p class="text-p" v-if="dialogForm.data4 != 2">已选择{{subCheckNum}}间实验室</p>
  63. </div>
  64. </div>
  65. </el-form-item>
  66. <el-form-item label="检查要求:" prop="data5">
  67. <el-input
  68. :disabled="lookInfoType"
  69. type="textarea"
  70. :autosize="{ minRows: 4, maxRows: 4}"
  71. :placeholder="lookInfoType?'未输入':'请输入检查检查要点:'"
  72. v-model="dialogForm.data5"
  73. maxlength="100"
  74. resize="none"
  75. show-word-limit
  76. style="width:450px;">
  77. </el-input>
  78. </el-form-item>
  79. <el-form-item label="检查材料:" prop="data6">
  80. <div class="dialog-material-max-box">
  81. <div class="dialog-material-button-box" v-if="!lookInfoType">
  82. <el-upload
  83. class="avatar-uploader"
  84. :action="uploadImgUrl"
  85. :show-file-list="false"
  86. :on-success="(res)=>handleAvatarSuccess(res)"
  87. :headers="headers"
  88. :before-upload="beforeAvatarUpload">
  89. <p class="add-button-one-120">+ 选择文件</p>
  90. </el-upload>
  91. <p class="dialog-material-text">支持doc/docx/xls/xlsx/pdf格式文件</p>
  92. </div>
  93. <div class="dialog-material-list-box">
  94. <div v-for="(item,index) in dialogUpList" :key="index">
  95. <img src="@/assets/ZDimages/safetyCheck/icon_dr_wj.png">
  96. <p>{{item.name}}</p>
  97. <p @click="dialogClickType(5,item)">查看</p>
  98. <p @click="delUpData(index)" v-if="!lookInfoType">删除</p>
  99. <p v-if="lookInfoType">下载</p>
  100. </div>
  101. <p class="dialog-material-list-null" v-if="!dialogUpList[0]">暂无数据</p>
  102. </div>
  103. </div>
  104. </el-form-item>
  105. <el-form-item label="巡察组:" prop="data6">
  106. <div class="dialog-table-max-box">
  107. <div v-if="!lookInfoType">
  108. <el-select v-model="dialogForm.data6" placeholder="请选择">
  109. <el-option
  110. v-for="item in dialogOptions"
  111. :key="item.value"
  112. :label="item.label"
  113. :value="item.value">
  114. </el-option>
  115. </el-select>
  116. </div>
  117. <div class="dialog-table-box">
  118. <div class="dialog-table-title-box">
  119. <img src="@/assets/ZDimages/safetyCheck/icon_xyxc_cy.png">
  120. <p class="dialog-table-title-p">巡查成员</p>
  121. <p v-if="!lookInfoType" class="inquire-button-one dialog-table-title-button" @click="dialogClickType(4)">+ 添加</p>
  122. </div>
  123. <el-table border :data="dialogTableList">
  124. <el-table-column label="序号" align="center" type="index" width="140"/>
  125. <el-table-column label="工号" align="center" prop="deptName" show-overflow-tooltip/>
  126. <el-table-column label="姓名" align="center" prop="deptName" show-overflow-tooltip width="150"/>
  127. <el-table-column label="所在部门" align="center" prop="deptName" show-overflow-tooltip width="150"/>
  128. <el-table-column label="操作" align="center" prop="deptName" width="150" v-if="!lookInfoType">
  129. <template slot-scope="scope">
  130. <div class="table-button-box">
  131. <p class="table-button-null"></p>
  132. <p class="table-button-p" @click="delTable(scope.row)">删除</p>
  133. <p class="table-button-null"></p>
  134. </div>
  135. </template>
  136. </el-table-column>
  137. </el-table>
  138. </div>
  139. </div>
  140. </el-form-item>
  141. </el-form>
  142. </div>
  143. </div>
  144. <div class="inspectionPlan-dialog-dept-box" v-show="addDialogBoxType==2">
  145. <div class="left-max-box">
  146. <div class="dept-table-title-box">
  147. <p>已选学院</p>
  148. <p v-if="!lookInfoType">{{deptNumLeft}}/{{deptTotalLeft}}</p>
  149. <p v-if="lookInfoType">{{deptNumLeft}}</p>
  150. </div>
  151. <div class="dept-table-max-box">
  152. <el-form v-if="!lookInfoType" :model="deptQueryParamsLeft" class="form-box" ref="queryForm" :inline="true" label-width="50px">
  153. <el-form-item label="" prop="searchValue" class="form-index">
  154. <el-input
  155. maxLength="30"
  156. v-model="deptQueryParamsLeft.searchValue"
  157. placeholder="搜索学院"
  158. clearable
  159. style="width: 240px">
  160. <p class="el-icon-search" slot="append" @click="deptGetListLeft"></p>
  161. </el-input>
  162. </el-form-item>
  163. <el-form-item style="margin-right:0;">
  164. <p class="inquire-button-one" @click="deptResetQueryLeft" style="width:60px;margin-right:0;">重置</p>
  165. </el-form-item>
  166. </el-form>
  167. <el-table border :data="deptTableListLeft" @selection-change="deptChange" :row-key="getRowKeys">
  168. <el-table-column v-if="!lookInfoType" type="selection" width="50" :reserve-selection="true" align="center"/>
  169. <el-table-column label="学院" align="center" prop="deptName" show-overflow-tooltip/>
  170. </el-table>
  171. </div>
  172. </div>
  173. <div class="right-max-box">
  174. <div class="dept-table-title-box">
  175. <p>已选实验室15间</p>
  176. <p></p>
  177. </div>
  178. <div class="dept-table-max-box">
  179. <el-form v-if="!lookInfoType" :model="deptQueryParamsRight" class="form-box" ref="queryForm" :inline="true" label-width="50px">
  180. <el-form-item label="" prop="classType">
  181. <el-select v-model="deptQueryParamsRight.classType" clearable placeholder="选择分类" style="width: 120px">
  182. <el-option
  183. v-for="item in classTypeList"
  184. :key="item.key"
  185. :label="item.label"
  186. :value="item.key">
  187. </el-option>
  188. </el-select>
  189. </el-form-item>
  190. <el-form-item label="" prop="classified">
  191. <el-select v-model="deptQueryParamsRight.classified" clearable placeholder="选择分级" style="width: 120px">
  192. <el-option
  193. v-for="item in classifiedList"
  194. :key="item.key"
  195. :label="item.label"
  196. :value="item.key">
  197. </el-option>
  198. </el-select>
  199. </el-form-item>
  200. <el-form-item label="" prop="deptId">
  201. <el-select v-model="deptQueryParamsRight.deptId" clearable placeholder="选择学院" style="width: 120px">
  202. <el-option
  203. v-for="item in deptSelectList"
  204. :key="item.key"
  205. :label="item.label"
  206. :value="item.key">
  207. </el-option>
  208. </el-select>
  209. </el-form-item>
  210. <el-form-item label="" prop="searchValue" class="form-index">
  211. <el-input
  212. maxLength="30"
  213. v-model="deptQueryParamsRight.searchValue"
  214. placeholder="实验室/房间号"
  215. clearable
  216. style="width: 190px">
  217. <p class="el-icon-search" slot="append" @click="deptHandleQueryRight"></p>
  218. </el-input>
  219. </el-form-item>
  220. <el-form-item style="margin-right:0;">
  221. <p class="inquire-button-one" @click="deptResetQueryRight" style="width:60px;margin-right:0;">重置</p>
  222. </el-form-item>
  223. </el-form>
  224. <el-table border :data="deptTableListRight">
  225. <el-table-column label="序号" align="center" type="index" width="60"/>
  226. <el-table-column label="实验室" align="center" prop="deptName" show-overflow-tooltip/>
  227. <el-table-column label="楼东楼层" align="center" prop="deptName" show-overflow-tooltip width="150"/>
  228. <el-table-column label="分类分级" align="center" prop="deptName" show-overflow-tooltip width="150"/>
  229. <el-table-column label="学院" align="center" prop="deptName" show-overflow-tooltip width="140"/>
  230. </el-table>
  231. <pagination :page-sizes="[20, 30, 40, 50]"
  232. v-show="deptTotalRight>0"
  233. :total="deptTotalRight"
  234. :page.sync="deptTableListRight.pageNum"
  235. :limit.sync="deptTableListRight.pageSize"
  236. @pagination="deptGetListRight"
  237. />
  238. </div>
  239. </div>
  240. </div>
  241. <div class="inspectionPlan-dialog-sub-box" v-show="addDialogBoxType==3">
  242. <div v-if="!lookInfoType" class="left-max-box">
  243. <div class="dept-table-title-box">
  244. <p>待选实验室</p>
  245. <p>{{subNumLeft}}/{{subTotalLeft}}</p>
  246. </div>
  247. <div class="dept-table-max-box">
  248. <el-form :model="subQueryParamsLeft" class="form-box" ref="queryForm" :inline="true" label-width="50px">
  249. <el-form-item label="" prop="classType">
  250. <el-select v-model="subQueryParamsLeft.classType" clearable placeholder="选择分类" style="width: 110px">
  251. <el-option
  252. v-for="item in classTypeList"
  253. :key="item.key"
  254. :label="item.label"
  255. :value="item.key">
  256. </el-option>
  257. </el-select>
  258. </el-form-item>
  259. <el-form-item label="" prop="classified">
  260. <el-select v-model="subQueryParamsLeft.classified" clearable placeholder="选择分级" style="width: 110px">
  261. <el-option
  262. v-for="item in classifiedList"
  263. :key="item.key"
  264. :label="item.label"
  265. :value="item.key">
  266. </el-option>
  267. </el-select>
  268. </el-form-item>
  269. <el-form-item label="" prop="deptId">
  270. <el-select v-model="subQueryParamsLeft.deptId" clearable placeholder="学院" style="width: 80px">
  271. <el-option
  272. v-for="item in deptSelectList"
  273. :key="item.key"
  274. :label="item.label"
  275. :value="item.key">
  276. </el-option>
  277. </el-select>
  278. </el-form-item>
  279. <el-form-item label="" prop="searchValue" class="form-index">
  280. <el-input
  281. maxLength="30"
  282. v-model="subQueryParamsLeft.searchValue"
  283. placeholder="实验室/房间号"
  284. clearable
  285. style="width: 140px">
  286. <p class="el-icon-search" slot="append" @click="subHandleQueryLeft"></p>
  287. </el-input>
  288. </el-form-item>
  289. <el-form-item style="margin-right:0;">
  290. <p class="inquire-button-one" @click="subResetQueryLeft" style="width:60px;margin-right:0;">重置</p>
  291. </el-form-item>
  292. </el-form>
  293. <el-table border :data="subTableListLeft" @selection-change="subChangeLeft" :row-key="getRowKeys">
  294. <el-table-column type="selection" width="50" :reserve-selection="true" align="center"/>
  295. <el-table-column label="实验室" align="center" prop="deptName" show-overflow-tooltip/>
  296. <el-table-column label="分类分级" align="center" prop="deptName" show-overflow-tooltip width="120"/>
  297. <el-table-column label="学院" align="center" prop="deptName" show-overflow-tooltip width="150"/>
  298. </el-table>
  299. <pagination :page-sizes="[20, 30, 40, 50]"
  300. v-show="subTotalLeft>0"
  301. :total="subTotalLeft"
  302. :page.sync="subQueryParamsLeft.pageNum"
  303. :limit.sync="subQueryParamsLeft.pageSize"
  304. @pagination="subGetListLeft"/>
  305. </div>
  306. </div>
  307. <div v-if="!lookInfoType" class="center-box">
  308. <p class="el-icon-arrow-left" @click="subArrowButton(1)"></p>
  309. <p class="el-icon-arrow-right" @click="subArrowButton(2)"></p>
  310. </div>
  311. <div class="right-max-box">
  312. <div class="dept-table-title-box">
  313. <p>已选实验室</p>
  314. <p v-if="!lookInfoType">{{subNumRight}}/{{subTotalRight}}</p>
  315. <p v-if="lookInfoType">{{subNumRight}}</p>
  316. </div>
  317. <div class="dept-table-max-box">
  318. <el-form v-if="!lookInfoType" :model="subQueryParamsRight" class="form-box" ref="queryForm" :inline="true" label-width="50px">
  319. <el-form-item label="" prop="classType">
  320. <el-select v-model="subQueryParamsRight.classType" clearable placeholder="选择分类" style="width: 110px">
  321. <el-option
  322. v-for="item in classTypeList"
  323. :key="item.key"
  324. :label="item.label"
  325. :value="item.key">
  326. </el-option>
  327. </el-select>
  328. </el-form-item>
  329. <el-form-item label="" prop="classified">
  330. <el-select v-model="subQueryParamsRight.classified" clearable placeholder="选择分级" style="width: 110px">
  331. <el-option
  332. v-for="item in classifiedList"
  333. :key="item.key"
  334. :label="item.label"
  335. :value="item.key">
  336. </el-option>
  337. </el-select>
  338. </el-form-item>
  339. <el-form-item label="" prop="deptId">
  340. <el-select v-model="subQueryParamsRight.deptId" clearable placeholder="学院" style="width: 80px">
  341. <el-option
  342. v-for="item in deptSelectList"
  343. :key="item.key"
  344. :label="item.label"
  345. :value="item.key">
  346. </el-option>
  347. </el-select>
  348. </el-form-item>
  349. <el-form-item label="" prop="searchValue" class="form-index">
  350. <el-input
  351. maxLength="30"
  352. v-model="subQueryParamsRight.searchValue"
  353. placeholder="实验室/房间号"
  354. clearable
  355. style="width: 140px">
  356. <p class="el-icon-search" slot="append" @click="subHandleQueryRight"></p>
  357. </el-input>
  358. </el-form-item>
  359. <el-form-item style="margin-right:0;">
  360. <p class="inquire-button-one" @click="subResetQueryRight" style="width:60px;margin-right:0;">重置</p>
  361. </el-form-item>
  362. </el-form>
  363. <el-table border :data="subTableListRight" @selection-change="subChangeRight" :row-key="getRowKeys">
  364. <el-table-column v-if="!lookInfoType" type="selection" width="50" :reserve-selection="true" align="center"/>
  365. <el-table-column label="实验室" align="center" prop="deptName" show-overflow-tooltip/>
  366. <el-table-column label="分类分级" align="center" prop="deptName" show-overflow-tooltip width="120"/>
  367. <el-table-column label="学院" align="center" prop="deptName" show-overflow-tooltip width="150"/>
  368. </el-table>
  369. <pagination :page-sizes="[20, 30, 40, 50]"
  370. v-show="subTotalRight>0"
  371. :total="subTotalRight"
  372. :page.sync="subQueryParamsRight.pageNum"
  373. :limit.sync="subQueryParamsRight.pageSize"
  374. @pagination="subGetListRight"/>
  375. </div>
  376. </div>
  377. </div>
  378. <div class="inspectionPlan-dialog-user-box" v-show="addDialogBoxType==4">
  379. <div class="left-max-box">
  380. <div class="dept-table-title-box">
  381. <p>待选人员</p>
  382. <p>{{userNumLeft}}/{{userTotalLeft}}</p>
  383. </div>
  384. <div class="dept-table-max-box">
  385. <el-form :model="userQueryParamsLeft" class="form-box" ref="queryForm" :inline="true" label-width="50px">
  386. <el-form-item label="" prop="deptId">
  387. <el-select v-model="userQueryParamsLeft.deptId" clearable placeholder="选择部门" style="width: 110px">
  388. <el-option
  389. v-for="item in classTypeList"
  390. :key="item.key"
  391. :label="item.label"
  392. :value="item.key">
  393. </el-option>
  394. </el-select>
  395. </el-form-item>
  396. <el-form-item label="" prop="searchValue" class="form-index">
  397. <el-input
  398. maxLength="30"
  399. v-model="userQueryParamsLeft.searchValue"
  400. placeholder="搜索姓名/工号"
  401. clearable
  402. style="width: 240px">
  403. <p class="el-icon-search" slot="append" @click="userHandleQueryLeft"></p>
  404. </el-input>
  405. </el-form-item>
  406. <el-form-item style="margin-right:0;">
  407. <p class="inquire-button-one" @click="userResetQueryLeft" style="width:60px;margin-right:0;">重置</p>
  408. </el-form-item>
  409. </el-form>
  410. <el-table border :data="userTableListLeft" @selection-change="userChangeLeft" :row-key="getRowKeys">
  411. <el-table-column type="selection" width="50" :reserve-selection="true" align="center"/>
  412. <el-table-column label="姓名" align="center" prop="deptName" show-overflow-tooltip/>
  413. <el-table-column label="工号" align="center" prop="deptName" show-overflow-tooltip width="150"/>
  414. <el-table-column label="所在部门" align="center" prop="deptName" show-overflow-tooltip width="168"/>
  415. </el-table>
  416. <pagination :page-sizes="[20, 30, 40, 50]"
  417. v-show="userTotalLeft>0"
  418. :total="userTotalLeft"
  419. :page.sync="userTableListLeft.pageNum"
  420. :limit.sync="userTableListLeft.pageSize"
  421. @pagination="userGetListLeft"/>
  422. </div>
  423. </div>
  424. <div class="center-box">
  425. <p class="el-icon-arrow-left" @click="userArrowButton(1)"></p>
  426. <p class="el-icon-arrow-right" @click="userArrowButton(2)"></p>
  427. </div>
  428. <div class="right-max-box">
  429. <div class="dept-table-title-box">
  430. <p>已选成员</p>
  431. <p>{{userNumRight}}/{{userTotalRight}}</p>
  432. </div>
  433. <div class="dept-table-max-box">
  434. <el-form :model="userQueryParamsRight" class="form-box" ref="queryForm" :inline="true" label-width="50px">
  435. <el-form-item label="" prop="deptId">
  436. <el-select v-model="userQueryParamsRight.deptId" clearable placeholder="选择部门" style="width: 110px">
  437. <el-option
  438. v-for="item in deptSelectList"
  439. :key="item.key"
  440. :label="item.label"
  441. :value="item.key">
  442. </el-option>
  443. </el-select>
  444. </el-form-item>
  445. <el-form-item label="" prop="searchValue" class="form-index">
  446. <el-input
  447. maxLength="30"
  448. v-model="userQueryParamsRight.searchValue"
  449. placeholder="搜索姓名/工号"
  450. clearable
  451. style="width: 240px">
  452. <p class="el-icon-search" slot="append" @click="userHandleQueryRight"></p>
  453. </el-input>
  454. </el-form-item>
  455. <el-form-item style="margin-right:0;">
  456. <p class="inquire-button-one" @click="userResetQueryRight" style="width:60px;margin-right:0;">重置</p>
  457. </el-form-item>
  458. </el-form>
  459. <el-table border :data="userTableListRight" @selection-change="userChangeRight" :row-key="getRowKeys">
  460. <el-table-column type="selection" width="50" :reserve-selection="true" align="center"/>
  461. <el-table-column label="姓名" align="center" prop="deptName" show-overflow-tooltip/>
  462. <el-table-column label="工号" align="center" prop="deptName" show-overflow-tooltip width="150"/>
  463. <el-table-column label="所在部门" align="center" prop="deptName" show-overflow-tooltip width="168"/>
  464. </el-table>
  465. <pagination :page-sizes="[20, 30, 40, 50]"
  466. v-show="userTotalRight>0"
  467. :total="userTotalRight"
  468. :page.sync="userTableListRight.pageNum"
  469. :limit.sync="userTableListRight.pageSize"
  470. @pagination="userGetListRight"/>
  471. </div>
  472. </div>
  473. </div>
  474. <div class="inspectionPlan-dialog-look-box" v-show="addDialogBoxType==5">
  475. </div>
  476. <div slot="footer" class="dialog-footer dialog-footer-box" style="display: flex">
  477. <p class="dialog-footer-button-null"></p>
  478. <p class="dialog-footer-button-info" @click="addDialogOff">{{addDialogBoxType==1?'取消':'返回'}}</p>
  479. <p class="dialog-footer-button-primary" v-if="!lookInfoType">确定</p>
  480. <p class="dialog-footer-button-null"></p>
  481. </div>
  482. </el-dialog>
  483. </template>
  484. <script>
  485. import { getToken } from "@/utils/auth";
  486. export default {
  487. name: 'addDialog',
  488. data(){
  489. return{
  490. uploadImgUrl: this.uploadUrl(), // 上传的图片服务器地址
  491. headers: {
  492. Authorization: "Bearer " + getToken(),
  493. },
  494. addDialogTitle:"",
  495. addDialogType:true,
  496. //弹窗内容状态
  497. addDialogBoxType:2,
  498. // 设置只能选择当前日期及之后的日期
  499. pickerOptions: {
  500. disabledDate(time) {
  501. return time.getTime() < Date.now() - 8.64e7;//如果没有后面的-8.64e7就是不可以选择今天的
  502. }
  503. },
  504. //标题快选数据
  505. quickSelectionList:['校级开学检查', '院级开学检查', '月度安全检查', '季度安全检查', '年度安全检查', '专项检查', '紧急检查','校级开学检查', '院级开学检查', '月度安全检查', '季度安全检查', '年度安全检查', '专项检查', '紧急检查','校级开学检查', '院级开学检查', '月度安全检查', '季度安全检查', '年度安全检查', '专项检查', '紧急检查',],
  506. //巡察组列表
  507. dialogOptions:[],
  508. //上传文件名称暂存
  509. upDataName:"",
  510. //上传文件列表
  511. dialogUpList:[{name:"我是内容我是内容我是内容我是内容我是内容我是内容我是内容我是内容我是内容我是内容我是内容我是内容我是内容我是内容我是内容我是内容我是内容我是内容我是内容我是内容"},{name:"我是内容我是内容我是内容我是内容我是内容我是内容我是内容我是内容我是内容我是内容我是内容我是内容我是内容我是内容我是内容我是内容我是内容我是内容我是内容我是内容"}],
  512. //选中巡查人员列表
  513. dialogTableList:[{userId:1},{userId:2},{userId:3},{userId:4},{userId:5},{userId:6},{userId:7},{userId:8},{userId:9},{userId:10}],
  514. //巡查范围列表
  515. dialogRangeOptions:[{label:"全校",value:"1"},{label:"学院",value:"2"},{label:"实验室",value:"3"}],
  516. //巡查院系数量
  517. deptCheckNum:0,
  518. //巡查院系列表
  519. deptList:[],
  520. //巡查实验室数量
  521. subCheckNum:0,
  522. //巡查实验室列表
  523. subList:[],
  524. //提交数据
  525. dialogForm:{
  526. data1:"",
  527. data2:"",
  528. data3:[],
  529. data4:"1",
  530. data5:"",
  531. data6:"",
  532. },
  533. // 表单校验
  534. rules: {
  535. data1: [
  536. { required: true, message: "请输入计划标题", trigger: "change" },
  537. { required: true, message: "请输入计划标题", validator: this.spaceJudgment, trigger: "change" },
  538. ],
  539. data3: [
  540. { required: true, message: "请选择检查周期", trigger: "change" },
  541. ],
  542. data4: [
  543. { required: true, message: "请选择检查范围", trigger: "change" },
  544. ],
  545. },
  546. classTypeList:[],
  547. classifiedList:[],
  548. deptSelectList:[],
  549. //查看状态
  550. lookInfoType:false,
  551. /*===================================学院选择相关===================================*/
  552. deptQueryParamsLeft:{
  553. searchValue:"",
  554. },
  555. deptTableListLeft:[{}],
  556. deptTotalLeft:0,
  557. deptNumLeft:0,
  558. deptIdsLeft:[],
  559. deptQueryParamsRight:{},
  560. deptTableListRight:[{}],
  561. deptTotalRight:0,
  562. /*===================================实验室选择相关===================================*/
  563. subQueryParamsLeft:{
  564. classType:"",
  565. classified:"",
  566. deptId:"",
  567. searchValue:"",
  568. },
  569. subTableListLeft:[{}],
  570. subTotalLeft:0,
  571. subNumLeft:0,
  572. subIdsLeft:[],
  573. subQueryParamsRight:{
  574. classType:"",
  575. classified:"",
  576. deptId:"",
  577. searchValue:"",
  578. },
  579. subTableListRight:[{}],
  580. subTotalRight:0,
  581. subNumRight:0,
  582. subIdsRight:[],
  583. /*===================================人员选择相关===================================*/
  584. userQueryParamsLeft:{
  585. deptId:"",
  586. searchValue:"",
  587. },
  588. userTableListLeft:[{}],
  589. userTotalLeft:0,
  590. userNumLeft:0,
  591. userIdsLeft:[],
  592. userQueryParamsRight:{
  593. deptId:"",
  594. searchValue:"",
  595. },
  596. userTableListRight:[{}],
  597. userTotalRight:0,
  598. userNumRight:0,
  599. userIdsRight:[],
  600. /*===================================弹窗相关结束===================================*/
  601. }
  602. },
  603. created(){
  604. },
  605. mounted(){
  606. },
  607. methods:{
  608. /*===================================弹窗相关===================================*/
  609. //弹窗开启
  610. addDialogOpen(type,data){
  611. if(type==1){
  612. this.$set(this,'lookInfoType',false);
  613. this.$set(this,'addDialogTitle','创建巡查计划');
  614. }else if(type==2){
  615. this.$set(this,'lookInfoType',false);
  616. this.$set(this,'addDialogTitle','编辑巡查计划');
  617. }else{
  618. this.$set(this,'lookInfoType',true);
  619. }
  620. this.$set(this,'addDialogType',true);
  621. },
  622. //弹窗关闭
  623. addDialogOff(){
  624. if(this.addDialogBoxType == 1){
  625. this.$set(this,'addDialogType',false);
  626. }else{
  627. this.dialogClickType(1);
  628. }
  629. },
  630. //弹窗状态切换
  631. dialogClickType(type,item){
  632. this.$set(this,'addDialogBoxType',type);
  633. },
  634. //选中对应周期
  635. checkTime(type){
  636. let myDate = new Date();
  637. let year = myDate.getFullYear();
  638. let month = myDate.getMonth()+1;
  639. let day = myDate.getDate();
  640. let minTime = year + '-' + month + '-' + day
  641. if(type==1){
  642. let maxTime = this.getMonthFinalDay(year,month);
  643. this.$set(this.dialogForm,'data3',[minTime,maxTime]);
  644. }else if(type==2){
  645. if(month>0 && month<4){
  646. let maxTime = this.getMonthFinalDay(year,3);
  647. this.$set(this.dialogForm,'data3',[minTime,maxTime]);
  648. }else if(month>3 && month<7){
  649. let maxTime = this.getMonthFinalDay(year,6);
  650. this.$set(this.dialogForm,'data3',[minTime,maxTime]);
  651. }else if(month>6 && month<10){
  652. let maxTime = this.getMonthFinalDay(year,9);
  653. this.$set(this.dialogForm,'data3',[minTime,maxTime]);
  654. }else if(month>9 && month<13){
  655. let maxTime = this.getMonthFinalDay(year,12);
  656. this.$set(this.dialogForm,'data3',[minTime,maxTime]);
  657. }
  658. }else if(type==3){
  659. let maxTime = this.getMonthFinalDay(year,12);
  660. this.$set(this.dialogForm,'data3',[minTime,maxTime]);
  661. }
  662. },
  663. //返回指定月份最后一天
  664. getMonthFinalDay(year,month){
  665. var day='';
  666. if(year==null || year==undefined || year==''){
  667. year = new Date().getFullYear();
  668. }
  669. if(month==null || month==undefined || month==''){
  670. month = new Date().getMonth()+1;
  671. }
  672. day = new Date(new Date(year,month).setDate(0)).getDate();
  673. return year+"-"+month+"-"+day;
  674. },
  675. //删除弹窗上传文件
  676. delUpData(index){
  677. this.dialogUpList.splice(index,1)
  678. },
  679. //删除弹窗列表
  680. delTable(row){
  681. let self = this;
  682. for(let i=0;i<self.dialogTableList.length;i++){
  683. if(row.userId == self.dialogTableList[i].userId){
  684. this.dialogTableList.splice(i,1)
  685. }
  686. }
  687. },
  688. //快捷选中标题
  689. checkTitle(val){
  690. this.$set(this.dialogForm,'data1',val);
  691. },
  692. /*===================================学院选择相关===================================*/
  693. //重置
  694. deptResetQueryLeft(){
  695. this.$set(this,'deptQueryParamsLeft',{ searchValue:"", });
  696. this.deptGetListLeft();
  697. },
  698. //查询接口
  699. deptGetListLeft(){
  700. },
  701. //查询
  702. deptHandleQueryRight(){
  703. this.$set(this.deptQueryParamsRight,'pageNum',1);
  704. this.deptGetListRight();
  705. },
  706. //重置
  707. deptResetQueryRight(){
  708. this.$set(this,'deptQueryParamsRight',{
  709. pageNum:1,
  710. pageSize:20,
  711. classType:"",
  712. classified:"",
  713. deptId:"",
  714. searchValue:"",
  715. });
  716. this.deptHandleQueryRight();
  717. },
  718. //查询接口
  719. deptGetListRight(){
  720. },
  721. /*===================================实验室选择相关===================================*/
  722. //查询
  723. subHandleQueryLeft(){
  724. this.$set(this.subQueryParamsLeft,'pageNum',1);
  725. this.subGetListLeft();
  726. },
  727. //重置
  728. subResetQueryLeft(){
  729. this.$set(this,'subQueryParamsLeft',{ searchValue:"", });
  730. this.subHandleQueryLeft();
  731. },
  732. //查询接口
  733. subGetListLeft(){
  734. },
  735. //查询
  736. subHandleQueryRight(){
  737. this.$set(this.subQueryParamsRight,'pageNum',1);
  738. this.subGetListRight();
  739. },
  740. //重置
  741. subResetQueryRight(){
  742. this.$set(this,'subQueryParamsRight',{
  743. pageNum:1,
  744. pageSize:20,
  745. classType:"",
  746. classified:"",
  747. deptId:"",
  748. searchValue:"",
  749. });
  750. this.subHandleQueryRight();
  751. },
  752. //查询接口
  753. subGetListRight(){
  754. },
  755. subArrowButton(type){
  756. if(type == 1){
  757. if(this.subIdsRight[0]){
  758. }
  759. }else if(type == 2){
  760. if(this.subIdsLeft[0]){
  761. }
  762. }
  763. },
  764. /*===================================人员选择相关===================================*/
  765. //查询
  766. userHandleQueryLeft(){
  767. this.$set(this.userQueryParamsLeft,'pageNum',1);
  768. this.userGetListLeft();
  769. },
  770. //重置
  771. userResetQueryLeft(){
  772. this.$set(this,'userQueryParamsLeft',{ searchValue:"", });
  773. this.userHandleQueryLeft();
  774. },
  775. //查询接口
  776. userGetListLeft(){
  777. },
  778. //查询
  779. userHandleQueryRight(){
  780. this.$set(this.userQueryParamsRight,'pageNum',1);
  781. this.userGetListRight();
  782. },
  783. //重置
  784. userResetQueryRight(){
  785. this.$set(this,'userQueryParamsRight',{
  786. pageNum:1,
  787. pageSize:20,
  788. classType:"",
  789. classified:"",
  790. deptId:"",
  791. searchValue:"",
  792. });
  793. this.userHandleQueryRight();
  794. },
  795. //查询接口
  796. userGetListRight(){
  797. },
  798. userArrowButton(type){
  799. if(type == 1){
  800. if(this.userIdsRight[0]){
  801. }
  802. }else if(type == 2){
  803. if(this.userIdsLeft[0]){
  804. }
  805. }
  806. },
  807. /*===================================弹窗相关结束===================================*/
  808. /*==========上传相关==========*/
  809. handleAvatarSuccess(res) {
  810. if(this.dialogUpList.length>9){
  811. this.msgError('已到达上传数量上限')
  812. return
  813. }
  814. let suffixName= this.upDataName.split('.')[this.upDataName.split('.').length - 2]
  815. //判断文件名中是否有逗号和分号
  816. if(suffixName.indexOf(',')==-1 && suffixName.indexOf(';')==-1){
  817. }else{
  818. this.$message.info('文件名里包含逗号或分号,请修改后重新上传!')
  819. return
  820. }
  821. let obj ={
  822. name:this.upDataName,
  823. url:res.data.url,
  824. };
  825. this.dialogUpList.push(obj);
  826. this.$forceUpdate()
  827. },
  828. beforeAvatarUpload(file) {
  829. console.log('file',file)
  830. let type = false;
  831. if (file.type == 'application/pdf' || file.type == 'application/msword' || file.type == 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'|| file.type == 'application/vnd.ms-excel' || file.type == 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet') {
  832. this.upDataName = file.name;
  833. type = true;
  834. }else{
  835. this.$message.error('只能上传doc/docx/xls/xlsx/pdf格式');
  836. type = false;
  837. }
  838. return type;
  839. },
  840. /*===记录勾选数据===
  841. 需要再el-table 添加 :row-key="getRowKeys"
  842. 需要在selection 添加 :reserve-selection="true"
  843. */
  844. getRowKeys(row) {
  845. return row.userId
  846. },
  847. deptChange(selection){
  848. this.deptNumLeft = selection.length;
  849. this.deptIdsLeft = selection.map(item => item.userId);
  850. },
  851. subChangeLeft(selection){
  852. this.subNumLeft = selection.length;
  853. this.subIdsLeft = selection.map(item => item.userId);
  854. },
  855. subChangeRight(selection){
  856. this.subNumRight = selection.length;
  857. this.subIdsRight = selection.map(item => item.userId);
  858. },
  859. userChangeLeft(selection){
  860. this.userNumLeft = selection.length;
  861. this.userIdsLeft = selection.map(item => item.userId);
  862. },
  863. userChangeRight(selection){
  864. this.userNumRight = selection.length;
  865. this.userIdsRight = selection.map(item => item.userId);
  866. },
  867. }
  868. }
  869. </script>
  870. <style lang="scss">
  871. .inspectionPlan-dialog-box{
  872. .el-dialog__body{
  873. padding:20px 0 20px 30px;
  874. }
  875. .is-disabled{
  876. background-color: #f5f5f5;
  877. color: #333;
  878. border-color: #f5f5f5;
  879. cursor:auto;
  880. border-radius: 4px;
  881. .el-input__icon{
  882. display: none;
  883. }
  884. .el-input__inner{
  885. background-color: #f5f5f5;
  886. color: #333;
  887. border-color: #f5f5f5;
  888. cursor:auto!important;
  889. border-radius: 4px;
  890. }
  891. .el-range-input{
  892. background-color: #f5f5f5;
  893. color: #333;
  894. border-color: #f5f5f5;
  895. cursor:auto;
  896. border-radius: 4px;
  897. }
  898. .el-textarea__inner{
  899. background-color: #f5f5f5;
  900. color: #333;
  901. border-color: #f5f5f5;
  902. cursor:auto;
  903. border-radius: 4px;
  904. }
  905. }
  906. .inspectionPlan-dialog-add-box{
  907. display: flex;
  908. overflow: hidden;
  909. height:610px;
  910. .left-max-box{
  911. width:270px;
  912. border-right:1px dashed #D8D8D8;
  913. display: flex;
  914. flex-direction: column;
  915. .left-max-title-box{
  916. width:230px;
  917. display: flex;
  918. border-bottom:1px solid #E0E0E0;
  919. img{
  920. width:14px;
  921. height:11px;
  922. margin:33px 18px 33px 0;
  923. }
  924. p{
  925. line-height:78px;
  926. color:#0183FA;
  927. font-size:16px;
  928. }
  929. }
  930. .left-max-list-box{
  931. flex:1;
  932. width:230px;
  933. overflow-x: hidden;
  934. p{
  935. width:230px;
  936. height:40px;
  937. line-height:40px;
  938. padding-left:32px;
  939. margin-top: 10px;
  940. cursor: pointer;
  941. font-size:16px;
  942. color:#333333;
  943. }
  944. p:hover{
  945. background: rgba(1,131,250,0.2);
  946. color:#0183FA;
  947. display:block;
  948. overflow:hidden;
  949. text-overflow:ellipsis;
  950. white-space:nowrap;
  951. }
  952. }
  953. }
  954. .right-max-box{
  955. flex:1;
  956. padding-right:10px;
  957. .date-range-box{
  958. display: flex;
  959. .date-range-left-box{
  960. margin-right:15px;
  961. }
  962. .date-range-right-box{
  963. display: flex;
  964. border-radius:4px;
  965. overflow: hidden;
  966. border:1px solid #E0E0E0;
  967. p{
  968. width: 70px;
  969. height:34px;
  970. line-height:34px;
  971. color:#333;
  972. font-size:14px;
  973. text-align: center;
  974. cursor: pointer;
  975. }
  976. p:hover{
  977. color:#fff;
  978. background: #0045AF;
  979. }
  980. p:nth-child(2){
  981. border-left:1px solid #E0E0E0;
  982. border-right:1px solid #E0E0E0;
  983. }
  984. }
  985. }
  986. .dialog-range-max-box{
  987. display: flex;
  988. .dialog-range-select-box{
  989. }
  990. .dialog-range-text-box{
  991. display: flex;
  992. .button-p{
  993. margin-left:15px;
  994. width:100px;
  995. margin-right:0;
  996. }
  997. .text-p{
  998. line-height:40px;
  999. color:#0183FA;
  1000. font-size:14px;
  1001. margin-left:15px;
  1002. }
  1003. }
  1004. }
  1005. .dialog-material-max-box{
  1006. .dialog-material-button-box{
  1007. display: flex;
  1008. .dialog-material-text{
  1009. margin-left:20px;
  1010. color:#333333;
  1011. font-size:14px;
  1012. line-height:40px;
  1013. }
  1014. }
  1015. .dialog-material-list-box{
  1016. margin-top:20px;
  1017. div{
  1018. height:40px;
  1019. width:550px;
  1020. display: flex;
  1021. img{
  1022. width:16px;
  1023. height:14px;
  1024. margin:11px 23px 13px 0;
  1025. }
  1026. p:nth-child(2){
  1027. flex:1;
  1028. display:block;
  1029. overflow:hidden;
  1030. text-overflow:ellipsis;
  1031. white-space:nowrap;
  1032. }
  1033. p:nth-child(3){
  1034. color:#0183FA;
  1035. font-size:14px;
  1036. cursor: pointer;
  1037. margin-left:40px;
  1038. }
  1039. p:nth-child(4){
  1040. color:#0183FA;
  1041. font-size:14px;
  1042. cursor: pointer;
  1043. margin-left:40px;
  1044. }
  1045. }
  1046. .dialog-material-list-null{
  1047. text-align: center;
  1048. color:#999;
  1049. font-size:14px;
  1050. }
  1051. }
  1052. }
  1053. .dialog-table-max-box{
  1054. width:747px;
  1055. height:357px;
  1056. display: flex;
  1057. flex-direction: column;
  1058. flex:1;
  1059. /*background: #A11DDF;*/
  1060. overflow: hidden;
  1061. .dialog-table-box{
  1062. margin-top:20px;
  1063. display: flex;
  1064. flex-direction: column;
  1065. flex:1;
  1066. overflow: hidden;
  1067. .dialog-table-title-box{
  1068. display: flex;
  1069. border:1px solid #e0e0e0;
  1070. border-bottom:none;
  1071. img{
  1072. width:14px;
  1073. height:14px;
  1074. margin:18px 12px 18px 12px;
  1075. }
  1076. .dialog-table-title-p{
  1077. line-height:50px;
  1078. flex:1;
  1079. font-size:16px;
  1080. }
  1081. .dialog-table-title-button{
  1082. width:70px;
  1083. height:30px;
  1084. line-height:28px;
  1085. margin:10px 26px;
  1086. }
  1087. }
  1088. }
  1089. }
  1090. }
  1091. }
  1092. .inspectionPlan-dialog-dept-box{
  1093. display: flex;
  1094. overflow: hidden;
  1095. height:610px;
  1096. margin-right:30px;
  1097. .dept-table-title-box{
  1098. display: flex;
  1099. padding:0 20px;
  1100. background: rgba(1,131,250,0.1);
  1101. p{
  1102. flex:1;
  1103. color:#0183FA;
  1104. font-size:16px;
  1105. line-height:40px;
  1106. }
  1107. p:nth-child(1){
  1108. text-align: left;
  1109. }
  1110. p:nth-child(2){
  1111. text-align: right;
  1112. }
  1113. }
  1114. .dept-table-max-box{
  1115. border: 1px solid #e0e0e0;
  1116. flex:1;
  1117. display: flex;
  1118. flex-direction: column;
  1119. overflow: hidden;
  1120. padding:20px;
  1121. .form-index{
  1122. .el-input__inner{
  1123. border-right:none;
  1124. padding-right:0;
  1125. }
  1126. .el-input-group__append{
  1127. background: #fff;
  1128. cursor: pointer;
  1129. padding:0 10px;
  1130. }
  1131. }
  1132. input{
  1133. border: 1px solid #DCDFE6;
  1134. }
  1135. }
  1136. .left-max-box{
  1137. height:610px;
  1138. display: flex;
  1139. flex-direction: column;
  1140. overflow: hidden;
  1141. width:475px;
  1142. margin-right:20px;
  1143. }
  1144. .right-max-box{
  1145. height:610px;
  1146. display: flex;
  1147. flex-direction: column;
  1148. overflow: hidden;
  1149. width:755px;
  1150. }
  1151. }
  1152. .inspectionPlan-dialog-sub-box{
  1153. display: flex;
  1154. overflow: hidden;
  1155. height:610px;
  1156. margin-right:30px;
  1157. .dept-table-title-box{
  1158. display: flex;
  1159. padding:0 20px;
  1160. background: rgba(1,131,250,0.1);
  1161. p{
  1162. flex:1;
  1163. color:#0183FA;
  1164. font-size:16px;
  1165. line-height:40px;
  1166. }
  1167. p:nth-child(1){
  1168. text-align: left;
  1169. }
  1170. p:nth-child(2){
  1171. text-align: right;
  1172. }
  1173. }
  1174. .dept-table-max-box{
  1175. border: 1px solid #e0e0e0;
  1176. flex:1;
  1177. display: flex;
  1178. flex-direction: column;
  1179. overflow: hidden;
  1180. padding:20px;
  1181. .form-index{
  1182. .el-input__inner{
  1183. border-right:none;
  1184. padding-right:0;
  1185. }
  1186. .el-input-group__append{
  1187. background: #fff;
  1188. cursor: pointer;
  1189. padding:0 10px;
  1190. }
  1191. }
  1192. input{
  1193. border: 1px solid #DCDFE6;
  1194. }
  1195. }
  1196. .left-max-box{
  1197. height:610px;
  1198. display: flex;
  1199. flex-direction: column;
  1200. overflow: hidden;
  1201. width:588px;
  1202. }
  1203. .right-max-box{
  1204. height:610px;
  1205. display: flex;
  1206. flex-direction: column;
  1207. overflow: hidden;
  1208. width:588px;
  1209. flex:1;
  1210. }
  1211. .center-box{
  1212. width:68px;
  1213. p{
  1214. display: block;
  1215. border-radius:50%;
  1216. width:30px;
  1217. height:30px;
  1218. line-height:30px;
  1219. text-align: center;
  1220. background: rgba(245,245,245,1);
  1221. color:rgba(62,62,62,1);
  1222. cursor: pointer;
  1223. font-size:16px;
  1224. }
  1225. p:nth-child(1){
  1226. margin:270px 19px 0;
  1227. }
  1228. p:nth-child(2){
  1229. margin:14px 19px 0;
  1230. }
  1231. p:hover{
  1232. color:#fff;
  1233. background: #0183fa;
  1234. }
  1235. }
  1236. }
  1237. .inspectionPlan-dialog-user-box{
  1238. display: flex;
  1239. overflow: hidden;
  1240. height:610px;
  1241. margin-right:30px;
  1242. .dept-table-title-box{
  1243. display: flex;
  1244. padding:0 20px;
  1245. background: rgba(1,131,250,0.1);
  1246. p{
  1247. flex:1;
  1248. color:#0183FA;
  1249. font-size:16px;
  1250. line-height:40px;
  1251. }
  1252. p:nth-child(1){
  1253. text-align: left;
  1254. }
  1255. p:nth-child(2){
  1256. text-align: right;
  1257. }
  1258. }
  1259. .dept-table-max-box{
  1260. border: 1px solid #e0e0e0;
  1261. flex:1;
  1262. display: flex;
  1263. flex-direction: column;
  1264. overflow: hidden;
  1265. padding:20px;
  1266. .form-index{
  1267. .el-input__inner{
  1268. border-right:none;
  1269. padding-right:0;
  1270. }
  1271. .el-input-group__append{
  1272. background: #fff;
  1273. cursor: pointer;
  1274. padding:0 10px;
  1275. }
  1276. }
  1277. input{
  1278. border: 1px solid #DCDFE6;
  1279. }
  1280. }
  1281. .left-max-box{
  1282. height:610px;
  1283. display: flex;
  1284. flex-direction: column;
  1285. overflow: hidden;
  1286. width:588px;
  1287. }
  1288. .right-max-box{
  1289. height:610px;
  1290. display: flex;
  1291. flex-direction: column;
  1292. overflow: hidden;
  1293. width:588px;
  1294. flex:1;
  1295. }
  1296. .center-box{
  1297. width:68px;
  1298. p{
  1299. display: block;
  1300. border-radius:50%;
  1301. width:30px;
  1302. height:30px;
  1303. line-height:30px;
  1304. text-align: center;
  1305. background: rgba(245,245,245,1);
  1306. color:rgba(62,62,62,1);
  1307. cursor: pointer;
  1308. font-size:16px;
  1309. }
  1310. p:nth-child(1){
  1311. margin:270px 19px 0;
  1312. }
  1313. p:nth-child(2){
  1314. margin:14px 19px 0;
  1315. }
  1316. p:hover{
  1317. color:#fff;
  1318. background: #0183fa;
  1319. }
  1320. }
  1321. }
  1322. }
  1323. </style>