mainPointsDetail.vue 44 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552
  1. <template>
  2. <view class="mainPointsDetailPage">
  3. <tm-modal v-if="showSelectModal" @click="clickModalhandle">
  4. <view class="checkItemResultModal">
  5. <view class="modalContent">
  6. <view class="modalBar">请选择查核结果</view>
  7. <scroll-view v-if="data.checkModelName != '访谈'" class="scroll" scroll-y="true">
  8. <view v-for="item in checkItemResultList"
  9. :class="[checkedSelectResultListIds.includes(item.id)?'list on':'list']" :key="item.id"
  10. @click.stop="selectResultHandle(item)">
  11. <image class="checkIcon" :src="`../../static/${!moreDeduction?'check-radio.png':'check-checkbox.png'}`" mode=""></image>
  12. {{item.resultName}}
  13. </view>
  14. </scroll-view>
  15. <scroll-view v-if="data.checkModelName == '访谈'" class="scroll" scroll-y="true">
  16. <view v-for="item in checkItemResultList"
  17. :class="[checkedSelectResultListIds[currentEditTextAreaIndex]&&checkedSelectResultListIds[currentEditTextAreaIndex].includes(item.id)?'list on':'list']"
  18. :key="item.id" @click.stop="selectResultHandle(item)">
  19. <image class="checkIcon" :src="`../../static/${!moreDeduction?'check-radio.png':'check-checkbox.png'}`" mode=""></image>
  20. {{item.resultName}}
  21. </view>
  22. </scroll-view>
  23. <view class="comfirmBtn" @click="commitSelectResult">确定</view>
  24. </view>
  25. </view>
  26. </tm-modal>
  27. <scroll-view scroll-y="true" class="scroll-y">
  28. <view class="checkItem">
  29. <view class="chBg">
  30. <image src="../../static/chahexiang-bg.png" mode="" class="img"></image>
  31. <text class="title">查核项</text>
  32. </view>
  33. <image src="../../static/tuli.png" mode="" class="tlImg" @click="toTuLi"></image>
  34. <view class="chContent">
  35. <view class="checkItemName">{{ data.checkItemName ? data.checkItemName : "" }}</view>
  36. <view class="checkPointName">{{ data.checkPointName ? data.checkPointName : "" }}</view>
  37. <view class="cont">
  38. <view class="floatLeft other">
  39. <view class="letterTitle2">{{ data.deptName ? data.deptName : "" }}</view>
  40. <view class="letterTitle">查核单位</view>
  41. </view>
  42. <view class="floatLeft borderLine"></view>
  43. <view class="floatLeft other">
  44. <view class="letterTitle2">{{ data.checkModelName ? data.checkModelName : "" }}</view>
  45. <view class="letterTitle">查核方式</view>
  46. </view>
  47. <view class="floatLeft borderLine"></view>
  48. <view class="floatLeft other">
  49. <view class="letterTitle2">{{ data.lastResult ? data.lastResult : "" }}</view>
  50. <view class="letterTitle">上次结果</view>
  51. </view>
  52. <view class="floatLeft borderLine"></view>
  53. <view class="floatLeft other">
  54. <view class="letterTitle2">{{ data.checkResult ? data.checkResult : "" }}</view>
  55. <view class="letterTitle">本次结果</view>
  56. </view>
  57. </view>
  58. <view class="checked">
  59. <view class="checked-checkItem" v-for="item in checkConfiglist" :key="item.attr"
  60. @click="checkedOne(item)" :style="
  61. Index == item.attr
  62. ? { backgroundColor: '#3377FF', color: '#fff' }
  63. : { backgroundColor: '#EBEFF7' }
  64. ">{{item.attr}}
  65. <view v-if="lastIndex == item.attr">
  66. <image src="../../static/shangci.png" mode="" class="img"></image>
  67. <text class="lastName">上次</text>
  68. </view>
  69. </view>
  70. </view>
  71. <view class="more" @click="toHistory">
  72. <text>查看改善历史</text>
  73. <view class="moreImg">
  74. <image src="../../static/blue-arrow.png" mode="" class="moreImg2"></image>
  75. </view>
  76. </view>
  77. <view class="multipleResponsible">
  78. <view class="inner" @click="toSelectResponsible">
  79. <text class="label">当事人</text>
  80. <input type="text" disabled v-model="checkedResponsibleList.join(',')"
  81. placeholder="请选择当事人(可多选)" class="value" placeholder-class="valuePlaceholder" />
  82. <image class="arrow" src="../../static/incon-more.png" mode=""></image>
  83. </view>
  84. </view>
  85. <view class="score">
  86. <view class="box">
  87. <text class="lable">总分</text>
  88. <text class="totalScore">{{totalScore}}</text>
  89. </view>
  90. <view class="box">
  91. <text class="lable">本次得分</text>
  92. <text class="currentScore">{{currentScore>0?currentScore:0}}</text>
  93. </view>
  94. </view>
  95. <view class="inputScore">
  96. <text class="label">本项扣分</text>
  97. <view class="textValue" v-if="!ifInputScore" @click='changeToInputScore'>{{deductPoint}}</view>
  98. <input class="value" v-if="ifInputScore" @input="onInputScore" focus='true' auto-blur='true' @blur='inputOnBlur' type="number" v-model="inputScore"
  99. placeholder-class="placeholder" />
  100. </view>
  101. </view>
  102. </view>
  103. <view v-if="data.checkModelName == '访谈'" class="talk">
  104. <view v-for="(item, i) in talkList">
  105. <view class="talkTitle">
  106. <text>访谈内容{{ i + 1 }}{{ i == 0 ? "" : "(访谈人员:护士、医生)" }}</text>
  107. <text v-if="i != 0" class="del" @click="del(i)">删除</text>
  108. </view>
  109. <view>
  110. <view class="talkResult">
  111. <view class="seeResultFloorOne">
  112. <text class="seeName">查核结果</text>
  113. <view class="plusAction" v-if="checkItemResultList.length>0"
  114. @click="openSelectModal(i)">
  115. <image class="plusIcon" src="../../static/icon-add.png" mode=""></image>
  116. <text class="threePoint">缺陷</text>
  117. </view>
  118. </view>
  119. <text class="clear" @click="clearResult(true,i)">清空</text>
  120. <textarea maxlength="300" class="seeTextarea" value="" placeholder="请输入"
  121. v-model="item.talkResult" @blur="changeTextarea($event, i)"></textarea>
  122. </view>
  123. <view class="talkImg" @click="imgClick(i)">
  124. <tm-upload-img label="上传图片" :filePaths="item.filePath" :isMultiple="true"
  125. :pickIndex = "i"
  126. @changeFilePaths="changeFilePaths2" />
  127. </view>
  128. </view>
  129. </view>
  130. </view>
  131. <view v-else class="see">
  132. <view class="seeResult">
  133. <view class="seeResultFloorOne">
  134. <text class="seeName">查核结果</text>
  135. <view class="plusAction" v-if="checkItemResultList.length>0" @click="openSelectModal">
  136. <image class="plusIcon" src="../../static/icon-add.png" mode=""></image>
  137. <text class="threePoint">缺陷</text>
  138. </view>
  139. </view>
  140. <text class="clear" @click="clearResult(false)">清空</text>
  141. <textarea maxlength="300" class="seeTextarea" placeholder="请输入" v-model="recordList[0].seeResult"
  142. @blur="changeTextarea2"></textarea>
  143. </view>
  144. <view class="seeImg">
  145. <tm-upload-img label="上传图片" :filePaths="filePath" :isMultiple="true"
  146. @changeFilePaths="changeFilePaths" />
  147. </view>
  148. </view>
  149. <button class="insert" @click="insert" v-if="data.checkModelName == '访谈'">
  150. + 增加一条记录
  151. </button>
  152. </scroll-view>
  153. <!-- <button type="primary" class="sureDetail" @click="sureDetail" v-if="data.display?data.display:false">完成</button> -->
  154. <view class="bottomMenuGroup">
  155. <view class="menuBtn" @click="goToPrevPage">
  156. <image class="threeLineMenuIcon" src="/static/threeLineMenu.png"></image>
  157. </view>
  158. <view class="prevBtn" @click="switchItem(1)">下一项</view>
  159. <view class="nextBtn" @click="sureDetail('back')" v-if="data.display?data.display:false">完成</view>
  160. </view>
  161. </view>
  162. </template>
  163. <script>
  164. import {
  165. _goBackFresh
  166. } from '../../utils/compatible.js';
  167. export default {
  168. data() {
  169. return {
  170. value: '',
  171. showSelectModal: false,
  172. data: {}, //详情数据
  173. lastIndex: null, //上次选中的结果
  174. Index: null, //点击修改本次选中样式
  175. filePath: [],
  176. recordList: [{
  177. seeResult: "",
  178. filePath: []
  179. }],
  180. talkLength: 1,
  181. talkList: [{
  182. talkResult: "",
  183. filePath: []
  184. }],
  185. editIndex: null,
  186. resultConfigList: [],
  187. id: "",
  188. checkPointId: "",
  189. itemBelongGroup: [],
  190. itemId: '',
  191. currentEditTextAreaIndex:-1, //当前编辑的查核结果下标
  192. checkItemResultList: [], //查核结果说明下拉列表
  193. checkedSelectResultList: [], //下拉结果选中集合
  194. checkedSelectResultListIds: [],
  195. currentSelect: '',
  196. checkItemScore:0, //查核选中的分数
  197. checkItemValue: null, //查核选中的分数占比
  198. checkConfiglist: [], //查核情况可配置列表
  199. totalScore: 0, //总分
  200. currentScore: 0, //当前得分
  201. inputScore: null, //手动填写分值
  202. selectedScore: 0, //缺失项分值
  203. checkedResponsibleList: [],
  204. deptId: '', //病区id
  205. checkedResponsibleData: [],
  206. checkedSelectResultListData: [],
  207. multiSelectScore: [],
  208. deductPoint: 0, //本次扣分
  209. currentCheckedTab: null, //当前选中的查核tab
  210. moreDeduction:false, //缺陷项是否多选
  211. ifInputScore:false, //是否手动干预分值
  212. };
  213. },
  214. onShow() {
  215. const {
  216. responsibleList
  217. } = this.$store.state;
  218. this.checkedResponsibleData = responsibleList.checkedResponsibleList;
  219. this.checkedResponsibleList = responsibleList.checkedResponsibleList.map(item => item.main);
  220. },
  221. computed: {
  222. },
  223. watch: {
  224. checkedResponsibleList: function() {
  225. const {
  226. responsibleList
  227. } = this.$store.state;
  228. return responsibleList.checkedResponsibleList.map(item => item.main);
  229. },
  230. selectedScore:function(newVal,oldVal){
  231. this.scoreCounter()
  232. },
  233. checkItemScore:function(newVal){
  234. this.scoreCounter()
  235. },
  236. deductPoint:function(newVal,oldVal){
  237. this.currentScore = this.totalScore - newVal
  238. }
  239. },
  240. mounted() {
  241. this.checkTaskDetail(this.id);
  242. this.getPeizhiList();
  243. },
  244. onBackPress() {
  245. this.$store.commit('checkMainPoints/comChangeState', { //刷新前一页数据
  246. key: 'ifReloadPageData',
  247. data: true
  248. });
  249. },
  250. methods: {
  251. scoreCounter(){
  252. if(this.inputScore){
  253. this.deductPoint = Number(this.inputScore) + this.selectedScore
  254. }else{
  255. this.deductPoint = this.selectedScore + this.checkItemScore
  256. }
  257. },
  258. changeToInputScore(){
  259. this.ifInputScore = true;
  260. },
  261. inputOnBlur(){
  262. this.ifInputScore = false;
  263. // this.inputScore = null;
  264. },
  265. onInputScore(e) {
  266. this.deductPoint = e.target.value;
  267. },
  268. //查核结果清空操作
  269. clearResult(ifMulti, index) {
  270. if (ifMulti) {
  271. //多个查核结果组件时
  272. this.talkList[index].talkResult = '';
  273. if(this.multiSelectScore[index]){
  274. this.selectedScore = this.selectedScore - this.multiSelectScore[index];
  275. }
  276. this.checkedSelectResultListIds.splice(index, 1, []);
  277. this.checkedSelectResultList.splice(index, 1, []);
  278. this.checkedSelectResultListData.splice(index, 1, []);
  279. this.multiSelectScore[index] = 0;
  280. this.currentEditTextAreaIndex = -1;
  281. } else {
  282. this.recordList[0].seeResult = '';
  283. this.checkedSelectResultListIds = [];
  284. this.checkedSelectResultList = [];
  285. this.checkedSelectResultListData = [];
  286. this.selectedScore = 0;
  287. }
  288. },
  289. clickModalhandle() {
  290. this.showSelectModal = false;
  291. this.currentEditTextAreaIndex = -1;
  292. },
  293. openSelectModal(index) {
  294. if (index >= 0) {
  295. this.currentEditTextAreaIndex = index;
  296. }
  297. this.showSelectModal = true;
  298. },
  299. //跳转选择当事人
  300. toSelectResponsible() {
  301. uni.navigateTo({
  302. url: `/pages/responsibleList/responsibleList?deptId=${this.deptId}&checkId=${this.id}`,
  303. });
  304. },
  305. selectResultHandle(item) {
  306. if (this.data.checkModelName == '访谈') {
  307. const currentIndex = this.currentEditTextAreaIndex;
  308. if(!this.moreDeduction){
  309. //缺陷项单选
  310. this.checkedSelectResultListIds.splice(currentIndex, 1,[item.id]);
  311. this.checkedSelectResultList.splice(currentIndex, 1, [item.resultName]);
  312. this.checkedSelectResultListData.splice(currentIndex, 1, [item]);
  313. return ;
  314. }
  315. if (this.checkedSelectResultListIds[currentIndex] && this.checkedSelectResultListIds[currentIndex]
  316. .includes(item.id)) {
  317. const tempIdsArr = JSON.parse(JSON.stringify(this.checkedSelectResultListIds[currentIndex]));
  318. const tempArr = JSON.parse(JSON.stringify(this.checkedSelectResultList[currentIndex]));
  319. const tempArrData = JSON.parse(JSON.stringify(this.checkedSelectResultListData[currentIndex]));
  320. tempIdsArr.splice(tempIdsArr.indexOf(item.id), 1);
  321. tempArr.splice(tempArr.indexOf(item.resultName), 1);
  322. tempArrData.splice(tempArrData.indexOf(item.id), 1);
  323. this.checkedSelectResultListIds.splice(currentIndex, 1, tempIdsArr);
  324. this.checkedSelectResultList.splice(currentIndex, 1, tempArr);
  325. this.checkedSelectResultListData.splice(currentIndex, 1, tempArrData);
  326. } else {
  327. if (!Array.isArray(this.checkedSelectResultListIds[currentIndex])) this.checkedSelectResultListIds[
  328. currentIndex] = [];
  329. if (!Array.isArray(this.checkedSelectResultList[currentIndex])) this.checkedSelectResultList[
  330. currentIndex] = [];
  331. if (!Array.isArray(this.checkedSelectResultListData[currentIndex])) this
  332. .checkedSelectResultListData[currentIndex] = [];
  333. const tempIdsArr = this.checkedSelectResultListIds[currentIndex].concat([item.id]);
  334. const tempArr = this.checkedSelectResultList[currentIndex].concat([item.resultName]);
  335. const tempArrData = this.checkedSelectResultListData[currentIndex].concat([item]);
  336. this.checkedSelectResultListIds.splice(currentIndex, 1, tempIdsArr);
  337. this.checkedSelectResultList.splice(currentIndex, 1, tempArr);
  338. this.checkedSelectResultListData.splice(currentIndex, 1, tempArrData);
  339. }
  340. } else {
  341. if(!this.moreDeduction){
  342. //缺陷项单选
  343. this.checkedSelectResultListIds = [item.id];
  344. this.checkedSelectResultList = [item.resultName];
  345. this.checkedSelectResultListData = [item];
  346. return ;
  347. }
  348. // 缺陷项多选
  349. if (this.checkedSelectResultListIds.includes(item.id)) {
  350. const tempIdsArr = this.checkedSelectResultListIds;
  351. const tempArr = this.checkedSelectResultList;
  352. const tempArrData = this.checkedSelectResultListData;
  353. tempIdsArr.splice(tempIdsArr.indexOf(item.id), 1);
  354. tempArr.splice(tempArr.indexOf(item.resultName), 1);
  355. tempArrData.splice(tempArrData.findIndex(t=>t.id == item.id), 1);
  356. this.checkedSelectResultListIds = tempIdsArr;
  357. this.checkedSelectResultList = tempArr;
  358. this.checkedSelectResultListData = tempArrData;
  359. } else {
  360. this.checkedSelectResultListIds.push(item.id);
  361. this.checkedSelectResultList.push(item.resultName);
  362. this.checkedSelectResultListData.push(item);
  363. }
  364. }
  365. },
  366. commitSelectResult() {
  367. const _commitFunc = () => {
  368. if (this.data.checkModelName == '访谈') {
  369. const tempArr = this.checkedSelectResultListData[this.currentEditTextAreaIndex].map(item =>
  370. item.percentScore);
  371. const tempScore = tempArr.reduce((prev, cur) => {
  372. return prev + cur;
  373. }, 0);
  374. this.talkList[this.currentEditTextAreaIndex].talkResult = this.checkedSelectResultList[this
  375. .currentEditTextAreaIndex].join(',');
  376. this.multiSelectScore[this.currentEditTextAreaIndex] = tempScore;
  377. this.selectedScore = this.multiSelectScore.reduce((prev, cur) => (prev + cur), 0);
  378. } else {
  379. const tempArr = this.checkedSelectResultListData.map(item => item.percentScore);
  380. const tempScore = tempArr.reduce((prev, cur) => {
  381. return prev + cur;
  382. }, 0);
  383. this.recordList[0].seeResult = this.checkedSelectResultList.join(',');
  384. this.selectedScore = tempScore;
  385. }
  386. }
  387. _commitFunc();
  388. this.showSelectModal = false;
  389. },
  390. checkTaskDetail(id) {
  391. this.$store.dispatch({
  392. type: "mainPointsDetail/commActions",
  393. payload: {
  394. key: "checkTaskDetail",
  395. data: {
  396. id: id,
  397. },
  398. },
  399. }).then((res) => {
  400. uni.$once('未在查核规定时间内', function (data) {
  401. uni.navigateBack();
  402. });
  403. this.id = id;
  404. this.deptId = res.deptId;
  405. //再次编辑回显
  406. const filePath = res.checkResultTxt ? JSON.parse(res.checkResultTxt) : [];
  407. this.filePath = filePath[0] && filePath[0].checkResultUrl != '' ? filePath[0].checkResultUrl
  408. .split(',') : [];
  409. this.Index = res.checkResult;
  410. this.totalScore = res.totalScore;
  411. this.currentScore = res.score;
  412. this.deductPoint = res.deductPoint;
  413. this.moreDeduction = res.moreDeduction;
  414. if (res.checkResultRequestList && res.checkResultRequestList.length > 0) {
  415. if (res.checkModelName == '访谈') {
  416. this.talkList = res.checkResultRequestList.map((item, currentIndex) => {
  417. const arr = item.checkResultDescribe.split(',');
  418. const tempResult = this.checkItemResultList.filter(v => arr.includes(v
  419. .resultName));
  420. if (!Array.isArray(this.checkedSelectResultListIds[currentIndex])) this
  421. .checkedSelectResultListIds[currentIndex] = [];
  422. if (!Array.isArray(this.checkedSelectResultList[currentIndex])) this
  423. .checkedSelectResultList[currentIndex] = [];
  424. if (!Array.isArray(this.checkedSelectResultListData[currentIndex])) this
  425. .checkedSelectResultListData[currentIndex] = [];
  426. const tempIdsArr = this.checkedSelectResultListIds[currentIndex].concat(
  427. tempResult.map(item => item.id));
  428. const tempArr = this.checkedSelectResultList[currentIndex].concat(
  429. tempResult.map(item => item.resultName));
  430. this.checkedSelectResultListIds.splice(currentIndex, 1, tempIdsArr);
  431. this.checkedSelectResultList.splice(currentIndex, 1, tempArr);
  432. this.checkedSelectResultListData.splice(currentIndex, 1, tempResult);
  433. const tempArrFull = this.checkedSelectResultListData[currentIndex].map(
  434. item => item.percentScore);
  435. const tempScore = tempArrFull.reduce((prev, cur) => {
  436. return prev + cur;
  437. }, 0);
  438. this.multiSelectScore[currentIndex] = tempScore;
  439. return {
  440. talkResult: item.checkResultDescribe,
  441. filePath: item.checkResultUrl != '' ? item.checkResultUrl.split(',') :
  442. []
  443. }
  444. });
  445. //设置回显分数
  446. // this.selectedScore = this.multiSelectScore.reduce((prev, cur) => (prev + cur), 0);
  447. } else {
  448. const arr = res.checkResultRequestList[0].checkResultDescribe.split(',');
  449. const tempResult = this.checkItemResultList.filter(v => arr.includes(v.resultName));
  450. const tempIds = tempResult.map(item => item.id);
  451. const scores = tempResult.map(item => item.percentScore);
  452. const tempScore = scores.reduce((prev, cur) => (prev + cur), 0);
  453. this.recordList[0].seeResult = res.checkResultRequestList[0].checkResultDescribe;
  454. this.checkedSelectResultListIds = tempIds;
  455. this.checkedSelectResultList = res.checkResultRequestList[0].checkResultDescribe.split(
  456. ',');
  457. this.checkedSelectResultListData = tempResult;
  458. // this.selectedScore = tempScore;
  459. }
  460. }
  461. //用于当时人页面回显
  462. if (res.responsibleUserName) {
  463. const tempResponsibleUserName = res.responsibleUserName.split(',');
  464. const tempResponsibleUserId = res.responsibleUserId.split(',');
  465. this.checkedResponsibleList = tempResponsibleUserName;
  466. const arr = tempResponsibleUserName.map((item, index) => ({
  467. main: item,
  468. id: parseInt(tempResponsibleUserId[index])
  469. }));
  470. // console.log({arr});
  471. this.$store.commit('responsibleList/updateCheckedResponsibleList', arr);
  472. } else {
  473. this.checkedResponsibleList = [];
  474. this.$store.commit('responsibleList/updateCheckedResponsibleList', []);
  475. }
  476. if (res) {
  477. this.data = res;
  478. if (res && res.lastResult == "不适用") {
  479. // this.lastIndex = 1;
  480. this.lastIndex = res.lastResult;
  481. } else if (res && res.lastResult == "无缺失") {
  482. this.lastIndex = res.lastResult;
  483. } else if (res && res.lastResult == "主要缺失") {
  484. this.lastIndex = res.lastResult;
  485. } else if (res && res.lastResult == "次要缺失") {
  486. this.lastIndex = res.lastResult;
  487. } else if (res && res.lastResult == "观察事项") {
  488. this.lastIndex = res.lastResult;
  489. } else {
  490. this.lastIndex = 0;
  491. }
  492. }
  493. });
  494. },
  495. getPeizhiList() {
  496. this.$store.dispatch({
  497. type: "configure/commActions",
  498. payload: {
  499. key: "getResultConfig",
  500. },
  501. }).then((res) => {
  502. this.resultConfigList = res ? res : [];
  503. });
  504. },
  505. //查核点击回调
  506. checkedOne(data) {
  507. const parsedData = JSON.parse(JSON.stringify(data));
  508. this.currentCheckedTab = data;
  509. this.Index = parsedData.attr;
  510. this.data.checkResult = parsedData.attr;
  511. this.checkItemScore = parsedData.itemGetScore;
  512. this.checkItemValue = parsedData.value;
  513. this.calScore = parsedData.calScore;
  514. if (!this.inputScore) { //没有手输调整过的才可以修改
  515. this.checkItemScore = parsedData.itemGetScore;
  516. }
  517. },
  518. /**
  519. * @param {{
  520. files
  521. index,
  522. }} fileInfo
  523. files:文件集合
  524. index:当前编辑的下标
  525. */
  526. changeFilePaths({files, index}) {
  527. let _recordList = [...this.recordList];
  528. _recordList[index].filePath = files;
  529. this.filePath = _recordList[0].filePath;
  530. },
  531. insert() {
  532. let list = [...this.talkList];
  533. if (list.length < 10) {
  534. list.push({
  535. talkResult: "",
  536. filePath: []
  537. });
  538. this.talkList = list;
  539. }
  540. },
  541. del(index) {
  542. let list = [...this.talkList];
  543. let list2 = [];
  544. //清空该项数据
  545. this.clearResult(true,index);
  546. for (let i = 0; i < list.length; i++) {
  547. if (i != index) {
  548. list2.push(list[i]);
  549. }
  550. }
  551. this.talkList = list2;
  552. },
  553. /**
  554. * @param {{
  555. files
  556. index,
  557. }} fileInfo
  558. files:文件集合
  559. index:当前编辑的下标
  560. */
  561. changeFilePaths2(fileInfo) {
  562. const {files,index} = fileInfo;
  563. for (let j = 0; j < this.talkList.length; j++) {
  564. this.talkList[index].filePath = files;
  565. }
  566. },
  567. changeTextarea(e, i) {
  568. for (let j = 0; j < this.talkList.length; j++) {
  569. this.talkList[i].talkResult = e.detail.value;
  570. }
  571. },
  572. changeTextarea2(e) {
  573. this.recordList[0].seeResult = e.target.value;
  574. },
  575. imgClick(i) {
  576. this.editIndex = i;
  577. },
  578. sureDetail(key) {
  579. console.log('commit check');
  580. return new Promise((resolve)=>{
  581. const _commitCheck = () => {
  582. try{
  583. if (this.Index) {
  584. let params = {
  585. id: this.data.id,
  586. checkResult: this.data.checkResult,
  587. checkResultRequestList: [],
  588. checkItemScore: this.checkItemScore,
  589. value: this.checkItemValue,
  590. situationType: this.situationType,
  591. calScore: this.calScore,
  592. score: this.currentScore,
  593. deductPoint: this.deductPoint,
  594. };
  595. if (this.data.checkModelName == "访谈") {
  596. let list = [];
  597. for (let i = 0; i < this.talkList.length; i++) {
  598. let path = "";
  599. for (let j = 0; j < this.talkList[i].filePath.length; j++) {
  600. if (j == 0) {
  601. path += `${this.talkList[i].filePath[j]}`;
  602. } else {
  603. path += `,${this.talkList[i].filePath[j]}`;
  604. }
  605. }
  606. let item = {
  607. checkResultId: i,
  608. checkResultDescribe: this.talkList[i].talkResult,
  609. checkResultUrl: path,
  610. };
  611. list.push(item);
  612. }
  613. params.checkResultRequestList = list;
  614. } else {
  615. let list = [];
  616. let path = "";
  617. for (let j = 0; j < this.recordList[0].filePath.length; j++) {
  618. if (j == 0) {
  619. path += `${this.recordList[0].filePath[j]}`;
  620. } else {
  621. path += `,${this.recordList[0].filePath[j]}`;
  622. }
  623. }
  624. let item = {
  625. checkResultId: 1,
  626. checkResultDescribe: this.recordList[0].seeResult,
  627. checkResultUrl: path,
  628. };
  629. list.push(item);
  630. params.checkResultRequestList = list;
  631. }
  632. const checkConfiglist = JSON.parse(JSON.stringify(this.checkConfiglist));
  633. this.$store.dispatch({
  634. type: "mainPointsDetail/commActions",
  635. payload: {
  636. key: "saveCheckTaskDetail",
  637. data: {
  638. ...params,
  639. },
  640. },
  641. }).then((res) => {
  642. if (res) {
  643. resolve(true);
  644. // console.log({checkConfiglist,params});
  645. for (let i = 0; i < checkConfiglist.length; i++) {
  646. if (
  647. checkConfiglist[i].attr == params.checkResult &&
  648. (checkConfiglist[i].resultType == 2 ||
  649. checkConfiglist[i].resultType == 3)
  650. ) {
  651. //当主要缺失和次要缺失时发起改善任务
  652. console.log('开始提交改善前准备');
  653. let param = {
  654. situationId: this.data.situationId,
  655. situationName: this.data.situationName,
  656. checkGroupId: this.data.checkGroupId,
  657. checkGroupName: this.data.checkGroupName,
  658. checkItemId: this.data.checkItemId,
  659. checkItemName: this.data.checkItemName,
  660. checkPointId: this.data.checkPointId,
  661. checkPointName: this.data.checkPointName,
  662. deptName: this.data.deptName,
  663. deptId: this.data.deptId,
  664. appointFlag: false,
  665. desicion: 0,
  666. taskType: "1",
  667. checkId: this.data.checkId,
  668. checkResult: 0,
  669. newResultType: checkConfiglist[i].resultType,
  670. // checkResult: this.resultConfigList[i].id,
  671. receiveEmpId: this.data.receiveEmpId,
  672. receiveEmpName: this.data.receiveEmpName,
  673. checkDetailId: this.data.id,
  674. };
  675. this.$store.dispatch({
  676. type: "mission/commActions",
  677. payload: {
  678. key: "comTaskCirculation",
  679. data: {
  680. ...param,
  681. },
  682. },
  683. });
  684. } else {
  685. console.log('改善条件为false');
  686. }
  687. }
  688. if (key == 'back') {
  689. //点完成时返回
  690. this.$store.commit('checkMainPoints/comChangeState', {
  691. 'key': 'ifUpdate',
  692. 'data': true
  693. });
  694. _goBackFresh('pages/checkMainPoints/checkMainPoints');
  695. }
  696. } else {
  697. console.log('res为false');
  698. resolve(false);
  699. }
  700. });
  701. } else {
  702. uni.showToast({
  703. title: '请先选择查核结果!',
  704. duration: 2000,
  705. icon: 'none'
  706. });
  707. resolve(false);
  708. }
  709. }catch(err){
  710. resolve(err);
  711. }
  712. }
  713. if(this.data.checkResult == '无缺失'&&this.deductPoint != 0){
  714. //查核结果为‘无缺失’且扣分为非0
  715. uni.showModal({
  716. title: '提示',
  717. content: `当前选择无缺失结果,但扣分数为${this.deductPoint},确认继续提交么?`,
  718. success: function (res) {
  719. if (res.confirm) {
  720. _commitCheck();
  721. } else if (res.cancel) {
  722. console.log('用户点击取消操作');
  723. resolve(false);
  724. }
  725. }
  726. });
  727. }else{
  728. _commitCheck();
  729. }
  730. })
  731. },
  732. toTuLi() {
  733. uni.navigateTo({
  734. url: `/pages/legendDetails/legendDetails?checkItemId=${this.data.checkItemId}&checkPointId=${this.checkPointId}`,
  735. });
  736. },
  737. toHistory() {
  738. const situationId = this.data.situationId;
  739. this.$store.dispatch({
  740. type: 'mission/commActions',
  741. payload: {
  742. key: "getMissionList",
  743. data: {
  744. situationId
  745. }
  746. }
  747. }).then(data => {
  748. if (data) {
  749. if (data.improvingTaskResponses.length > 0) {
  750. uni.navigateTo({
  751. url: `/pages/improve-mission-list/improve-mission-list?situationId=${this.data.situationId}`,
  752. });
  753. } else {
  754. uni.showModal({
  755. content: '暂无改善历史',
  756. showCancel: false
  757. });
  758. }
  759. }
  760. });
  761. },
  762. clearForm(index) {
  763. //清除上一项的查核信息
  764. this.Index = '';
  765. // this.deductPoint = 0;
  766. this.currentScore = 0;
  767. this.inputScore = 0;
  768. if (this.data.checkModelName == '访谈') {
  769. if (index) {
  770. this.talkList[index].talkResult = '';
  771. } else {
  772. for (let i = 0; i < this.talkList.length; i++) {
  773. this.talkList[i].talkResult = '';
  774. }
  775. }
  776. } else {
  777. this.recordList[0].talkResult = '';
  778. }
  779. this.checkedSelectResultListIds = [];
  780. this.checkedSelectResultList = [];
  781. this.checkedSelectResultListData = [];
  782. },
  783. goToPrevPage() {
  784. _goBackFresh('pages/checkMainPoints/checkMainPoints');
  785. },
  786. switchItem: async function(num) {
  787. if (!this.data.checkResult) {
  788. uni.showToast({
  789. title: '请先选择查核结果!',
  790. duration: 2000,
  791. icon: 'none'
  792. });
  793. return;
  794. }
  795. const result = await this.sureDetail();
  796. if(result){
  797. let current = this.itemBelongGroup.filter(item => {
  798. return item.id == this.id;
  799. });
  800. if (num < 0) {
  801. if (current[0].index == 0) {
  802. uni.showToast({
  803. title: '已经没有上一项',
  804. duration: 2000,
  805. icon: 'none'
  806. });
  807. return;
  808. }
  809. }
  810. if (num > 0) {
  811. if (current[0].index == this.itemBelongGroup.length - 1) {
  812. uni.showToast({
  813. title: '已经没有下一项',
  814. duration: 2000,
  815. icon: 'none'
  816. });
  817. return;
  818. }
  819. }
  820. let needItemIndex = num > 0 ? current[0].index + 1 : current[0].index - 1;
  821. let needItemId = this.itemBelongGroup[needItemIndex].id;
  822. let needItemCheckId = this.itemBelongGroup[needItemIndex].checkItemId;
  823. this.clearForm();
  824. this.clearResult();
  825. this.checkTaskDetail(needItemId);
  826. this.getCheckItemResultList(needItemCheckId); //获取缺陷项列表数据
  827. };
  828. },
  829. // 获取查核项可配置列表
  830. getCheckConfigList(checkItemId) {
  831. this.$store.dispatch({
  832. type: 'mainPointsDetail/commActions',
  833. payload: {
  834. key: 'getCheckItemAttr',
  835. data: checkItemId
  836. }
  837. }).then(data => {
  838. this.checkConfiglist = data
  839. })
  840. },
  841. // 获取查核项结果说明下拉列表
  842. getCheckItemResultList(checkItemId) {
  843. this.$store.dispatch({
  844. type: 'mainPointsDetail/commActions',
  845. payload: {
  846. key: 'getCheckItemResultList',
  847. data: checkItemId
  848. }
  849. }).then(data => {
  850. this.checkItemResultList = data;
  851. })
  852. },
  853. },
  854. onLoad({
  855. id,
  856. checkPointId,
  857. checkItemId,
  858. situationType
  859. }) {
  860. this.id = id;
  861. this.checkPointId = checkPointId;
  862. this.situationType = situationType;
  863. this.checkItemId = checkItemId;
  864. this.getCheckConfigList(checkItemId);
  865. this.getCheckItemResultList(checkItemId);
  866. //接收来自上个页面所传过来的数据
  867. const eventChannel = this.getOpenerEventChannel();
  868. eventChannel.on('acceptDataFromOpenerPage', (data) => {
  869. // console.log({data});
  870. this.itemBelongGroup = data.data[0].responseList.map((item, index) => {
  871. return ({
  872. index: index,
  873. id: item['id'],
  874. checkItemId:item['checkItemId']
  875. })
  876. });
  877. //重新导航进页面,删除缓存并设置最新数据
  878. uni.removeStorageSync('itemBelongGroup');
  879. uni.setStorageSync('itemBelongGroup', this.itemBelongGroup);
  880. });
  881. //手动刷新页面,获取本地缓存
  882. const itemBelongGroup = uni.getStorageSync('itemBelongGroup');
  883. this.itemBelongGroup = itemBelongGroup;
  884. },
  885. };
  886. </script>
  887. <style lang="less">
  888. .mainPointsDetailPage {
  889. position: relative;
  890. // min-height: 75rpx;
  891. // overflow-y: auto;
  892. height: 100%;
  893. .checkItemResultModal {
  894. display: flex;
  895. height: 100%;
  896. justify-content: center;
  897. align-items: center;
  898. .modalContent {
  899. width: 90%;
  900. height: 600rpx;
  901. border-radius: 10rpx;
  902. overflow: hidden;
  903. background-color: #FFFFFF;
  904. .modalBar {
  905. display: flex;
  906. justify-content: center;
  907. align-items: center;
  908. height: 80rpx;
  909. color: #4E78FF;
  910. font-size: 22.5rpx;
  911. box-shadow: 0 6rpx 6rpx #E5E5E5;
  912. border-bottom: 0.1rpx solid #E5E5E5;
  913. }
  914. .comfirmBtn {
  915. font-size: 22rpx;
  916. color: #FFFFFF;
  917. height: 85rpx;
  918. line-height: 85rpx;
  919. text-align: center;
  920. background-color: #3377FF;
  921. }
  922. .scroll {
  923. height: calc(100% - 160rpx);
  924. .list {
  925. position: relative;
  926. display: flex;
  927. height: 80rpx;
  928. justify-content: center;
  929. align-items: center;
  930. border-bottom: 0.1rpx solid #E5E5E5;
  931. .checkIcon {
  932. display: none;
  933. position: absolute;
  934. left: 5%;
  935. width: 25rpx;
  936. height: 25rpx;
  937. }
  938. &.on {
  939. color: #3377FF;
  940. .checkIcon {
  941. display: block;
  942. }
  943. }
  944. }
  945. }
  946. }
  947. }
  948. .scroll-y {
  949. height: calc(100% - 75rpx);
  950. }
  951. .checkItem {
  952. padding-top: 47.5rpx;
  953. width: 100%;
  954. min-height: 450rpx;
  955. background-color: #fff;
  956. position: relative;
  957. .chBg {
  958. position: absolute;
  959. top: 0;
  960. left: 0;
  961. width: 125rpx;
  962. height: 37.5rpx;
  963. .img {
  964. width: 125rpx;
  965. height: 37.5rpx;
  966. }
  967. .title {
  968. position: absolute;
  969. top: 8.75rpx;
  970. left: 25rpx;
  971. font-size: 20rpx;
  972. color: #fff;
  973. font-weight: 500;
  974. line-height: 20rpx;
  975. }
  976. }
  977. .tlImg {
  978. width: 40rpx;
  979. height: 40rpx;
  980. position: absolute;
  981. right: 25rpx;
  982. top: 25rpx;
  983. }
  984. .chContent {
  985. width: 100%;
  986. .checkItemName {
  987. margin-left: 31.25rpx;
  988. font-size: 25rpx;
  989. line-height: 55rpx;
  990. color: #292c33;
  991. }
  992. .checkPointName {
  993. margin-left: 31.25rpx;
  994. font-size: 17.5rpx;
  995. line-height: 17.5rpx;
  996. color: #7a8599;
  997. }
  998. .cont {
  999. height: 135rpx;
  1000. .floatLeft {
  1001. float: left;
  1002. }
  1003. .borderLine {
  1004. margin-top: 56.25rpx;
  1005. width: 0.62rpx;
  1006. height: 25rpx;
  1007. background-color: #dadee6;
  1008. }
  1009. .other {
  1010. padding: 40rpx 0rpx;
  1011. height: 95rpx;
  1012. width: 187.18rpx;
  1013. text-align: center;
  1014. .letterTitle {
  1015. font-size: 17.5rpx;
  1016. color: #7a8599;
  1017. line-height: 17.5rpx;
  1018. }
  1019. .letterTitle2 {
  1020. height: 22.5rpx;
  1021. font-size: 22.5rpx;
  1022. line-height: 22.5rpx;
  1023. color: #292c33;
  1024. margin-bottom: 15rpx;
  1025. font-weight: 500;
  1026. overflow: hidden;
  1027. word-break: break-all;
  1028. /* break-all(允许在单词内换行。) */
  1029. text-overflow: ellipsis;
  1030. /* 超出部分省略号 */
  1031. display: -webkit-box;
  1032. /** 对象作为伸缩盒子模型显示 **/
  1033. -webkit-box-orient: vertical;
  1034. /** 设置或检索伸缩盒对象的子元素的排列方式 **/
  1035. -webkit-line-clamp: 1;
  1036. /** 显示的行数 **/
  1037. }
  1038. }
  1039. }
  1040. .checked {
  1041. margin-bottom: 40rpx;
  1042. padding: 0rpx 15.62rpx;
  1043. height: 75rpx;
  1044. .checked-checkItem {
  1045. margin: 0rpx 9.37rpx;
  1046. padding: 0;
  1047. width: 125rpx;
  1048. height: 75rpx;
  1049. background: #ebeff7;
  1050. float: left;
  1051. line-height: 75rpx;
  1052. text-align: center;
  1053. color: #292c33;
  1054. border-radius: 20rpx;
  1055. position: relative;
  1056. .img {
  1057. width: 51.25rpx;
  1058. height: 25rpx;
  1059. position: absolute;
  1060. right: -6.25rpx;
  1061. top: -6.25rpx;
  1062. }
  1063. .lastName {
  1064. color: #fff;
  1065. font-size: 13.75rpx;
  1066. line-height: 13.75rpx;
  1067. position: absolute;
  1068. right: 5rpx;
  1069. top: -1.87rpx;
  1070. }
  1071. }
  1072. }
  1073. .more {
  1074. margin: 0rpx 25rpx 0rpx 25rpx;
  1075. text-align: center;
  1076. border-top: 0.62rpx solid #dadee6;
  1077. text {
  1078. padding: 29.37rpx 0rpx 27.5rpx;
  1079. margin-right: 10rpx;
  1080. line-height: 22.5rpx;
  1081. font-size: 22.5rpx;
  1082. color: #3377ff;
  1083. display: inline-block;
  1084. vertical-align: top;
  1085. }
  1086. .moreImg {
  1087. margin-top: 28.75rpx;
  1088. width: 12.37rpx;
  1089. height: 21.21rpx;
  1090. display: inline-block;
  1091. }
  1092. .moreImg2 {
  1093. width: 12.37rpx;
  1094. height: 21.21rpx;
  1095. }
  1096. }
  1097. .multipleResponsible {
  1098. padding-top: 15rpx;
  1099. background-color: #F5F6FA;
  1100. .inner {
  1101. position: relative;
  1102. display: flex;
  1103. height: 87.5rpx;
  1104. z-index: 10;
  1105. flex-direction: row;
  1106. justify-content: flex-start;
  1107. align-items: center;
  1108. padding: 0 25rpx;
  1109. background-color: #FFFFFF;
  1110. .label {
  1111. display: inline-block;
  1112. font-size: 22.5rpx;
  1113. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  1114. font-weight: 400;
  1115. color: #525866;
  1116. margin-right: 105rpx;
  1117. }
  1118. .value {
  1119. flex: 0.9;
  1120. font-size: 22.5rpx;
  1121. overflow: hidden; //超出的文本隐藏
  1122. text-overflow: ellipsis; //溢出用省略号显示
  1123. white-space: nowrap; //溢出不换行
  1124. }
  1125. .valuePlaceholder {
  1126. font-size: 22.5rpx;
  1127. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  1128. font-weight: 400;
  1129. color: #B8BECC;
  1130. }
  1131. .arrow {
  1132. position: absolute;
  1133. right: 25rpx;
  1134. width: 12.5rpx;
  1135. height: 20rpx;
  1136. }
  1137. }
  1138. }
  1139. .score {
  1140. display: flex;
  1141. height: 87.5rpx;
  1142. flex-direction: row;
  1143. justify-content: space-between;
  1144. align-items: center;
  1145. padding: 0 25rpx;
  1146. background: #F5F6FA;
  1147. .box {
  1148. text-align: center;
  1149. vertical-align: bottom;
  1150. .lable {
  1151. display: inline-block;
  1152. font-size: 22.5rpx;
  1153. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  1154. font-weight: 400;
  1155. color: #525866;
  1156. margin-right: 10rpx;
  1157. }
  1158. .totalScore {
  1159. font-size: 30rpx;
  1160. font-family: SourceHanSansCN-Bold, SourceHanSansCN;
  1161. font-weight: bold;
  1162. color: #292C33;
  1163. }
  1164. .currentScore {
  1165. font-size: 30rpx;
  1166. font-family: SourceHanSansCN-Bold, SourceHanSansCN;
  1167. font-weight: bold;
  1168. color: #3377FF;
  1169. }
  1170. }
  1171. }
  1172. .textValue {
  1173. display: flex;
  1174. flex-direction: row;
  1175. justify-content: flex-start;
  1176. align-items: center;
  1177. width: 70%;
  1178. height: 100%;
  1179. }
  1180. .inputScore {
  1181. display: flex;
  1182. flex-direction: row;
  1183. justify-content: flex-start;
  1184. align-items: center;
  1185. height: 87.5rpx;
  1186. padding: 0 25rpx;
  1187. background-color: #FFFFFF;
  1188. .label {
  1189. display: inline-block;
  1190. font-size: 22.5rpx;
  1191. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  1192. font-weight: 400;
  1193. color: #525866;
  1194. margin-right: 81.25rpx;
  1195. }
  1196. .value {
  1197. font-size: 22.5rpx;
  1198. }
  1199. .placeholder {
  1200. font-size: 22.5rpx;
  1201. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  1202. font-weight: 400;
  1203. color: #525866;
  1204. }
  1205. }
  1206. }
  1207. }
  1208. .see {
  1209. margin-top: 15rpx;
  1210. height: 287.5rpx;
  1211. background-color: #fff;
  1212. // padding-left: 25rpx;
  1213. .seeResult {
  1214. position: relative;
  1215. margin-left: 25rpx;
  1216. padding-top: 32.5rpx;
  1217. // height: 200rpx;
  1218. border-bottom: 1px solid #dadee6;
  1219. .clear {
  1220. position: absolute;
  1221. z-index: 10;
  1222. right: 25rpx;
  1223. bottom: 25rpx;
  1224. font-size: 22.5rpx;
  1225. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  1226. font-weight: 400;
  1227. color: #FF3355;
  1228. }
  1229. .seeResultFloorOne {
  1230. display: flex;
  1231. flex-direction: row;
  1232. justify-content: space-between;
  1233. align-items: center;
  1234. margin-bottom: 25rpx;
  1235. padding-right: 25rpx;
  1236. .plusAction {
  1237. display: flex;
  1238. flex-direction: row;
  1239. justify-content: center;
  1240. align-items: center;
  1241. .plusIcon {
  1242. width: 25rpx;
  1243. height: 25rpx;
  1244. margin-right: 10rpx;
  1245. }
  1246. .threePoint {
  1247. font-size: 22.5rpx;
  1248. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  1249. font-weight: 400;
  1250. color: #7A8599;
  1251. }
  1252. }
  1253. }
  1254. .seeName {
  1255. width: 175rpx;
  1256. font-size: 22.5rpx;
  1257. color: #525866;
  1258. line-height: 22.5rpx;
  1259. display: inline-block;
  1260. }
  1261. .seeTextarea {
  1262. width: 97%;
  1263. height: 155rpx;
  1264. display: inline-block;
  1265. font-size: 22.5rpx;
  1266. line-height: 27.5rpx;
  1267. }
  1268. }
  1269. .seeImg {
  1270. min-height: 87.5rpx;
  1271. .seeName2 {
  1272. width: 175rpx;
  1273. font-size: 22.5rpx;
  1274. color: #525866;
  1275. line-height: 87.5rpx;
  1276. display: inline-block;
  1277. }
  1278. }
  1279. }
  1280. .talk {
  1281. .talkTitle {
  1282. padding: 25rpx 25rpx 15rpx;
  1283. font-size: 22.5rpx;
  1284. line-height: 22.5rpx;
  1285. color: #666f80;
  1286. .del {
  1287. float: right;
  1288. color: #3377ff;
  1289. }
  1290. }
  1291. .talkResult {
  1292. position: relative;
  1293. padding-left: 25rpx;
  1294. padding-top: 32.5rpx;
  1295. border-bottom: 1px solid #dadee6;
  1296. background-color: #fff;
  1297. .clear {
  1298. position: absolute;
  1299. z-index: 10;
  1300. right: 25rpx;
  1301. bottom: 25rpx;
  1302. font-size: 22.5rpx;
  1303. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  1304. font-weight: 400;
  1305. color: #FF3355;
  1306. }
  1307. .seeResultFloorOne {
  1308. display: flex;
  1309. flex-direction: row;
  1310. justify-content: space-between;
  1311. align-items: center;
  1312. margin-bottom: 25rpx;
  1313. padding-right: 25rpx;
  1314. .plusAction {
  1315. display: flex;
  1316. flex-direction: row;
  1317. justify-content: center;
  1318. align-items: center;
  1319. .plusIcon {
  1320. width: 25rpx;
  1321. height: 25rpx;
  1322. margin-right: 10rpx;
  1323. }
  1324. .threePoint {
  1325. font-size: 22.5rpx;
  1326. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  1327. font-weight: 400;
  1328. color: #7A8599;
  1329. }
  1330. }
  1331. }
  1332. .seeName {
  1333. width: 175rpx;
  1334. font-size: 22.5rpx;
  1335. color: #525866;
  1336. line-height: 22.5rpx;
  1337. display: inline-block;
  1338. }
  1339. .seeTextarea {
  1340. width: 531.25rpx;
  1341. height: 155rpx;
  1342. display: inline-block;
  1343. font-size: 22.5rpx;
  1344. line-height: 27.5rpx;
  1345. }
  1346. }
  1347. .talkImg {
  1348. min-height: 87.5rpx;
  1349. .seeName2 {
  1350. width: 175rpx;
  1351. font-size: 22.5rpx;
  1352. color: #525866;
  1353. line-height: 87.5rpx;
  1354. display: inline-block;
  1355. }
  1356. }
  1357. }
  1358. .insert {
  1359. background-color: #fff;
  1360. font-size: 22.5rpx;
  1361. line-height: 22.5rpx;
  1362. color: #3377ff;
  1363. padding: 26.25rpx;
  1364. }
  1365. .sureDetail {
  1366. width: 100%;
  1367. height: 75rpx;
  1368. font-size: 22.5rpx;
  1369. background-color: #3377ff;
  1370. line-height: 75rpx;
  1371. position: absolute;
  1372. bottom: 0rpx;
  1373. }
  1374. .bottomMenuGroup {
  1375. position: fixed;
  1376. bottom: 0;
  1377. width: 100%;
  1378. height: 75rpx;
  1379. display: flex;
  1380. flex-direction: row;
  1381. background: #FFFFFF;
  1382. border-top: 0.62rpx solid #DADEE6;
  1383. .menuBtn {
  1384. display: flex;
  1385. width: 75rpx;
  1386. height: 75rpx;
  1387. justify-content: center;
  1388. align-items: center;
  1389. border-right: 0.62rpx solid #DADEE6;
  1390. .threeLineMenuIcon {
  1391. width: 26.25rpx;
  1392. height: 21.25rpx;
  1393. }
  1394. }
  1395. .prevBtn,
  1396. .nextBtn {
  1397. display: flex;
  1398. flex: 1;
  1399. justify-content: center;
  1400. height: 75rpx;
  1401. line-height: 75rpx;
  1402. font-size: 22.5rpx;
  1403. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  1404. font-weight: 400;
  1405. color: #3377FF;
  1406. }
  1407. .prevBtn {
  1408. border-right: 0.62rpx solid #DADEE6;
  1409. }
  1410. .nextBtn {
  1411. color: #FFFFFF;
  1412. background: #3377FF;
  1413. }
  1414. }
  1415. }
  1416. </style>