mainPointsDetail.vue 46 KB

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