mainPointsDetail.vue 43 KB

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