mainPointsDetail.vue 45 KB

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