mainPointsDetail.vue 44 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547
  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. console.log({tempResult});
  459. // this.selectedScore = tempScore;
  460. }
  461. }
  462. //用于当时人页面回显
  463. if (res.responsibleUserName) {
  464. const tempResponsibleUserName = res.responsibleUserName.split(',');
  465. const tempResponsibleUserId = res.responsibleUserId.split(',');
  466. this.checkedResponsibleList = tempResponsibleUserName;
  467. const arr = tempResponsibleUserName.map((item, index) => ({
  468. main: item,
  469. id: parseInt(tempResponsibleUserId[index])
  470. }));
  471. // console.log({arr});
  472. this.$store.commit('responsibleList/updateCheckedResponsibleList', arr);
  473. } else {
  474. this.checkedResponsibleList = [];
  475. this.$store.commit('responsibleList/updateCheckedResponsibleList', []);
  476. }
  477. if (res) {
  478. this.data = res;
  479. if (res && res.lastResult == "不适用") {
  480. // this.lastIndex = 1;
  481. this.lastIndex = res.lastResult;
  482. } else if (res && res.lastResult == "无缺失") {
  483. this.lastIndex = res.lastResult;
  484. } else if (res && res.lastResult == "主要缺失") {
  485. this.lastIndex = res.lastResult;
  486. } else if (res && res.lastResult == "次要缺失") {
  487. this.lastIndex = res.lastResult;
  488. } else if (res && res.lastResult == "观察事项") {
  489. this.lastIndex = res.lastResult;
  490. } else {
  491. this.lastIndex = 0;
  492. }
  493. }
  494. });
  495. },
  496. getPeizhiList() {
  497. this.$store.dispatch({
  498. type: "configure/commActions",
  499. payload: {
  500. key: "getResultConfig",
  501. },
  502. }).then((res) => {
  503. this.resultConfigList = res ? res : [];
  504. });
  505. },
  506. //查核点击回调
  507. checkedOne(data) {
  508. const parsedData = JSON.parse(JSON.stringify(data));
  509. this.currentCheckedTab = data;
  510. this.Index = parsedData.attr;
  511. this.data.checkResult = parsedData.attr;
  512. this.checkItemScore = parsedData.itemGetScore;
  513. this.checkItemValue = parsedData.value;
  514. this.calScore = parsedData.calScore;
  515. if (!this.inputScore) { //没有手输调整过的才可以修改
  516. this.checkItemScore = parsedData.itemGetScore;
  517. }
  518. },
  519. /**
  520. * @param {{
  521. files
  522. index,
  523. }} fileInfo
  524. files:文件集合
  525. index:当前编辑的下标
  526. */
  527. changeFilePaths({files, index}) {
  528. let _recordList = [...this.recordList];
  529. _recordList[index].filePath = files;
  530. this.filePath = _recordList[0].filePath;
  531. },
  532. insert() {
  533. let list = [...this.talkList];
  534. if (list.length < 10) {
  535. list.push({
  536. talkResult: "",
  537. filePath: []
  538. });
  539. this.talkList = list;
  540. }
  541. },
  542. del(index) {
  543. let list = [...this.talkList];
  544. let list2 = [];
  545. //清空该项数据
  546. this.clearResult(true,index);
  547. for (let i = 0; i < list.length; i++) {
  548. if (i != index) {
  549. list2.push(list[i]);
  550. }
  551. }
  552. this.talkList = list2;
  553. },
  554. /**
  555. * @param {{
  556. files
  557. index,
  558. }} fileInfo
  559. files:文件集合
  560. index:当前编辑的下标
  561. */
  562. changeFilePaths2(fileInfo) {
  563. const {files,index} = fileInfo;
  564. for (let j = 0; j < this.talkList.length; j++) {
  565. this.talkList[index].filePath = files;
  566. }
  567. },
  568. changeTextarea(e, i) {
  569. for (let j = 0; j < this.talkList.length; j++) {
  570. this.talkList[i].talkResult = e.detail.value;
  571. }
  572. },
  573. changeTextarea2(e) {
  574. this.recordList[0].seeResult = e.target.value;
  575. },
  576. imgClick(i) {
  577. this.editIndex = i;
  578. },
  579. sureDetail(key) {
  580. console.log('commit check');
  581. return new Promise((resolve)=>{
  582. const _commitCheck = () => {
  583. try{
  584. if (this.Index) {
  585. let params = {
  586. id: this.data.id,
  587. checkResult: this.data.checkResult,
  588. checkResultRequestList:[],
  589. checkItemScore: this.checkItemScore,
  590. value: this.checkItemValue,
  591. situationType: this.situationType,
  592. calScore: this.calScore,
  593. score: this.currentScore,
  594. deductPoint: this.deductPoint,
  595. };
  596. console.log({params});
  597. if (this.data.checkModelName == "访谈") {
  598. let list = [];
  599. for (let i = 0; i < this.talkList.length; i++) {
  600. let path = "";
  601. for (let j = 0; j < this.talkList[i].filePath.length; j++) {
  602. if (j == 0) {
  603. path += `${this.talkList[i].filePath[j]}`;
  604. } else {
  605. path += `,${this.talkList[i].filePath[j]}`;
  606. }
  607. }
  608. let item = {
  609. checkResultId: i,
  610. checkResultDescribe: this.talkList[i].talkResult,
  611. checkResultUrl: path,
  612. };
  613. list.push(item);
  614. }
  615. params.checkResultRequestList = list;
  616. } else {
  617. let item = {
  618. checkResultId: 1,
  619. checkResultDescribe: this.recordList[0].seeResult,
  620. checkResultUrl: this.filePath.join(','),
  621. };
  622. params.checkResultRequestList = [item];
  623. }
  624. const checkConfiglist = JSON.parse(JSON.stringify(this.checkConfiglist));
  625. this.$store.dispatch({
  626. type: "mainPointsDetail/commActions",
  627. payload: {
  628. key: "saveCheckTaskDetail",
  629. data: {
  630. ...params,
  631. },
  632. },
  633. }).then((res) => {
  634. if (res) {
  635. resolve(true);
  636. // console.log({checkConfiglist,params});
  637. for (let i = 0; i < checkConfiglist.length; i++) {
  638. if (
  639. checkConfiglist[i].attr == params.checkResult &&
  640. (checkConfiglist[i].resultType == 2 ||
  641. checkConfiglist[i].resultType == 3)
  642. ) {
  643. //当主要缺失和次要缺失时发起改善任务
  644. console.log('开始提交改善前准备');
  645. let param = {
  646. situationId: this.data.situationId,
  647. situationName: this.data.situationName,
  648. checkGroupId: this.data.checkGroupId,
  649. checkGroupName: this.data.checkGroupName,
  650. checkItemId: this.data.checkItemId,
  651. checkItemName: this.data.checkItemName,
  652. checkPointId: this.data.checkPointId,
  653. checkPointName: this.data.checkPointName,
  654. deptName: this.data.deptName,
  655. deptId: this.data.deptId,
  656. appointFlag: false,
  657. desicion: 0,
  658. taskType: "1",
  659. checkId: this.data.checkId,
  660. checkResult: 0,
  661. newResultType: checkConfiglist[i].resultType,
  662. // checkResult: this.resultConfigList[i].id,
  663. receiveEmpId: this.data.receiveEmpId,
  664. receiveEmpName: this.data.receiveEmpName,
  665. checkDetailId: this.data.id,
  666. };
  667. this.$store.dispatch({
  668. type: "mission/commActions",
  669. payload: {
  670. key: "comTaskCirculation",
  671. data: {
  672. ...param,
  673. },
  674. },
  675. });
  676. } else {
  677. console.log('改善条件为false');
  678. }
  679. }
  680. if (key == 'back') {
  681. //点完成时返回
  682. this.$store.commit('checkMainPoints/comChangeState', {
  683. 'key': 'ifUpdate',
  684. 'data': true
  685. });
  686. _goBackFresh('pages/checkMainPoints/checkMainPoints');
  687. }
  688. } else {
  689. console.log('res为false');
  690. resolve(false);
  691. }
  692. });
  693. } else {
  694. uni.showToast({
  695. title: '请先选择查核结果!',
  696. duration: 2000,
  697. icon: 'none'
  698. });
  699. resolve(false);
  700. }
  701. }catch(err){
  702. resolve(err);
  703. }
  704. }
  705. if(this.data.checkResult == '无缺失'&&this.deductPoint != 0){
  706. //查核结果为‘无缺失’且扣分为非0
  707. uni.showModal({
  708. title: '提示',
  709. content: `当前选择无缺失结果,但扣分数为${this.deductPoint},确认继续提交么?`,
  710. success: function (res) {
  711. if (res.confirm) {
  712. _commitCheck();
  713. } else if (res.cancel) {
  714. console.log('用户点击取消操作');
  715. resolve(false);
  716. }
  717. }
  718. });
  719. }else{
  720. _commitCheck();
  721. }
  722. })
  723. },
  724. toTuLi() {
  725. uni.navigateTo({
  726. url: `/pages/legendDetails/legendDetails?checkItemId=${this.data.checkItemId}&checkPointId=${this.checkPointId}`,
  727. });
  728. },
  729. toHistory() {
  730. const situationId = this.data.situationId;
  731. this.$store.dispatch({
  732. type: 'mission/commActions',
  733. payload: {
  734. key: "getMissionList",
  735. data: {
  736. situationId
  737. }
  738. }
  739. }).then(data => {
  740. if (data) {
  741. if (data.improvingTaskResponses.length > 0) {
  742. uni.navigateTo({
  743. url: `/pages/improve-mission-list/improve-mission-list?situationId=${this.data.situationId}`,
  744. });
  745. } else {
  746. uni.showModal({
  747. content: '暂无改善历史',
  748. showCancel: false
  749. });
  750. }
  751. }
  752. });
  753. },
  754. clearForm(index) {
  755. //清除上一项的查核信息
  756. this.Index = '';
  757. // this.deductPoint = 0;
  758. this.currentScore = 0;
  759. this.inputScore = 0;
  760. if (this.data.checkModelName == '访谈') {
  761. if (index) {
  762. this.talkList[index].talkResult = '';
  763. } else {
  764. for (let i = 0; i < this.talkList.length; i++) {
  765. this.talkList[i].talkResult = '';
  766. }
  767. }
  768. } else {
  769. this.recordList[0].talkResult = '';
  770. }
  771. this.checkedSelectResultListIds = [];
  772. this.checkedSelectResultList = [];
  773. this.checkedSelectResultListData = [];
  774. },
  775. goToPrevPage() {
  776. _goBackFresh('pages/checkMainPoints/checkMainPoints');
  777. },
  778. switchItem: async function(num) {
  779. if (!this.data.checkResult) {
  780. uni.showToast({
  781. title: '请先选择查核结果!',
  782. duration: 2000,
  783. icon: 'none'
  784. });
  785. return;
  786. }
  787. const result = await this.sureDetail();
  788. if(result){
  789. let current = this.itemBelongGroup.filter(item => {
  790. return item.id == this.id;
  791. });
  792. if (num < 0) {
  793. if (current[0].index == 0) {
  794. uni.showToast({
  795. title: '已经没有上一项',
  796. duration: 2000,
  797. icon: 'none'
  798. });
  799. return;
  800. }
  801. }
  802. if (num > 0) {
  803. if (current[0].index == this.itemBelongGroup.length - 1) {
  804. uni.showToast({
  805. title: '已经没有下一项',
  806. duration: 2000,
  807. icon: 'none'
  808. });
  809. return;
  810. }
  811. }
  812. let needItemIndex = num > 0 ? current[0].index + 1 : current[0].index - 1;
  813. let needItemId = this.itemBelongGroup[needItemIndex].id;
  814. let needItemCheckId = this.itemBelongGroup[needItemIndex].checkItemId;
  815. this.clearForm();
  816. this.clearResult();
  817. this.checkTaskDetail(needItemId);
  818. this.getCheckItemResultList(needItemCheckId); //获取缺陷项列表数据
  819. };
  820. },
  821. // 获取查核项可配置列表
  822. getCheckConfigList(checkItemId) {
  823. this.$store.dispatch({
  824. type: 'mainPointsDetail/commActions',
  825. payload: {
  826. key: 'getCheckItemAttr',
  827. data: checkItemId
  828. }
  829. }).then(data => {
  830. this.checkConfiglist = data
  831. })
  832. },
  833. // 获取查核项结果说明下拉列表
  834. getCheckItemResultList(checkItemId) {
  835. this.$store.dispatch({
  836. type: 'mainPointsDetail/commActions',
  837. payload: {
  838. key: 'getCheckItemResultList',
  839. data: checkItemId
  840. }
  841. }).then(data => {
  842. this.checkItemResultList = data;
  843. })
  844. },
  845. },
  846. onLoad({
  847. id,
  848. checkPointId,
  849. checkItemId,
  850. situationType
  851. }) {
  852. this.id = id;
  853. this.checkPointId = checkPointId;
  854. this.situationType = situationType;
  855. this.checkItemId = checkItemId;
  856. this.getCheckConfigList(checkItemId);
  857. this.getCheckItemResultList(checkItemId);
  858. //接收来自上个页面所传过来的数据
  859. const eventChannel = this.getOpenerEventChannel();
  860. eventChannel.on('acceptDataFromOpenerPage', (data) => {
  861. // console.log({data});
  862. this.itemBelongGroup = data.data[0].responseList.map((item, index) => {
  863. return ({
  864. index: index,
  865. id: item['id'],
  866. checkItemId:item['checkItemId']
  867. })
  868. });
  869. //重新导航进页面,删除缓存并设置最新数据
  870. uni.removeStorageSync('itemBelongGroup');
  871. uni.setStorageSync('itemBelongGroup', this.itemBelongGroup);
  872. });
  873. //手动刷新页面,获取本地缓存
  874. const itemBelongGroup = uni.getStorageSync('itemBelongGroup');
  875. this.itemBelongGroup = itemBelongGroup;
  876. },
  877. };
  878. </script>
  879. <style lang="less">
  880. .mainPointsDetailPage {
  881. position: relative;
  882. // min-height: 75rpx;
  883. // overflow-y: auto;
  884. height: 100%;
  885. .checkItemResultModal {
  886. display: flex;
  887. height: 100%;
  888. justify-content: center;
  889. align-items: center;
  890. .modalContent {
  891. width: 90%;
  892. height: 600rpx;
  893. border-radius: 10rpx;
  894. overflow: hidden;
  895. background-color: #FFFFFF;
  896. .modalBar {
  897. display: flex;
  898. justify-content: center;
  899. align-items: center;
  900. height: 80rpx;
  901. color: #4E78FF;
  902. font-size: 22.5rpx;
  903. box-shadow: 0 6rpx 6rpx #E5E5E5;
  904. border-bottom: 0.1rpx solid #E5E5E5;
  905. }
  906. .comfirmBtn {
  907. font-size: 22rpx;
  908. color: #FFFFFF;
  909. height: 85rpx;
  910. line-height: 85rpx;
  911. text-align: center;
  912. background-color: #3377FF;
  913. }
  914. .scroll {
  915. height: calc(100% - 160rpx);
  916. .list {
  917. position: relative;
  918. display: flex;
  919. height: 80rpx;
  920. justify-content: center;
  921. align-items: center;
  922. border-bottom: 0.1rpx solid #E5E5E5;
  923. .checkIcon {
  924. display: none;
  925. position: absolute;
  926. left: 5%;
  927. width: 25rpx;
  928. height: 25rpx;
  929. }
  930. &.on {
  931. color: #3377FF;
  932. .checkIcon {
  933. display: block;
  934. }
  935. }
  936. }
  937. }
  938. }
  939. }
  940. .scroll-y {
  941. height: calc(100% - 75rpx);
  942. }
  943. .checkItem {
  944. padding-top: 47.5rpx;
  945. width: 100%;
  946. min-height: 450rpx;
  947. background-color: #fff;
  948. position: relative;
  949. .chBg {
  950. position: absolute;
  951. top: 0;
  952. left: 0;
  953. width: 125rpx;
  954. height: 37.5rpx;
  955. .img {
  956. width: 125rpx;
  957. height: 37.5rpx;
  958. }
  959. .title {
  960. position: absolute;
  961. top: 8.75rpx;
  962. left: 25rpx;
  963. font-size: 20rpx;
  964. color: #fff;
  965. font-weight: 500;
  966. line-height: 20rpx;
  967. }
  968. }
  969. .tlImg {
  970. width: 40rpx;
  971. height: 40rpx;
  972. position: absolute;
  973. right: 25rpx;
  974. top: 25rpx;
  975. }
  976. .chContent {
  977. width: 100%;
  978. .checkItemName {
  979. margin-left: 31.25rpx;
  980. font-size: 25rpx;
  981. line-height: 55rpx;
  982. color: #292c33;
  983. }
  984. .checkPointName {
  985. margin-left: 31.25rpx;
  986. font-size: 17.5rpx;
  987. line-height: 17.5rpx;
  988. color: #7a8599;
  989. }
  990. .cont {
  991. height: 135rpx;
  992. .floatLeft {
  993. float: left;
  994. }
  995. .borderLine {
  996. margin-top: 56.25rpx;
  997. width: 0.62rpx;
  998. height: 25rpx;
  999. background-color: #dadee6;
  1000. }
  1001. .other {
  1002. padding: 40rpx 0rpx;
  1003. height: 95rpx;
  1004. width: 187.18rpx;
  1005. text-align: center;
  1006. .letterTitle {
  1007. font-size: 17.5rpx;
  1008. color: #7a8599;
  1009. line-height: 17.5rpx;
  1010. }
  1011. .letterTitle2 {
  1012. height: 22.5rpx;
  1013. font-size: 22.5rpx;
  1014. line-height: 22.5rpx;
  1015. color: #292c33;
  1016. margin-bottom: 15rpx;
  1017. font-weight: 500;
  1018. overflow: hidden;
  1019. word-break: break-all;
  1020. /* break-all(允许在单词内换行。) */
  1021. text-overflow: ellipsis;
  1022. /* 超出部分省略号 */
  1023. display: -webkit-box;
  1024. /** 对象作为伸缩盒子模型显示 **/
  1025. -webkit-box-orient: vertical;
  1026. /** 设置或检索伸缩盒对象的子元素的排列方式 **/
  1027. -webkit-line-clamp: 1;
  1028. /** 显示的行数 **/
  1029. }
  1030. }
  1031. }
  1032. .checked {
  1033. margin-bottom: 40rpx;
  1034. padding: 0rpx 15.62rpx;
  1035. height: 75rpx;
  1036. .checked-checkItem {
  1037. margin: 0rpx 9.37rpx;
  1038. padding: 0;
  1039. width: 125rpx;
  1040. height: 75rpx;
  1041. background: #ebeff7;
  1042. float: left;
  1043. line-height: 75rpx;
  1044. text-align: center;
  1045. color: #292c33;
  1046. border-radius: 20rpx;
  1047. position: relative;
  1048. .img {
  1049. width: 51.25rpx;
  1050. height: 25rpx;
  1051. position: absolute;
  1052. right: -6.25rpx;
  1053. top: -6.25rpx;
  1054. }
  1055. .lastName {
  1056. color: #fff;
  1057. font-size: 13.75rpx;
  1058. line-height: 13.75rpx;
  1059. position: absolute;
  1060. right: 5rpx;
  1061. top: -1.87rpx;
  1062. }
  1063. }
  1064. }
  1065. .more {
  1066. margin: 0rpx 25rpx 0rpx 25rpx;
  1067. text-align: center;
  1068. border-top: 0.62rpx solid #dadee6;
  1069. text {
  1070. padding: 29.37rpx 0rpx 27.5rpx;
  1071. margin-right: 10rpx;
  1072. line-height: 22.5rpx;
  1073. font-size: 22.5rpx;
  1074. color: #3377ff;
  1075. display: inline-block;
  1076. vertical-align: top;
  1077. }
  1078. .moreImg {
  1079. margin-top: 28.75rpx;
  1080. width: 12.37rpx;
  1081. height: 21.21rpx;
  1082. display: inline-block;
  1083. }
  1084. .moreImg2 {
  1085. width: 12.37rpx;
  1086. height: 21.21rpx;
  1087. }
  1088. }
  1089. .multipleResponsible {
  1090. padding-top: 15rpx;
  1091. background-color: #F5F6FA;
  1092. .inner {
  1093. position: relative;
  1094. display: flex;
  1095. height: 87.5rpx;
  1096. z-index: 10;
  1097. flex-direction: row;
  1098. justify-content: flex-start;
  1099. align-items: center;
  1100. padding: 0 25rpx;
  1101. background-color: #FFFFFF;
  1102. .label {
  1103. display: inline-block;
  1104. font-size: 22.5rpx;
  1105. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  1106. font-weight: 400;
  1107. color: #525866;
  1108. margin-right: 105rpx;
  1109. }
  1110. .value {
  1111. flex: 0.9;
  1112. font-size: 22.5rpx;
  1113. overflow: hidden; //超出的文本隐藏
  1114. text-overflow: ellipsis; //溢出用省略号显示
  1115. white-space: nowrap; //溢出不换行
  1116. }
  1117. .valuePlaceholder {
  1118. font-size: 22.5rpx;
  1119. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  1120. font-weight: 400;
  1121. color: #B8BECC;
  1122. }
  1123. .arrow {
  1124. position: absolute;
  1125. right: 25rpx;
  1126. width: 12.5rpx;
  1127. height: 20rpx;
  1128. }
  1129. }
  1130. }
  1131. .score {
  1132. display: flex;
  1133. height: 87.5rpx;
  1134. flex-direction: row;
  1135. justify-content: space-between;
  1136. align-items: center;
  1137. padding: 0 25rpx;
  1138. background: #F5F6FA;
  1139. .box {
  1140. text-align: center;
  1141. vertical-align: bottom;
  1142. .lable {
  1143. display: inline-block;
  1144. font-size: 22.5rpx;
  1145. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  1146. font-weight: 400;
  1147. color: #525866;
  1148. margin-right: 10rpx;
  1149. }
  1150. .totalScore {
  1151. font-size: 30rpx;
  1152. font-family: SourceHanSansCN-Bold, SourceHanSansCN;
  1153. font-weight: bold;
  1154. color: #292C33;
  1155. }
  1156. .currentScore {
  1157. font-size: 30rpx;
  1158. font-family: SourceHanSansCN-Bold, SourceHanSansCN;
  1159. font-weight: bold;
  1160. color: #3377FF;
  1161. }
  1162. }
  1163. }
  1164. .textValue {
  1165. display: flex;
  1166. flex-direction: row;
  1167. justify-content: flex-start;
  1168. align-items: center;
  1169. width: 70%;
  1170. height: 100%;
  1171. }
  1172. .inputScore {
  1173. display: flex;
  1174. flex-direction: row;
  1175. justify-content: flex-start;
  1176. align-items: center;
  1177. height: 87.5rpx;
  1178. padding: 0 25rpx;
  1179. background-color: #FFFFFF;
  1180. .label {
  1181. display: inline-block;
  1182. font-size: 22.5rpx;
  1183. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  1184. font-weight: 400;
  1185. color: #525866;
  1186. margin-right: 81.25rpx;
  1187. }
  1188. .value {
  1189. font-size: 22.5rpx;
  1190. }
  1191. .placeholder {
  1192. font-size: 22.5rpx;
  1193. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  1194. font-weight: 400;
  1195. color: #525866;
  1196. }
  1197. }
  1198. }
  1199. }
  1200. .see {
  1201. margin-top: 15rpx;
  1202. height: 287.5rpx;
  1203. background-color: #fff;
  1204. // padding-left: 25rpx;
  1205. .seeResult {
  1206. position: relative;
  1207. margin-left: 25rpx;
  1208. padding-top: 32.5rpx;
  1209. // height: 200rpx;
  1210. border-bottom: 1px solid #dadee6;
  1211. .clear {
  1212. position: absolute;
  1213. z-index: 10;
  1214. right: 25rpx;
  1215. bottom: 25rpx;
  1216. font-size: 22.5rpx;
  1217. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  1218. font-weight: 400;
  1219. color: #FF3355;
  1220. }
  1221. .seeResultFloorOne {
  1222. display: flex;
  1223. flex-direction: row;
  1224. justify-content: space-between;
  1225. align-items: center;
  1226. margin-bottom: 25rpx;
  1227. padding-right: 25rpx;
  1228. .plusAction {
  1229. display: flex;
  1230. flex-direction: row;
  1231. justify-content: center;
  1232. align-items: center;
  1233. .plusIcon {
  1234. width: 25rpx;
  1235. height: 25rpx;
  1236. margin-right: 10rpx;
  1237. }
  1238. .threePoint {
  1239. font-size: 22.5rpx;
  1240. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  1241. font-weight: 400;
  1242. color: #7A8599;
  1243. }
  1244. }
  1245. }
  1246. .seeName {
  1247. width: 175rpx;
  1248. font-size: 22.5rpx;
  1249. color: #525866;
  1250. line-height: 22.5rpx;
  1251. display: inline-block;
  1252. }
  1253. .seeTextarea {
  1254. width: 97%;
  1255. height: 155rpx;
  1256. display: inline-block;
  1257. font-size: 22.5rpx;
  1258. line-height: 27.5rpx;
  1259. }
  1260. }
  1261. .seeImg {
  1262. min-height: 87.5rpx;
  1263. .seeName2 {
  1264. width: 175rpx;
  1265. font-size: 22.5rpx;
  1266. color: #525866;
  1267. line-height: 87.5rpx;
  1268. display: inline-block;
  1269. }
  1270. }
  1271. }
  1272. .talk {
  1273. .talkTitle {
  1274. padding: 25rpx 25rpx 15rpx;
  1275. font-size: 22.5rpx;
  1276. line-height: 22.5rpx;
  1277. color: #666f80;
  1278. .del {
  1279. float: right;
  1280. color: #3377ff;
  1281. }
  1282. }
  1283. .talkResult {
  1284. position: relative;
  1285. padding-left: 25rpx;
  1286. padding-top: 32.5rpx;
  1287. border-bottom: 1px solid #dadee6;
  1288. background-color: #fff;
  1289. .clear {
  1290. position: absolute;
  1291. z-index: 10;
  1292. right: 25rpx;
  1293. bottom: 25rpx;
  1294. font-size: 22.5rpx;
  1295. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  1296. font-weight: 400;
  1297. color: #FF3355;
  1298. }
  1299. .seeResultFloorOne {
  1300. display: flex;
  1301. flex-direction: row;
  1302. justify-content: space-between;
  1303. align-items: center;
  1304. margin-bottom: 25rpx;
  1305. padding-right: 25rpx;
  1306. .plusAction {
  1307. display: flex;
  1308. flex-direction: row;
  1309. justify-content: center;
  1310. align-items: center;
  1311. .plusIcon {
  1312. width: 25rpx;
  1313. height: 25rpx;
  1314. margin-right: 10rpx;
  1315. }
  1316. .threePoint {
  1317. font-size: 22.5rpx;
  1318. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  1319. font-weight: 400;
  1320. color: #7A8599;
  1321. }
  1322. }
  1323. }
  1324. .seeName {
  1325. width: 175rpx;
  1326. font-size: 22.5rpx;
  1327. color: #525866;
  1328. line-height: 22.5rpx;
  1329. display: inline-block;
  1330. }
  1331. .seeTextarea {
  1332. width: 531.25rpx;
  1333. height: 155rpx;
  1334. display: inline-block;
  1335. font-size: 22.5rpx;
  1336. line-height: 27.5rpx;
  1337. }
  1338. }
  1339. .talkImg {
  1340. min-height: 87.5rpx;
  1341. .seeName2 {
  1342. width: 175rpx;
  1343. font-size: 22.5rpx;
  1344. color: #525866;
  1345. line-height: 87.5rpx;
  1346. display: inline-block;
  1347. }
  1348. }
  1349. }
  1350. .insert {
  1351. background-color: #fff;
  1352. font-size: 22.5rpx;
  1353. line-height: 22.5rpx;
  1354. color: #3377ff;
  1355. padding: 26.25rpx;
  1356. }
  1357. .sureDetail {
  1358. width: 100%;
  1359. height: 75rpx;
  1360. font-size: 22.5rpx;
  1361. background-color: #3377ff;
  1362. line-height: 75rpx;
  1363. position: absolute;
  1364. bottom: 0rpx;
  1365. }
  1366. .bottomMenuGroup {
  1367. position: fixed;
  1368. bottom: 0;
  1369. width: 100%;
  1370. height: 75rpx;
  1371. display: flex;
  1372. flex-direction: row;
  1373. background: #FFFFFF;
  1374. border-top: 0.62rpx solid #DADEE6;
  1375. .menuBtn {
  1376. display: flex;
  1377. width: 75rpx;
  1378. height: 75rpx;
  1379. justify-content: center;
  1380. align-items: center;
  1381. border-right: 0.62rpx solid #DADEE6;
  1382. .threeLineMenuIcon {
  1383. width: 26.25rpx;
  1384. height: 21.25rpx;
  1385. }
  1386. }
  1387. .prevBtn,
  1388. .nextBtn {
  1389. display: flex;
  1390. flex: 1;
  1391. justify-content: center;
  1392. height: 75rpx;
  1393. line-height: 75rpx;
  1394. font-size: 22.5rpx;
  1395. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  1396. font-weight: 400;
  1397. color: #3377FF;
  1398. }
  1399. .prevBtn {
  1400. border-right: 0.62rpx solid #DADEE6;
  1401. }
  1402. .nextBtn {
  1403. color: #FFFFFF;
  1404. background: #3377FF;
  1405. }
  1406. }
  1407. }
  1408. </style>