checkMainPoints.vue 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458
  1. <template>
  2. <view class="checkMainPoints">
  3. <u-navbar :title="ifSearchMod?'':'查核要点'" title-color="#292C33">
  4. <view v-if="ifSearchMod" class="slot-wrap" back-icon-size="25rpx">
  5. <input confirm-type="search" class="searchBar" type="text" v-model="searchKey" @input="filterFromName"
  6. placeholder-class="searchBarHolder" placeholder="搜索查核要点或查核项" />
  7. <image @click="clearSearch" v-if="searchKey" class="clearIcon" src="../../static/text-clear.png"
  8. mode=""></image>
  9. </view>
  10. <view v-if="ifSearchMod" class="navbar-right" slot="right">
  11. <text @click="cancelSearchMod" class="searchActiveBtn">取消</text>
  12. </view>
  13. </u-navbar>
  14. <uni-popup ref="popup" type="center" :maskClick="true" @change="onMaskChange">
  15. </uni-popup>
  16. <tm-top-menu v-if="!ifSearchMod" class="tm-top-menu">
  17. <template v-if="situationType != 2">
  18. <view class="top-search">
  19. <view class="search">
  20. <input confirm-type="search" @input="filterFromName" placeholder="搜索查核要点或查核项" />
  21. <image src="../../static/search.png"></image>
  22. </view>
  23. <view class="btnGroup">
  24. <image @click="toBindPeople(true)" class="searchBtn" src="../../static/bindPeople.png" mode="">
  25. </image>
  26. <image @click="openFilter" class="filterBtn" src="../../static/filterIcon.png" mode="">
  27. </image>
  28. </view>
  29. </view>
  30. </template>
  31. <!-- 查核分页模式下// -->
  32. <template v-if="situationType == 2">
  33. <view class="top-search-two">
  34. <view class="rowOne" v-if="nowPermission == 3 && situationType == 2">
  35. <view class="selectPeople" @click="toSelectVisiter">
  36. <template v-if="investigationUsers.length>0">
  37. <image
  38. v-if="currentSelectedInvestigationUser&&currentSelectedInvestigationUser['investigationStatus'] != 1"
  39. class="completePeopleIcon" src="../../static/peopleIcon.png" mode=""></image>
  40. <image
  41. v-if="currentSelectedInvestigationUser&&currentSelectedInvestigationUser['investigationStatus'] == 1"
  42. class="completePeopleIcon" src="../../static/completePeopleIcon.png" mode="">
  43. </image>
  44. <text
  45. class="peopleName">{{currentSelectedInvestigationUser?currentSelectedInvestigationUser['contentVOs'][0].value:''}}</text>
  46. <image class="fullArrow" src="../../static/close-icon.png" mode=""></image>
  47. </template>
  48. <template v-if="investigationUsers.length==0">
  49. <image @click="toSelectVisiter" class="addPeopleBtn" src="../../static/icon-add.png"
  50. mode=""></image>
  51. </template>
  52. </view>
  53. <view class="btnGroup">
  54. <image @click="toSearch" class="searchBtn" src="../../static/search.png" mode=""></image>
  55. <image @click="openFilter" class="filterBtn" src="../../static/filterIcon.png" mode="">
  56. </image>
  57. </view>
  58. </view>
  59. </view>
  60. </template>
  61. <!-- 只有当查核者进入才展示 -->
  62. <view ref="rowTwoWraper">
  63. <view class="rowTwo"v-if="nowPermission == 3||nowPermission == 1||nowPermission == 7||nowPermission == 8||nowPermission == 6" :animation="animationData" v-for="(v,i) in btnArr">
  64. <text class="rowTwoName">{{v.key}}</text>
  65. <view class="filterBtnWrap" :style="{paddingBottom:i==2?'20px':0}">
  66. <com-button v-for="(item, index) in v.list" :btnText="item.label" :width="`${32}%`" :height="80" :marginBottom="20"
  67. :marginRight="(index+1)%3==0?0:`2%`"
  68. :type="setFilterBtnType(item.value,v.key)" v-on:btnClick="btnClick(item.value,v.key,item.code)" />
  69. </view>
  70. </view>
  71. </view>
  72. </tm-top-menu>
  73. <tm-modal v-show="showModal" v-on:click="toggleModal(false)">
  74. <view class="content-list">
  75. <view class="list-item" v-for="(item, index) in point"
  76. :class="{active: checkPointId === item.checkPointId}" @click="checkPointHandle(item.checkPointId)">
  77. <text>{{item.checkPointName}}</text>
  78. <image class="check-img" v-if="checkPointId === item.checkPointId"
  79. src="../../static/checkStatus.png"></image>
  80. </view>
  81. </view>
  82. </tm-modal>
  83. <view class="contentContainer">
  84. <image class="dataEmptyimg" v-if="detailList.length==0" src="../../static/no-data.png"></image>
  85. <scroll-view @scroll="scrollHandle" scroll-y="true"
  86. v-if="detailList.length>0"
  87. :class="(detailList.length>0&&active != 2&&finishedStatus != 1)?'scroll-Y':'scroll-Y noBtn'">
  88. <view class="list" v-for="(item, index) in detailList" :key="index">
  89. <view class="title" v-if="item.responseList.length > 0">查核要点:{{item.checkPointName}}</view>
  90. <view class="item" v-for="(child, n) in item.responseList"
  91. @click="childClick(child,item.checkPointId)" :key="n">
  92. <view class="top-box">
  93. <view class="top-box-left">
  94. <view :class="[child.completeFlag?'index-icon done':'index-icon']">{{n + 1}}</view>
  95. <text>{{child.checkItemName}}</text>
  96. <!-- <text>ICU病房查看危重病人的抢救全过程(访谈)ICU病房查看危重病人的抢救全过程(访谈)ICU病房查看危重病人的抢救全过程(访谈)的抢救全过程(访谈)</text> -->
  97. </view>
  98. <view class="topRightGroup">
  99. <!-- showNotApplicable==0展示,1不展示 -->
  100. <view class="checkStatus" v-if="!child.showNotApplicable"
  101. @click.stop="checkNoApplicable(child)">
  102. <!-- <image v-if="child.isNoApplicable&&!notApplicableList.includes(child.id)"
  103. class="checkIcon" src="../../static/check-no.png" mode=""></image>
  104. <image v-if="notApplicableList.includes(child.id)||!child.isNoApplicable"
  105. class="checkIcon" src="../../static/check-checkbox.png" mode=""></image> -->
  106. <image v-if="child.isNoApplicable"
  107. class="checkIcon" src="../../static/check-no.png" mode=""></image>
  108. <image v-if="!child.isNoApplicable"
  109. class="checkIcon" src="../../static/check-checkbox.png" mode=""></image>
  110. <text class="checkStatusText">{{child.notApplicableName}}</text>
  111. </view>
  112. <image src="../../static/tuli.png"
  113. @tap.stop="goLegendDetails($event ,child.checkItemId, item.checkPointId)"></image>
  114. </view>
  115. </view>
  116. <view class="children">
  117. <view class="child">
  118. <text>{{child.deptName || '--'}}</text>
  119. <text>查核单位</text>
  120. </view>
  121. <view class="child">
  122. <text>{{child.checkModelName || '--'}}</text>
  123. <text>查核方式</text>
  124. </view>
  125. <view class="child">
  126. <text :style="{color:`#${child.lastResultColor}`}">{{isZichaDucha?child.lastResultName:child.lastResult || '--'}}</text>
  127. <text>上次结果</text>
  128. </view>
  129. <view class="child">
  130. <text :style="{color:`#${child.checkResultColor}`}">{{isZichaDucha?child.checkResultName:child.checkResult || '--'}}</text>
  131. <text>本次结果</text>
  132. </view>
  133. </view>
  134. </view>
  135. </view>
  136. </scroll-view>
  137. </view>
  138. <tm-callback-listpage />
  139. <view class="bottomBtnGroup" v-if="!ifSearchMod">
  140. <view v-if="!isShowSubtotal" class="score">
  141. <view class="box">
  142. <text class="label">得分</text>
  143. <text class="currentScore">{{currentScore}}</text>
  144. </view>
  145. <view class="midLine"></view>
  146. <view class="box">
  147. <text class="label">总分</text>
  148. <text class="totalScore">{{totalScore}}</text>
  149. </view>
  150. </view>
  151. <view v-if="isShowSubtotal" class="score scoreTypeTwo">
  152. <view class="box">
  153. <view class="rowOne">
  154. <text class="currentScore">{{currentScore}}</text>
  155. <text class="subLabel">得分</text>
  156. </view>
  157. <view class="rowTwo">
  158. <text class="label">总分:</text>
  159. <text class="currentScore">{{totalScore}}</text>
  160. </view>
  161. </view>
  162. <view class="midLine"></view>
  163. <view class="box">
  164. <view class="rowOne">
  165. <text class="currentScore xiaoji">{{subtotalScore}}</text>
  166. <text class="subLabel">小计</text>
  167. </view>
  168. <view class="rowTwo">
  169. <text class="label">总分:</text>
  170. <text class="currentScore">{{totalSubtotalScore}}</text>
  171. </view>
  172. </view>
  173. </view>
  174. <!--查核列表为空&&dang q -->
  175. <view v-if="detailList.length>0&&active != 2&&finishedStatus != 1" @click="onkeyCheckHandle"
  176. :class="[subtotalScore != null&&subtotalScore>=0?'botOneKeyCheck typeTwo':'botOneKeyCheck']">完成</view>
  177. </view>
  178. </view>
  179. </template>
  180. <script>
  181. import {
  182. mapState
  183. } from 'vuex';
  184. import {
  185. _stopPropagation
  186. } from "../../utils/compatible.js";
  187. export default {
  188. data() {
  189. return {
  190. btnArr: [],
  191. showModal: false,
  192. detailList: [],
  193. copyDetailList: [],
  194. point: [{
  195. checkPointId: 'all',
  196. checkPointName: '全部要点'
  197. }],
  198. checkPointId: 'all',
  199. nowPermission: uni.getStorageSync('nowPermission'),
  200. active:{
  201. result:['全部'],
  202. resultCode:-1,
  203. checkStatus:'全部',
  204. checkStatusCode:-1,
  205. other:'全部',
  206. otherCode:-1,
  207. }, //筛选tab下标
  208. checkId: '',
  209. deptId: '',
  210. currentScrollHeight: 0,
  211. finishedStatus: 0, //所有计划里的查核项是否都以完成
  212. totalScore: 0,
  213. currentScore: 0,
  214. subtotalScore: 0, //小计得分
  215. totalSubtotalScore: 0, //小计总分
  216. isShowSubtotal:false,//是否展示小计
  217. animationData: {}, //动画对象
  218. ifOpenFilter: false,
  219. searchKey: '', //搜索关键字
  220. ifSearchMod: false, //搜索模式
  221. applicable: true, //是否适用
  222. situationType: null, //情境类型
  223. notApplicableList: [], //保存本次check的查核项id
  224. scoreType:null, //计分方式类型 add by yfb 20230417
  225. customScoreTotal:null, //自定义计分总分分值
  226. deductPointTotal:null, //扣分汇总
  227. iOrder:1,// 查核项明细中,下一步顺序是否按要点结束,1:按要点结束;2:按顺序结束
  228. };
  229. },
  230. computed: {
  231. ...mapState({
  232. investigationUsers: state => state.checkMainPoints.investigationUsers,
  233. currentSelectedInvestigationUser: state => state.checkMainPoints.currentSelectedInvestigationUser,
  234. ifReloadPageData: state => state.checkMainPoints.ifReloadPageData,
  235. }),
  236. getCheckPointName() {
  237. let item = this.point.find((item) => item.checkPointId === this.checkPointId);
  238. return item ? item.checkPointName : '';
  239. }
  240. },
  241. watch: {
  242. currentSelectedInvestigationUser(newVal, oldVal) {
  243. if (this.situationType == 2) {
  244. //更换受访对象时拉取新数据
  245. if (newVal && newVal.investigationUserName == '') {
  246. //已删除所有访查对象
  247. this.$store.commit('checkMainPoints/comChangeState', {
  248. key: 'detailList',
  249. data: []
  250. });
  251. this.detailList = [];
  252. } else {
  253. this.loadItemData();
  254. }
  255. }
  256. },
  257. ifReloadPageData(newVal){
  258. if(newVal){
  259. this.loadItemData();
  260. }
  261. }
  262. },
  263. goBack() {
  264. this.$store.commit('checkList/comChangeState', { //刷新前一页数据
  265. key: 'ifReloadPageData',
  266. data: true
  267. });
  268. this.$store.commit('todayCheck/comChangeState', { //刷新todayCheck页面计划
  269. key: 'isReloadPageData',
  270. data: true
  271. });
  272. },
  273. onLoad: function({
  274. checkId,
  275. deptId,
  276. finishedStatus,
  277. situationType,
  278. pageTemplateId,
  279. isZichaDucha,
  280. functionId, //计划id 用于自查督查
  281. departmentId,//科室id 用于自查督查
  282. systemSituationType,
  283. pointsetType, //计分方式类型 add by yfb 20230417
  284. checkOrder,//下一项 功能类型 add by yfb 20230609
  285. }) {
  286. this.deptId = deptId;
  287. this.checkId = checkId;
  288. this.finishedStatus = finishedStatus;
  289. this.situationType = situationType;
  290. this.pageTemplateId = pageTemplateId;
  291. this.functionId = functionId;
  292. this.isZichaDucha = isZichaDucha?JSON.parse(isZichaDucha):false;
  293. this.departmentId = departmentId; //用于自查督查作为科室id
  294. this.systemSituationType = systemSituationType;
  295. this.pointsetType=pointsetType;
  296. if (situationType == 2) {
  297. //分页模式
  298. this.getInvestigationUsers();
  299. }
  300. //非分页情况下
  301. if (situationType != 2) {
  302. this.loadItemData();
  303. }
  304. if(this.currentSelectedInvestigationUser){
  305. this.getFilterList(checkId,deptId,this.currentSelectedInvestigationUser.investigationId);
  306. }else{
  307. this.getFilterList(checkId?checkId:functionId,deptId?deptId:departmentId);
  308. //this.getFilterList(checkId,departmentId);
  309. }
  310. this.iOrder=checkOrder;
  311. },
  312. onShow: function() {
  313. if (this.ifReloadPageData) {
  314. //页面重新拉取数据
  315. this.loadItemData();
  316. }
  317. //创建动画实例
  318. const animation = uni.createAnimation({
  319. duration: 100,
  320. timingFunction: 'ease',
  321. })
  322. this.animation = animation;
  323. },
  324. onBackPress(e) {
  325. this.$store.commit('checkGroup/comChangeState', {
  326. key: 'ifReloadPageData',
  327. data: true
  328. });
  329. },
  330. onUnload() {
  331. this.$store.commit('checkMainPoints/comChangeState', {
  332. key: 'ifReloadPageData',
  333. data: false
  334. });
  335. this.$store.commit('todayCheck/comChangeState', { //刷新todayCheck页面计划
  336. key: 'isReloadPageData',
  337. data: true
  338. });
  339. },
  340. methods: {
  341. /**
  342. * @param {number} checkId 查核id
  343. * @param {number} deptId 部门id
  344. * @param {number} responsibleUserId 责任对象id 非必传
  345. */
  346. getFilterList(checkId,deptId,responsibleUserId){
  347. this.$store.dispatch({
  348. type: 'checkMainPoints/commActions',
  349. key: 'getPointConditions',
  350. data: {
  351. checkId:checkId,
  352. responsibleUserId,
  353. deptId:deptId,
  354. indicatorType:this.isZichaDucha?1:0 //0 普通的 1自查督查
  355. }
  356. }).then(data=>{
  357. const {checkResults=[],checkStatuses=[],others=[]} = data;
  358. const _checkResults = checkResults.map(t=>({label:`${t.value}(${t.num})`,id:Math.random(),value:t.value,code:t.code}));
  359. const _checkStatuses = checkStatuses.map(t=>({label:`${t.value}(${t.num})`,id:Math.random(),value:t.value,code:t.code}));
  360. const _others = others.map(t=>({label:`${t.value}(${t.num})`,id:Math.random(),value:t.value,code:t.code}));
  361. this.btnArr = [
  362. {key:'查核状态',list:_checkStatuses},
  363. {key:'查核结果',list:_checkResults},
  364. {key:'其他',list:_others},
  365. ];
  366. console.log('2023070503',this.btnArr);
  367. })
  368. },
  369. //绑定当事人
  370. /**
  371. * @param {Boolean} bool true直接执行设置当事人,忽略本地以缓存的deptTd
  372. */
  373. toBindPeople(bool) {
  374. if (this.isBindResponsible && bool) {
  375. uni.showToast({
  376. icon: 'none',
  377. title: '已绑定过当事人!',
  378. duration: 2000
  379. });
  380. return;
  381. };
  382. let notNowBindPeopledeptIds = uni.getStorageSync('notNowBindPeopledeptIds');
  383. if (!notNowBindPeopledeptIds) {
  384. notNowBindPeopledeptIds = []
  385. } else {
  386. notNowBindPeopledeptIds = JSON.parse(notNowBindPeopledeptIds);
  387. }
  388. if (!notNowBindPeopledeptIds.includes(this.deptId) || bool) {
  389. const nowPermission = JSON.parse(uni.getStorageSync('nowPermission'));
  390. // console.log(this.isBindResponsible,this.checkDetailMapResponses.length > 0,nowPermission);
  391. if (!this.isBindResponsible && this.checkDetailMapResponses.length > 0 && (nowPermission == 3||nowPermission == 7||nowPermission == 8)) {
  392. //当是否已绑定当事人状态为false,可查核项大于0且当前角色是查核组员时
  393. //只有从查核列表进来才提示
  394. uni.showModal({
  395. title: '提示',
  396. content: '目前未批量分配当事人,是否前往选择?',
  397. confirmText: '前往设置',
  398. cancelText: '暂不设置',
  399. success: (res) => {
  400. if (res.confirm) {
  401. uni.navigateTo({
  402. url: `/pages/responsibleList/responsibleList?deptId=${this.isZichaDucha?this.departmentId:this.deptId}&isFromCheckMainPoints=true&isZichaDucha=${this.isZichaDucha}`,
  403. });
  404. } else if (res.cancel) {
  405. //将当前病区保存,之后不在提示
  406. notNowBindPeopledeptIds.push(this.deptId);
  407. uni.setStorageSync('notNowBindPeopledeptIds', JSON.stringify(
  408. notNowBindPeopledeptIds));
  409. }
  410. }
  411. });
  412. }else{
  413. if(!this.isBindResponsible){
  414. //已绑定当事人不弹提示!
  415. uni.showModal({
  416. title: '提示',
  417. content: '你目前无法批量分配当事人',
  418. confirmText: '确定',
  419. showCancel:false
  420. });
  421. }
  422. }
  423. }
  424. },
  425. loadItemData() {
  426. console.log('2023070404',this.active);
  427. if(this.isZichaDucha){
  428. console.log('2023070401',this.active);
  429. //自查督查的情况下
  430. this.$store.dispatch({
  431. type: 'checkMainPoints/commActions',
  432. key: 'getZichaduchaCheckItems',
  433. data:{
  434. functionId:this.functionId,
  435. //filter:"",
  436. checkStatus:this.active.checkStatusCode,
  437. checkResult:this.active.resultCode,//this.active.result.join(','),
  438. checkImages:this.active.otherCode
  439. }
  440. }).then(data => {
  441. if (data) {
  442. let renderList = data.checkDetailMapResponses?data.checkDetailMapResponses:[];
  443. this.$store.commit('checkMainPoints/comChangeState', {
  444. key: 'detailList',
  445. data: renderList
  446. });
  447. this.isBindResponsible = data.isBindResponsible;
  448. this.detailList = renderList;
  449. this.copyDetailList = renderList;
  450. this.subtotalScore = data.subtotalScore;
  451. this.isShowSubtotal = data.isShowSubtotal;
  452. //add by yfb 20230417
  453. this.scoreType=data.scoreType;
  454. this.customScoreTotal=data.customScoreTotal;
  455. this.deductPointTotal=data.deductPointTotal;
  456. if (data.scoreType==2){
  457. this.totalScore=data.customScore;
  458. this.currentScore=data.customScoreTotal;
  459. }else{
  460. this.currentScore = data.getScore;
  461. this.totalScore = data.totalScore;
  462. }
  463. this.totalSubtotalScore = data.totalSubtotalScore;
  464. this.checkDetailMapResponses = renderList;
  465. renderList.map(({
  466. checkPointId,
  467. checkPointName
  468. }) => {
  469. this.point.push({
  470. checkPointId,
  471. checkPointName
  472. });
  473. });
  474. //检查是否需要弹绑定当事人弹窗
  475. //this.toBindPeople();
  476. //add by yfb 20230609
  477. this.iOrder=data.checkOrder;
  478. }
  479. });
  480. return
  481. }
  482. //非自查督查的情况下
  483. if(this.situationType == 2&&!this.currentSelectedInvestigationUser){
  484. //分页模式下且未选择访谈对象时拒绝请求数据同时清空历史数据
  485. this.$store.commit('checkMainPoints/comChangeState', {
  486. key: 'detailList',
  487. data:[]
  488. });
  489. this.detailList = [];
  490. this.isBindResponsible = false;
  491. this.copyDetailList = [];
  492. this.currentScore =0;
  493. this.totalScore = 0;
  494. this.subtotalScore = 0;
  495. this.totalSubtotalScore = 0;
  496. this.checkDetailMapResponses = [];
  497. this.point = [];
  498. return false
  499. }
  500. this.checkTaskDetailList({
  501. 'deptId': this.deptId,
  502. 'checkId': this.checkId,
  503. 'situationType': this.situationType,
  504. 'investigationId': this.currentSelectedInvestigationUser && this
  505. .currentSelectedInvestigationUser.investigationId
  506. })
  507. },
  508. //不适用回调
  509. checkNoApplicable({
  510. id,
  511. isNoApplicable
  512. }) {
  513. this.$store.dispatch({
  514. type: 'checkMainPoints/commActions',
  515. key: 'oneKeyNotApplicable',
  516. data: {
  517. id,
  518. type:this.isZichaDucha?1:0, //0 普通的 1自查督查
  519. }
  520. }).then(data => {
  521. if (data) {
  522. //重新拉去列表数据
  523. this.loadItemData();
  524. }
  525. })
  526. },
  527. toSelectVisiter() {
  528. //更新受访对象状态,可能已经是进行中了
  529. this.$store.dispatch({
  530. type: 'checkMainPoints/commActions',
  531. key: 'getInvestigationUsers',
  532. data: {
  533. checkId: this.checkId,
  534. situationType: this.situationType,
  535. deptId: this.deptId
  536. }
  537. }).then(data => {
  538. this.$store.commit('checkMainPoints/comChangeState', {
  539. key: 'investigationUsers',
  540. data: data.map((t,index)=>({...t,id:t.investigationId}))
  541. });
  542. uni.navigateTo({
  543. url: `/pages/selectVisitPerson/selectVisitPerson?checkId=${this.checkId}&situationType=${this.situationType}&deptId=${this.deptId}&pageTemplateId=${this.pageTemplateId}`
  544. });
  545. });
  546. },
  547. toSearch() {
  548. this.ifSearchMod = true;
  549. this.detailList = [];
  550. },
  551. cancelSearchMod() {
  552. this.ifSearchMod = false;
  553. this.detailList = [...this.copyDetailList];
  554. },
  555. onMaskChange({
  556. show
  557. }) {
  558. if (!show) {
  559. this.ifOpenFilter = false;
  560. this.animation.height(0).step();
  561. this.animationData = this.animation.export()
  562. }
  563. },
  564. openFilter() {
  565. const status = this.ifOpenFilter;
  566. if (!status) {
  567. this.$refs.popup.open();
  568. this.ifOpenFilter = true;
  569. this.animation.height('100%').step();
  570. } else {
  571. this.$refs.popup.close();
  572. this.ifOpenFilter = false;
  573. this.animation.height(0).step();
  574. }
  575. this.animationData = this.animation.export()
  576. },
  577. //滚动监听事件,记录滚动高度
  578. scrollHandle(e) {
  579. this.currentScrollHeight = e.detail.scrollTop;
  580. },
  581. //一键查核
  582. onkeyCheckHandle() {
  583. if(this.situationType == 2&&!this.currentSelectedInvestigationUser){
  584. //当分页模式且未添加/选择受访对象时
  585. uni.showToast({
  586. title: '请先选择或添加受访对象!',
  587. duration: 2000,
  588. icon:'none'
  589. });
  590. return;
  591. }
  592. uni.showModal({
  593. title: '注意',
  594. content: '确定所有未填写查核结果项默认满分结果吗?',
  595. success: (res) => {
  596. if (res.confirm) {
  597. console.log('用户点击确定');
  598. this.oneKeyCheckCommit();
  599. } else if (res.cancel) {
  600. console.log('用户点击取消');
  601. }
  602. }
  603. });
  604. },
  605. oneKeyCheckCommit() {
  606. if(!this.isZichaDucha){
  607. //非自查督查
  608. let ids = [];
  609. this.detailList.forEach(item => {
  610. //筛选掉已查核项
  611. const temp = item.responseList.filter(v => !v.checkResult);
  612. const arr = temp.map(v => v.id);
  613. ids = ids.concat(arr);
  614. });
  615. this.$store.dispatch({
  616. type: 'checkMainPoints/commActions',
  617. key: 'oneKeyCheck',
  618. data: ids
  619. }).then(data => {
  620. if (data) {
  621. uni.showModal({
  622. title: '查核完成!',
  623. content: '',
  624. showCancel: false,
  625. success: function(res) {
  626. if (res.confirm) {
  627. console.log('用户点击确定');
  628. uni.navigateBack({
  629. delta: 1
  630. });
  631. }
  632. }
  633. });
  634. }
  635. });
  636. }else{
  637. //自查督查
  638. this.$store.dispatch({
  639. type: 'checkMainPoints/commActions',
  640. key: 'oneKeyCheckZichaducha',
  641. data:Number(this.functionId)
  642. }).then((data)=>{
  643. if(data){
  644. uni.showModal({
  645. title: '查核完成!',
  646. content: '',
  647. showCancel: false,
  648. success: function(res) {
  649. if (res.confirm) {
  650. uni.navigateBack({
  651. delta: 1
  652. });
  653. }
  654. }
  655. });
  656. }
  657. })
  658. }
  659. },
  660. setFilterBtnType(val,key){
  661. if(key == '查核结果'){
  662. const index = this.active.result.findIndex(t=>val==t);
  663. return index>=0?'pramary':'default'
  664. }
  665. if(key == '查核状态'){
  666. return this.active.checkStatus == val?'pramary':'default'
  667. }
  668. if(key == '其他'){
  669. return this.active.other == val?'pramary':'default'
  670. }
  671. },
  672. btnClick(val,key,code) {
  673. const _active = this.active;
  674. console.log('2023070501',_active);
  675. if(key == '查核结果'){
  676. //_active.result=val;
  677. const index = _active.result.findIndex(t=>t == val);
  678. if(index >= 0){
  679. //当前已存在该id
  680. _active.result.splice(index,1);
  681. }else{
  682. _active.result.push(val);
  683. console.log({_active});
  684. }
  685. _active.resultCode=code;
  686. }
  687. if(key == '查核状态'){
  688. _active.checkStatus = val;
  689. _active.checkStatusCode=code;
  690. }
  691. if(key == '其他'){
  692. _active.other = val;
  693. _active.otherCode=code;
  694. }
  695. this.active = _active;
  696. console.log('2023070502',_active);
  697. //更新列表
  698. this.loadItemData();
  699. },
  700. //获取访查对象列表
  701. getInvestigationUsers() {
  702. this.$store.dispatch({
  703. type: 'checkMainPoints/commActions',
  704. key: 'getInvestigationUsers',
  705. data: {
  706. checkId: this.checkId,
  707. situationType: this.situationType,
  708. deptId: this.deptId
  709. }
  710. }).then(data => {
  711. if(data.length==0){
  712. //当不存在访查对象时
  713. uni.showModal({
  714. title: '提示',
  715. content: '你目前还未添加访谈对象!',
  716. confirmText: '确定',
  717. showCancel:false
  718. });
  719. }
  720. this.$store.commit('checkMainPoints/comChangeState', {
  721. key: 'investigationUsers',
  722. data: data
  723. });
  724. this.$store.commit('checkMainPoints/comChangeState', {
  725. key: 'currentSelectedInvestigationUser',
  726. data: data[0]
  727. })
  728. });
  729. },
  730. checkTaskDetailList({
  731. checkId,
  732. deptId,
  733. situationType,
  734. investigationId,
  735. }) {
  736. const params = {
  737. checkId,
  738. deptId,
  739. situationType,
  740. checkStatus:this.active.checkStatus,
  741. checkResult:this.active.result.join(','),
  742. other:this.active.other
  743. }
  744. console.log('2023070402',params);
  745. //增加受访人
  746. if (situationType == 2) params['investigationId'] = investigationId;
  747. this.dispatch('checkTaskDetailList', {
  748. ...params
  749. }).then((data) => {
  750. if (data) {
  751. const renderList = data.checkDetailMapResponses?data.checkDetailMapResponses:[];
  752. this.$store.commit('checkMainPoints/comChangeState', {
  753. key: 'detailList',
  754. data: renderList
  755. });
  756. this.isBindResponsible = data.isBindResponsible;
  757. this.detailList = renderList;
  758. this.copyDetailList = renderList;
  759. this.subtotalScore = data.subtotalScore;
  760. this.isShowSubtotal = data.isShowSubtotal;
  761. this.totalSubtotalScore = data.totalSubtotalScore;
  762. this.checkDetailMapResponses = renderList;
  763. this.scoreType=data.scoreType;
  764. this.customScoreTotal=data.customScoreTotal;
  765. this.deductPointTotal=data.deductPointTotal;
  766. if (data.scoreType==2){
  767. this.totalScore=data.customScore;
  768. this.currentScore=data.customScoreTotal;
  769. }else
  770. {
  771. this.currentScore = data.getScore;
  772. this.totalScore = data.totalScore;
  773. }
  774. renderList.map(({
  775. checkPointId,
  776. checkPointName
  777. }) => {
  778. this.point.push({
  779. checkPointId,
  780. checkPointName
  781. });
  782. });
  783. //检查是否需要弹绑定当事人弹窗
  784. this.toBindPeople();
  785. //add by yfb 20230609
  786. this.iOrder=data.checkOrder;
  787. }
  788. });
  789. },
  790. childClick(child, checkPointId) {
  791. if (this.nowPermission == 1 || this.nowPermission == 3||this.nowPermission == 6 ||this.nowPermission == 7 ||this.nowPermission == 8 ) {
  792. let str = '',
  793. that = this;
  794. if (child.checkResult && !child.allowEdit) {
  795. // 当存在查核结果且不允许再修改时 跳转到查核项详情
  796. str = `auditItemDetails/auditItemDetails`;
  797. } else {
  798. if (this.nowPermission != 3&&this.nowPermission != 8&&this.nowPermission != 7) {
  799. //角色为非查核组员,职能科室普通人员,自查人
  800. uni.showModal({
  801. title: '提示',
  802. content: '请切换至查核者角色再进行查核操作!',
  803. showCancel: false
  804. });
  805. return;
  806. } else {
  807. // 跳转到查核结果提交
  808. str = `mainPointsDetail/mainPointsDetail`;
  809. }
  810. }
  811. uni.navigateTo({
  812. url: `/pages/${str}?id=${child.id}&checkPointId=${checkPointId}&checkItemId=${child.checkItemId}&situationType=${this.situationType}&isZichaDucha=${this.isZichaDucha}&departmentId=${this.departmentId}&checkOrder=${this.iOrder}&systemSituationType=${this.systemSituationType}`,
  813. success: function(res) {
  814. if (that.iOrder==1){
  815. const currentGroup = that.detailList.filter(item => item.checkPointId ==
  816. checkPointId);
  817. // 通过eventChannel向被打开页面传送数据
  818. res.eventChannel.emit('acceptDataFromOpenerPage', {
  819. data: currentGroup
  820. });
  821. }else if (that.iOrder==2){
  822. // 通过eventChannel向被打开页面传送数据
  823. res.eventChannel.emit('acceptDataFromOpenerPage', {
  824. data: that.detailList
  825. });
  826. }
  827. }
  828. });
  829. }
  830. },
  831. toggleModal(flage) {
  832. this.showModal = flage;
  833. },
  834. checkPointHandle(id) {
  835. this.checkPointId = id;
  836. if (id === 'all') {
  837. this.detailList = [...this.copyDetailList];
  838. } else {
  839. this.detailList = this.copyDetailList
  840. .filter((item) => item.checkPointId === id);
  841. }
  842. },
  843. clearSearch() {
  844. this.searchKey = '';
  845. this.detailList = [...this.copyDetailList];
  846. },
  847. filterFromName(e) {
  848. const {
  849. value
  850. } = e.detail;
  851. this.searchKey = value;
  852. if (value === '') {
  853. this.detailList = [...this.copyDetailList];
  854. } else {
  855. this.detailList = [];
  856. this.copyDetailList.map((item) => {
  857. let responseList = item.responseList
  858. .filter((child) => child.checkItemName.indexOf(value) >= 0);
  859. if (item.checkPointName.indexOf(value) >= 0) {
  860. this.detailList.push({
  861. ...item
  862. });
  863. } else if (responseList.length > 0) {
  864. this.detailList.push({
  865. ...item,
  866. responseList
  867. });
  868. }
  869. });
  870. }
  871. },
  872. goLegendDetails(e, checkItemId, checkPointId) {
  873. _stopPropagation(e);
  874. //跳转到图例详情
  875. uni.navigateTo({
  876. url: `/pages/legendDetails/legendDetails?checkItemId=${checkItemId}&checkPointId=${checkPointId}`
  877. });
  878. },
  879. dispatch(key, data) {
  880. return this.$store.dispatch({
  881. type: 'checkList/commActions',
  882. key,
  883. data
  884. });
  885. },
  886. }
  887. }
  888. </script>
  889. <style lang="less">
  890. .checkMainPoints {
  891. position: relative;
  892. height: 100%;
  893. display: flex;
  894. flex-direction: column;
  895. background-color: #F5F6FA;
  896. .slot-wrap {
  897. display: flex;
  898. flex: 1;
  899. justify-content: center;
  900. align-items: center;
  901. background: #F0F2F7;
  902. border-radius: 44px;
  903. padding-left: 20rpx;
  904. .searchBar {
  905. flex: 1;
  906. width: 100%;
  907. height: 55rpx;
  908. font-size: 22.5rpx;
  909. }
  910. .clearIcon {
  911. width: 25rpx;
  912. height: 25rpx;
  913. margin: 0 20.5rpx;
  914. }
  915. .searchBarHolder {
  916. font-size: 22.5rpx;
  917. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  918. font-weight: 400;
  919. color: #A1A7B3;
  920. }
  921. }
  922. .navbar-right {
  923. display: flex;
  924. justify-content: center;
  925. align-items: center;
  926. padding: 0 25rpx;
  927. .searchActiveBtn {
  928. font-size: 22.5rpx;
  929. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  930. font-weight: 400;
  931. color: #292C33;
  932. }
  933. }
  934. .botOneKeyCheck {
  935. text-align: center;
  936. height: 75rpx;
  937. width: 100%;
  938. line-height: 75rpx;
  939. font-size: 22.5rpx;
  940. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  941. font-weight: 400;
  942. color: #FFFFFF;
  943. background: #3377FF;
  944. }
  945. .bottomBtnGroup {
  946. // position: fixed;
  947. width: 100%;
  948. // left:0;
  949. // bottom: 0;
  950. display: flex;
  951. flex-direction: row;
  952. border-top: 1px solid #DADEE6;
  953. background-color: #fff;
  954. .score {
  955. display: flex;
  956. width: 50%;
  957. flex-direction: row;
  958. justify-content: center;
  959. align-items: center;
  960. height: 75rpx;
  961. .box {
  962. width: 50%;
  963. text-align: center;
  964. white-space: nowrap;
  965. vertical-align: bottom;
  966. .label {
  967. color: #666E80;
  968. font-size: 17.5rpx;
  969. margin-right: 10rpx;
  970. }
  971. .currentScore {
  972. font-size: 30rpx;
  973. font-weight: bold;
  974. color: #3377FF;
  975. &.xiaoji {
  976. color: #19BE6B;
  977. }
  978. }
  979. .totalScore {
  980. font-size: 30rpx;
  981. font-weight: bold;
  982. color: #292C33;
  983. }
  984. }
  985. .midLine {
  986. height: 17.5rpx;
  987. border-left: 0.62rpx solid #DADEE6;
  988. }
  989. &.scoreTypeTwo {
  990. height: 100rpx;
  991. .box {
  992. .rowOne {
  993. .subLabel {
  994. font-size: 10rpx;
  995. color: #82848A;
  996. margin-left: 10rpx;
  997. }
  998. }
  999. .rowTwo {
  1000. .currentScore {
  1001. font-size: 20rpx;
  1002. font-weight: bold;
  1003. color: #666E80;
  1004. }
  1005. }
  1006. }
  1007. .midLine {
  1008. height: 25rpx;
  1009. }
  1010. }
  1011. }
  1012. .botOneKeyCheck {
  1013. display: flex;
  1014. justify-content: center;
  1015. align-items: center;
  1016. height: 100%;
  1017. flex-grow: 1;
  1018. font-size: 22.5rpx;
  1019. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  1020. font-weight: 400;
  1021. color: #FFFFFF;
  1022. background: #3377FF;
  1023. &.typeTwo {
  1024. font-size: 32.5rpx;
  1025. }
  1026. }
  1027. }
  1028. .tm-top-menu {
  1029. .rowTwo {
  1030. display: flex;
  1031. width: 100%;
  1032. height: 0;
  1033. overflow: hidden;
  1034. flex-direction: column;
  1035. box-sizing: border-box;
  1036. padding: 0 25rpx;
  1037. overflow: hidden;
  1038. .rowTwoName {
  1039. font-size: 22.5rpx;
  1040. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  1041. font-weight: 400;
  1042. color: #666F80;
  1043. margin-bottom: 12.5rpx;
  1044. padding-top: 35rpx;
  1045. }
  1046. .filterBtnWrap {
  1047. display: flex;
  1048. flex-direction: row;
  1049. flex-wrap: wrap;
  1050. justify-content: flex-start;
  1051. }
  1052. }
  1053. }
  1054. .top-search {
  1055. display: flex;
  1056. flex-direction: row;
  1057. align-items: center;
  1058. justify-content: space-between;
  1059. padding: 25rpx;
  1060. background-color: #fff;
  1061. box-shadow: 0 3.75rpx 12.5rpx 0 rgba(0, 13, 51, 0.1);
  1062. .search {
  1063. position: relative;
  1064. width: 70%;
  1065. height: 55rpx;
  1066. line-height: 55rpx;
  1067. background-color: #F0F2F7;
  1068. input {
  1069. padding: 0 45rpx 0 15rpx;
  1070. height: 55rpx;
  1071. line-height: 55rpx;
  1072. font-size: 22.5rpx;
  1073. }
  1074. image {
  1075. position: absolute;
  1076. top: 16.87rpx;
  1077. right: 15rpx;
  1078. width: 21.25rpx;
  1079. height: 21.25rpx;
  1080. }
  1081. }
  1082. .btnGroup {
  1083. display: flex;
  1084. flex-direction: row;
  1085. justify-content: center;
  1086. align-items: center;
  1087. .searchBtn {
  1088. width: 30rpx;
  1089. height: 30rpx;
  1090. margin-right: 30rpx;
  1091. }
  1092. .filterBtn {
  1093. width: 30rpx;
  1094. height: 27.5rpx;
  1095. }
  1096. }
  1097. .top-btn-wrap {
  1098. padding-left: 25rpx;
  1099. .btn-list {
  1100. display: flex;
  1101. flex-direction: row;
  1102. .com-button {
  1103. margin-left: 5rpx;
  1104. &:first-child {
  1105. margin-left: 0;
  1106. }
  1107. }
  1108. }
  1109. .select-wrap {
  1110. display: flex;
  1111. flex-direction: row;
  1112. align-items: center;
  1113. white-space: nowrap;
  1114. image {
  1115. margin-left: 9.37rpx;
  1116. width: 12.5rpx;
  1117. height: 12.5rpx;
  1118. }
  1119. }
  1120. }
  1121. }
  1122. .top-search-two {
  1123. display: flex;
  1124. flex-direction: column;
  1125. align-items: flex-start;
  1126. justify-content: center;
  1127. padding: 25rpx;
  1128. background-color: #fff;
  1129. box-shadow: 0 3.75rpx 12.5rpx 0 rgba(0, 13, 51, 0.1);
  1130. .rowOne {
  1131. display: flex;
  1132. width: 100%;
  1133. flex-direction: row;
  1134. justify-content: space-between;
  1135. align-items: center;
  1136. .selectPeople {
  1137. display: flex;
  1138. flex-direction: row;
  1139. justify-content: space-between;
  1140. align-items: center;
  1141. .completePeopleIcon {
  1142. width: 50rpx;
  1143. height: 50rpx;
  1144. margin-right: 15rpx;
  1145. }
  1146. .peopleName {
  1147. font-size: 25rpx;
  1148. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  1149. font-weight: 400;
  1150. color: #292C33;
  1151. }
  1152. .fullArrow {
  1153. width: 11.25rpx;
  1154. height: 7.5rpx;
  1155. margin-left: 15rpx;
  1156. }
  1157. .addPeopleBtn {
  1158. width: 30rpx;
  1159. height: 30rpx;
  1160. margin-right: 12.5rpx;
  1161. }
  1162. }
  1163. .btnGroup {
  1164. .searchBtn {
  1165. width: 30rpx;
  1166. height: 30rpx;
  1167. margin-right: 50rpx;
  1168. }
  1169. .filterBtn {
  1170. width: 30rpx;
  1171. height: 27.5rpx;
  1172. }
  1173. }
  1174. }
  1175. }
  1176. .content-list {
  1177. // padding-top: 105rpx;
  1178. width: 100%;
  1179. background-color: #fff;
  1180. .list-item {
  1181. display: flex;
  1182. flex-direction: row;
  1183. justify-content: space-between;
  1184. align-items: center;
  1185. border-bottom: 1px solid #DADEE6;
  1186. padding: 0 25rpx;
  1187. width: 100%;
  1188. height: 87.5rpx;
  1189. font-size: 22.5rpx;
  1190. line-height: 33.75rpx;
  1191. color: #292C33;
  1192. .check-img {
  1193. float: right;
  1194. width: 19.37rpx;
  1195. height: 14.37rpx;
  1196. }
  1197. &.active {
  1198. color: #3377FF;
  1199. }
  1200. }
  1201. }
  1202. .contentContainer {
  1203. display: flex;
  1204. flex: 1;
  1205. height: 100%;
  1206. overflow: hidden;
  1207. .dataEmptyimg {
  1208. display: block;
  1209. width:200rpx;
  1210. height:230rpx;
  1211. margin: 0 auto;
  1212. margin-top: 200rpx;
  1213. }
  1214. .scroll-Y {
  1215. height: 100%;
  1216. &.noBtn {
  1217. height: 100%;
  1218. }
  1219. }
  1220. }
  1221. .list {
  1222. .title {
  1223. white-space: nowrap;
  1224. overflow: hidden;
  1225. text-overflow: ellipsis;
  1226. padding-left: 25rpx;
  1227. width: 100%;
  1228. height: 62.5rpx;
  1229. line-height: 62.5rpx;
  1230. color: #666F80;
  1231. }
  1232. .item {
  1233. margin-top: 15rpx;
  1234. padding: 25rpx 0;
  1235. min-height: 167.5rpx;
  1236. background-color: #fff;
  1237. &:nth-child(2) {
  1238. margin-top: 0;
  1239. }
  1240. .top-box {
  1241. display: flex;
  1242. flex-direction: row;
  1243. justify-content: space-between;
  1244. align-items: center;
  1245. .top-box-left {
  1246. display: flex;
  1247. flex-direction: row;
  1248. width: calc(100% - 55rpx);
  1249. .index-icon {
  1250. margin-right: 15rpx;
  1251. border-radius: 0 62.5rpx 62.5rpx 0;
  1252. width: 50rpx;
  1253. height: 35rpx;
  1254. line-height: 35rpx;
  1255. text-align: center;
  1256. color: #fff;
  1257. background-color: #66B2FE;
  1258. &.done {
  1259. background-color: rgba(195, 202, 217, 1);
  1260. }
  1261. }
  1262. >text {
  1263. display: -webkit-box;
  1264. overflow: hidden;
  1265. width: calc(100% - 65rpx);
  1266. text-overflow: ellipsis;
  1267. -webkit-line-clamp: 2;
  1268. /*! autoprefixer: off */
  1269. -webkit-box-orient: vertical;
  1270. }
  1271. }
  1272. .topRightGroup {
  1273. display: flex;
  1274. flex-direction: row;
  1275. .checkStatus {
  1276. display: flex;
  1277. flex-direction: row;
  1278. justify-content: center;
  1279. align-items: center;
  1280. width: 125rpx;
  1281. height: 40rpx;
  1282. margin-right: 15rpx;
  1283. background: #F2F4F7;
  1284. border-radius: 20rpx;
  1285. .checkIcon {
  1286. width: 25rpx;
  1287. height: 25rpx;
  1288. margin-right: 10rpx;
  1289. }
  1290. .checkStatusText {
  1291. font-size: 20rpx;
  1292. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  1293. font-weight: 400;
  1294. color: #292C33;
  1295. }
  1296. }
  1297. image {
  1298. margin-right: 15rpx;
  1299. width: 40rpx;
  1300. height: 40rpx;
  1301. }
  1302. }
  1303. }
  1304. .children {
  1305. display: flex;
  1306. flex-direction: row;
  1307. align-items: center;
  1308. margin-top: 18.75rpx;
  1309. .child {
  1310. display: flex;
  1311. flex-direction: column;
  1312. justify-content: center;
  1313. align-items: center;
  1314. flex: 1;
  1315. border-right: 1px solid #DADEE6;
  1316. text {
  1317. width: 150rpx;
  1318. font-weight: 500;
  1319. text-align: center;
  1320. overflow: hidden;
  1321. text-overflow: ellipsis;
  1322. white-space: nowrap;
  1323. &:last-child {
  1324. font-size: 17.5rpx;
  1325. line-height: 26.25rpx;
  1326. color: #7A8599;
  1327. text-align: center;
  1328. font-weight: 400;
  1329. }
  1330. }
  1331. &:last-child {
  1332. border-right: 0;
  1333. }
  1334. }
  1335. }
  1336. }
  1337. }
  1338. }
  1339. </style>