Elizabeth's proactive approach involves introducing urinal toilet attachment , an ingenious concept that optimizes space and functionality.

batch_delete.vue 23KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829
  1. <template>
  2. <!--批量删除-->
  3. <div class="main-contain">
  4. <div class="app-container">
  5. <div class="bannar_list">
  6. <div class="banner_left">
  7. <div>
  8. 透析模式:
  9. <el-select
  10. v-model="modeOptions_value"
  11. placeholder="请选择"
  12. @change="getUsername"
  13. >
  14. <el-option
  15. v-for="item in modeOptions"
  16. :key="item.id"
  17. :label="item.name"
  18. :value="item.id"
  19. >
  20. </el-option>
  21. </el-select>
  22. </div>
  23. <div>
  24. 删除类型:
  25. <el-select
  26. v-model="new_type"
  27. placeholder="请选择"
  28. @change="changetype"
  29. >
  30. <el-option
  31. v-for="item in options"
  32. :key="item.id"
  33. :label="item.name"
  34. :value="item.id"
  35. >
  36. </el-option>
  37. </el-select>
  38. </div>
  39. <div v-if="new_type == 1">
  40. 请输入需要删除的药品:
  41. <el-select
  42. filterable
  43. v-model="id"
  44. placeholder="请选择"
  45. @change="getUsername"
  46. >
  47. <el-option
  48. v-for="item in druglist"
  49. :key="item.id"
  50. :label="item.name"
  51. :value="item.id"
  52. >
  53. </el-option>
  54. </el-select>
  55. </div>
  56. <div v-if="new_type == 2">
  57. 请输入需要删除的项目:
  58. <el-select
  59. filterable
  60. v-model="id"
  61. placeholder="请选择"
  62. @change="getUsername"
  63. >
  64. <el-option
  65. v-for="item in projectlist"
  66. :key="item.id"
  67. :label="item.name"
  68. :value="item.id"
  69. >
  70. </el-option>
  71. </el-select>
  72. </div>
  73. </div>
  74. <!-- <button @click="lili">调试</button>-->
  75. <el-button type="primary" @click="save">保存</el-button>
  76. </div>
  77. <el-container>
  78. <div class="left_table" style="width: 211px;height: 70vh;border: 1px solid #DCDFE6;box-shadow: 0 2px 4px 0 rgb(0 0 0 / 12%), 0 0 6px 0 rgb(0 0 0 / 4%);">
  79. <el-table
  80. border
  81. height="70vh"
  82. ref="multipleTable"
  83. :data="tableData"
  84. tooltip-effect="dark"
  85. style="width: 100%;"
  86. @selection-change="handleSelectionChange"
  87. @current-change="test"
  88. :row-style="{ color: '#303133' }"
  89. :header-cell-style="{
  90. backgroundColor: 'rgb(245, 247, 250)',
  91. color: '#606266',
  92. }"
  93. >
  94. <el-table-column type="selection" width="55" align="center"> </el-table-column>
  95. <el-table-column label="患者姓名" width="155" align="center">
  96. <template slot-scope="scope">{{ scope.row.name }}</template>
  97. </el-table-column>
  98. </el-table>
  99. </div>
  100. <el-main>
  101. <el-tabs type="border-card" v-if="isshow == 1 && list.length > 0" style="min-height: 70vh;">
  102. <el-tab-pane
  103. v-for="(item, index) in list"
  104. :key="index"
  105. :label="'处方' + (index + 1)"
  106. :name="index"
  107. >
  108. <el-table
  109. v-if="item.advices.length > 0"
  110. :data="item.advices"
  111. style="width: 100%"
  112. max-height="250"
  113. border
  114. :row-style="{ color: '#303133' }"
  115. :header-cell-style="{
  116. backgroundColor: 'rgb(245, 247, 250)',
  117. color: '#606266',
  118. }"
  119. >
  120. <el-table-column fixed label="药品名称" width="230" align="center">
  121. <template slot-scope="scope">
  122. {{ scope.row.advice_name }}
  123. </template>
  124. </el-table-column>
  125. <el-table-column label="单次用量" width="200" align="center">
  126. <template slot-scope="scope">
  127. {{ scope.row.single_dose }}{{ scope.row.single_dose_unit }}
  128. </template>
  129. </el-table-column>
  130. <el-table-column label="用法" width="120" align="center">
  131. <template slot-scope="scope">
  132. {{ scope.row.delivery_way }}
  133. </template>
  134. </el-table-column>
  135. <el-table-column label="频率" width="120" align="center">
  136. <template slot-scope="scope">
  137. {{ scope.row.execution_frequency }}
  138. </template>
  139. </el-table-column>
  140. <el-table-column label="天数" width="110" align="center">
  141. <template slot-scope="scope"> {{ scope.row.day }}</template>
  142. </el-table-column>
  143. <el-table-column label="总量" width="200" align="center">
  144. <template slot-scope="scope">
  145. {{ scope.row.prescribing_number
  146. }}{{ scope.row.prescribing_number_unit }}
  147. </template>
  148. </el-table-column>
  149. <el-table-column label="单价" width="120" align="center">
  150. <template slot-scope="scope"> {{ scope.row.price }}</template>
  151. </el-table-column>
  152. <el-table-column label="备注" width="120" align="center">
  153. <template slot-scope="scope">
  154. {{ scope.row.remark }}
  155. </template>
  156. </el-table-column>
  157. <el-table-column label="操作" width="120" align="center">
  158. <template slot-scope="scope">
  159. <el-button
  160. @click.native.prevent="delects(scope.$index, scope, item)"
  161. type="danger"
  162. size="small"
  163. >
  164. 删除
  165. </el-button>
  166. </template>
  167. </el-table-column>
  168. </el-table>
  169. <el-table
  170. v-if="item.project.length > 0"
  171. :data="item.project"
  172. style="width: 100%"
  173. max-height="250"
  174. border
  175. :row-style="{ color: '#303133' }"
  176. :header-cell-style="{
  177. backgroundColor: 'rgb(245, 247, 250)',
  178. color: '#606266',
  179. }"
  180. >
  181. <el-table-column fixed label="项目名称" width="230" align="center">
  182. <template slot-scope="scope">
  183. <div v-if="scope.row.type == 2">
  184. {{ scope.row.project.project_name }}
  185. </div>
  186. <div v-if="scope.row.type == 3">
  187. {{ scope.row.good_info.good_name }}
  188. </div>
  189. </template>
  190. </el-table-column>
  191. <el-table-column label="组" width="120" align="center">
  192. <template slot-scope="scope">
  193. <div v-if="scope.row.type == 2">
  194. {{ scope.row.project.translate }}
  195. </div>
  196. <div v-if="scope.row.type == 3">
  197. {{ scope.row.good_info.translate }}
  198. </div>
  199. </template>
  200. </el-table-column>
  201. <el-table-column label="单次用量" width="120" align="center">
  202. <template slot-scope="scope">
  203. {{ scope.row.single_dose }}
  204. {{ scope.row.unit }}
  205. </template>
  206. </el-table-column>
  207. <el-table-column label="用法" width="120" align="center">
  208. <template slot-scope="scope">
  209. {{ scope.row.delivery_way }}
  210. </template>
  211. </el-table-column>
  212. <el-table-column label="频率" width="120" align="center">
  213. <template slot-scope="scope">
  214. {{ scope.row.execution_frequency }}
  215. </template>
  216. </el-table-column>
  217. <el-table-column label="天数" width="110" align="center">
  218. <template slot-scope="scope"> {{ scope.row.day }}</template>
  219. </el-table-column>
  220. <el-table-column label="总量" width="100" align="center">
  221. <template slot-scope="scope">
  222. {{ scope.row.count }}
  223. {{ scope.row.unit }}
  224. </template>
  225. </el-table-column>
  226. <el-table-column label="单价" width="120" align="center">
  227. <template slot-scope="scope"> {{ scope.row.price }}</template>
  228. </el-table-column>
  229. <el-table-column label="备注" width="120" align="center">
  230. <template slot-scope="scope">
  231. {{ scope.row.remark }}
  232. </template>
  233. </el-table-column>
  234. <el-table-column label="推送频率" width="120" align="center">
  235. <template slot-scope="scope">
  236. <div v-if="scope.row.frequency_type == 1">
  237. {{ "每次必推" }}
  238. </div>
  239. <div v-if="scope.row.frequency_type == 2">
  240. {{ scope.row.day_count }}天/次
  241. </div>
  242. <div v-if="scope.row.frequency_type == 3">
  243. {{ scope.row.week_days }}
  244. </div>
  245. </template>
  246. </el-table-column>
  247. <el-table-column fixed="right" label="操作" width="102" align="center">
  248. <template slot-scope="scope">
  249. <el-button
  250. @click.native.prevent="delects(scope.$index, scope, item)"
  251. type="danger"
  252. size="small"
  253. >
  254. 删除
  255. </el-button>
  256. </template>
  257. </el-table-column>
  258. </el-table>
  259. </el-tab-pane>
  260. </el-tabs>
  261. </el-main>
  262. </el-container>
  263. </div>
  264. </div>
  265. </template>
  266. <script>
  267. import { gethisusertoalive } from "@/api/deposit";
  268. import {
  269. getdrugsinformation,
  270. replacepeoplename,
  271. replaceconfig,
  272. deletedrugsbatch,
  273. batchdeleteitems,
  274. getmodeconfigs,
  275. ptemplateinformation,
  276. deleteone,
  277. } from "@/api/batch/batch";
  278. export default {
  279. data() {
  280. return {
  281. dialogVisible: false,
  282. tableList: [],
  283. editableTabsValue: "1",
  284. modeOptions: {},
  285. tableDatas: [
  286. {
  287. id: "",
  288. drug_name: "",
  289. single_dose: "",
  290. single_dose_unit: "",
  291. delivery_way: "",
  292. execution_frequency: "",
  293. day: "",
  294. prescribing_number: "",
  295. prescribing_number_unit: "",
  296. price: "",
  297. remark: "",
  298. },
  299. ], //药品
  300. project: [
  301. {
  302. id: "",
  303. drug_name: "",
  304. translate: "",
  305. single_dose: "",
  306. unit: "",
  307. delivery_way: "",
  308. execution_frequency: "",
  309. day: "",
  310. prescribing_number: "",
  311. price: "",
  312. remark: "",
  313. frequency_type: 1,
  314. day_count: "",
  315. week_days: "",
  316. },
  317. ], //项目
  318. tabIndex: 2,
  319. modeOptions_value: 1, //透析模式
  320. multipleSelection: [], //选中的患者
  321. tableData: [],
  322. options: [
  323. { id: 1, name: "药品" },
  324. { id: 2, name: "项目" },
  325. ],
  326. options_patient: [
  327. { id: 1, name: "是" },
  328. { id: 2, name: "否" },
  329. ],
  330. options_2: [
  331. { id: 1, name: "普通门诊" },
  332. { id: 2, name: "门诊特殊病" },
  333. ],
  334. new_type: 1, //新增类型
  335. druglist: [], //药品列表
  336. projectlist: [], //项目列表
  337. id: "", //药品、项目、耗材
  338. tmplist: [], //临时
  339. unit: [
  340. { id: 1, name: "g" },
  341. { id: 2, name: "mg" },
  342. { id: 3, name: "u" },
  343. { id: 4, name: "ml" },
  344. { id: 5, name: "万U" },
  345. { id: 6, name: "枚" },
  346. { id: 7, name: "粒" },
  347. { id: 8, name: "片" },
  348. { id: 9, name: "支" },
  349. { id: 10, name: "μg" },
  350. { id: 11, name: "iu" },
  351. { id: 12, name: "包" },
  352. { id: 13, name: "袋" },
  353. { id: 14, name: "万" },
  354. { id: 15, name: "万iu" },
  355. { id: 16, name: "丸" },
  356. { id: 17, name: "盒" },
  357. { id: 18, name: "瓶" },
  358. { id: 19, name: "瓶(袋)" },
  359. { id: 20, name: "次" },
  360. ],
  361. usage: [], //用法
  362. frequency: [], //频率
  363. frequency_type: "", //周期提醒
  364. day_count: "", //周期提醒天
  365. week_days: [], //周期提醒星期
  366. tabhang: 0, //tab的下标
  367. hang: 0, //行数
  368. list: [],
  369. isshow: 0, //是否显示处方
  370. tmpid: 0,
  371. };
  372. },
  373. created() {
  374. // console.log("this.$store.getters.treatment_mode",this.$store.getters.treatment_mode)
  375. for (let key in this.$store.getters.treatment_mode) {
  376. this.modeOptions[key] = this.$store.getters.treatment_mode[key];
  377. }
  378. // console.log("this.modeOptions",this.modeOptions)
  379. this.getdrugconfigs();
  380. this.isshow = 0;
  381. this.tmpid = 0;
  382. },
  383. methods: {
  384. save() {
  385. var tmp = this.modeOptions[this.modeOptions_value].name;
  386. var tmp2 = "";
  387. if (this.druglist != null) {
  388. for (let i = 0; i < this.druglist.length; i++) {
  389. if (this.id == this.druglist[i].id) {
  390. tmp2 = this.druglist[i].name;
  391. }
  392. }
  393. }
  394. if (this.projectlist != null) {
  395. for (let j = 0; j < this.projectlist.length; j++) {
  396. if (this.id == this.projectlist[j].id) {
  397. tmp2 = this.projectlist[j].name;
  398. }
  399. }
  400. }
  401. this.$confirm(
  402. "请确定是否删除?", //注:该操作将会把所选患者的"+tmp+"透析模式中的"+tmp2+"进行删除,
  403. "",
  404. {
  405. confirmButtonText: "确 定",
  406. cancelButtonText: "取 消",
  407. type: "warning",
  408. }
  409. ).then(() => {
  410. if (this.multipleSelection.length == 0) {
  411. this.$message.error("没有选中有效信息");
  412. return;
  413. }
  414. let st = "";
  415. for (let i = 0; i < this.multipleSelection.length; i++) {
  416. st = st + this.multipleSelection[i].id + ",";
  417. }
  418. console.log("string", st);
  419. let params = {
  420. mode_id: this.modeOptions_value,
  421. patient_id: st,
  422. type: this.new_type,
  423. replaced: this.id,
  424. };
  425. if (this.new_type == 1) {
  426. deletedrugsbatch(params).then((res) => {
  427. if (res.data.state == 1) {
  428. this.$message.success("删除成功");
  429. this.getUsername();
  430. } else {
  431. this.$message.error(res.data.msg);
  432. }
  433. });
  434. } else {
  435. batchdeleteitems(params).then((res) => {
  436. if (res.data.state == 1) {
  437. this.$message.success("删除成功");
  438. this.getUsername();
  439. } else {
  440. this.$message.error(res.data.msg);
  441. }
  442. });
  443. }
  444. });
  445. },
  446. test(val) {
  447. console.log("val?:", val);
  448. this.tmpid = val.id;
  449. var params = {
  450. mode_id: this.modeOptions_value,
  451. patient_id: val.id,
  452. };
  453. ptemplateinformation(params).then((res) => {
  454. if (res.data.state == 1) {
  455. this.list = res.data.data.list;
  456. this.isshow = 1;
  457. }
  458. });
  459. },
  460. lili() {
  461. console.log("this.list", this.list);
  462. console.log("this.multipleSelection", this.multipleSelection);
  463. // console.log("this.mode",this.modeOptions_value)
  464. // console.log("this.projectlist2",this.projectlist2)
  465. // console.log("patient_value",this.patient_value)
  466. },
  467. delects(hang, sc, item) {
  468. this.$confirm("删除后不可恢复,是否确认删除?", "删除", {
  469. confirmButtonText: "确定",
  470. cancelButtonText: "取消",
  471. type: "warning",
  472. })
  473. .then(() => {
  474. var params = {
  475. type: item.type, //1药品2项目
  476. id: sc.row.id,
  477. };
  478. var params2 = {
  479. mode_id: this.modeOptions_value,
  480. patient_id: this.tmpid,
  481. };
  482. deleteone(params).then((res) => {
  483. if (res.data.state == 1) {
  484. this.$message.success("删除成功");
  485. ptemplateinformation(params2).then((res) => {
  486. if (res.data.state == 1) {
  487. this.list = res.data.data.list;
  488. this.isshow = 1;
  489. }
  490. });
  491. }
  492. });
  493. })
  494. .catch(() => {
  495. this.$message({
  496. type: 'success',
  497. message: "已取消删除",
  498. });
  499. });
  500. // console.log("hang",hang)
  501. // console.log("sc",sc)
  502. // console.log("item",item)
  503. },
  504. changetype() {
  505. console.log(">>>>>>>", this.new_type);
  506. this.id = "";
  507. this.tableData = [];
  508. },
  509. changeid(item, index) {
  510. item.id = item.drug_name;
  511. var params = {
  512. id: item.id,
  513. };
  514. getdrugsinformation(params).then((res) => {
  515. if (res.data.state == 1) {
  516. console.log("res??", res);
  517. this.tableDatas[0].single_dose = res.data.data.list[0].single_dose;
  518. this.tableDatas[0].single_dose_unit =
  519. res.data.data.list[0].single_dose_unit;
  520. this.tableDatas[0].delivery_way = res.data.data.list[0].delivery_way;
  521. this.tableDatas[0].execution_frequency =
  522. res.data.data.list[0].execution_frequency;
  523. this.tableDatas[0].day = res.data.data.list[0].drug_day;
  524. this.tableDatas[0].prescribing_number =
  525. res.data.data.list[0].prescribing_number;
  526. this.tableDatas[0].prescribing_number_unit =
  527. res.data.data.list[0].prescribing_number_unit;
  528. this.tableDatas[0].price = res.data.data.list[0].retail_price;
  529. this.tableDatas[0].remark = res.data.data.list[0].remark;
  530. }
  531. });
  532. },
  533. handleSelectionChange(val) {
  534. this.multipleSelection = val;
  535. },
  536. changeid2(item, index) {
  537. item.id = item.drug_name;
  538. var params = {
  539. id: item.id,
  540. };
  541. getdrugsinformation(params).then((res) => {
  542. if (res.data.state == 1) {
  543. console.log("res??", res);
  544. this.project[0].single_dose = res.data.data.list[0].single_dose;
  545. this.project[0].translate = res.data.data.list[0].translate;
  546. this.project[0].delivery_way = res.data.data.list[0].delivery_way;
  547. this.project[0].execution_frequency =
  548. res.data.data.list[0].execution_frequency;
  549. this.project[0].day = res.data.data.list[0].day;
  550. this.project[0].prescribing_number =
  551. res.data.data.list[0].prescribing_number;
  552. this.project[0].unit = res.data.data.list[0].unit;
  553. this.project[0].price = res.data.data.list[0].retail_price;
  554. this.project[0].remark = res.data.data.list[0].remark;
  555. }
  556. });
  557. },
  558. //获取配置
  559. getdrugconfigs() {
  560. var params = {};
  561. replaceconfig(params).then((res) => {
  562. if (res.data.state == 1) {
  563. this.druglist = res.data.data.list;
  564. this.projectlist = res.data.data.list2;
  565. }
  566. });
  567. getmodeconfigs(params).then((res) => {
  568. if (res.data.state == 1) {
  569. this.frequency = res.data.data.efs;
  570. this.usage = res.data.data.drugways;
  571. }
  572. });
  573. },
  574. getUsername() {
  575. var params = {
  576. id: this.id,
  577. mode: this.modeOptions_value,
  578. };
  579. replacepeoplename(params).then((res) => {
  580. if (res.data.state == 1) {
  581. this.tableData = res.data.data.list;
  582. }
  583. });
  584. },
  585. handleClose(done) {
  586. this.$confirm("确认关闭?")
  587. .then((_) => {
  588. done();
  589. })
  590. .catch((_) => {});
  591. },
  592. },
  593. };
  594. </script>
  595. <style lang="scss" scoped>
  596. ::v-deep .el-tabs__content {
  597. padding: 8px;
  598. }
  599. /deep/ .el-table__fixed {
  600. bottom: 0px !important;
  601. }
  602. .app-container {
  603. padding: 10px;
  604. background: #f6f8f9;
  605. }
  606. ::v-deep .el-table__body-wrapper {
  607. height: 500px;
  608. overflow-y: scroll;
  609. }
  610. .bannar_list {
  611. margin-bottom: 10px;
  612. display: flex;
  613. justify-content: space-between;
  614. .banner_left {
  615. width: 960px;
  616. display: flex;
  617. justify-content: space-around;
  618. div {
  619. white-space: nowrap;
  620. font-size: 14px;
  621. color: #606266;
  622. }
  623. }
  624. }
  625. .left_table{
  626. /deep/ .el-table{
  627. .el-table__body-wrapper{
  628. overflow-x: hidden;
  629. }
  630. }
  631. }
  632. .frequence {
  633. text-align: center;
  634. }
  635. /deep/ .el-button--small {
  636. padding: 9px 6px;
  637. }
  638. .zone {
  639. // margin-left: 30px;
  640. // text-align: left;
  641. width: 70px;
  642. display: inline-block;
  643. color: #606266;
  644. }
  645. .disinfect {
  646. position: relative;
  647. .newButton {
  648. // position: absolute;
  649. // right: 2%;
  650. // top:4px;
  651. // z-index: 9;
  652. margin-bottom: 10px;
  653. margin-left: 90%;
  654. }
  655. }
  656. .disinfectOne {
  657. position: relative;
  658. .newButtonOne {
  659. position: absolute;
  660. right: 0;
  661. top: -10;
  662. z-index: 18;
  663. }
  664. }
  665. .but {
  666. width: 200px;
  667. height: 50px;
  668. // border: solid 1px red;
  669. margin-left: 77%;
  670. }
  671. .clearn {
  672. width: 460px;
  673. height: 50px;
  674. // border:solid 1px red;
  675. margin-left: 650px;
  676. }
  677. .zClass {
  678. width: 200px;
  679. height: 200px;
  680. // border:solid 1px red;
  681. margin-left: 450px;
  682. margin-top: 200px;
  683. }
  684. .warn {
  685. color: red;
  686. font-size: 14px;
  687. width: 100%;
  688. display: inline-block;
  689. margin-left: 96px;
  690. }
  691. .userbutton {
  692. margin-bottom: 10px;
  693. margin-left: 82%;
  694. }
  695. </style>
  696. <style lang="scss" >
  697. .a {
  698. margin-bottom: 10px;
  699. margin-top: 6px;
  700. }
  701. .b {
  702. .el-button {
  703. margin-left: 90%;
  704. margin-bottom: 10px;
  705. }
  706. }
  707. .stoppage {
  708. .el-form-item__label {
  709. width: 190px;
  710. }
  711. }
  712. .st {
  713. .el-form-item__label {
  714. width: -10px;
  715. }
  716. }
  717. .main {
  718. position: relative;
  719. .newButtonOne {
  720. position: absolute;
  721. right: 0;
  722. z-index: 2;
  723. }
  724. }
  725. .elbutton {
  726. // border: solid 1px red;
  727. height: 50px;
  728. width: 400px;
  729. margin-left: 650px;
  730. }
  731. // .el-form-item__label {
  732. // width: 130px;
  733. // font-size: 14px;
  734. // }
  735. .el-form-item__error {
  736. margin-left: 130px;
  737. }
  738. .el-upload-list__item-name {
  739. color: #606266;
  740. display: block;
  741. margin-right: 40px;
  742. overflow: hidden;
  743. padding-left: 4px;
  744. text-overflow: ellipsis;
  745. transition: color 0.3s;
  746. white-space: nowrap;
  747. }
  748. .el-main {
  749. padding-top: 0px;
  750. padding-left: 18px;
  751. padding-right: 0px;
  752. .el-tabs{
  753. .el-tabs__content{
  754. padding: 12px;
  755. .el-table .el-table__header-wrapper table{
  756. width: 100% !important;
  757. }
  758. .el-table .el-table__body-wrapper table{
  759. width: 100% !important;
  760. }
  761. }
  762. }
  763. }
  764. .newMain {
  765. .el-form-item__label {
  766. width: 104px;
  767. }
  768. }
  769. .newDisinfectOne {
  770. .el-input--prefix .el-input__inner {
  771. // padding-left: 15px;
  772. padding-right: 0px !important;
  773. }
  774. }
  775. .stoppage {
  776. .el-form-item__label {
  777. width: 18%;
  778. }
  779. }
  780. .newItem {
  781. .el-form-item__label {
  782. width: 130px;
  783. }
  784. }
  785. .formItem {
  786. .el-form-item__label {
  787. width: 104px;
  788. line-height: 30px;
  789. }
  790. }
  791. .newname {
  792. .el-form-item__label {
  793. width: 60px;
  794. }
  795. }
  796. ::-webkit-scrollbar {
  797. height: 20px;
  798. }
  799. .el-table td .cell {
  800. padding: 0 5px !important;
  801. }
  802. .addTab {
  803. position: absolute;
  804. right: 8px;
  805. top: 3px;
  806. z-index: 20;
  807. }
  808. </style>