mainPointsDetail.vue 43 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405
  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:{
  254. get: function () {
  255. // console.log(this.inputScore);
  256. // console.log(this.totalScore,this.selectedScore,this.checkItemScore)
  257. if(this.inputScore>0){
  258. return this.totalScore - this.inputScore;
  259. }
  260. return (this.totalScore-this.selectedScore-this.checkItemScore-this.deductPointFromRes).toFixed(2);
  261. },
  262. set:function(newValue){
  263. },
  264. },
  265. //this.inputScore
  266. // score:function(){
  267. // return this.inputScore+Math.abs(this.currentScore)
  268. // },
  269. deductPoint:function(){
  270. console.log(Number(this.inputScore),Number(this.selectedScore),Number(this.checkItemScore));
  271. if(this.inputScore){
  272. return this.inputScore;
  273. }
  274. return (this.deductPointFromRes-Number(this.inputScore)+Number(this.selectedScore)+Number(this.checkItemScore)).toFixed(2)
  275. }
  276. },
  277. watch:{
  278. checkedResponsibleList:function(){
  279. const {responsibleList} = this.$store.state;
  280. console.log({responsibleList});
  281. return responsibleList.checkedResponsibleList.map(item=>item.main);
  282. }
  283. },
  284. mounted() {
  285. this.checkTaskDetail(this.id);
  286. this.getPeizhiList();
  287. },
  288. methods: {
  289. //查核结果清空操作
  290. clearResult(ifMulti,index){
  291. if(ifMulti){
  292. //多个查核结果组件时
  293. this.talkList[index].talkResult = '';
  294. this.multiSelectScore[index] = 0;
  295. this.selectedScore = this.multiSelectScore.reduce((prev,cur)=>(prev+cur),0);
  296. this.checkedSelectResultListIds.splice(index,1,[]);
  297. this.checkedSelectResultList.splice(index,1,[]);
  298. this.checkedSelectResultListData.splice(index,1,[]);
  299. }else {
  300. this.recordList[0].seeResult='';
  301. this.selectedScore = 0;
  302. this.checkedSelectResultListIds=[];
  303. this.checkedSelectResultList=[];
  304. this.checkedSelectResultListData=[];
  305. }
  306. },
  307. clickModalhandle(){
  308. this.showSelectModal = false;
  309. },
  310. openSelectModal(index){
  311. // console.log({index});
  312. if(index>=0){
  313. this.currentEditTextAreaIndex = index;
  314. }
  315. this.showSelectModal = true;
  316. },
  317. //跳转选择当事人
  318. toSelectResponsible(){
  319. // console.log(this.deptId);
  320. uni.navigateTo({
  321. url: `/pages/responsibleList/responsibleList?deptId=${this.deptId}&checkId=${this.id}`,
  322. // animationType: 'pop-in',
  323. // animationDuration: 200
  324. });
  325. },
  326. onInputScore(e){
  327. this.inputScore = e.target.value;
  328. this.currentScore = e.target.value;
  329. },
  330. selectResultHandle(item){
  331. if(this.data.checkModelName == '访谈'){
  332. const currentIndex = this.currentEditTextAreaIndex;
  333. if(this.checkedSelectResultListIds[currentIndex]&&this.checkedSelectResultListIds[currentIndex].includes(item.id)){
  334. console.log('减去');
  335. const tempIdsArr = JSON.parse(JSON.stringify(this.checkedSelectResultListIds[currentIndex]));
  336. const tempArr = JSON.parse(JSON.stringify(this.checkedSelectResultList[currentIndex]));
  337. const tempArrData = JSON.parse(JSON.stringify(this.checkedSelectResultListData[currentIndex]));
  338. tempIdsArr.splice(tempIdsArr.indexOf(item.id),1);
  339. tempArr.splice(tempArr.indexOf(item.resultName),1);
  340. tempArrData.splice(tempArrData.indexOf(item.id),1);
  341. // console.log({tempIdsArr});
  342. this.checkedSelectResultListIds.splice(currentIndex,1,tempIdsArr);
  343. this.checkedSelectResultList.splice(currentIndex,1,tempArr);
  344. this.checkedSelectResultListData.splice(currentIndex,1,tempArrData);
  345. }else {
  346. if(!Array.isArray(this.checkedSelectResultListIds[currentIndex]))this.checkedSelectResultListIds[currentIndex]=[];
  347. if(!Array.isArray(this.checkedSelectResultList[currentIndex]))this.checkedSelectResultList[currentIndex]=[];
  348. if(!Array.isArray(this.checkedSelectResultListData[currentIndex]))this.checkedSelectResultListData[currentIndex]=[];
  349. const tempIdsArr = this.checkedSelectResultListIds[currentIndex].concat([item.id]);
  350. const tempArr = this.checkedSelectResultList[currentIndex].concat([item.resultName]);
  351. const tempArrData = this.checkedSelectResultListData[currentIndex].concat([item]);
  352. this.checkedSelectResultListIds.splice(currentIndex,1,tempIdsArr);
  353. this.checkedSelectResultList.splice(currentIndex,1,tempArr);
  354. this.checkedSelectResultListData.splice(currentIndex,1,tempArrData);
  355. // console.log(this.checkedSelectResultListIds[currentIndex],`index:${currentIndex}`);
  356. }
  357. }else {
  358. if(this.checkedSelectResultListIds.includes(item.id)){
  359. const tempIdsArr = JSON.parse(JSON.stringify(this.checkedSelectResultListIds));
  360. const tempArr = JSON.parse(JSON.stringify(this.checkedSelectResultList));
  361. const tempArrData = JSON.parse(JSON.stringify(this.checkedSelectResultListData));
  362. tempIdsArr.splice(tempIdsArr.indexOf(item.id),1);
  363. tempArr.splice(tempArr.indexOf(item.resultName),1);
  364. tempArrData.splice(tempArrData.indexOf(item.id),1);
  365. this.checkedSelectResultListIds = tempIdsArr;
  366. this.checkedSelectResultList = tempArr;
  367. this.checkedSelectResultListData = tempArrData;
  368. }else {
  369. this.checkedSelectResultListIds.push(item.id);
  370. this.checkedSelectResultList.push(item.resultName);
  371. this.checkedSelectResultListData.push(item);
  372. }
  373. }
  374. },
  375. commitSelectResult(){
  376. if(this.data.checkModelName == '访谈'){
  377. const tempArr = this.checkedSelectResultListData[this.currentEditTextAreaIndex].map(item=>item.percentScore);
  378. const tempScore = tempArr.reduce((prev,cur)=>{
  379. // return ((prev/100)*this.totalScore)+((cur/100)*this.totalScore)
  380. return prev + cur;
  381. },0);
  382. this.talkList[this.currentEditTextAreaIndex].talkResult = this.checkedSelectResultList[this.currentEditTextAreaIndex].join(',');
  383. this.multiSelectScore[this.currentEditTextAreaIndex] = tempScore;
  384. this.selectedScore = this.multiSelectScore.reduce((prev,cur)=>(prev+cur),0);
  385. // console.log(this.selectedScore,this.multiSelectScore[this.currentEditTextAreaIndex],tempScore,tempArr,this.checkedSelectResultListData);
  386. }else {
  387. const tempArr = this.checkedSelectResultListData.map(item=>item.percentScore);
  388. const tempScore = tempArr.reduce((prev,cur)=>{
  389. return prev + cur;
  390. },0);
  391. this.recordList[0].seeResult = this.checkedSelectResultList.join(',');
  392. this.selectedScore = tempScore;
  393. }
  394. // const tempArr = this.checkedSelectResultListData.map(item=>item.percentScore);
  395. // const tempScore = tempArr.reduce((prev,cur)=>{
  396. // return (prev/100)+(cur/100)
  397. // },0);
  398. // console.log({tempScore});
  399. // console.log(this.selectedScore);
  400. this.showSelectModal = false;
  401. },
  402. checkTaskDetail(id) {
  403. this.$store.dispatch({
  404. type: "mainPointsDetail/commActions",
  405. payload: {
  406. key: "checkTaskDetail",
  407. data: {
  408. id: id,
  409. },
  410. },
  411. }).then((res) => {
  412. // console.log({res});
  413. this.id = id;
  414. this.deptId = res.deptId;
  415. //再次编辑回显
  416. this.totalScore = res.totalScore;
  417. this.deductPointFromRes = res.deductPoint;
  418. if(res.lastResult){
  419. const lastConfig = this.checkConfiglist.filter(item=>item.attr == res.lastResult);
  420. this.checkItemScore = lastConfig[0].score*lastConfig[0].value;
  421. }
  422. // this.deductPoint = res.deductPoint;
  423. if(res.checkResultRequestList&&res.checkResultRequestList.length>0){
  424. if(res.checkModelName == '访谈'){
  425. this.talkList = res.checkResultRequestList.map((item,currentIndex)=>{
  426. const arr = item.checkResultDescribe.split(',');
  427. const tempResult= this.checkItemResultList.filter(v=>arr.includes(v.resultName));
  428. // console.log({tempResult});
  429. if(!Array.isArray(this.checkedSelectResultListIds[currentIndex]))this.checkedSelectResultListIds[currentIndex]=[];
  430. if(!Array.isArray(this.checkedSelectResultList[currentIndex]))this.checkedSelectResultList[currentIndex]=[];
  431. if(!Array.isArray(this.checkedSelectResultListData[currentIndex]))this.checkedSelectResultListData[currentIndex]=[];
  432. const tempIdsArr = this.checkedSelectResultListIds[currentIndex].concat(tempResult.map(item=>item.id));
  433. const tempArr = this.checkedSelectResultList[currentIndex].concat(tempResult.map(item=>item.resultName));
  434. // const tempArrData = this.checkedSelectResultListData[currentIndex].concat(tempResult.map(item=>item));
  435. this.checkedSelectResultListIds.splice(currentIndex,1,tempIdsArr);
  436. this.checkedSelectResultList.splice(currentIndex,1,tempArr);
  437. this.checkedSelectResultListData.splice(currentIndex,1,tempResult);
  438. const tempArrFull = this.checkedSelectResultListData[currentIndex].map(item=>item.percentScore);
  439. const tempScore = tempArrFull.reduce((prev,cur)=>{
  440. return prev + cur;
  441. },0);
  442. this.multiSelectScore[currentIndex] = tempScore;
  443. return {
  444. talkResult:item.checkResultDescribe,
  445. filePath:item.checkResultUrl !=''?item.checkResultUrl.split(','):[]
  446. }
  447. });
  448. //设置回显分数
  449. // this.selectedScore = this.multiSelectScore.reduce((prev,cur)=>(prev+cur),0);
  450. }else {
  451. // console.log('非访谈');
  452. // console.log(res.checkResultRequestList[0]);
  453. const arr = res.checkResultRequestList[0].checkResultDescribe.split(',');
  454. const tempResult= this.checkItemResultList.filter(v=>arr.includes(v.resultName));
  455. const tempIds = tempResult.map(item=>item.id);
  456. const scores = tempResult.map(item=>item.percentScore);
  457. const tempScore = scores.reduce((prev,cur)=>(prev+cur),0);
  458. this.recordList[0].seeResult = res.checkResultRequestList[0].checkResultDescribe;
  459. this.checkedSelectResultListIds=tempIds;
  460. this.checkedSelectResultList=res.checkResultRequestList[0].checkResultDescribe.split(',');
  461. this.checkedSelectResultListData=tempResult;
  462. this.selectedScore = tempScore;
  463. // console.log(this.checkedSelectResultListIds,tempResult,tempIds,tempScore,this.selectedScore);
  464. }
  465. }
  466. //用于当时人页面回显
  467. if(res.responsibleUserName){
  468. const tempResponsibleUserName = res.responsibleUserName.split(',');
  469. const tempResponsibleUserId = res.responsibleUserId.split(',');
  470. this.checkedResponsibleList = tempResponsibleUserName;
  471. const arr = tempResponsibleUserName.map((item,index)=>({
  472. main:item,
  473. id:parseInt(tempResponsibleUserId[index])
  474. }));
  475. // console.log({arr});
  476. this.$store.commit('responsibleList/updateCheckedResponsibleList',arr);
  477. }else{
  478. this.checkedResponsibleList = [];
  479. this.$store.commit('responsibleList/updateCheckedResponsibleList',[]);
  480. }
  481. if (res) {
  482. // console.log({res});
  483. this.data = res;
  484. if (res && res.lastResult == "不适用") {
  485. // this.lastIndex = 1;
  486. this.lastIndex = res.lastResult;
  487. } else if (res && res.lastResult == "无缺失") {
  488. this.lastIndex = res.lastResult;
  489. } else if (res && res.lastResult == "主要缺失") {
  490. this.lastIndex = res.lastResult;
  491. } else if (res && res.lastResult == "次要缺失") {
  492. this.lastIndex = res.lastResult;
  493. } else if (res && res.lastResult == "观察事项") {
  494. this.lastIndex = res.lastResult;
  495. } else {
  496. this.lastIndex = 0;
  497. }
  498. }
  499. });
  500. },
  501. getPeizhiList() {
  502. this.$store.dispatch({
  503. type: "configure/commActions",
  504. payload: {
  505. key: "getResultConfig",
  506. },
  507. }).then((res) => {
  508. this.resultConfigList = res ? res : [];
  509. });
  510. },
  511. //查核点击回调
  512. checkedOne(data) {
  513. const parsedData = JSON.parse(JSON.stringify(data));
  514. // console.log({parsedData})
  515. this.Index = parsedData.attr;
  516. this.data.checkResult = parsedData.attr;
  517. this.checkItemScore = parsedData.score*parsedData.value;
  518. console.log(this.checkItemScore,parsedData);
  519. this.checkItemValue = parsedData.value;
  520. // this.Index = data;
  521. // this.data.checkResult = data;
  522. // if (data == 1) {
  523. // this.data.checkResult = "不适用";
  524. // } else if (data == 2) {
  525. // this.data.checkResult = "无缺失";
  526. // } else if (data == 3) {
  527. // this.data.checkResult = "主要缺失";
  528. // } else if (data == 4) {
  529. // this.data.checkResult = "次要缺失";
  530. // } else if (data == 5) {
  531. // this.data.checkResult = "观察事项";
  532. // } else {
  533. // this.data.checkResult = "";
  534. // }
  535. },
  536. changeFilePaths(filePaths, index) {
  537. let _recordList = [...this.recordList];
  538. _recordList[index].filePath = filePaths;
  539. this.filePath = _recordList[0].filePath;
  540. },
  541. insert() {
  542. let list = [...this.talkList];
  543. if (list.length < 10) {
  544. list.push({ talkResult: "", filePath: [] });
  545. this.talkList = list;
  546. }
  547. },
  548. del(index) {
  549. let list = [...this.talkList];
  550. let list2 = [];
  551. for (let i = 0; i < list.length; i++) {
  552. if (i != index) {
  553. list2.push(list[i]);
  554. }
  555. }
  556. this.talkList = list2;
  557. },
  558. changeFilePaths2(filePaths, index) {
  559. for (let j = 0; j < this.talkList.length; j++) {
  560. this.talkList[this.editIndex].filePath = filePaths;
  561. }
  562. },
  563. changeTextarea(e, i) {
  564. for (let j = 0; j < this.talkList.length; j++) {
  565. this.talkList[i].talkResult = e.detail.value;
  566. }
  567. },
  568. changeTextarea2(e) {
  569. this.recordList[0].seeResult = e.target.value;
  570. },
  571. imgClick(i) {
  572. this.editIndex = i;
  573. },
  574. sureDetail(key) {
  575. if (this.Index) {
  576. let params = {
  577. id: this.data.id,
  578. checkResult: this.data.checkResult,
  579. checkResultRequestList: [],
  580. checkItemScore:this.checkItemScore,
  581. value:this.checkItemValue,
  582. // responsibleUserId:(this.checkedResponsibleData.map(item=>item.id)).join(','),
  583. // responsibleUserName:(this.checkedResponsibleData.map(item=>item.main)).join(','),
  584. score:Number(this.currentScore),
  585. deductPoint:Number(this.inputScore?this.inputScore:this.deductPoint),
  586. };
  587. if (this.data.checkModelName == "访谈") {
  588. let list = [];
  589. for (let i = 0; i < this.talkList.length; i++) {
  590. let path = "";
  591. for (let j = 0; j < this.talkList[i].filePath.length; j++) {
  592. if (j == 0) {
  593. path += `${this.talkList[i].filePath[j]}`;
  594. } else {
  595. path += `,${this.talkList[i].filePath[j]}`;
  596. }
  597. }
  598. let item = {
  599. checkResultId: i,
  600. checkResultDescribe: this.talkList[i].talkResult,
  601. checkResultUrl: path,
  602. };
  603. list.push(item);
  604. }
  605. params.checkResultRequestList = list;
  606. } else {
  607. let list = [];
  608. let path = "";
  609. for (let j = 0; j < this.recordList[0].filePath.length; j++) {
  610. if (j == 0) {
  611. path += `${this.recordList[0].filePath[j]}`;
  612. } else {
  613. path += `,${this.recordList[0].filePath[j]}`;
  614. }
  615. }
  616. let item = {
  617. checkResultId: 1,
  618. checkResultDescribe: this.recordList[0].seeResult,
  619. checkResultUrl: path,
  620. };
  621. list.push(item);
  622. params.checkResultRequestList = list;
  623. }
  624. const checkConfiglist = JSON.parse(JSON.stringify(this.checkConfiglist));
  625. // console.log({params});
  626. // return;
  627. this.$store.dispatch({
  628. type: "mainPointsDetail/commActions",
  629. payload: {
  630. key: "saveCheckTaskDetail",
  631. data: {
  632. ...params,
  633. },
  634. },
  635. }).then((res) => {
  636. // console.log({'res':res,'checkConfiglist':checkConfiglist});
  637. if (res) {
  638. for (let i = 0; i < checkConfiglist.length; i++) {
  639. if (
  640. checkConfiglist[i].attr == params.checkResult &&
  641. (checkConfiglist[i].resultType == 2 ||
  642. checkConfiglist[i].resultType == 3)
  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. console.log('开始返回');
  683. this.$store.commit('checkMainPoints/comChangeState',{'key':'ifUpdate','data':true});
  684. _goBackFresh('pages/checkMainPoints/checkMainPoints');
  685. }
  686. // _goBackFresh('pages/checkMainPoints/checkMainPoints');
  687. //去查核详情页
  688. // uni.navigateTo({
  689. // url: `/pages/auditItemDetails/auditItemDetails?id=${this.data.id}&checkPointId=${this.checkPointId}`,
  690. // });
  691. }else {
  692. console.log('res为false');
  693. }
  694. });
  695. } else {
  696. uni.showModal({
  697. title: "检查选项未选择",
  698. showCancel: false,
  699. });
  700. }
  701. },
  702. toTuLi() {
  703. uni.navigateTo({
  704. url: `/pages/legendDetails/legendDetails?checkItemId=${this.data.checkItemId}&checkPointId=${this.checkPointId}`,
  705. });
  706. },
  707. toHistory() {
  708. const situationId = this.data.situationId;
  709. this.$store.dispatch({
  710. type: 'mission/commActions',
  711. payload: {
  712. key: "getMissionList",
  713. data:{situationId}
  714. }
  715. }).then(data => {
  716. if(data) {
  717. if(data.improvingTaskResponses.length>0){
  718. uni.navigateTo({
  719. url: `/pages/improve-mission-list/improve-mission-list?situationId=${this.data.situationId}`,
  720. });
  721. }else {
  722. uni.showModal({
  723. content: '暂无改善历史',
  724. showCancel:false
  725. });
  726. }
  727. // this.improvingTaskList = data.improvingTaskResponses || [];
  728. // this.completeTaskList = data.improveCompleteResponses || [];
  729. }
  730. });
  731. /** 请求参数 data
  732. * situationId: 情境id 当管路员或者查核者通过情境进入任务列表时 必传
  733. * checkItemId 单位负责人通过 查核要点进入改善任务列表时 必传
  734. */
  735. },
  736. clearForm(index){
  737. this.Index = '';
  738. this.deductPoint = 0;
  739. this.currentScore = 0;
  740. this.inputScore = 0;
  741. if(this.data.checkModelName == '访谈'){
  742. if(index){
  743. this.talkList[index].talkResult = '';
  744. }else {
  745. for(let i=0;i<this.talkList.length;i++){
  746. this.talkList[i].talkResult = '';
  747. }
  748. }
  749. }else {
  750. this.recordList[0].talkResult ='';
  751. }
  752. this.checkedSelectResultListIds=[];
  753. this.checkedSelectResultList=[];
  754. this.checkedSelectResultListData=[];
  755. },
  756. goToPrevPage(){
  757. _goBackFresh('pages/checkMainPoints/checkMainPoints');
  758. },
  759. switchItem:async function(num){
  760. await this.sureDetail();
  761. let current = this.itemBelongGroup.filter(item=>{
  762. return item.id == this.id;
  763. });
  764. if(num<0){
  765. if(current[0].index==0){
  766. uni.showToast({
  767. title: '已经没有上一项',
  768. duration: 2000,
  769. icon:'none'
  770. });
  771. return;
  772. }
  773. }
  774. if(num>0){
  775. if(current[0].index==this.itemBelongGroup.length-1){
  776. uni.showToast({
  777. title: '已经没有下一项',
  778. duration: 2000,
  779. icon:'none'
  780. });
  781. return;
  782. }
  783. }
  784. let needItemIndex = num>0?current[0].index+1:current[0].index-1;
  785. let needItemId = this.itemBelongGroup[needItemIndex].id;
  786. // console.log({needItemIndex,needItemId});
  787. this.clearForm();
  788. this.checkTaskDetail(needItemId);
  789. },
  790. // 获取查核项可配置列表
  791. getCheckConfigList(checkItemId) {
  792. this.$store.dispatch({
  793. type: 'mainPointsDetail/commActions',
  794. payload: {
  795. key:'getCheckItemAttr',
  796. data:checkItemId
  797. }
  798. }).then(data=>{
  799. // console.log({data});
  800. this.checkConfiglist = data
  801. })
  802. },
  803. // 获取查核项结果说明下拉列表
  804. getCheckItemResultList(checkItemId) {
  805. this.$store.dispatch({
  806. type: 'mainPointsDetail/commActions',
  807. payload: {
  808. key:'getCheckItemResultList',
  809. data:checkItemId
  810. }
  811. }).then(data=>{
  812. // console.log({data});
  813. // const temp = [
  814. // {resultName:'1',id:0},
  815. // {resultName:'2',id:1},
  816. // {resultName:'3',id:2},
  817. // {resultName:'4',id:3}
  818. // ]
  819. // this.checkItemResultList = temp;
  820. this.checkItemResultList = data;
  821. })
  822. },
  823. },
  824. onLoad({ id, checkPointId,checkItemId }) {
  825. this.id = id;
  826. this.checkPointId = checkPointId;
  827. this.getCheckConfigList(checkItemId);
  828. this.getCheckItemResultList(checkItemId);
  829. //接收来自上个页面所传过来的数据
  830. const eventChannel = this.getOpenerEventChannel();
  831. eventChannel.on('acceptDataFromOpenerPage', (data)=>{
  832. // console.log({data});
  833. this.itemBelongGroup =data.data[0].responseList.map((item,index)=>{
  834. return({
  835. index:index,
  836. id:item['id'],
  837. })
  838. });
  839. //重新导航进页面,删除缓存并设置最新数据
  840. uni.removeStorageSync('itemBelongGroup');
  841. uni.setStorageSync('itemBelongGroup',this.itemBelongGroup);
  842. });
  843. //手动刷新页面,获取本地缓存
  844. const itemBelongGroup = uni.getStorageSync('itemBelongGroup');
  845. this.itemBelongGroup = itemBelongGroup;
  846. },
  847. };
  848. </script>
  849. <style lang="less">
  850. .mainPointsDetailPage {
  851. position: relative;
  852. // min-height: 75rpx;
  853. // overflow-y: auto;
  854. height: 100%;
  855. .checkItemResultModal {
  856. display: flex;
  857. height: 100%;
  858. justify-content: center;
  859. align-items: center;
  860. .modalContent {
  861. width: 90%;
  862. height:600rpx;
  863. border-radius: 10rpx;
  864. overflow: hidden;
  865. background-color: #FFFFFF;
  866. .modalBar{
  867. display: flex;
  868. justify-content: center;
  869. align-items: center;
  870. height: 80rpx;
  871. color: #4E78FF;
  872. font-size: 22.5rpx;
  873. box-shadow: 0 6rpx 6rpx #E5E5E5;
  874. border-bottom: 0.1rpx solid #E5E5E5;
  875. }
  876. .comfirmBtn {
  877. font-size: 22rpx;
  878. color: #FFFFFF;
  879. height: 85rpx;
  880. line-height: 85rpx;
  881. text-align: center;
  882. background-color: #3377FF;
  883. }
  884. .scroll {
  885. height: calc(100% - 160rpx);
  886. .list {
  887. position: relative;
  888. display: flex;
  889. height: 80rpx;
  890. justify-content: center;
  891. align-items: center;
  892. border-bottom: 0.1rpx solid #E5E5E5;
  893. .checkIcon {
  894. display: none;
  895. position: absolute;
  896. left:5%;
  897. width: 25rpx;
  898. height:25rpx;
  899. }
  900. &.on {
  901. color: #3377FF;
  902. .checkIcon {
  903. display: block;
  904. }
  905. }
  906. }
  907. }
  908. }
  909. }
  910. .scroll-y {
  911. height: calc(100% - 75rpx);
  912. }
  913. .checkItem {
  914. padding-top: 47.5rpx;
  915. width: 100%;
  916. min-height: 450rpx;
  917. background-color: #fff;
  918. position: relative;
  919. .chBg {
  920. position: absolute;
  921. top: 0;
  922. left: 0;
  923. width: 125rpx;
  924. height: 37.5rpx;
  925. .img {
  926. width: 125rpx;
  927. height: 37.5rpx;
  928. }
  929. .title {
  930. position: absolute;
  931. top: 8.75rpx;
  932. left: 25rpx;
  933. font-size: 20rpx;
  934. color: #fff;
  935. font-weight: 500;
  936. line-height: 20rpx;
  937. }
  938. }
  939. .tlImg {
  940. width: 40rpx;
  941. height: 40rpx;
  942. position: absolute;
  943. right: 25rpx;
  944. top: 25rpx;
  945. }
  946. .chContent {
  947. width: 100%;
  948. .checkItemName {
  949. margin-left: 31.25rpx;
  950. font-size: 25rpx;
  951. line-height: 55rpx;
  952. color: #292c33;
  953. }
  954. .checkPointName {
  955. margin-left: 31.25rpx;
  956. font-size: 17.5rpx;
  957. line-height: 17.5rpx;
  958. color: #7a8599;
  959. }
  960. .cont {
  961. height: 135rpx;
  962. .floatLeft {
  963. float: left;
  964. }
  965. .borderLine {
  966. margin-top: 56.25rpx;
  967. width: 0.62rpx;
  968. height: 25rpx;
  969. background-color: #dadee6;
  970. }
  971. .other {
  972. padding: 40rpx 0rpx;
  973. height: 95rpx;
  974. width: 187.18rpx;
  975. text-align: center;
  976. .letterTitle {
  977. font-size: 17.5rpx;
  978. color: #7a8599;
  979. line-height: 17.5rpx;
  980. }
  981. .letterTitle2 {
  982. height: 22.5rpx;
  983. font-size: 22.5rpx;
  984. line-height: 22.5rpx;
  985. color: #292c33;
  986. margin-bottom: 15rpx;
  987. font-weight: 500;
  988. }
  989. }
  990. }
  991. .checked {
  992. margin-bottom: 40rpx;
  993. padding: 0rpx 15.62rpx;
  994. height: 75rpx;
  995. .checked-checkItem {
  996. margin: 0rpx 9.37rpx;
  997. padding: 0;
  998. width: 125rpx;
  999. height: 75rpx;
  1000. background: #ebeff7;
  1001. float: left;
  1002. line-height: 75rpx;
  1003. text-align: center;
  1004. color: #292c33;
  1005. border-radius: 20rpx;
  1006. position: relative;
  1007. .img {
  1008. width: 51.25rpx;
  1009. height: 25rpx;
  1010. position: absolute;
  1011. right: -6.25rpx;
  1012. top: -6.25rpx;
  1013. }
  1014. .lastName {
  1015. color: #fff;
  1016. font-size: 13.75rpx;
  1017. line-height: 13.75rpx;
  1018. position: absolute;
  1019. right: 5rpx;
  1020. top: -1.87rpx;
  1021. }
  1022. }
  1023. }
  1024. .more {
  1025. margin: 0rpx 25rpx 0rpx 25rpx;
  1026. text-align: center;
  1027. border-top: 0.62rpx solid #dadee6;
  1028. text {
  1029. padding: 29.37rpx 0rpx 27.5rpx;
  1030. margin-right: 10rpx;
  1031. line-height: 22.5rpx;
  1032. font-size: 22.5rpx;
  1033. color: #3377ff;
  1034. display: inline-block;
  1035. vertical-align: top;
  1036. }
  1037. .moreImg {
  1038. margin-top: 28.75rpx;
  1039. width: 12.37rpx;
  1040. height: 21.21rpx;
  1041. display: inline-block;
  1042. }
  1043. .moreImg2 {
  1044. width: 12.37rpx;
  1045. height: 21.21rpx;
  1046. }
  1047. }
  1048. .multipleResponsible {
  1049. padding-top:15rpx;
  1050. background-color:#F5F6FA;
  1051. .inner {
  1052. position: relative;
  1053. display: flex;
  1054. height: 87.5rpx;
  1055. z-index: 10;
  1056. flex-direction: row;
  1057. justify-content: flex-start;
  1058. align-items: center;
  1059. padding: 0 25rpx;
  1060. background-color: #FFFFFF;
  1061. .label {
  1062. display: inline-block;
  1063. font-size: 22.5rpx;
  1064. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  1065. font-weight: 400;
  1066. color: #525866;
  1067. margin-right: 105rpx;
  1068. }
  1069. .value {
  1070. flex: 0.9;
  1071. font-size: 22.5rpx;
  1072. overflow:hidden; //超出的文本隐藏
  1073. text-overflow:ellipsis; //溢出用省略号显示
  1074. white-space:nowrap; //溢出不换行
  1075. }
  1076. .valuePlaceholder {
  1077. font-size: 22.5rpx;
  1078. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  1079. font-weight: 400;
  1080. color: #B8BECC;
  1081. }
  1082. .arrow {
  1083. position: absolute;
  1084. right:25rpx;
  1085. width: 12.5rpx;
  1086. height: 20rpx;
  1087. }
  1088. }
  1089. }
  1090. .score {
  1091. display: flex;
  1092. height: 87.5rpx;
  1093. flex-direction:row;
  1094. justify-content: space-between;
  1095. align-items: center;
  1096. padding: 0 25rpx;
  1097. background: #F5F6FA;
  1098. .box {
  1099. text-align: center;
  1100. vertical-align: bottom;
  1101. .lable {
  1102. display: inline-block;
  1103. font-size: 22.5rpx;
  1104. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  1105. font-weight: 400;
  1106. color: #525866;
  1107. margin-right: 10rpx;
  1108. }
  1109. .totalScore {
  1110. font-size: 30rpx;
  1111. font-family: SourceHanSansCN-Bold, SourceHanSansCN;
  1112. font-weight: bold;
  1113. color: #292C33;
  1114. }
  1115. .currentScore {
  1116. font-size: 30rpx;
  1117. font-family: SourceHanSansCN-Bold, SourceHanSansCN;
  1118. font-weight: bold;
  1119. color: #3377FF;
  1120. }
  1121. }
  1122. }
  1123. .inputScore {
  1124. display: flex;
  1125. flex-direction: row;
  1126. justify-content: flex-start;
  1127. align-items:center;
  1128. height: 87.5rpx;
  1129. padding: 0 25rpx;
  1130. background-color: #FFFFFF;
  1131. .label {
  1132. display: inline-block;
  1133. font-size: 22.5rpx;
  1134. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  1135. font-weight: 400;
  1136. color: #525866;
  1137. margin-right: 81.25rpx;
  1138. }
  1139. .value {
  1140. font-size: 22.5rpx;
  1141. }
  1142. .placeholder {
  1143. font-size: 22.5rpx;
  1144. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  1145. font-weight: 400;
  1146. color: #525866;
  1147. }
  1148. }
  1149. }
  1150. }
  1151. .see {
  1152. margin-top: 15rpx;
  1153. height: 287.5rpx;
  1154. background-color: #fff;
  1155. // padding-left: 25rpx;
  1156. .seeResult {
  1157. position: relative;
  1158. margin-left: 25rpx;
  1159. padding-top: 32.5rpx;
  1160. // height: 200rpx;
  1161. border-bottom: 1px solid #dadee6;
  1162. .clear {
  1163. position: absolute;
  1164. z-index: 10;
  1165. right: 25rpx;
  1166. bottom: 25rpx;
  1167. font-size: 22.5rpx;
  1168. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  1169. font-weight: 400;
  1170. color: #FF3355;
  1171. }
  1172. .seeResultFloorOne {
  1173. display: flex;
  1174. flex-direction: row;
  1175. justify-content:space-between;
  1176. align-items: center;
  1177. margin-bottom: 25rpx;
  1178. padding-right: 25rpx;
  1179. .plusAction {
  1180. display: flex;
  1181. flex-direction: row;
  1182. justify-content: center;
  1183. align-items: center;
  1184. .plusIcon {
  1185. width: 25rpx;
  1186. height: 25rpx;
  1187. margin-right: 10rpx;
  1188. }
  1189. .threePoint {
  1190. font-size: 22.5rpx;
  1191. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  1192. font-weight: 400;
  1193. color: #7A8599;
  1194. }
  1195. }
  1196. }
  1197. .seeName {
  1198. width: 175rpx;
  1199. font-size: 22.5rpx;
  1200. color: #525866;
  1201. line-height: 22.5rpx;
  1202. display: inline-block;
  1203. }
  1204. .seeTextarea {
  1205. width: 97%;
  1206. height: 155rpx;
  1207. display: inline-block;
  1208. font-size: 22.5rpx;
  1209. line-height: 27.5rpx;
  1210. }
  1211. }
  1212. .seeImg {
  1213. min-height: 87.5rpx;
  1214. .seeName2 {
  1215. width: 175rpx;
  1216. font-size: 22.5rpx;
  1217. color: #525866;
  1218. line-height: 87.5rpx;
  1219. display: inline-block;
  1220. }
  1221. }
  1222. }
  1223. .talk {
  1224. .talkTitle {
  1225. padding: 25rpx 25rpx 15rpx;
  1226. font-size: 22.5rpx;
  1227. line-height: 22.5rpx;
  1228. color: #666f80;
  1229. .del {
  1230. float: right;
  1231. color: #3377ff;
  1232. }
  1233. }
  1234. .talkResult {
  1235. position: relative;
  1236. padding-left: 25rpx;
  1237. padding-top: 32.5rpx;
  1238. border-bottom: 1px solid #dadee6;
  1239. background-color: #fff;
  1240. .clear {
  1241. position: absolute;
  1242. z-index: 10;
  1243. right: 25rpx;
  1244. bottom: 25rpx;
  1245. font-size: 22.5rpx;
  1246. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  1247. font-weight: 400;
  1248. color: #FF3355;
  1249. }
  1250. .seeResultFloorOne {
  1251. display: flex;
  1252. flex-direction: row;
  1253. justify-content:space-between;
  1254. align-items: center;
  1255. margin-bottom: 25rpx;
  1256. padding-right: 25rpx;
  1257. .plusAction {
  1258. display: flex;
  1259. flex-direction: row;
  1260. justify-content: center;
  1261. align-items: center;
  1262. .plusIcon {
  1263. width: 25rpx;
  1264. height: 25rpx;
  1265. margin-right: 10rpx;
  1266. }
  1267. .threePoint {
  1268. font-size: 22.5rpx;
  1269. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  1270. font-weight: 400;
  1271. color: #7A8599;
  1272. }
  1273. }
  1274. }
  1275. .seeName {
  1276. width: 175rpx;
  1277. font-size: 22.5rpx;
  1278. color: #525866;
  1279. line-height: 22.5rpx;
  1280. display: inline-block;
  1281. }
  1282. .seeTextarea {
  1283. width: 531.25rpx;
  1284. height: 155rpx;
  1285. display: inline-block;
  1286. font-size: 22.5rpx;
  1287. line-height: 27.5rpx;
  1288. }
  1289. }
  1290. .talkImg {
  1291. min-height: 87.5rpx;
  1292. .seeName2 {
  1293. width: 175rpx;
  1294. font-size: 22.5rpx;
  1295. color: #525866;
  1296. line-height: 87.5rpx;
  1297. display: inline-block;
  1298. }
  1299. }
  1300. }
  1301. .insert {
  1302. background-color: #fff;
  1303. font-size: 22.5rpx;
  1304. line-height: 22.5rpx;
  1305. color: #3377ff;
  1306. padding: 26.25rpx;
  1307. }
  1308. .sureDetail {
  1309. width: 100%;
  1310. height: 75rpx;
  1311. font-size: 22.5rpx;
  1312. background-color: #3377ff;
  1313. line-height: 75rpx;
  1314. position: absolute;
  1315. bottom: 0rpx;
  1316. }
  1317. .bottomMenuGroup {
  1318. position: fixed;
  1319. bottom: 0;
  1320. width: 100%;
  1321. height: 75rpx;
  1322. display: flex;
  1323. flex-direction: row;
  1324. background: #FFFFFF;
  1325. border-top:0.62rpx solid #DADEE6;
  1326. .menuBtn {
  1327. display: flex;
  1328. width: 75rpx;
  1329. height: 75rpx;
  1330. justify-content: center;
  1331. align-items: center;
  1332. border-right: 0.62rpx solid #DADEE6;
  1333. .threeLineMenuIcon {
  1334. width: 26.25rpx;
  1335. height: 21.25rpx;
  1336. }
  1337. }
  1338. .prevBtn,.nextBtn {
  1339. display: flex;
  1340. flex: 1;
  1341. justify-content: center;
  1342. height:75rpx;
  1343. line-height:75rpx;
  1344. font-size: 22.5rpx;
  1345. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  1346. font-weight: 400;
  1347. color: #3377FF;
  1348. }
  1349. .prevBtn {
  1350. border-right: 0.62rpx solid #DADEE6;
  1351. }
  1352. .nextBtn{
  1353. color: #FFFFFF;
  1354. background: #3377FF;
  1355. }
  1356. }
  1357. }
  1358. </style>