report.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848
  1. <template>
  2. <div class="addcompany">
  3. <div class="list">
  4. <div class="list-row" style="padding-top: 0">
  5. <div style="height: auto" class="width100">
  6. <div
  7. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx"
  8. >
  9. <div class="input_title float_left">
  10. <span style="color: red">*&nbsp;</span>检查类型
  11. </div>
  12. <div
  13. class="float_left width60 whitespacenowrap first_title height50rpx font28rpx"
  14. style="color: #777"
  15. >
  16. <picker
  17. @change="bindPickerChange"
  18. :value="form.testTypeIndex"
  19. :range="dic_SelectList.safety_inspection_type"
  20. range-key="label"
  21. >
  22. {{
  23. !dic_SelectList.safety_inspection_type[form.testTypeIndex]
  24. .label
  25. ? "未知类型"
  26. : dic_SelectList.safety_inspection_type[form.testTypeIndex]
  27. .label
  28. }}
  29. </picker>
  30. </div>
  31. </div>
  32. <div
  33. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx"
  34. >
  35. <div class="input_title float_left">
  36. <span style="color: red">*&nbsp;</span>
  37. 归属年度
  38. </div>
  39. <div
  40. class="float_left width60 whitespacenowrap first_title height50rpx font28rpx"
  41. style="color: #777"
  42. >
  43. <picker mode="date" fields="year" @change="selectYear">
  44. {{ form.attributiveYear ? form.attributiveYear : "请选择" }}
  45. </picker>
  46. </div>
  47. </div>
  48. <div
  49. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx"
  50. >
  51. <div class="input_title float_left">
  52. <span style="color: red">*&nbsp;</span>
  53. 检查人
  54. </div>
  55. <input
  56. style="color: #777"
  57. class="input_value float_left"
  58. placeholder="请输入"
  59. v-model="form.checkUser"
  60. />
  61. </div>
  62. <div
  63. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx"
  64. style="display: flex; align-items: center; color: #777"
  65. >
  66. <div class="input_title float_left">
  67. <span style="color: red">*&nbsp;</span>
  68. 检查对象
  69. </div>
  70. <div @click="onOpen">
  71. {{ form.checkCompanyName ? form.checkCompanyName : "请选择" }}
  72. </div>
  73. </div>
  74. <div
  75. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx"
  76. >
  77. <div class="input_title float_left">
  78. <span style="color: red">*&nbsp;</span>检查日期
  79. </div>
  80. <div
  81. class="float_left width60 whitespacenowrap first_title height50rpx font28rpx"
  82. style="color: #777"
  83. >
  84. <picker mode="date" @change="selectCarDate">
  85. {{ form.checkTime ? form.checkTime : "请选择" }}
  86. </picker>
  87. </div>
  88. </div>
  89. <div
  90. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height300rpx"
  91. style="height: 325rpx"
  92. >
  93. <div class="input_title mb16rpx">检查详情:</div>
  94. <textarea
  95. v-model="form.checkInfo"
  96. :maxlength="2000"
  97. placeholder="请输入"
  98. type="textarea"
  99. style="
  100. height: 200rpx;
  101. background: rgba(249, 249, 249, 1);
  102. padding: 20rpx;
  103. width: calc(100% - 40rpx);
  104. "
  105. />
  106. <div
  107. style="
  108. background: rgba(249, 249, 249, 1);
  109. text-align: right;
  110. padding-right: 10px;
  111. padding-bottom: 10rpx;
  112. "
  113. >
  114. {{
  115. form.checkInfo && form.checkInfo.length
  116. ? form.checkInfo.length
  117. : 0
  118. }}/2000
  119. </div>
  120. </div>
  121. <div class="width100 mt24rpx border_bottom_ccc list_date">
  122. <div class="input_title">
  123. <span style="color: red">*&nbsp;</span>自检表:
  124. </div>
  125. <div style="margin-top: 24rpx">(支持图片上传10M内,最多6张)</div>
  126. <div
  127. class="custom-image-box"
  128. style="margin-top: 20rpx; margin-bottom: 36rpx"
  129. >
  130. <van-uploader
  131. :max-count="6"
  132. @delete="deleteRYXXZP()"
  133. :file-list="form.uploadAddressExcel"
  134. @after-read="uploadRYXXZP"
  135. :show-upload="true"
  136. />
  137. </div>
  138. </div>
  139. <div class="width100 mt24rpx border_bottom_ccc list_date">
  140. <div class="input_title">其他附件</div>
  141. <!-- <div style="margin-top: 24rpx">(支持图片上传10M内,最多6张)</div> -->
  142. <div
  143. style="margin-top: 20rpx; margin-bottom: 36rpx"
  144. class="choosefile"
  145. >
  146. <!-- <van-uploader
  147. accept="all"
  148. :max-count="6"
  149. @delete="deleteRYXXZP2()"
  150. :file-list="form.uploadAddressExcel2"
  151. @after-read="uploadRYXXZP2"
  152. :show-upload="true"
  153. /> -->
  154. <van-uploader
  155. limit="5"
  156. @delete="deleteRYXXZP2"
  157. @after-read="uploadRYXXZP2"
  158. :file-list="form.uploadAddressExcel2"
  159. accept="file"
  160. file-extname="docx,pdf,xls,xlsx,txt"
  161. title="最多选择5个文件"
  162. >
  163. <van-button
  164. type="primary"
  165. size="small"
  166. style="margin-bottom: 15rpx"
  167. >文件选择</van-button
  168. >
  169. </van-uploader>
  170. <div
  171. @click="openFile(item)"
  172. class="file"
  173. v-for="(item, index) in form.uploadAddressExcel2"
  174. :key="index"
  175. >
  176. <div style="width: 90%">{{ item.name }}</div>
  177. <uni-icons
  178. type="closeempty"
  179. size="20"
  180. @click="deleteRYXXZP2(index)"
  181. ></uni-icons>
  182. </div>
  183. </div>
  184. </div>
  185. <div
  186. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height300rpx"
  187. style="height: 325rpx"
  188. >
  189. <div class="input_title mb16rpx">备注:</div>
  190. <textarea
  191. v-model="form.remark"
  192. :maxlength="2000"
  193. placeholder="请输入"
  194. type="textarea"
  195. style="
  196. height: 200rpx;
  197. background: rgba(249, 249, 249, 1);
  198. padding: 20rpx;
  199. width: calc(100% - 40rpx);
  200. "
  201. />
  202. <div
  203. style="
  204. background: rgba(249, 249, 249, 1);
  205. text-align: right;
  206. padding-right: 10px;
  207. padding-bottom: 10rpx;
  208. "
  209. >
  210. {{
  211. form.remark && form.remark.length ? form.remark.length : 0
  212. }}/2000
  213. </div>
  214. </div>
  215. <div
  216. v-if="form.handlingFeedback.length > 0"
  217. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height300rpx"
  218. style="height: 325rpx"
  219. >
  220. <div class="input_title mb16rpx">反馈记录</div>
  221. <textarea
  222. v-model="form.handlingFeedback"
  223. :maxlength="2000"
  224. placeholder="请输入"
  225. type="textarea"
  226. style="
  227. height: 200rpx;
  228. background: rgba(249, 249, 249, 1);
  229. padding: 20rpx;
  230. width: calc(100% - 40rpx);
  231. "
  232. />
  233. <div
  234. style="
  235. background: rgba(249, 249, 249, 1);
  236. text-align: right;
  237. padding-right: 10px;
  238. padding-bottom: 10rpx;
  239. "
  240. >
  241. {{ form.handlingFeedback.length }}/2000
  242. </div>
  243. </div>
  244. </div>
  245. </div>
  246. <!-- <div class="form">
  247. <div
  248. class="form_row pdt32 pdb32 border_bottom_ccc width100"
  249. @click="getSelectUserTwo('selectDengjiyuan')"
  250. >
  251. <div class="float_left width30 first_title height50rpx">招商经理</div>
  252. <div
  253. class="float_left width60 whitespacenowrap first_title height50rpx font28rpx color292d98"
  254. >
  255. {{ form.investmentManagerString }}
  256. </div>
  257. <img
  258. class="height40rpx width40rpx float_right"
  259. src="../../../static/mine/youjiantou.png"
  260. alt=""
  261. />
  262. </div>
  263. </div> -->
  264. <van-popup
  265. position="bottom"
  266. closeable
  267. :show="finisherPopupStatus"
  268. @close="onClose"
  269. custom-style="height:1000rpx;"
  270. >
  271. <div style="margin-top: 70rpx">
  272. <input
  273. type="text"
  274. v-model="qymc"
  275. @keydown.enter="findAllSimpleCompanies()"
  276. @confirm="findAllSimpleCompanies()"
  277. style="margin: 10rpx 15rpx"
  278. placeholder="请输入园区用户模糊查询"
  279. />
  280. <div class="tabsbox">
  281. <div class="tabsbox-item" v-for="item in companyUserList">
  282. <div style="width: 70%; overflow: hidden">
  283. {{ item.text }}
  284. </div>
  285. <div
  286. @click="getFinishUserName(item.value, item.text, 2)"
  287. :class="[
  288. 'people-select',
  289. form.checkCompanyName == item.value ? 'ischecked' : '',
  290. ]"
  291. >
  292. <div
  293. :class="[
  294. 'select-point',
  295. form.checkCompanyName == item.value ? 'ischecked' : '',
  296. ]"
  297. ></div>
  298. </div>
  299. </div>
  300. </div>
  301. </div>
  302. </van-popup>
  303. <div class="save_button" v-if="!saveBtnStatus" @click="save()">保存</div>
  304. </div>
  305. <select-dengjiyuan
  306. ref="selectDengjiyuan"
  307. :multiple="true"
  308. :range="range"
  309. :selectParent="true"
  310. :foldAll="true"
  311. rangeKey="name"
  312. idKey="id"
  313. @selectDengjiyuan="selectDengjiyuan"
  314. >
  315. </select-dengjiyuan>
  316. <multiple-select
  317. v-model="show"
  318. :data="companyAllList"
  319. :default-selected="defaultSelected"
  320. @confirm="confirm"
  321. ></multiple-select>
  322. </div>
  323. </template>
  324. <script>
  325. const form = {
  326. uploadAddressExcel: [],
  327. uploadAddressExcel2: [],
  328. testTypeIndex: 0,
  329. year: "2023",
  330. carDate: "2023-06-30",
  331. remark: "",
  332. checkInfo: "",
  333. };
  334. import multipleSelect from "../../subPackages/components/momo-multipleSelect/momo-multipleSelect";
  335. import selectDengjiyuan from "../../subPackages/components/select_dengjiyuan/tkitree.vue";
  336. import tools from "../../subPackages/components/tkitree/tools.js";
  337. import {
  338. getSelectUserTwo,
  339. getSelectDeptTwo,
  340. getByCodes,
  341. getUserLocalStorageInfo,
  342. addSafetySelfCheckingManage,
  343. updateSafetySelfCheckingManage,
  344. findSafetySelfCheckingManagetById,
  345. findAllSimpleCompanies,
  346. } from "@/js_sdk/http";
  347. export default {
  348. components: {
  349. multipleSelect,
  350. selectDengjiyuan,
  351. },
  352. data() {
  353. return {
  354. qymc: "",
  355. id: null,
  356. finisherPopupStatus: false,
  357. companyUserList: [],
  358. BASE_URI: this.$constant.BASE_URI,
  359. companyAllList: [],
  360. defaultSelected: [],
  361. show: false,
  362. bizhongIndex: 0,
  363. testList: [
  364. { label: "类型1", value: 1 },
  365. { label: "类型2", value: 2 },
  366. { label: "类型3", value: 3 },
  367. { label: "类型4", value: 4 },
  368. { label: "类型5", value: 5 },
  369. { label: "类型6", value: 6 },
  370. { label: "类型7", value: 7 },
  371. { label: "类型8", value: 8 },
  372. ],
  373. testList: ["企业自检", "设备自检"],
  374. settleInTypeIndex: 0,
  375. range: [],
  376. zaitiList: [],
  377. imageStyles: {},
  378. listStyles: {},
  379. fileLists: [],
  380. activeNames: [],
  381. StatusBar: 0,
  382. dic_key: ["safety_inspection_type"],
  383. dic_SelectList: {},
  384. search: {
  385. pageSize: 10,
  386. pageNum: 1,
  387. },
  388. form: { ...form },
  389. companyAllList: [],
  390. value: ["0"],
  391. modeIndex: -1,
  392. styleIndex: -1,
  393. current: 0,
  394. mode: "default",
  395. dotsStyles: {},
  396. swiperDotIndex: 0,
  397. saveBtnStatus: false,
  398. };
  399. },
  400. onLoad(option) {
  401. this.id = option.id !== "null" ? option.id : null;
  402. this.saveBtnStatus = option.saveBtnStatus ? option.saveBtnStatus : false;
  403. console.log(option.saveBtnStatus);
  404. this.form.createdBy = getUserLocalStorageInfo().user.id;
  405. this.getByCodes();
  406. this.findAllSimpleCompanies();
  407. // this.getByCodes();
  408. // this.getCompanyAll();
  409. },
  410. onShow() {},
  411. methods: {
  412. getFinishUserName(id, name, pushType) {
  413. this.form.checkCompanyId = id;
  414. this.form.checkCompanyName = name;
  415. this.finisherPopupStatus = false;
  416. },
  417. onClose() {
  418. this.finisherPopupStatus = false;
  419. },
  420. onOpen() {
  421. this.finisherPopupStatus = true;
  422. },
  423. async findAllSimpleCompanies() {
  424. let { data } = await findAllSimpleCompanies({
  425. pageSize: 1,
  426. pageNum: 1,
  427. qymc: this.qymc,
  428. });
  429. console.log(data);
  430. this.companyUserList = data.rows;
  431. },
  432. async findSafetySelfCheckingManagetById() {
  433. let that = this;
  434. if (that.id != null) {
  435. let detail = await findSafetySelfCheckingManagetById(that.id);
  436. that.form = detail;
  437. that.form.uploadAddressExcel = JSON.parse(detail.uploadAddressExcel);
  438. that.form.uploadAddressExcel2 = detail.uploadAddressExcel2
  439. ? JSON.parse(detail.uploadAddressExcel2)
  440. : [];
  441. let index = that.dic_SelectList.safety_inspection_type.findIndex(
  442. (e) => e.value == detail.type
  443. );
  444. if (index != -1) {
  445. that.form.testTypeIndex = index;
  446. that.form.type = that.safety_inspection_type[index].value;
  447. }
  448. }
  449. },
  450. selectYear(event) {
  451. this.form.attributiveYear = event.detail.value;
  452. this.$forceUpdate();
  453. },
  454. selectCarDate(event) {
  455. this.form.checkTime = event.detail.value;
  456. this.$forceUpdate();
  457. },
  458. bindPickerChange: function (e) {
  459. console.log("picker发送选择改变,携带值为", e.detail);
  460. this.form.testTypeIndex = e.detail.value;
  461. this.form.type =
  462. this.dic_SelectList.safety_inspection_type[e.detail.value].value;
  463. },
  464. uploadRYXXZP(event) {
  465. let that = this;
  466. const { file } = event.detail;
  467. uni.uploadFile({
  468. url: that.$constant.BASE_URI + "/wx/fileController/upload",
  469. filePath: file.url,
  470. name: "file",
  471. formData: { user: "test" },
  472. success(res) {
  473. // 上传完成需要更新 fileList
  474. let data = JSON.parse(res.data);
  475. that.form.uploadAddressExcel.push({
  476. imgUrl: "/FileController/download/" + data.data[0],
  477. id: data.data[0],
  478. url:
  479. that.$constant.BASE_URI +
  480. "/FileController/download/" +
  481. data.data[0],
  482. isImage: true,
  483. });
  484. },
  485. fail(res) {},
  486. });
  487. },
  488. uploadRYXXZP2(e) {
  489. console.log(e);
  490. console.log(e.detail.file.url);
  491. let that = this;
  492. let tempFilePaths = e.detail.file.url;
  493. uni.uploadFile({
  494. url: that.$constant.BASE_URI + "/wx/fileController/upload2",
  495. filePath: tempFilePaths,
  496. name: "file",
  497. formData: { user: "test" },
  498. success(res) {
  499. // 上传完成需要更新 fileList
  500. let data = JSON.parse(res.data);
  501. console.log(data);
  502. that.form.uploadAddressExcel2 = !that.form.uploadAddressExcel2
  503. ? []
  504. : that.form.uploadAddressExcel2;
  505. console.log(that.form.uploadAddressExcel2);
  506. that.form.uploadAddressExcel2.push({
  507. name: JSON.parse(data.data[0]).name,
  508. size: JSON.parse(data.data[0]).size,
  509. imgUrl: "/FileController/download/" + data.data[1],
  510. id: data.data[1],
  511. url:
  512. that.$constant.BASE_URI +
  513. "/FileController/download/" +
  514. data.data[1],
  515. });
  516. console.log(that.form.uploadAddressExcel2);
  517. },
  518. fail(res) {},
  519. });
  520. },
  521. confirm(e) {
  522. var associationCompanyString = [];
  523. var associationCompany = [];
  524. for (var p in e) {
  525. associationCompanyString.push(e[p].label);
  526. associationCompany.push(e[p].value);
  527. }
  528. this.form.associationCompanyString = associationCompanyString.join(",");
  529. this.form.associationCompany = associationCompany.join(",");
  530. },
  531. deleteRYXXZP(event) {
  532. this.form.uploadAddressExcel.splice(event.detail.index, 1);
  533. },
  534. deleteRYXXZP2(index) {
  535. console.log(index);
  536. this.form.uploadAddressExcel2.splice(index, 1);
  537. },
  538. openFile(item) {
  539. uni.downloadFile({
  540. url: item.url,
  541. success: function (res) {
  542. var filePath = res.tempFilePath;
  543. console.log("下载文件:", res);
  544. uni.openDocument({
  545. filePath: filePath,
  546. success: function (res) {
  547. console.log("打开文档成功");
  548. },
  549. fail: function (res) {
  550. console.log("uni.openDocument,fail");
  551. console.log(res);
  552. },
  553. complete: function (res) {
  554. console.log("uni.openDocument,complete");
  555. console.log(res);
  556. },
  557. });
  558. },
  559. fail: function (res) {
  560. console.log("uni.downloadFile,fail");
  561. console.log(res);
  562. },
  563. complete: function (res) {
  564. console.log("uni.downloadFile,complete");
  565. console.log(res);
  566. },
  567. });
  568. console.log(item);
  569. },
  570. async getByCodes() {
  571. let data = await getByCodes(JSON.stringify(this.dic_key));
  572. this.dic_SelectList = this.$common.handleDicList(data);
  573. this.form.type = this.dic_SelectList.safety_inspection_type[0].value;
  574. if (this.form.createdBy) {
  575. this.findSafetySelfCheckingManagetById();
  576. }
  577. },
  578. // /wx/SaleController/findRoomInfoListByIds
  579. async findRoomInfoListByIds() {
  580. let data = await findRoomInfoListByIds(ids);
  581. return data;
  582. },
  583. async getSelectUserTwo(key) {
  584. let that = this;
  585. let departmentList = await getSelectUserTwo("");
  586. that.range = tools.transData(
  587. departmentList.data,
  588. "id",
  589. "parentid",
  590. "children"
  591. );
  592. that.$refs[key]._show();
  593. },
  594. async getSelectDeptTwo(key) {
  595. let that = this;
  596. let departmentList = await getSelectDeptTwo("");
  597. that.range = tools.transData(
  598. departmentList.data,
  599. "id",
  600. "parentid",
  601. "children"
  602. );
  603. that.$refs[key]._show();
  604. },
  605. binddata() {},
  606. submit() {},
  607. async save() {
  608. let that = this;
  609. if (!that.form.attributiveYear || that.form.attributiveYear.length == 0) {
  610. that.$showToast("请选择归属年度");
  611. return;
  612. }
  613. if (!that.form.checkUser || that.form.checkUser.length == 0) {
  614. that.$showToast("请填写检查人");
  615. return;
  616. }
  617. if (!that.form.checkTime || that.form.checkTime.length == 0) {
  618. that.$showToast("请选择检查日期");
  619. return;
  620. }
  621. if (!that.form.checkCompanyName) {
  622. that.$showToast("请选择检查对象");
  623. return;
  624. }
  625. console.log(that.form.uploadAddressExcel);
  626. if (
  627. !that.form.uploadAddressExcel ||
  628. that.form.uploadAddressExcel.length == 0
  629. ) {
  630. that.$showToast("请填写上传自检表");
  631. return;
  632. }
  633. console.log(that.form.uploadAddressExcel);
  634. let uploadAddressExcel = JSON.stringify(that.form.uploadAddressExcel);
  635. let uploadAddressExcel2 = JSON.stringify(that.form.uploadAddressExcel2);
  636. let form = { ...this.form };
  637. form.companyName = getUserLocalStorageInfo().user.truename;
  638. form.uploadAddressExcel = uploadAddressExcel;
  639. form.uploadAddressExcel2 = uploadAddressExcel2;
  640. let data;
  641. if (this.id) data = await updateSafetySelfCheckingManage(form);
  642. else data = await addSafetySelfCheckingManage(form);
  643. if (data.code == 200) {
  644. this.$showToast(this.id ? "编辑成功" : "新增成功");
  645. uni.navigateBack({});
  646. }
  647. },
  648. chossseFile() {
  649. this.$refs.files.upload();
  650. },
  651. onChange(event) {
  652. this.activeNames = event.detail;
  653. },
  654. },
  655. };
  656. </script>
  657. <style scoped lang="scss" scpoed>
  658. .tabsbox {
  659. height: 680rpx;
  660. overflow-y: auto;
  661. padding: 10rpx;
  662. .tabsbox-item {
  663. margin: 5rpx;
  664. display: flex;
  665. justify-content: space-between;
  666. align-items: center;
  667. }
  668. }
  669. .people-select {
  670. height: 30rpx;
  671. width: 30rpx;
  672. border-radius: 50%;
  673. border: 5rpx solid #cccc;
  674. text-align: center;
  675. line-height: 50rpx;
  676. align-items: center;
  677. display: flex;
  678. justify-content: center;
  679. .select-point {
  680. height: 15rpx;
  681. width: 15rpx;
  682. background: #cccc;
  683. border-radius: 50%;
  684. }
  685. }
  686. .save_button {
  687. width: calc(100% - 64rpx);
  688. margin: 64rpx 32rpx 0 32rpx;
  689. background: #1d18bc;
  690. border-radius: 50rpx;
  691. height: 88rpx;
  692. color: white;
  693. text-align: center;
  694. line-height: 88rpx;
  695. }
  696. .form {
  697. width: calc(100% - 64rpx);
  698. background: #ffffff;
  699. padding: 32rpx;
  700. margin-top: 64rpx;
  701. .label {
  702. height: 53rpx;
  703. line-height: 53rpx;
  704. }
  705. }
  706. .form_row {
  707. height: 40rpx;
  708. font-weight: 400;
  709. font-size: 24rpx;
  710. }
  711. .zaiti_list {
  712. width: 100%;
  713. height: 50rpx;
  714. line-height: 50rpx;
  715. }
  716. .idclass {
  717. width: 147rpx;
  718. height: 100rpx;
  719. }
  720. .dengjibutton {
  721. margin-top: 24rpx;
  722. margin-left: 60rpx;
  723. margin-right: 60rpx;
  724. width: calc(100% - 120rpx);
  725. height: 60rpx;
  726. text-align: center;
  727. background: #1d18bc;
  728. color: white;
  729. line-height: 60rpx;
  730. }
  731. .addcompany {
  732. margin-bottom: 200rpx;
  733. }
  734. .addcompany {
  735. .detailstitle {
  736. height: 42rpx;
  737. font-size: 30rpx;
  738. font-weight: 500;
  739. color: #333333;
  740. padding-bottom: 16rpx;
  741. }
  742. .typestitle {
  743. height: 42rpx;
  744. font-size: 24rpx;
  745. font-weight: 500;
  746. padding-bottom: 16rpx;
  747. margin-bottom: 16rpx;
  748. }
  749. }
  750. </style>
  751. <style lang="scss">
  752. .choosefile {
  753. .van-uploader__preview {
  754. display: none;
  755. }
  756. .is-text-box {
  757. display: none !important;
  758. }
  759. .file {
  760. display: flex;
  761. width: 100%;
  762. flex: 1;
  763. font-size: 14px;
  764. color: #666;
  765. margin-right: 25px;
  766. word-break: break-all;
  767. word-wrap: break-word;
  768. margin-bottom: 15rpx;
  769. }
  770. }
  771. ::v-deep .is-open + .uni-collapse-item__wrap {
  772. height: auto !important;
  773. }
  774. ::v-deep .uni-collapse-item__wrap-content {
  775. height: auto !important;
  776. }
  777. .pageconfig {
  778. background: #ffffff;
  779. padding: 32rpx;
  780. }
  781. .input_title {
  782. width: 40%;
  783. font-size: 28rpx;
  784. height: 40rpx;
  785. line-height: 40rpx;
  786. color: #333333;
  787. }
  788. .input_value {
  789. width: 60%;
  790. font-size: 28rpx;
  791. height: 40rpx;
  792. line-height: 40rpx;
  793. color: #777777;
  794. }
  795. .uni-collapse-item__title-box {
  796. padding: 0 !important;
  797. }
  798. .uni-collapse-item__title-text {
  799. color: #1d18bc !important;
  800. font-size: 32rpx !important;
  801. }
  802. </style>
  803. <style lang="scss">
  804. .example-body {
  805. padding: 10px;
  806. padding-top: 0;
  807. }
  808. .custom-image-box {
  809. /* #ifndef APP-NVUE */
  810. display: flex;
  811. /* #endif */
  812. flex-direction: row;
  813. justify-content: space-between;
  814. align-items: center;
  815. }
  816. .text {
  817. font-size: 14px;
  818. color: #333;
  819. }
  820. .uni-file-picker__item {
  821. display: none;
  822. }
  823. .uploadbutton {
  824. width: 162rpx;
  825. height: 44rpx;
  826. }
  827. .ischecked {
  828. background: rgb(7, 193, 96);
  829. border: 5rpx solid rgb(7, 193, 96);
  830. }
  831. </style>