report.vue 22 KB

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