mainPointsDetail.vue 44 KB

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