recordDetails.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844
  1. <!-- 安全检查详情 -->
  2. <template>
  3. <view id="recordDetails">
  4. <view class="info-max-page" v-if="pageType == 1">
  5. <view class="position-button" v-if="buttonArrayType != 4">
  6. <picker @change="buttonChange" :value="buttonIndex" :range="buttonArray">查看报告</picker>
  7. </view>
  8. <view class="top-info-box">
  9. <view class="top-min-info-box">
  10. <view>整改类型:</view>
  11. <view>{{newData.zgType == 0?'一般整改':'重大整改'}}</view>
  12. </view>
  13. <view class="top-min-info-box">
  14. <view>实验室名称:</view>
  15. <view>{{newData.laboratoryName}}</view>
  16. </view>
  17. <view class="top-min-info-box">
  18. <view>房间号:</view>
  19. <view>{{newData.fjNumber}}</view>
  20. </view>
  21. <view class="top-min-info-box">
  22. <view>所属实验楼:</view>
  23. <view>{{newData.buildingName}}</view>
  24. </view>
  25. <view class="top-min-info-box">
  26. <view>实验室负责人:</view>
  27. <view>{{newData.fzrName}}</view>
  28. </view>
  29. <view class="top-min-info-box">
  30. <view>联系方式:</view>
  31. <view>{{newData.fzrLxfs}}</view>
  32. </view>
  33. <view class="top-min-info-box">
  34. <view>检查单位:</view>
  35. <view>{{newData.jcDwName}}</view>
  36. </view>
  37. <view class="top-min-info-box">
  38. <view>检查时间:</view>
  39. <view>{{newData.createTime}}</view>
  40. </view>
  41. <view class="top-min-info-box">
  42. <view>整改截止时间: </view>
  43. <view>{{newData.zgjzTime}}</view>
  44. </view>
  45. <view class="top-info-button" @click="infoClickButton">
  46. <view>{{showType?"收起详情":"查看详情"}}</view>
  47. <img v-if="showType" src="@/images/Version2.2/icon_aqjc_sq.png">
  48. <img v-if="!showType" src="@/images/Version2.2/icon_aqjc_sq_two.png">
  49. </view>
  50. </view>
  51. <view class="bottom-info-box" v-show="showType">
  52. <view class="bottom-info-title-box" v-if="newData.zgStatus==0">
  53. <img src="@/images/Version2.2/icon_aqjc_czwt.png">
  54. <view>存在隐患</view>
  55. </view>
  56. <view class="bottom-info-title-box" v-if="newData.zgStatus != 0">
  57. <img src="@/images/Version2.2/icon_aqjc_zgxx.png">
  58. <view>整改信息</view>
  59. </view>
  60. <view class="rectified-max-box">
  61. <view class="rectified-for-box" v-if="item.isZg != 1" v-for="(item,index) in newData.detailsList" :key="index">
  62. <view class="rectified-for-position-index">{{index+1}}</view>
  63. <img v-if="newData.zgStatus == 4" class="rectified-for-position-img" src="@/images/Version2.2/icon_bg_ywc.png">
  64. <view class="rectified-for-title">{{item.jcxName}}</view>
  65. <view class="rectified-for-name" v-if="item.isLingshi == 1">临时检查项</view>
  66. <view class="rectified-for-name" v-if="item.isLingshi == 0">{{item.jcxSstkMs}}</view>
  67. <view class="rectified-for-text-max-box">
  68. <view class="rectified-for-text-box">
  69. <view>隐患描述:</view>
  70. <view>{{item.yhMs}}</view>
  71. </view>
  72. <view class="rectified-for-text-box" v-if="item.isZg == 0 && newData.zgType == 0">
  73. <view>整改描述:</view>
  74. <view>{{item.zgMs}}</view>
  75. </view>
  76. </view>
  77. <view class="rectified-for-img-max-box">
  78. <view class="rectify_front">
  79. <view class="rectify_front_t">整改前照片:</view>
  80. <view class="rectify_front_b" @click="lockImg(item.yhImg)">
  81. <img :src="itemUrl" v-for="(itemUrl,indexTwo) in item.yhImg" :key="indexTwo">
  82. </view>
  83. </view>
  84. <view v-for="(item2,index2) in item.detailslogList" :key="index2" style="border-bottom: 1px dotted #E0E0E0;">
  85. <view class="top-info-box rectify_info">
  86. <view class="top-min-info-box">
  87. <view>整改时间:</view>
  88. <view>{{item2.createTime}}</view>
  89. </view>
  90. <view class="top-min-info-box">
  91. <view>整改人:</view>
  92. <view>{{item2.zgUserName}}</view>
  93. </view>
  94. <view class="top-min-info-box">
  95. <view>整改描述:</view>
  96. <view style="text-align:left;">{{item2.zgMs}}</view>
  97. </view>
  98. </view>
  99. <view class="rectify_later">
  100. <view class="rectify_later_t">整改后照片:</view>
  101. <view class="rectify_later_b" @click="lockImg(item2.yhZghImg)">
  102. <img :src="item3" v-for="(item3,index3) in item2.yhZghImg" :key="index3">
  103. </view>
  104. </view>
  105. <view class="top-info-box rectify_info" v-if='item2.spTime'>
  106. <view class="top-min-info-box">
  107. <view>复核时间:</view>
  108. <view v-if="item2.spTime">{{item2.spTime}}</view>
  109. </view>
  110. <view class="top-min-info-box">
  111. <view>复核人:</view>
  112. <view v-if="item2.spUserName">{{item2.spUserName}}</view>
  113. </view>
  114. <view class="top-min-info-box">
  115. <view>复核描述:</view>
  116. <view style="text-align:left;" v-if="item2.spSm">{{item2.spSm}}</view>
  117. </view>
  118. </view>
  119. </view>
  120. </view>
  121. </view>
  122. </view>
  123. <view class="bottom-info-title-box" v-if="newData.zgStatus==3">
  124. <img src="@/images/Version2.2/icon_aqjc_zgxx.png">
  125. <view>未整改信息</view>
  126. </view>
  127. <view class="rectified-max-box">
  128. <view class="rectified-for-box" v-if="item.isZg == 1" v-for="(item,index) in newData.detailsList" :key="index">
  129. <view class="rectified-for-position-index">{{index+1}}</view>
  130. <view class="rectified-for-title">{{item.jcxName}}</view>
  131. <view class="rectified-for-name" v-if="item.isLingshi == 1">临时检查项</view>
  132. <view class="rectified-for-name" v-if="item.isLingshi == 0">{{item.jcxSstkMs}}</view>
  133. <view class="rectified-for-text-max-box">
  134. <view class="rectified-for-text-box">
  135. <view>隐患描述:</view>
  136. <view>{{item.yhMs}}</view>
  137. </view>
  138. </view>
  139. <view class="rectified-for-img-max-box">
  140. <view class="rectified-for-img-box" @click="lockImg(item.yhImg)">
  141. <img :src="itemUrl" v-for="(itemUrl,indexTwo) in item.yhImg" :key="indexTwo">
  142. <view class="rectified-for-img-min-text" style="color:#999;" v-if="!item.yhImg[0]">未上传隐患照片</view>
  143. <view class="rectified-for-img-min-text" v-if="item.yhImg[0]">{{newData.zgStatus==0?'隐患照片':'整改前照片'}} >></view>
  144. </view>
  145. <view class="rectified-for-img-box" @click="lockImg(item.zmClImg)" v-if="item.zmClImg">
  146. <img :src="itemUrl" v-for="(itemUrl,indexTwo) in item.zmClImg" :key="indexTwo">
  147. <view class="rectified-for-img-min-text">证明材料 >></view>
  148. </view>
  149. </view>
  150. </view>
  151. </view>
  152. </view>
  153. </view>
  154. <view class="input-max-box" v-if="pageType == 2">
  155. <view class="input-box">
  156. <textarea maxlength="100" v-model="text" placeholder="请输入驳回原因"></textarea>
  157. </view>
  158. <view class="input-button-box">
  159. <view class="out-button" @click="pageClick(1)">返回</view>
  160. <view class="input-button" @click="upDataClick(2)">提交</view>
  161. </view>
  162. </view>
  163. <view class="input-max-box" v-if="pageType == 3">
  164. <view class="input-box">
  165. <textarea maxlength="100" v-model="text" placeholder="请输入整改结果"></textarea>
  166. </view>
  167. <view class="input-button-box">
  168. <view class="out-button" @click="pageClick(1)">返回</view>
  169. <view class="input-button" @click="upDataClick(3)">提交</view>
  170. </view>
  171. </view>
  172. </view>
  173. </template>
  174. <script>
  175. import { config } from '@/api/request/config.js'
  176. import { recordDettailsList, checkRecordUpdate ,checkSign,queryDeptSignByUserId} from '@/api/index.js'
  177. export default {
  178. name: "recordDetails",
  179. data() {
  180. return {
  181. baseUrl:config.base_url,
  182. id:"",
  183. text:"",
  184. //选项
  185. buttonIndex:0,
  186. buttonArray:[],
  187. buttonArrayType:"",
  188. //页面状态
  189. pageType:1,
  190. //详情开关
  191. showType:false,
  192. //数据
  193. newData:{},
  194. }
  195. },
  196. onLoad(option) {
  197. this.id = option.id;
  198. this.getInfo();
  199. },
  200. onShow() {
  201. },
  202. methods: {
  203. pageClick(type){
  204. if(this.pageType != type){
  205. this.pageType = type;
  206. }
  207. },
  208. upDataClick(type){
  209. let self = this;
  210. if(!this.text){
  211. uni.showToast({
  212. title: this.pageType==2?'请输入驳回原因':(this.pageType == 3?'请输入整改结果':''),
  213. icon:"none",
  214. mask:true,
  215. duration: 2000
  216. });
  217. return
  218. }
  219. if(type == 2){
  220. let obj = {
  221. id:this.id,
  222. createUserId:this.newData.createUserId,
  223. fbYy:this.text,
  224. zgStatus:2,
  225. };
  226. uni.showModal({
  227. content: '确认要驳回吗?',
  228. cancelColor:"#999",
  229. confirmColor:"#0183FA",
  230. success: function (res) {
  231. if (res.confirm) {
  232. self.checkRecordUpdate(obj);
  233. console.log('用户点击确定');
  234. } else if (res.cancel) {
  235. console.log('用户点击取消');
  236. }
  237. }
  238. });
  239. }else if(type == 3){
  240. let obj = {
  241. id:this.id,
  242. createUserId:this.newData.createUserId,
  243. zgJg:this.text,
  244. zgStatus:4,
  245. }
  246. uni.showModal({
  247. content: '确认要审核通过吗?',
  248. cancelColor:"#999",
  249. confirmColor:"#0183FA",
  250. success: function (res) {
  251. if (res.confirm) {
  252. self.checkRecordUpdate(obj);
  253. console.log('用户点击确定');
  254. } else if (res.cancel) {
  255. console.log('用户点击取消');
  256. }
  257. }
  258. });
  259. }
  260. },
  261. async checkRecordUpdate(obj){
  262. const {data} = await checkRecordUpdate(obj);
  263. if(data.code == 200){
  264. uni.showToast({
  265. title: '操作成功',
  266. icon:"none",
  267. mask:true,
  268. duration: 2000
  269. });
  270. setTimeout(function(){
  271. uni.navigateBack();
  272. },2000);
  273. }
  274. },
  275. async getInfo(){
  276. let obj = {
  277. id:this.id
  278. };
  279. const {data} = await recordDettailsList(obj);
  280. if(data.code == 200){
  281. let obj = JSON.parse(JSON.stringify(data.data));
  282. for(let i=0;i<obj.yhlist.length;i++){
  283. let text = "";
  284. if(obj.yhlist[i].level1){
  285. text = text + obj.yhlist[i].level1;
  286. }
  287. if(obj.yhlist[i].level2){
  288. text = text + '/'+ obj.yhlist[i].level2;
  289. }
  290. if(obj.yhlist[i].level3){
  291. text = text + '/'+ obj.yhlist[i].level3;
  292. }
  293. if(obj.yhlist[i].level4){
  294. text = text + '/'+ obj.yhlist[i].level4;
  295. }
  296. obj.yhlist[i].level = text;
  297. if(obj.yhlist[i].yhImg){
  298. if(obj.yhlist[i].yhImg[i]){
  299. let yhImgList=obj.yhlist[i].yhImg.split(",");
  300. for(let m=0;m<yhImgList.length;m++){
  301. yhImgList[m]=config.base_url+yhImgList[m];
  302. }
  303. obj.yhlist[i].yhImg = yhImgList;
  304. }
  305. }
  306. if(obj.yhlist[i].zmClImg){
  307. if(obj.yhlist[i].zmClImg[i]){
  308. let yhlImgList=obj.yhlist[i].zmClImg.split(",");
  309. for(let k=0;k<yhlImgList.length;k++){
  310. yhlImgList[k]=config.base_url+yhlImgList[k];
  311. }
  312. obj.yhlist[i].zmClImg = yhlImgList;
  313. }
  314. }
  315. /* 整改后照片 */
  316. /* if(obj.yhlist[i].yhZghImg){
  317. if(obj.yhlist[i].yhZghImg[i]){
  318. let zghImgList=obj.yhlist[i].yhZghImg.split(",");
  319. for(let j=0;j<zghImgList.length;j++){
  320. zghImgList[j]=config.base_url+zghImgList[j];
  321. }
  322. obj.yhlist[i].yhZghImg = zghImgList;
  323. }
  324. } */
  325. if(obj.yhlist[i].detailslogList){
  326. if(obj.yhlist[i].detailslogList.length>0){
  327. obj.yhlist[i].detailslogList.forEach(function(item){
  328. let list=[];
  329. let urlList=[];
  330. list=item.yhZghImg.split(',')
  331. list.forEach(function(item2){
  332. urlList.push(config.base_url+item2)
  333. })
  334. item.yhZghImg=urlList
  335. })
  336. }
  337. }
  338. }
  339. let newOjb = obj.record;
  340. newOjb.detailsList = obj.yhlist;
  341. //判断悬浮按钮
  342. if(newOjb.zgType == 0){
  343. this.$set(this,'buttonArray',[])
  344. this.buttonArrayType = 4;
  345. }else if(newOjb.zgType == 1 && (newOjb.zgStatus == 1 || newOjb.zgStatus == 3 || newOjb.zgStatus == 4)){
  346. this.$set(this,'buttonArray',["整改通知书","整改报告"])
  347. this.buttonArrayType = 1;
  348. }else if(newOjb.zgType == 1 && (newOjb.zgStatus != 1 || newOjb.zgStatus != 3 || newOjb.zgStatus != 4)){
  349. this.$set(this,'buttonArray',["整改通知书"])
  350. this.buttonArrayType = 2;
  351. }
  352. this.$set(this,'newData',newOjb);
  353. }
  354. },
  355. //查看报告按钮
  356. async buttonChange(e){
  357. let namestatus;
  358. let sealstatus;
  359. //判断有没有电子签名
  360. const {data} = await checkSign();
  361. if(data.code==200){
  362. namestatus=data.data
  363. if(data.data==false){//true有电子签名false没有电子签名
  364. uni.showModal({
  365. title: '',
  366. cancelColor:'#999999',
  367. confirmColor:'#FF6E6E',
  368. cancelText: "取消", // 取消按钮的文字
  369. confirmText: "去上传", // 确认按钮文字
  370. content: '您未上传电子签名,无法生成整改通知书/整改报告!',
  371. success (res) {
  372. if (res.confirm) {
  373. console.log('用户点击确定')
  374. uni.navigateTo({
  375. url: '/pages_manage/workbench/signature/signature'
  376. });
  377. } else if (res.cancel) {
  378. console.log('用户点击取消')
  379. }
  380. }
  381. })
  382. }else{
  383. }
  384. }
  385. //如果有电子签名判断有没有电子签章
  386. if(namestatus){
  387. const {data} = await queryDeptSignByUserId();
  388. if(data.code==200){
  389. console.log(data.data.data.isUpload)
  390. sealstatus=data.data.data.isUpload
  391. if(data.data.data.isUpload==false){
  392. uni.showToast({
  393. title: '学院未上传电子签章,无法生成整改通知书/整改报告',
  394. icon:"none",
  395. mask:true,
  396. duration: 2000
  397. });
  398. }
  399. };
  400. }
  401. //如果有电子签名和电气签章开始下载
  402. if(namestatus==true && sealstatus==true){
  403. if(this.buttonArrayType == 1){
  404. if(e.target.value == 0){
  405. this.genNotice();
  406. }else if(e.target.value == 1){
  407. this.genReport();
  408. }
  409. }else if(this.buttonArrayType == 2){
  410. this.genNotice();
  411. }
  412. }
  413. },
  414. genNotice(){
  415. uni.showLoading({
  416. title: '下载中'
  417. });
  418. wx.downloadFile({
  419. url: config.base_url+'/laboratory/checkOption/genNotice/' + this.newData.id,
  420. header: {
  421. Authorization: uni.getStorageSync('token')
  422. },
  423. success: function (res) {
  424. const fileManager = wx.getFileSystemManager()
  425. const filePath = wx.env.USER_DATA_PATH + '/整改通知书.docx'
  426. fileManager.saveFile({
  427. tempFilePath: res.tempFilePath,
  428. filePath,
  429. success: () => {
  430. uni.hideLoading();
  431. wx.openDocument({
  432. filePath: filePath,
  433. showMenu: true,
  434. fileType: 'docx'
  435. })
  436. },
  437. fail: function (res){
  438. uni.hideLoading();
  439. uni.showToast({
  440. title: '下载失败',
  441. icon:"none",
  442. mask:true,
  443. duration: 2000
  444. });
  445. }
  446. })
  447. },
  448. fail: function (res){
  449. uni.hideLoading();
  450. uni.showToast({
  451. title: '下载失败',
  452. icon:"none",
  453. mask:true,
  454. duration: 2000
  455. });
  456. }
  457. })
  458. },
  459. genReport(){
  460. uni.showLoading({
  461. title: '下载中'
  462. });
  463. wx.downloadFile({
  464. url: config.base_url+'/laboratory/checkOption/genReport/' + this.newData.id,
  465. header: {
  466. Authorization: uni.getStorageSync('token')
  467. },
  468. success: function (res) {
  469. const fileManager = wx.getFileSystemManager()
  470. const filePath = wx.env.USER_DATA_PATH + '/整改报告.docx'
  471. fileManager.saveFile({
  472. tempFilePath: res.tempFilePath,
  473. filePath,
  474. success: () => {
  475. uni.hideLoading();
  476. wx.openDocument({
  477. filePath: filePath,
  478. showMenu: true,
  479. fileType: 'docx'
  480. })
  481. },
  482. fail: function (res){
  483. uni.hideLoading();
  484. uni.showToast({
  485. title: '下载失败',
  486. icon:"none",
  487. mask:true,
  488. duration: 2000
  489. });
  490. }
  491. })
  492. },
  493. fail: function (res){
  494. uni.hideLoading();
  495. uni.showToast({
  496. title: '下载失败',
  497. icon:"none",
  498. mask:true,
  499. duration: 2000
  500. });
  501. }
  502. })
  503. },
  504. //详情开关
  505. infoClickButton(type){
  506. this.showType = !this.showType;
  507. },
  508. //查看图片
  509. lockImg(list){
  510. if(!list[0]){
  511. return
  512. }
  513. /* let urlList=[];
  514. list.forEach(function(item){
  515. urlList.push(config.base_url+item)
  516. }) */
  517. wx.previewImage({
  518. urls: list, //需要预览的图片http链接列表,多张的时候,url直接写在后面就行了
  519. current: '', // 当前显示图片的http链接,默认是第一个
  520. success: function(res) {},
  521. fail: function(res) {},
  522. complete: function(res) {},
  523. })
  524. },
  525. }
  526. }
  527. </script>
  528. <style lang="stylus" scoped>
  529. #recordDetails{
  530. height: 100%;
  531. width: 100%;
  532. display flex
  533. .info-max-page{
  534. flex:1;
  535. .position-button{
  536. position fixed
  537. right:0;
  538. top:214rpx;
  539. width:160rpx;
  540. height:60rpx;
  541. background #0183FA
  542. color:#fff;
  543. text-align center
  544. line-height:60rpx;
  545. font-size:26rpx;
  546. z-index:10;
  547. border-radius:50rpx 0 0 50rpx;
  548. }
  549. .top-info-box{
  550. background #fff
  551. margin:20rpx;
  552. padding:20rpx 20rpx 0;
  553. border-radius:20rpx;
  554. .top-min-info-box{
  555. line-height:66rpx;
  556. display:flex;
  557. font-size:28rpx;
  558. view:nth-child(1){
  559. width:220rpx;
  560. color:#999;
  561. }
  562. view:nth-child(2){
  563. flex:1;
  564. text-align:right;
  565. }
  566. }
  567. .top-info-button{
  568. border-top:1rpx solid #dedede;
  569. display:flex;
  570. line-height:98rpx;
  571. margin-top:20rpx;
  572. view{
  573. font-size:28rpx;
  574. margin-left:258rpx;
  575. color:#0183FA;
  576. }
  577. img{
  578. width:24rpx;
  579. height:12rpx;
  580. margin:45rpx 0 0 15rpx;
  581. }
  582. }
  583. }
  584. .bottom-info-box{
  585. .bottom-info-title-box{
  586. display flex;
  587. height:80rpx;
  588. margin:20rpx;
  589. img{
  590. width:32rpx;
  591. height:32rpx;
  592. margin:24rpx 15rpx 0 0;
  593. }
  594. view{
  595. line-height:80rpx;
  596. color:#333;
  597. font-size:30rpx;
  598. }
  599. }
  600. .bottom-info-text-box{
  601. display flex
  602. margin:20rpx;
  603. padding:36rpx 35rpx 36rpx 28rpx;
  604. background #fff
  605. border-radius:20rpx;
  606. view{
  607. font-size:28rpx;
  608. }
  609. view:nth-child(1){
  610. color:#999;
  611. width:140rpx;
  612. }
  613. view:nth-child(2){
  614. color:#666;
  615. flex:1;
  616. text-align left
  617. }
  618. }
  619. .rectified-max-box{
  620. .rectified-for-box{
  621. background #fff
  622. margin:20rpx;
  623. border-radius:20rpx;
  624. position relative
  625. overflow hidden
  626. .rectified-for-position-index{
  627. position absolute
  628. left:0;
  629. top:0;
  630. background #B4DBFF;
  631. color:#0183FA;
  632. width:50rpx;
  633. height:50rpx;
  634. text-align center;
  635. line-height:50rpx;
  636. font-size:34rpx;
  637. }
  638. .rectified-for-position-img{
  639. position absolute
  640. right:43rpx;
  641. top:105rpx;
  642. width:250rpx;
  643. height:220rpx;
  644. }
  645. .rectified-for-title{
  646. line-height:30rpx;
  647. font-size:30rpx;
  648. color:#333;
  649. margin:78rpx 30rpx 36rpx;
  650. }
  651. .rectified-for-name{
  652. margin:0 30rpx;
  653. line-height:40rpx;
  654. font-size:28rpx;
  655. padding-bottom:39rpx;
  656. color:#666;
  657. border-bottom:1rpx solid #E0E0E0;
  658. }
  659. .rectified-for-text-max-box{
  660. margin:38rpx 30rpx 0;
  661. .rectified-for-text-box{
  662. display flex
  663. margin-bottom :20rpx;
  664. view{
  665. font-size:28rpx;
  666. }
  667. view:nth-child(1){
  668. width:140rpx;
  669. color:#999;
  670. line-height 40rpx
  671. }
  672. view:nth-child(2){
  673. flex:1;
  674. color:#666;
  675. line-height 40rpx
  676. }
  677. }
  678. }
  679. .rectified-for-img-max-box{
  680. margin:35rpx 26rpx 40rpx;
  681. .rectified-for-img-box{
  682. margin-bottom :20rpx;
  683. display flex
  684. background #f0f0f0
  685. border-radius:10rpx;
  686. padding:10rpx 35rpx 10rpx 23rpx;
  687. img{
  688. width:80rpx;
  689. height:80rpx;
  690. margin-right:10rpx;
  691. }
  692. .rectified-for-img-min-text{
  693. flex:1;
  694. //text-align right;
  695. line-height:80rpx;
  696. color:#0183FA;
  697. font-size:28rpx;
  698. }
  699. }
  700. /* 整改前照片 */
  701. .rectify_front{
  702. .rectify_front_t{
  703. width:150rpx;
  704. color:#999;
  705. line-height 40rpx
  706. font-size :28rpx;
  707. margin-bottom :24rpx;
  708. }
  709. .rectify_front_b{
  710. display :flex;
  711. justify-content :flex-start;
  712. flex-wrap: wrap;
  713. align-items :center;
  714. border-bottom: 1px solid #E0E0E0;
  715. >img{
  716. width: 200rpx;
  717. height: 200rpx;
  718. margin-right :14rpx;
  719. margin-bottom 40rpx;
  720. border-radius :10rpx;
  721. }
  722. }
  723. }
  724. .rectify_info{
  725. margin: 0;
  726. padding: 0;
  727. margin-top 40rpx;
  728. margin-bottom :10rpx;
  729. }
  730. /* 整改后照片 */
  731. .rectify_later{
  732. .rectify_later_t{
  733. width:150rpx;
  734. color:#999;
  735. line-height 40rpx
  736. font-size :28rpx;
  737. margin-bottom :24rpx;
  738. }
  739. .rectify_later_b{
  740. display :flex;
  741. justify-content :flex-start;
  742. flex-wrap: wrap;
  743. align-items :center;
  744. >img{
  745. width: 200rpx;
  746. height: 200rpx;
  747. margin-right :14rpx;
  748. margin-bottom 40rpx;
  749. border-radius :10rpx;
  750. }
  751. }
  752. }
  753. }
  754. }
  755. }
  756. }
  757. .info-bottom-button-box{
  758. display flex
  759. width:650rpx;
  760. height:100rpx;
  761. margin:50rpx auto;
  762. view{
  763. text-align center
  764. line-height:100rpx;
  765. font-size:30rpx;
  766. color:#fff;
  767. }
  768. view:nth-child(1){
  769. width: 325rpx;
  770. height: 100rpx;
  771. background: linear-gradient(-45deg, #FA9901, #F28E26);
  772. border-radius: 50rpx 0 0 50rpx;
  773. }
  774. view:nth-child(2){
  775. width: 325rpx;
  776. height: 100rpx;
  777. background: linear-gradient(-35deg, #309CFF, #0183FA);
  778. border-radius: 0 50rpx 50rpx 0;
  779. }
  780. }
  781. }
  782. .input-max-box{
  783. flex:1;
  784. .input-box{
  785. margin:20rpx;
  786. background #fff
  787. border-radius:20rpx;
  788. display flex
  789. overflow hidden
  790. textarea{
  791. width:610rpx;
  792. height:212rpx;
  793. margin:36rpx auto 47rpx;
  794. font-size:28rpx;
  795. padding:33rpx 24rpx;
  796. border-radius:10rpx;
  797. border: 2rpx solid #E0E0E0;
  798. }
  799. }
  800. .input-button-box{
  801. display flex
  802. width:700rpx;
  803. margin:50rpx auto;
  804. .out-button{
  805. flex:1;
  806. text-align center
  807. line-height:100rpx;
  808. font-size:28rpx;
  809. color:#fff;
  810. background #999;
  811. border-radius: 50rpx 0 0 50rpx;
  812. }
  813. .input-button{
  814. flex:1;
  815. text-align center
  816. line-height:100rpx;
  817. font-size:28rpx;
  818. color:#fff;
  819. background #0183FA;
  820. border-radius: 0 50rpx 50rpx 0;
  821. }
  822. }
  823. }
  824. }
  825. </style>