mainPointsDetail.vue 43 KB

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