123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722 |
- <template>
- <view class="mainPointsDetailPage">
- <tm-modal v-if="showSelectModal" @click="clickModalhandle">
- <view class="checkItemResultModal">
- <view class="modalContent">
- <view class="modalBar">请选择查核结果</view>
- <scroll-view v-if="data.checkModelName != '访谈'" class="scroll" scroll-y="true">
- <view v-for="item in checkItemResultList"
- :class="[checkedSelectResultListIds.includes(item.id)?'list on':'list']" :key="item.id"
- @click.stop="selectResultHandle(item)">
- <image class="checkIcon"
- :src="`../../static/${!moreDeduction?'check-radio.png':'check-checkbox.png'}`" mode="">
- </image>
- {{item.resultName}}
- </view>
- </scroll-view>
- <scroll-view v-if="data.checkModelName == '访谈'" class="scroll" scroll-y="true">
- <view v-for="item in checkItemResultList"
- :class="[checkedSelectResultListIds[currentEditTextAreaIndex]&&checkedSelectResultListIds[currentEditTextAreaIndex].includes(item.id)?'list on':'list']"
- :key="item.id" @click.stop="selectResultHandle(item)">
- <image class="checkIcon"
- :src="`../../static/${!moreDeduction?'check-radio.png':'check-checkbox.png'}`" mode="">
- </image>
- {{item.resultName}}
- </view>
- </scroll-view>
- <view class="comfirmBtn" @click="commitSelectResult">确定</view>
- </view>
- </view>
- </tm-modal>
- <scroll-view scroll-y="true" class="scroll-y">
- <view class="checkItem">
- <view class="chBg">
- <image src="../../static/chahexiang-bg.png" mode="" class="img"></image>
- <text class="title">查核项</text>
- </view>
- <image src="../../static/tuli.png" mode="" class="tlImg" @click="toTuLi"></image>
- <view class="chContent">
- <view class="checkItemName">{{ data.checkItemName ? data.checkItemName : "" }}</view>
- <view class="checkPointName">{{ data.checkPointName ? data.checkPointName : "" }}</view>
- <view class="cont">
- <view class="floatLeft other">
- <view class="letterTitle2">{{ data.deptName ? data.deptName : "" }}</view>
- <view class="letterTitle">查核单位</view>
- </view>
- <view class="floatLeft borderLine"></view>
- <view class="floatLeft other">
- <view class="letterTitle2">{{ data.checkModelName ? data.checkModelName : "" }}</view>
- <view class="letterTitle">查核方式</view>
- </view>
- <view class="floatLeft borderLine"></view>
- <view class="floatLeft other">
- <view class="letterTitle2">{{ data.lastResult ? data.lastResult : "" }}</view>
- <view class="letterTitle">上次结果</view>
- </view>
- <view class="floatLeft borderLine"></view>
- <view class="floatLeft other">
- <view class="letterTitle2">{{ data.checkResult ? data.checkResult : "" }}</view>
- <view class="letterTitle">本次结果</view>
- </view>
- </view>
- <view class="checked">
- <view class="checked-checkItem" v-for="item in checkConfiglist" :key="item.attr"
- @click="checkedOne(item)" :style="
- Index == item.attr
- ? { backgroundColor: '#3377FF', color: '#fff' }
- : { backgroundColor: '#EBEFF7' }
- ">{{item.attr}}
- <view v-if="lastIndex == item.attr">
- <image src="../../static/shangci.png" mode="" class="img"></image>
- <text class="lastName">上次</text>
- </view>
- </view>
- </view>
- <view class="more" @click="toHistory">
- <text>查看改善历史</text>
- <view class="moreImg">
- <image src="../../static/blue-arrow.png" mode="" class="moreImg2"></image>
- </view>
- </view>
- <view class="multipleResponsible">
- <view class="inner" @click="toSelectResponsible">
- <text class="label">当事人</text>
- <input type="text" disabled v-model="checkedResponsibleList.join(',')"
- placeholder="请选择当事人(可多选)" class="value" placeholder-class="valuePlaceholder" />
- <image class="arrow" src="../../static/incon-more.png" mode=""></image>
- </view>
- </view>
- <view class="score">
- <view class="box">
- <text class="lable">总分</text>
- <text class="totalScore">{{totalScore}}</text>
- </view>
- <view class="box">
- <text class="lable">本次得分</text>
- <text class="currentScore">{{currentScore>0?currentScore:0}}</text>
- </view>
- </view>
- <view class="inputScore">
- <text class="label">本项扣分</text>
- <view class="textValue" v-if="!ifInputScore" @click='changeToInputScore'>{{deductPoint}}</view>
- <input class="value" v-if="ifInputScore" @input="onInputScore" focus='true' auto-blur='true'
- @blur='inputOnBlur' type="number" v-model="inputScore" placeholder-class="placeholder" />
- </view>
- </view>
- </view>
- <view v-if="data.checkModelName == '访谈'" class="talk">
- <view v-for="(item, i) in talkList">
- <view class="talkTitle">
- <text>访谈内容{{ i + 1 }}{{ i == 0 ? "" : "(访谈人员:护士、医生)" }}</text>
- <text v-if="i != 0" class="del" @click="del(i)">删除</text>
- </view>
- <view>
- <view class="talkResult">
- <view class="seeResultFloorOne">
- <text class="seeName">查核结果</text>
- <view class="plusAction" v-if="checkItemResultList.length>0"
- @click="openSelectModal(i)">
- <image class="plusIcon" src="../../static/icon-add.png" mode=""></image>
- <text class="threePoint">缺陷</text>
- </view>
- </view>
- <text class="clear" @click="clearResult(true,i)">清空</text>
- <textarea maxlength="300" class="seeTextarea" value="" placeholder="请输入"
- v-model="item.talkResult" @blur="changeTextarea($event, i)"></textarea>
- </view>
- <view class="talkImg" @click="imgClick(i)">
- <tm-upload-img label="上传图片" :filePaths="item.filePath" :isMultiple="true" :pickIndex="i"
- @changeFilePaths="changeFilePaths2" />
- </view>
- </view>
- </view>
- </view>
- <view v-else class="see">
- <view class="seeResult">
- <view class="seeResultFloorOne">
- <text class="seeName">查核结果</text>
- <view class="plusAction" v-if="checkItemResultList.length>0" @click="openSelectModal">
- <image class="plusIcon" src="../../static/icon-add.png" mode=""></image>
- <text class="threePoint">缺陷</text>
- </view>
- </view>
- <text class="clear" @click="clearResult(false)">清空</text>
- <textarea maxlength="300" class="seeTextarea" placeholder="请输入" v-model="recordList[0].seeResult"
- @blur="changeTextarea2"></textarea>
- </view>
- <view class="seeImg">
- <tm-upload-img label="上传图片" :filePaths="filePath" :isMultiple="true"
- @changeFilePaths="changeFilePaths" />
- </view>
- </view>
- <button class="insert" @click="insert" v-if="data.checkModelName == '访谈'">
- + 增加一条记录
- </button>
- </scroll-view>
- <!-- <button type="primary" class="sureDetail" @click="sureDetail" v-if="data.display?data.display:false">完成</button> -->
- <view class="bottomMenuGroup">
- <view class="menuBtn" @click="goToPrevPage">
- <image class="threeLineMenuIcon" src="/static/threeLineMenu.png"></image>
- </view>
- <view class="prevBtn" @click="switchItem(1)">下一项</view>
- <view class="nextBtn" @click="sureDetail('back')" v-if="data.display?data.display:false">完成</view>
- </view>
- </view>
- </template>
- <script>
- import {
- _goBackFresh
- } from '../../utils/compatible.js';
- import situationPreviewVue from '../creatingSituations/components/situationPreview.vue';
- export default {
- data() {
- return {
- value: '',
- showSelectModal: false,
- data: {}, //详情数据
- lastIndex: null, //上次选中的结果
- Index: null, //点击修改本次选中样式
- filePath: [],
- recordList: [{
- seeResult: "",
- filePath: []
- }],
- talkLength: 1,
- talkList: [{
- talkResult: "",
- filePath: []
- }],
- editIndex: null,
- resultConfigList: [],
- id: "",
- checkPointId: "",
- itemBelongGroup: [],
- itemId: '',
- currentEditTextAreaIndex: -1, //当前编辑的查核结果下标
- checkItemResultList: [], //查核结果说明下拉列表
- checkedSelectResultList: [], //下拉结果选中集合
- checkedSelectResultListIds: [],
- currentSelect: '',
- checkItemScore: null, //查核选中的分数
- checkItemValue: null, //查核选中的分数占比
- checkConfiglist: [], //查核情况可配置列表
- totalScore: 0, //总分
- currentScore: 0, //当前得分
- inputScore: null, //手动填写分值
- selectedScore: 0, //缺失项分值
- checkedResponsibleList: [],
- deptId: '', //病区id
- checkedResponsibleData: [],
- checkedSelectResultListData: [],
- multiSelectScore: [],
- deductPoint: 0, //本次扣分
- currentCheckedTab: null, //当前选中的查核tab
- moreDeduction: false, //缺陷项是否多选
- ifInputScore: false, //是否手动干预分值
- iOrder:1, //查核项明细中,下一步顺序是否按要点结束,1:按要点结束;2:按顺序结束
- situationType:0,
- };
- },
- created() {
- this.nowPermission = uni.getStorageSync('nowPermission');
- },
- onShow() {
- const {
- responsibleList
- } = this.$store.state;
- this.checkedResponsibleData = responsibleList.checkedResponsibleList;
- this.checkedResponsibleList = responsibleList.checkedResponsibleList.map(item => item.main);
- },
- computed: {},
- watch: {
- checkedResponsibleList: function() {
- const {
- responsibleList
- } = this.$store.state;
- return responsibleList.checkedResponsibleList.map(item => item.main);
- },
- checkedResponsibleData() {
- const {
- responsibleList
- } = this.$store.state;
- return responsibleList.checkedResponsibleList;
- },
- selectedScore: function(newVal, oldVal) {
- this.scoreCounter()
- },
- checkItemScore: function(newVal) {
- this.scoreCounter()
- },
- deductPoint: function(newVal, oldVal) {
- this.currentScore = this.totalScore - newVal
- }
- },
- mounted() {
- this.checkTaskDetail(this.id);
- this.getPeizhiList();
- },
- onBackPress() {
- this.$store.commit('checkMainPoints/comChangeState', { //刷新前一页数据
- key: 'ifReloadPageData',
- data: true
- });
- },
- methods: {
- scoreCounter() {
- if (this.checkItemValue == -1) {
- //清空分数
- this.deductPoint = 0;
- return
- }
- if (this.inputScore) {
- this.deductPoint = Number(this.inputScore) + this.selectedScore
- } else {
- this.deductPoint = this.selectedScore + this.checkItemValue
- }
- },
- changeToInputScore() {
- this.ifInputScore = true;
- },
- inputOnBlur() {
- this.ifInputScore = false;
- // this.inputScore = null;
- },
- onInputScore(e) {
- this.deductPoint = e.target.value;
- },
- //查核结果清空操作
- clearResult(ifMulti, index) {
- if (ifMulti) {
- //多个查核结果组件时
- this.talkList[index].talkResult = '';
- if (this.multiSelectScore[index]) {
- this.selectedScore = this.selectedScore - this.multiSelectScore[index];
- }
- this.checkedSelectResultListIds.splice(index, 1, []);
- this.checkedSelectResultList.splice(index, 1, []);
- this.checkedSelectResultListData.splice(index, 1, []);
- this.multiSelectScore[index] = 0;
- this.currentEditTextAreaIndex = -1;
- } else {
- this.recordList[0].seeResult = '';
- this.checkedSelectResultListIds = [];
- this.checkedSelectResultList = [];
- this.checkedSelectResultListData = [];
- this.selectedScore = 0;
- }
- },
- clickModalhandle() {
- this.showSelectModal = false;
- this.currentEditTextAreaIndex = -1;
- },
- openSelectModal(index) {
- if (index >= 0) {
- this.currentEditTextAreaIndex = index;
- }
- this.showSelectModal = true;
- },
- //跳转选择当事人
- toSelectResponsible() {
- uni.navigateTo({
- url: `/pages/responsibleList/responsibleList?deptId=${this.isZichaDucha?this.departmentId:this.deptId}&checkId=${this.id}&isZichaDucha=${this.isZichaDucha}`,
- });
- },
- selectResultHandle(item) {
- if (this.data.checkModelName == '访谈') {
- const currentIndex = this.currentEditTextAreaIndex;
- if (!this.moreDeduction) {
- //缺陷项单选
- this.checkedSelectResultListIds.splice(currentIndex, 1, [item.id]);
- this.checkedSelectResultList.splice(currentIndex, 1, [item.resultName]);
- this.checkedSelectResultListData.splice(currentIndex, 1, [item]);
- return;
- }
- if (this.checkedSelectResultListIds[currentIndex] && this.checkedSelectResultListIds[currentIndex]
- .includes(item.id)) {
- const tempIdsArr = JSON.parse(JSON.stringify(this.checkedSelectResultListIds[currentIndex]));
- const tempArr = JSON.parse(JSON.stringify(this.checkedSelectResultList[currentIndex]));
- const tempArrData = JSON.parse(JSON.stringify(this.checkedSelectResultListData[currentIndex]));
- tempIdsArr.splice(tempIdsArr.indexOf(item.id), 1);
- tempArr.splice(tempArr.indexOf(item.resultName), 1);
- tempArrData.splice(tempArrData.indexOf(item.id), 1);
- this.checkedSelectResultListIds.splice(currentIndex, 1, tempIdsArr);
- this.checkedSelectResultList.splice(currentIndex, 1, tempArr);
- this.checkedSelectResultListData.splice(currentIndex, 1, tempArrData);
- } else {
- if (!Array.isArray(this.checkedSelectResultListIds[currentIndex])) this.checkedSelectResultListIds[
- currentIndex] = [];
- if (!Array.isArray(this.checkedSelectResultList[currentIndex])) this.checkedSelectResultList[
- currentIndex] = [];
- if (!Array.isArray(this.checkedSelectResultListData[currentIndex])) this
- .checkedSelectResultListData[currentIndex] = [];
- const tempIdsArr = this.checkedSelectResultListIds[currentIndex].concat([item.id]);
- const tempArr = this.checkedSelectResultList[currentIndex].concat([item.resultName]);
- const tempArrData = this.checkedSelectResultListData[currentIndex].concat([item]);
- this.checkedSelectResultListIds.splice(currentIndex, 1, tempIdsArr);
- this.checkedSelectResultList.splice(currentIndex, 1, tempArr);
- this.checkedSelectResultListData.splice(currentIndex, 1, tempArrData);
- }
- } else {
- if (!this.moreDeduction) {
- //缺陷项单选
- this.checkedSelectResultListIds = [item.id];
- this.checkedSelectResultList = [item.resultName];
- this.checkedSelectResultListData = [item];
- return;
- }
- // 缺陷项多选
- if (this.checkedSelectResultListIds.includes(item.id)) {
- const tempIdsArr = this.checkedSelectResultListIds;
- const tempArr = this.checkedSelectResultList;
- const tempArrData = this.checkedSelectResultListData;
- tempIdsArr.splice(tempIdsArr.indexOf(item.id), 1);
- tempArr.splice(tempArr.indexOf(item.resultName), 1);
- tempArrData.splice(tempArrData.findIndex(t => t.id == item.id), 1);
- this.checkedSelectResultListIds = tempIdsArr;
- this.checkedSelectResultList = tempArr;
- this.checkedSelectResultListData = tempArrData;
- } else {
- this.checkedSelectResultListIds.push(item.id);
- this.checkedSelectResultList.push(item.resultName);
- this.checkedSelectResultListData.push(item);
- }
- }
- },
- commitSelectResult() {
- const _commitFunc = () => {
- if (this.data.checkModelName == '访谈') {
- const tempArr = this.checkedSelectResultListData[this.currentEditTextAreaIndex].map(item =>
- item.percentScore);
- const tempScore = tempArr.reduce((prev, cur) => {
- return prev + cur;
- }, 0);
- this.talkList[this.currentEditTextAreaIndex].talkResult = this.checkedSelectResultList[this
- .currentEditTextAreaIndex].join(',');
- this.multiSelectScore[this.currentEditTextAreaIndex] = tempScore;
- this.selectedScore = this.multiSelectScore.reduce((prev, cur) => (prev + cur), 0);
- } else {
- const tempArr = this.checkedSelectResultListData.map(item => item.percentScore);
- const tempScore = tempArr.reduce((prev, cur) => {
- return prev + cur;
- }, 0);
- this.recordList[0].seeResult = this.checkedSelectResultList.join(',');
- this.selectedScore = tempScore;
- }
- }
- _commitFunc();
- this.showSelectModal = false;
- },
- checkTaskDetail(id) {
- this.$store.dispatch({
- type: "mainPointsDetail/commActions",
- payload: {
- key: this.isZichaDucha ? "zichaduchaCheckTaskDetail" : "checkTaskDetail",
- data: {
- id: id,
- },
- },
- }).then((res) => {
- uni.$once('未在查核规定时间内', function(data) {
- uni.navigateBack();
- });
- this.id = id;
- this.deptId = res.deptId;
- //再次编辑回显
- this.Index = this.isZichaDucha?res.checkResultName:res.checkResult;
-
- this.totalScore = this.isZichaDucha ? res.itemTotalScore : res.totalScore;
- this.currentScore = this.isZichaDucha ? (res.checkResult ? res.checkScore : res
- .itemTotalScore) : (res.checkResult ? res.score : res.totalScore);
- this.deductPoint = res.deductPoint;
- this.moreDeduction = res.moreDeduction;
- //this.iOrder=res.checkOrder;
- if (res.checkResultRequestList && res.checkResultRequestList.length > 0) {
- if (res.checkModelName == '访谈') {
- this.talkList = res.checkResultRequestList.map((item, currentIndex) => {
- const arr = item.checkResultDescribe.split(',');
- const tempResult = this.checkItemResultList.filter(v => arr.includes(v
- .resultName));
- if (!Array.isArray(this.checkedSelectResultListIds[currentIndex])) this
- .checkedSelectResultListIds[currentIndex] = [];
- if (!Array.isArray(this.checkedSelectResultList[currentIndex])) this
- .checkedSelectResultList[currentIndex] = [];
- if (!Array.isArray(this.checkedSelectResultListData[currentIndex])) this
- .checkedSelectResultListData[currentIndex] = [];
- const tempIdsArr = this.checkedSelectResultListIds[currentIndex].concat(
- tempResult.map(item => item.id));
- const tempArr = this.checkedSelectResultList[currentIndex].concat(
- tempResult.map(item => item.resultName));
- this.checkedSelectResultListIds.splice(currentIndex, 1, tempIdsArr);
- this.checkedSelectResultList.splice(currentIndex, 1, tempArr);
- this.checkedSelectResultListData.splice(currentIndex, 1, tempResult);
- const tempArrFull = this.checkedSelectResultListData[currentIndex].map(
- item => item.percentScore);
- const tempScore = tempArrFull.reduce((prev, cur) => {
- return prev + cur;
- }, 0);
- this.multiSelectScore[currentIndex] = tempScore;
- return {
- talkResult: item.checkResultDescribe,
- filePath: item.checkResultUrl != '' ? item.checkResultUrl.split(',') :
- []
- }
- });
- //设置回显分数
- // this.selectedScore = this.multiSelectScore.reduce((prev, cur) => (prev + cur), 0);
- } else {
- let filePath = res.checkResultTxt ? JSON.parse(res.checkResultTxt) : [];
- this.filePath = filePath[0] && filePath[0].checkResultUrl != '' ? filePath[0]
- .checkResultUrl
- .split(',') : [];
- if (this.isZichaDucha) {
- //自查督查回显图片
- this.filePath = res.checkResultRequestList[0].checkResultUrl.length>0?res.checkResultRequestList[0].checkResultUrl.split(','):[];
- }
- const arr = res.checkResultRequestList[0].checkResultDescribe ? res
- .checkResultRequestList[0].checkResultDescribe.split(',') : [];
- const tempResult = this.checkItemResultList.filter(v => arr.includes(v.resultName));
- const tempIds = tempResult.map(item => item.id);
- const scores = tempResult.map(item => item.percentScore);
- const tempScore = scores.reduce((prev, cur) => (prev + cur), 0);
- this.recordList[0].seeResult = res.checkResultRequestList[0].checkResultDescribe;
- this.checkedSelectResultListIds = tempIds;
- this.checkedSelectResultList = res.checkResultRequestList[0].checkResultDescribe ? res
- .checkResultRequestList[0].checkResultDescribe.split(',') : [];
- this.checkedSelectResultListData = tempResult;
- }
- }
- //用于当时人页面回显
- if (res.responsibleUserName || res.responseUserName) {
- //同时适配自查督查
- const tempResponsibleUserName = res.responsibleUserName ? res.responsibleUserName.split(
- ',') : res.responseUserName.split(',');
- const tempResponsibleUserId = res.responsibleUserId ? res.responsibleUserId.split(',') :
- res.responseUserId.split(',');
- this.checkedResponsibleList = tempResponsibleUserName;
- const arr = tempResponsibleUserName.map((item, index) => ({
- main: item,
- id: parseInt(tempResponsibleUserId[index])
- }));
- this.$store.commit('responsibleList/updateCheckedResponsibleList', arr);
- } else {
- this.checkedResponsibleList = [];
- this.$store.commit('responsibleList/updateCheckedResponsibleList', []);
- }
- if (res) {
- console.log({
- res
- });
- this.data = this.isZichaDucha ? {
- ...res,
- lastResult: res.lastResultName,
- checkResult: res.checkResultName
- } : res;
-
- console.log('this.data',this.data);
- if (res && res.lastResult == "不适用") {
- // this.lastIndex = 1;
- this.lastIndex = res.lastResult;
- } else if (res && res.lastResult == "无缺失") {
- this.lastIndex = res.lastResult;
- } else if (res && res.lastResult == "主要缺失") {
- this.lastIndex = res.lastResult;
- } else if (res && res.lastResult == "次要缺失") {
- this.lastIndex = res.lastResult;
- } else if (res && res.lastResult == "观察事项") {
- this.lastIndex = res.lastResult;
- } else {
- this.lastIndex = 0;
- }
- }
- });
- },
- getPeizhiList() {
- this.$store.dispatch({
- type: "configure/commActions",
- payload: {
- key: "getResultConfig",
- },
- }).then((res) => {
- this.resultConfigList = res ? res : [];
- });
- },
- //查核点击回调
- checkedOne(data) {
- const parsedData = JSON.parse(JSON.stringify(data));
- this.currentCheckedTab = data;
- this.Index = parsedData.attr;
- this.data.checkResult = parsedData.attr;
- this.checkItemScore = parsedData.itemGetScore;
- this.checkItemValue = parsedData.value;
- this.calScore = parsedData.calScore;
- if (!this.inputScore) { //没有手输调整过的才可以修改
- this.checkItemScore = parsedData.itemGetScore;
- }
- },
- /**
- * @param {{
- files
- index,
- }} fileInfo
- files:文件集合
- index:当前编辑的下标
- */
- changeFilePaths({
- files,
- index
- }) {
- let _recordList = [...this.recordList];
- _recordList[index].filePath = files;
- this.filePath = _recordList[0].filePath;
- },
- insert() {
- let list = [...this.talkList];
- if (list.length < 10) {
- list.push({
- talkResult: "",
- filePath: []
- });
- this.talkList = list;
- }
- },
- del(index) {
- let list = [...this.talkList];
- let list2 = [];
- //清空该项数据
- this.clearResult(true, index);
- for (let i = 0; i < list.length; i++) {
- if (i != index) {
- list2.push(list[i]);
- }
- }
- this.talkList = list2;
- },
- /**
- * @param {{
- files
- index,
- }} fileInfo
- files:文件集合
- index:当前编辑的下标
- */
- changeFilePaths2(fileInfo) {
- const {
- files,
- index
- } = fileInfo;
- for (let j = 0; j < this.talkList.length; j++) {
- this.talkList[index].filePath = files;
- }
- },
- changeTextarea(e, i) {
- for (let j = 0; j < this.talkList.length; j++) {
- this.talkList[i].talkResult = e.detail.value;
- }
- },
- changeTextarea2(e) {
- this.recordList[0].seeResult = e.target.value;
- },
- imgClick(i) {
- this.editIndex = i;
- },
- sureDetail(key) {
- console.log('commit check');
- return new Promise((resolve) => {
- const _commitCheck = () => {
- //console.log('checkedResponsibleList',this.checkedResponsibleList,'checkedResponsibleData',this.checkedResponsibleData);
- let resultIndex = this.resultConfigList.findIndex(item => item.name == this.data
- .checkResult);
-
- try {
- if (this.Index) {
- let params = !this.isZichaDucha ? {
- id: this.data.id,
- checkResult: this.data.checkResult,
- checkResultRequestList: [],
- checkItemScore: this.checkItemScore,
- value: this.checkItemValue,
- situationType: this.situationType,
- calScore: this.calScore,
- score: this.currentScore,
- deductPoint: this.deductPoint,
- } : {
- //自查督查保存
- id: this.data.id,
- responsibleUser: this.checkedResponsibleData.map(item => ({
- responsibleUserId: item.id,
- responsibleUserName: item.main
- })),
- checkResult: resultIndex != -1 ? this.resultConfigList[resultIndex]
- .code : '',
- checkResultRequestList: [],
- checkItemScore: this.checkItemScore,
- value: this.checkItemValue,
- situationType: this.systemSituationType,
- calScore: this.calScore,
- score: this.currentScore,
- deductPoint: this.deductPoint,
- };
- if (this.data.checkModelName == "访谈") {
- let list = [];
- for (let i = 0; i < this.talkList.length; i++) {
- let path = "";
- for (let j = 0; j < this.talkList[i].filePath.length; j++) {
- if (j == 0) {
- path += `${this.talkList[i].filePath[j]}`;
- } else {
- path += `,${this.talkList[i].filePath[j]}`;
- }
- }
- let item = {
- checkResultId: i,
- checkResultDescribe: this.talkList[i].talkResult,
- checkResultUrl: path,
- };
- list.push(item);
- }
- params.checkResultRequestList = list;
- } else {
- let item = {
- checkResultId: 1,
- checkResultDescribe: this.recordList[0].seeResult,
- checkResultUrl: this.filePath.join(','),
- };
- params.checkResultRequestList = [item];
- }
- const checkConfiglist = JSON.parse(JSON.stringify(this.checkConfiglist));
-
- this.$store.dispatch({
- type: "mainPointsDetail/commActions",
- payload: {
- key: this.isZichaDucha ? "saveZichaduchaCheckTaskDetail" :
- "saveCheckTaskDetail",
- data: {
- ...params,
- },
- },
- }).then((res) => {
- if (res) {
-
- resolve(true);
- // const resultIndex = this.resultConfigList.findIndex(item => item.name == this.data.checkResult);
- // console.log({resultIndex,'this.resultConfigList':this.resultConfigList});
-
- for (let i = 0; i < checkConfiglist.length; i++) {
- const index = this.resultConfigList.findIndex(item => item
- .code == params.checkResult);
- let name = '';
- if (index != -1) {
- name = this.resultConfigList[index].name
- }
-
- // if (
- // checkConfiglist[i].attr == (this.isZichaDucha ? name :
- // params.checkResult) &&
- // (checkConfiglist[i].resultType == 2 ||
- // checkConfiglist[i].resultType == 3)
- // )
- let configResultType=false;
- //if (this.isZichaDucha){
- if (this.resultConfigList[resultIndex].resultType==2||this.resultConfigList[resultIndex].resultType==3)
- configResultType=true;
- // }else{
- // if (checkConfiglist[i].resultType == 2 ||
- // checkConfiglist[i].resultType == 3)
- // configResultType=true;
- // }
-
- if (
- checkConfiglist[i].attr == (this.isZichaDucha ? this.resultConfigList[index].name:
- params.checkResult ) &&
- configResultType
- ) {
- //当主要缺失和次要缺失时发起改善任务
- console.log('开始提交改善前准备');
- let improveType = undefined;
- if (this.nowPermission == 6 || this.nowPermission ==
- 7) {
- improveType = 1
- }
- if (this.nowPermission == 4 || this.nowPermission ==
- 8) {
- improveType = 2
- }
- let param = this.isZichaDucha ? {
- situationId: this.data.situationId,
- situationName: this.data.situationName,
- checkGroupId: this.data.checkGroupId,
- checkGroupName: this.data.checkGroupName,
- checkItemId: this.data.checkItemId,
- checkItemName: this.data.checkItemName,
- checkPointId: this.data.checkPointId,
- checkPointName: this.data.checkPointName,
- deptName: this.data.checkGroupName,
- deptId: this.data.checkGroupId,
- appointFlag: false,
- desicion: 0,
- taskType: "1",
- checkId: this.data.functionId,
- checkResult: 0,
- // newResultType: Number(resultIndex != -1 ? this
- // .resultConfigList[resultIndex].code : 0
- // ),
- newResultType:checkConfiglist[i].resultType,
- receiveEmpId: this.data.receiveEmpId,
- receiveEmpName: this.data.receiveEmpName,
- checkDetailId: this.data.id,
- improveType: improveType, //0 普通 1督查 2自查 nowpermission 67 督查 48 自查
- } : {
- situationId: this.data.situationId,
- situationName: this.data.situationName,
- checkGroupId: this.data.checkGroupId,
- checkGroupName: this.data.checkGroupName,
- checkItemId: this.data.checkItemId,
- checkItemName: this.data.checkItemName,
- checkPointId: this.data.checkPointId,
- checkPointName: this.data.checkPointName,
- deptName: this.data.deptName,
- deptId: this.data.deptId,
- appointFlag: false,
- desicion: 0,
- taskType: "1",
- checkId: this.data.checkId,
- checkResult: 0,
- newResultType: checkConfiglist[i].resultType,
- // checkResult: this.resultConfigList[i].id,
- receiveEmpId: this.data.receiveEmpId,
- receiveEmpName: this.data.receiveEmpName,
- checkDetailId: this.data.id,
- };
-
- this.$store.dispatch({
- type: "mission/commActions",
- payload: {
- key: "comTaskCirculation",
- data: {
- ...param,
- },
- },
- });
- } else {
- console.log('改善条件为false');
- }
- }
- if (key == 'back') {
- //点完成时返回
- this.$store.commit('checkMainPoints/comChangeState', {
- 'key': 'ifUpdate',
- 'data': true
- });
- _goBackFresh('pages/checkMainPoints/checkMainPoints');
- }
- } else {
- console.log('res为false');
- resolve(false);
- }
- });
- } else {
- uni.showToast({
- title: '请先选择查核结果!',
- duration: 2000,
- icon: 'none'
- });
- resolve(false);
- }
- } catch (err) {
- resolve(err);
- }
- }
- if (this.data.checkResult == '无缺失' && this.deductPoint != 0) {
- //查核结果为‘无缺失’且扣分为非0
- uni.showModal({
- title: '提示',
- content: `当前选择无缺失结果,但扣分数为${this.deductPoint},确认继续提交么?`,
- success: function(res) {
- if (res.confirm) {
- _commitCheck();
- } else if (res.cancel) {
- console.log('用户点击取消操作');
- resolve(false);
- }
- }
- });
- } else {
- _commitCheck();
- }
- })
- },
- toTuLi() {
- uni.navigateTo({
- url: `/pages/legendDetails/legendDetails?checkItemId=${this.data.checkItemId}&checkPointId=${this.checkPointId}`,
- });
- },
- toHistory() {
- const situationId = this.data.situationId;
- this.$store.dispatch({
- type: 'mission/commActions',
- payload: {
- key: "getMissionList",
- data: {
- situationId
- }
- }
- }).then(data => {
- if (data) {
- if (data.improvingTaskResponses.length > 0) {
- uni.navigateTo({
- url: `/pages/improve-mission-list/improve-mission-list?situationId=${this.data.situationId}`,
- });
- } else {
- uni.showModal({
- content: '暂无改善历史',
- showCancel: false
- });
- }
- }
- });
- },
- clearForm(index) {
- //清除上一项的查核信息
- this.Index = '';
- // this.deductPoint = 0;
- this.currentScore = 0;
- this.inputScore = 0;
- if (this.data.checkModelName == '访谈') {
- if (index) {
- this.talkList[index].talkResult = '';
- } else {
- for (let i = 0; i < this.talkList.length; i++) {
- this.talkList[i].talkResult = '';
- }
- }
- } else {
- this.recordList[0].talkResult = '';
- }
- this.checkedSelectResultListIds = [];
- this.checkedSelectResultList = [];
- this.checkedSelectResultListData = [];
- this.filePath=[];
- },
- goToPrevPage() {
- _goBackFresh('pages/checkMainPoints/checkMainPoints');
- },
- switchItem: async function(num) {
- if (!this.data.checkResult) {
- uni.showToast({
- title: '请先选择查核结果!',
- duration: 2000,
- icon: 'none'
- });
- return;
- }
- const result = await this.sureDetail();
- if (result) {
- let current = this.itemBelongGroup.filter(item => {
- return item.id == this.id;
- });
- if (num < 0) {
- if (current[0].index == 0) {
- uni.showToast({
- title: '已经没有上一项',
- duration: 2000,
- icon: 'none'
- });
- return;
- }
- }
- if (num > 0) {
- if (current[0].index == this.itemBelongGroup.length - 1) {
- uni.showToast({
- title: '已经没有下一项',
- duration: 2000,
- icon: 'none'
- });
- return;
- }
- }
- let needItemIndex = num > 0 ? current[0].index + 1 : current[0].index - 1;
- let needItemId = this.itemBelongGroup[needItemIndex].id;
- let needItemCheckId = this.itemBelongGroup[needItemIndex].checkItemId;
-
- this.clearForm();
- this.clearResult();
- this.checkTaskDetail(needItemId);
- this.getCheckItemResultList(needItemCheckId); //获取缺陷项列表数据
- };
- },
- // 获取查核项可配置列表
- getCheckConfigList(checkItemId) {
- this.$store.dispatch({
- type: 'mainPointsDetail/commActions',
- payload: {
- key: 'getCheckItemAttr',
- data: checkItemId
- }
- }).then(data => {
- this.checkConfiglist = data
- })
- },
- // 获取查核项结果说明下拉列表
- getCheckItemResultList(checkItemId) {
- this.$store.dispatch({
- type: 'mainPointsDetail/commActions',
- payload: {
- key: 'getCheckItemResultList',
- data: checkItemId
- }
- }).then(data => {
- this.checkItemResultList = data;
- })
- },
- },
- onLoad({
- id,
- checkPointId,
- checkItemId,
- situationType,
- isZichaDucha,
- departmentId,
- checkGroupName,
- checkOrder,
- systemSituationType,
- }) {
- this.iOrder= checkOrder;
- this.id = id;
- this.checkPointId = checkPointId;
- this.situationType = situationType;
- this.checkItemId = checkItemId;
- this.departmentId = departmentId; //用于自查督查作为科室id
- this.getCheckConfigList(checkItemId);
- this.getCheckItemResultList(checkItemId);
- this.isZichaDucha = isZichaDucha? JSON.parse(isZichaDucha) : false; //是否为自查督查
-
- this.systemSituationType=systemSituationType;
- //console.log('2023062604 situationType',this.systemSituationType);
- //接收来自上个页面所传过来的数据
- const eventChannel = this.getOpenerEventChannel();
-
- eventChannel.on('acceptDataFromOpenerPage', (data) => {
- if (this.iOrder==1){
- this.itemBelongGroup = data.data[0].responseList.map((item, index) => {
- return ({
- index: index,
- id: item['id'],
- checkItemId: item['checkItemId']
- })
- });
- }else if (this.iOrder==2){
- var Tindex=0;
- let itemList=[];
- data.data.filter(parentItem=>{
- var tmp =parentItem.responseList.map((item) => {
- return ({
- index: Tindex++,
- id: item['id'],
- checkItemId: item['checkItemId']
- })
- });
- itemList=itemList.concat(tmp);
- });
- this.itemBelongGroup=itemList;
- }
- //重新导航进页面,删除缓存并设置最新数据
- uni.removeStorageSync('itemBelongGroup');
- uni.setStorageSync('itemBelongGroup', this.itemBelongGroup);
- });
- //手动刷新页面,获取本地缓存
- const itemBelongGroup = uni.getStorageSync('itemBelongGroup');
- this.itemBelongGroup = itemBelongGroup;
- },
- };
- </script>
- <style lang="less">
- .mainPointsDetailPage {
- position: relative;
- // min-height: 75rpx;
- // overflow-y: auto;
- height: 100%;
- .checkItemResultModal {
- display: flex;
- height: 100%;
- justify-content: center;
- align-items: center;
- .modalContent {
- width: 90%;
- height: 600rpx;
- border-radius: 10rpx;
- overflow: hidden;
- background-color: #FFFFFF;
- .modalBar {
- display: flex;
- justify-content: center;
- align-items: center;
- height: 80rpx;
- color: #4E78FF;
- font-size: 22.5rpx;
- box-shadow: 0 6rpx 6rpx #E5E5E5;
- border-bottom: 0.1rpx solid #E5E5E5;
- }
- .comfirmBtn {
- font-size: 22rpx;
- color: #FFFFFF;
- height: 85rpx;
- line-height: 85rpx;
- text-align: center;
- background-color: #3377FF;
- }
- .scroll {
- height: calc(100% - 160rpx);
- .list {
- position: relative;
- display: flex;
- height: 80rpx;
- justify-content: center;
- align-items: center;
- border-bottom: 0.1rpx solid #E5E5E5;
- .checkIcon {
- display: none;
- position: absolute;
- left: 5%;
- width: 25rpx;
- height: 25rpx;
- }
- &.on {
- color: #3377FF;
- .checkIcon {
- display: block;
- }
- }
- }
- }
- }
- }
- .scroll-y {
- height: calc(100% - 75rpx);
- }
- .checkItem {
- padding-top: 47.5rpx;
- width: 100%;
- min-height: 450rpx;
- background-color: #fff;
- position: relative;
- .chBg {
- position: absolute;
- top: 0;
- left: 0;
- width: 125rpx;
- height: 37.5rpx;
- .img {
- width: 125rpx;
- height: 37.5rpx;
- }
- .title {
- position: absolute;
- top: 8.75rpx;
- left: 25rpx;
- font-size: 20rpx;
- color: #fff;
- font-weight: 500;
- line-height: 20rpx;
- }
- }
- .tlImg {
- width: 40rpx;
- height: 40rpx;
- position: absolute;
- right: 25rpx;
- top: 25rpx;
- }
- .chContent {
- width: 100%;
- .checkItemName {
- margin-left: 31.25rpx;
- font-size: 25rpx;
- line-height: 55rpx;
- color: #292c33;
- }
- .checkPointName {
- margin-left: 31.25rpx;
- font-size: 17.5rpx;
- line-height: 17.5rpx;
- color: #7a8599;
- }
- .cont {
- height: 135rpx;
- .floatLeft {
- float: left;
- }
- .borderLine {
- margin-top: 56.25rpx;
- width: 0.62rpx;
- height: 25rpx;
- background-color: #dadee6;
- }
- .other {
- padding: 40rpx 0rpx;
- height: 95rpx;
- width: 187.18rpx;
- text-align: center;
- .letterTitle {
- font-size: 17.5rpx;
- color: #7a8599;
- line-height: 17.5rpx;
- }
- .letterTitle2 {
- height: 22.5rpx;
- font-size: 22.5rpx;
- line-height: 22.5rpx;
- color: #292c33;
- margin-bottom: 15rpx;
- font-weight: 500;
- overflow: hidden;
- word-break: break-all;
- /* break-all(允许在单词内换行。) */
- text-overflow: ellipsis;
- /* 超出部分省略号 */
- display: -webkit-box;
- /** 对象作为伸缩盒子模型显示 **/
- -webkit-box-orient: vertical;
- /** 设置或检索伸缩盒对象的子元素的排列方式 **/
- -webkit-line-clamp: 1;
- /** 显示的行数 **/
- }
- }
- }
- .checked {
- margin-bottom: 40rpx;
- padding: 0rpx 15.62rpx;
- height: 75rpx;
- .checked-checkItem {
- margin: 0rpx 9.37rpx;
- padding: 0;
- width: 125rpx;
- height: 75rpx;
- background: #ebeff7;
- float: left;
- line-height: 75rpx;
- text-align: center;
- color: #292c33;
- border-radius: 20rpx;
- position: relative;
- .img {
- width: 51.25rpx;
- height: 25rpx;
- position: absolute;
- right: -6.25rpx;
- top: -6.25rpx;
- }
- .lastName {
- color: #fff;
- font-size: 13.75rpx;
- line-height: 13.75rpx;
- position: absolute;
- right: 5rpx;
- top: -1.87rpx;
- }
- }
- }
- .more {
- margin: 0rpx 25rpx 0rpx 25rpx;
- text-align: center;
- border-top: 0.62rpx solid #dadee6;
- text {
- padding: 29.37rpx 0rpx 27.5rpx;
- margin-right: 10rpx;
- line-height: 22.5rpx;
- font-size: 22.5rpx;
- color: #3377ff;
- display: inline-block;
- vertical-align: top;
- }
- .moreImg {
- margin-top: 28.75rpx;
- width: 12.37rpx;
- height: 21.21rpx;
- display: inline-block;
- }
- .moreImg2 {
- width: 12.37rpx;
- height: 21.21rpx;
- }
- }
- .multipleResponsible {
- padding-top: 15rpx;
- background-color: #F5F6FA;
- .inner {
- position: relative;
- display: flex;
- height: 87.5rpx;
- z-index: 10;
- flex-direction: row;
- justify-content: flex-start;
- align-items: center;
- padding: 0 25rpx;
- background-color: #FFFFFF;
- .label {
- display: inline-block;
- font-size: 22.5rpx;
- font-family: SourceHanSansCN-Normal, SourceHanSansCN;
- font-weight: 400;
- color: #525866;
- margin-right: 105rpx;
- }
- .value {
- flex: 0.9;
- font-size: 22.5rpx;
- overflow: hidden; //超出的文本隐藏
- text-overflow: ellipsis; //溢出用省略号显示
- white-space: nowrap; //溢出不换行
- }
- .valuePlaceholder {
- font-size: 22.5rpx;
- font-family: SourceHanSansCN-Normal, SourceHanSansCN;
- font-weight: 400;
- color: #B8BECC;
- }
- .arrow {
- position: absolute;
- right: 25rpx;
- width: 12.5rpx;
- height: 20rpx;
- }
- }
- }
- .score {
- display: flex;
- height: 87.5rpx;
- flex-direction: row;
- justify-content: space-between;
- align-items: center;
- padding: 0 25rpx;
- background: #F5F6FA;
- .box {
- text-align: center;
- vertical-align: bottom;
- .lable {
- display: inline-block;
- font-size: 22.5rpx;
- font-family: SourceHanSansCN-Normal, SourceHanSansCN;
- font-weight: 400;
- color: #525866;
- margin-right: 10rpx;
- }
- .totalScore {
- font-size: 30rpx;
- font-family: SourceHanSansCN-Bold, SourceHanSansCN;
- font-weight: bold;
- color: #292C33;
- }
- .currentScore {
- font-size: 30rpx;
- font-family: SourceHanSansCN-Bold, SourceHanSansCN;
- font-weight: bold;
- color: #3377FF;
- }
- }
- }
- .textValue {
- display: flex;
- flex-direction: row;
- justify-content: flex-start;
- align-items: center;
- width: 70%;
- height: 100%;
- }
- .inputScore {
- display: flex;
- flex-direction: row;
- justify-content: flex-start;
- align-items: center;
- height: 87.5rpx;
- padding: 0 25rpx;
- background-color: #FFFFFF;
- .label {
- display: inline-block;
- font-size: 22.5rpx;
- font-family: SourceHanSansCN-Normal, SourceHanSansCN;
- font-weight: 400;
- color: #525866;
- margin-right: 81.25rpx;
- }
- .value {
- font-size: 22.5rpx;
- }
- .placeholder {
- font-size: 22.5rpx;
- font-family: SourceHanSansCN-Normal, SourceHanSansCN;
- font-weight: 400;
- color: #525866;
- }
- }
- }
- }
- .see {
- margin-top: 15rpx;
- height: 287.5rpx;
- background-color: #fff;
- // padding-left: 25rpx;
- .seeResult {
- position: relative;
- margin-left: 25rpx;
- padding-top: 32.5rpx;
- // height: 200rpx;
- border-bottom: 1px solid #dadee6;
- .clear {
- position: absolute;
- z-index: 10;
- right: 25rpx;
- bottom: 25rpx;
- font-size: 22.5rpx;
- font-family: SourceHanSansCN-Normal, SourceHanSansCN;
- font-weight: 400;
- color: #FF3355;
- }
- .seeResultFloorOne {
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 25rpx;
- padding-right: 25rpx;
- .plusAction {
- display: flex;
- flex-direction: row;
- justify-content: center;
- align-items: center;
- .plusIcon {
- width: 25rpx;
- height: 25rpx;
- margin-right: 10rpx;
- }
- .threePoint {
- font-size: 22.5rpx;
- font-family: SourceHanSansCN-Normal, SourceHanSansCN;
- font-weight: 400;
- color: #7A8599;
- }
- }
- }
- .seeName {
- width: 175rpx;
- font-size: 22.5rpx;
- color: #525866;
- line-height: 22.5rpx;
- display: inline-block;
- }
- .seeTextarea {
- width: 97%;
- height: 155rpx;
- display: inline-block;
- font-size: 22.5rpx;
- line-height: 27.5rpx;
- }
- }
- .seeImg {
- min-height: 87.5rpx;
- .seeName2 {
- width: 175rpx;
- font-size: 22.5rpx;
- color: #525866;
- line-height: 87.5rpx;
- display: inline-block;
- }
- }
- }
- .talk {
- .talkTitle {
- padding: 25rpx 25rpx 15rpx;
- font-size: 22.5rpx;
- line-height: 22.5rpx;
- color: #666f80;
- .del {
- float: right;
- color: #3377ff;
- }
- }
- .talkResult {
- position: relative;
- padding-left: 25rpx;
- padding-top: 32.5rpx;
- border-bottom: 1px solid #dadee6;
- background-color: #fff;
- .clear {
- position: absolute;
- z-index: 10;
- right: 25rpx;
- bottom: 25rpx;
- font-size: 22.5rpx;
- font-family: SourceHanSansCN-Normal, SourceHanSansCN;
- font-weight: 400;
- color: #FF3355;
- }
- .seeResultFloorOne {
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 25rpx;
- padding-right: 25rpx;
- .plusAction {
- display: flex;
- flex-direction: row;
- justify-content: center;
- align-items: center;
- .plusIcon {
- width: 25rpx;
- height: 25rpx;
- margin-right: 10rpx;
- }
- .threePoint {
- font-size: 22.5rpx;
- font-family: SourceHanSansCN-Normal, SourceHanSansCN;
- font-weight: 400;
- color: #7A8599;
- }
- }
- }
- .seeName {
- width: 175rpx;
- font-size: 22.5rpx;
- color: #525866;
- line-height: 22.5rpx;
- display: inline-block;
- }
- .seeTextarea {
- width: 531.25rpx;
- height: 155rpx;
- display: inline-block;
- font-size: 22.5rpx;
- line-height: 27.5rpx;
- }
- }
- .talkImg {
- min-height: 87.5rpx;
- .seeName2 {
- width: 175rpx;
- font-size: 22.5rpx;
- color: #525866;
- line-height: 87.5rpx;
- display: inline-block;
- }
- }
- }
- .insert {
- background-color: #fff;
- font-size: 22.5rpx;
- line-height: 22.5rpx;
- color: #3377ff;
- padding: 26.25rpx;
- }
- .sureDetail {
- width: 100%;
- height: 75rpx;
- font-size: 22.5rpx;
- background-color: #3377ff;
- line-height: 75rpx;
- position: absolute;
- bottom: 0rpx;
- }
- .bottomMenuGroup {
- position: fixed;
- bottom: 0;
- width: 100%;
- height: 75rpx;
- display: flex;
- flex-direction: row;
- background: #FFFFFF;
- border-top: 0.62rpx solid #DADEE6;
- .menuBtn {
- display: flex;
- width: 75rpx;
- height: 75rpx;
- justify-content: center;
- align-items: center;
- border-right: 0.62rpx solid #DADEE6;
- .threeLineMenuIcon {
- width: 26.25rpx;
- height: 21.25rpx;
- }
- }
- .prevBtn,
- .nextBtn {
- display: flex;
- flex: 1;
- justify-content: center;
- height: 75rpx;
- line-height: 75rpx;
- font-size: 22.5rpx;
- font-family: SourceHanSansCN-Normal, SourceHanSansCN;
- font-weight: 400;
- color: #3377FF;
- }
- .prevBtn {
- border-right: 0.62rpx solid #DADEE6;
- }
- .nextBtn {
- color: #FFFFFF;
- background: #3377FF;
- }
- }
- }
- </style>
|