mainPointsDetail.vue 43 KB

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