|
@@ -1,87 +1,95 @@
|
|
<template>
|
|
<template>
|
|
- <view class="socre-shijuan">
|
|
|
|
|
|
+ <view class="phone-score-page">
|
|
<!-- 导航区域 -->
|
|
<!-- 导航区域 -->
|
|
- <view class="icon-title-navBar-box">
|
|
|
|
|
|
+ <view class="icon-title-bjcolor-navBar-box">
|
|
<view @click="handleBack" class="nav-bar-icon"></view>
|
|
<view @click="handleBack" class="nav-bar-icon"></view>
|
|
<text class="nav-bar-title">{{data.lxName}}</text>
|
|
<text class="nav-bar-title">{{data.lxName}}</text>
|
|
</view>
|
|
</view>
|
|
<!-- 上方区域 -->
|
|
<!-- 上方区域 -->
|
|
- <topCard @openCard="handleOpenCard" :name="data.lxName" :zyLevelName="data.zyLevelName" :userScore="data.userScore" :Score="data.Score"></topCard>
|
|
|
|
-
|
|
|
|
- <view>
|
|
|
|
- <!-- 段落 -->
|
|
|
|
- <view class="kaoshi-shiti-content">
|
|
|
|
- <!-- 试题区域 -->
|
|
|
|
- <view v-if="activeSt">
|
|
|
|
- <template v-if="activeSt.stTypeId == 1">
|
|
|
|
- <!-- 单选 -->
|
|
|
|
- <danxuan :question="activeSt" :key="activeSt.stId"></danxuan>
|
|
|
|
- </template>
|
|
|
|
- <template v-if="activeSt.stTypeId == 2">
|
|
|
|
- <!-- 多选 -->
|
|
|
|
- <duoxuan :question="activeSt" :key="activeSt.stId"></duoxuan>
|
|
|
|
- </template>
|
|
|
|
- <template v-if="activeSt.stTypeId == 3">
|
|
|
|
- <!-- 判断 -->
|
|
|
|
- <panduan :question="activeSt" :key="activeSt.stId"></panduan>
|
|
|
|
- </template>
|
|
|
|
- <template v-if="activeSt.stTypeId == 4">
|
|
|
|
- <!-- 填空 -->
|
|
|
|
- <tiankong :question="activeSt" :key="activeSt.stId"></tiankong>
|
|
|
|
- </template>
|
|
|
|
|
|
+ <topCard @openCard="handleOpenCard" :name="data.lxName" :zyLevelName="data.zyLevelName"
|
|
|
|
+ :userScore="data.userScore" :Score="data.ksScore"></topCard>
|
|
|
|
+
|
|
|
|
+ <!-- 段落 -->
|
|
|
|
+ <view class="score-shiti-content">
|
|
|
|
+ <!-- 试题区域 -->
|
|
|
|
+ <view v-if="activeSt">
|
|
|
|
+ <template v-if="activeSt.stTypeId == 1">
|
|
|
|
+ <!-- 单选 -->
|
|
|
|
+ <danxuan :question="activeSt" :key="activeSt.stId"></danxuan>
|
|
|
|
+ </template>
|
|
|
|
+ <template v-if="activeSt.stTypeId == 2">
|
|
|
|
+ <!-- 多选 -->
|
|
|
|
+ <duoxuan :question="activeSt" :key="activeSt.stId"></duoxuan>
|
|
|
|
+ </template>
|
|
|
|
+ <template v-if="activeSt.stTypeId == 3">
|
|
|
|
+ <!-- 判断 -->
|
|
|
|
+ <panduan :question="activeSt" :key="activeSt.stId"></panduan>
|
|
|
|
+ </template>
|
|
|
|
+ <template v-if="activeSt.stTypeId == 4">
|
|
|
|
+ <!-- 填空 -->
|
|
|
|
+ <tiankong :question="activeSt" :key="activeSt.stId"></tiankong>
|
|
|
|
+ </template>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ <!-- 解析 -->
|
|
|
|
+ <view v-if="activeSt" class="score-answer-box">
|
|
|
|
+ <view class="phone-question-answer-box" v-if="activeSt.stTypeId != 4">
|
|
|
|
+ <view class="phone-line-title">答案解析</view>
|
|
|
|
+ <view class="btdf-row">本题得分:<text>{{answerRes.score}}</text>分</view>
|
|
|
|
+ <view class="zqda-row">正确答案:<text>{{answerRes.result}}</text></view>
|
|
|
|
+ <view class="ndda-row">您的答案:<text>{{answerRes.reply}}</text></view>
|
|
|
|
+ <view class="dajx-row">答案解析:
|
|
|
|
+ <rich-text :nodes="answerRes.answer"></rich-text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <!-- 解析 -->
|
|
|
|
- <view v-if="activeSt">
|
|
|
|
- <view class="phone-question-answer-box" v-if="activeSt.stTypeId != 4">
|
|
|
|
- <view class="phone-line-title">答案解析</view>
|
|
|
|
- <view class="btdf-row">本题得分:<text>{{answerRes.score}}</text>分</view>
|
|
|
|
- <view class="zqda-row">正确答案:<text>{{answerRes.result}}</text></view>
|
|
|
|
- <view class="ndda-row">您的答案:<text>{{answerRes.reply}}</text></view>
|
|
|
|
- <view class="dajx-row">答案解析:
|
|
|
|
- <rich-text :nodes="answerRes.answer"></rich-text>
|
|
|
|
- </view>
|
|
|
|
|
|
+ <view class="phone-question-answer-box" v-else>
|
|
|
|
+ <view class="phone-line-title">答案解析</view>
|
|
|
|
+ <view class="btdf-row">本题得分:<text>{{answerRes.score}}</text>分</view>
|
|
|
|
+ <view class="zqda-row">正确答案:
|
|
|
|
+ <view v-for="(item,index) in answerRes.result">{{`填空${index+1}`}} : {{item}}</view>
|
|
</view>
|
|
</view>
|
|
- <view class="phone-question-answer-box" v-else>
|
|
|
|
- <view class="phone-line-title">答案解析</view>
|
|
|
|
- <view class="btdf-row">本题得分:<text>{{answerRes.score}}</text>分</view>
|
|
|
|
- <view class="zqda-row">正确答案:
|
|
|
|
- <view v-for="(item,index) in answerRes.result">{{`填空${index+1}`}} : {{item}}</view>
|
|
|
|
- </view>
|
|
|
|
- <view class="ndda-row">您的答案:
|
|
|
|
|
|
+ <view class="ndda-row">您的答案:
|
|
<view v-for="(item,index) in answerRes.reply"> {{`填空${index+1}`}}: {{item}}</view>
|
|
<view v-for="(item,index) in answerRes.reply"> {{`填空${index+1}`}}: {{item}}</view>
|
|
- </view>
|
|
|
|
- <view class="dajx-row">答案解析:
|
|
|
|
- <rich-text :nodes="answerRes.answer"></rich-text>
|
|
|
|
- </view>
|
|
|
|
</view>
|
|
</view>
|
|
- </view>
|
|
|
|
- <!-- 上下按钮 -->
|
|
|
|
- <template v-if="activeSt">
|
|
|
|
- <text @click="handleOpenCard"><i></i> {{activeSt && activeSt.onlyNum||0}}/{{data.StListForSearch.length}}</text>
|
|
|
|
- <button type="default" size="mini" hover-class="none" class="phone-green-btn ks-btn-prev" @click="handlePrev" v-if="!isFistStId">上一题</button>
|
|
|
|
- <button type="default" size="mini" hover-class="none"class="phone-green-btn ks-btn-next" @click="handleNext" v-if="!isLastStId">下一题</button>
|
|
|
|
- </template>
|
|
|
|
-
|
|
|
|
- <!-- 答题卡 -->
|
|
|
|
- <uni-popup ref="popupRef" background-color="#fff" :is-mask-click="false" :mask-click="false">
|
|
|
|
- <view class="answer-card-popup">
|
|
|
|
- <view class="icon-title-bjcolor-navBar-box">
|
|
|
|
- <view @click="handlePopupBack" class="nav-bar-icon"> </view>
|
|
|
|
- <text class="nav-bar-title">答题卡</text>
|
|
|
|
|
|
+ <view class="dajx-row">答案解析:
|
|
|
|
+ <rich-text :nodes="answerRes.answer"></rich-text>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ <!-- 上下按钮 -->
|
|
|
|
+ <view class="score-bottom-box" v-if="activeSt">
|
|
|
|
+ <view @click="handleOpenCard" class="score-num-box">
|
|
|
|
+ <icon class="score-num-icon"></icon>
|
|
|
|
+ <text class="active-num" @click="handleOpenCard"><i></i>
|
|
|
|
+ {{activeSt && activeSt.onlyNum||0}}/{{data.StListForSearch.length}}</text>
|
|
|
|
+ </view>
|
|
|
|
+ <view>
|
|
|
|
+ <button type="default" size="mini" hover-class="none" class="phone-green-btn score-answer-btn"
|
|
|
|
+ @click="handlePrev" v-if="!isFistStId">上一题</button>
|
|
|
|
+ <button type="default" size="mini" hover-class="none" class="phone-green-btn score-answer-btn"
|
|
|
|
+ @click="handleNext" v-if="!isLastStId">下一题</button>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+
|
|
|
|
+ <!-- 答题卡 -->
|
|
|
|
+ <uni-popup ref="popupRef" background-color="#fff" :is-mask-click="false" :mask-click="false">
|
|
|
|
+ <view class="answer-card-popup">
|
|
|
|
+ <view class="icon-title-bjcolor-navBar-box">
|
|
|
|
+ <view @click="handlePopupBack" class="nav-bar-icon"> </view>
|
|
|
|
+ <text class="nav-bar-title">答题卡</text>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="answer-card-content" v-for="(paragraph,paragraphIndex) in questionData"
|
|
|
|
+ :key="paragraphIndex">
|
|
|
|
+ <view class="paragraph-title">
|
|
|
|
+ {{paragraph.name}}
|
|
</view>
|
|
</view>
|
|
- <view class="answer-card-content" v-for="(paragraph,paragraphIndex) in questionData" :key="paragraphIndex">
|
|
|
|
- <view class="paragraph-title">
|
|
|
|
- {{paragraph.name}}
|
|
|
|
- </view>
|
|
|
|
- <view class="paragraph-qa" v-for="(qa,qaIndex) in paragraph.qas" :key="qaIndex"
|
|
|
|
|
|
+ <view class="paragraph-qa" v-for="(qa,qaIndex) in paragraph.qas" :key="qaIndex"
|
|
:class="getQaClass(qa)" @click="answerCardItemClick(qa)">{{qa.onlyNum}}
|
|
:class="getQaClass(qa)" @click="answerCardItemClick(qa)">{{qa.onlyNum}}
|
|
- </view>
|
|
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- </uni-popup>
|
|
|
|
-
|
|
|
|
- </view>
|
|
|
|
|
|
+ </view>
|
|
|
|
+ </uni-popup>
|
|
|
|
+
|
|
</view>
|
|
</view>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -91,10 +99,18 @@
|
|
import duoxuan from "@/components/questions/duoxuan.vue";
|
|
import duoxuan from "@/components/questions/duoxuan.vue";
|
|
import tiankong from "@/components/questions/tiankong.vue";
|
|
import tiankong from "@/components/questions/tiankong.vue";
|
|
import panduan from "@/components/questions/panduan.vue";
|
|
import panduan from "@/components/questions/panduan.vue";
|
|
- import {useQuestionTools} from "@/components/questions/useQuestionTools.js";
|
|
|
|
-
|
|
|
|
- import { onLoad } from "@dcloudio/uni-app";
|
|
|
|
- import {ref,reactive,computed} from "vue"
|
|
|
|
|
|
+ import {
|
|
|
|
+ useQuestionTools
|
|
|
|
+ } from "@/components/questions/useQuestionTools.js";
|
|
|
|
+
|
|
|
|
+ import {
|
|
|
|
+ onLoad
|
|
|
|
+ } from "@dcloudio/uni-app";
|
|
|
|
+ import {
|
|
|
|
+ ref,
|
|
|
|
+ reactive,
|
|
|
|
+ computed
|
|
|
|
+ } from "vue"
|
|
import * as lxApi from "@/api/lianxi.js"
|
|
import * as lxApi from "@/api/lianxi.js"
|
|
const {
|
|
const {
|
|
checkDanxuanReply,
|
|
checkDanxuanReply,
|
|
@@ -103,11 +119,11 @@
|
|
checkTiankongReply,
|
|
checkTiankongReply,
|
|
getLetterByIndex
|
|
getLetterByIndex
|
|
} = useQuestionTools();
|
|
} = useQuestionTools();
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+
|
|
const hisId = ref(null)
|
|
const hisId = ref(null)
|
|
const popupRef = ref(null)
|
|
const popupRef = ref(null)
|
|
-
|
|
|
|
|
|
+
|
|
const data = reactive({
|
|
const data = reactive({
|
|
lxId: null,
|
|
lxId: null,
|
|
lxName: '',
|
|
lxName: '',
|
|
@@ -118,13 +134,13 @@
|
|
StListForSearch: [],
|
|
StListForSearch: [],
|
|
duanluo: [],
|
|
duanluo: [],
|
|
})
|
|
})
|
|
-
|
|
|
|
|
|
+
|
|
const questionData = ref([]);
|
|
const questionData = ref([]);
|
|
const progress = reactive({
|
|
const progress = reactive({
|
|
dlIndex: 0,
|
|
dlIndex: 0,
|
|
dtIndex: 0
|
|
dtIndex: 0
|
|
})
|
|
})
|
|
-
|
|
|
|
|
|
+
|
|
const dlName = computed(() => {
|
|
const dlName = computed(() => {
|
|
if (data.StListForSearch && activeSt.value) {
|
|
if (data.StListForSearch && activeSt.value) {
|
|
return data.StListForSearch[activeSt.value.onlyNum].paragraphName
|
|
return data.StListForSearch[activeSt.value.onlyNum].paragraphName
|
|
@@ -132,7 +148,7 @@
|
|
return ''
|
|
return ''
|
|
}
|
|
}
|
|
})
|
|
})
|
|
-
|
|
|
|
|
|
+
|
|
const activeSt = computed(() => {
|
|
const activeSt = computed(() => {
|
|
if (questionData.value.length) {
|
|
if (questionData.value.length) {
|
|
return questionData.value.length && questionData.value[progress.dlIndex].qas[progress.dtIndex];
|
|
return questionData.value.length && questionData.value[progress.dlIndex].qas[progress.dtIndex];
|
|
@@ -140,9 +156,9 @@
|
|
return null
|
|
return null
|
|
}
|
|
}
|
|
})
|
|
})
|
|
-
|
|
|
|
|
|
+
|
|
const answerRes = computed(() => {
|
|
const answerRes = computed(() => {
|
|
- const qa = activeSt.value ;
|
|
|
|
|
|
+ const qa = activeSt.value;
|
|
let score = qa.score;
|
|
let score = qa.score;
|
|
let reply = '';
|
|
let reply = '';
|
|
let result = '';
|
|
let result = '';
|
|
@@ -154,7 +170,7 @@
|
|
} else {
|
|
} else {
|
|
reply = '未答'
|
|
reply = '未答'
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
if (qa.result) {
|
|
if (qa.result) {
|
|
result = getLetterByIndex(qa.result)
|
|
result = getLetterByIndex(qa.result)
|
|
} else {
|
|
} else {
|
|
@@ -163,7 +179,7 @@
|
|
}
|
|
}
|
|
if (qa.stTypeId == 2) {
|
|
if (qa.stTypeId == 2) {
|
|
// 多选题
|
|
// 多选题
|
|
-
|
|
|
|
|
|
+
|
|
if (qa.reply && qa.reply.length) {
|
|
if (qa.reply && qa.reply.length) {
|
|
reply = qa.reply.map(item => {
|
|
reply = qa.reply.map(item => {
|
|
if (item.trim()) {
|
|
if (item.trim()) {
|
|
@@ -187,27 +203,35 @@
|
|
// 判断题
|
|
// 判断题
|
|
if (qa.reply == 0) {
|
|
if (qa.reply == 0) {
|
|
reply = '错误'
|
|
reply = '错误'
|
|
- }else if (qa.reply == 1) {
|
|
|
|
|
|
+ } else if (qa.reply == 1) {
|
|
reply = '正确'
|
|
reply = '正确'
|
|
}
|
|
}
|
|
if (qa.result == 0) {
|
|
if (qa.result == 0) {
|
|
result = '错误'
|
|
result = '错误'
|
|
- }else if (qa.result == 1) {
|
|
|
|
|
|
+ } else if (qa.result == 1) {
|
|
result = '正确'
|
|
result = '正确'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (qa.stTypeId == 4) {
|
|
if (qa.stTypeId == 4) {
|
|
let reply = qa.reply || [];
|
|
let reply = qa.reply || [];
|
|
- let result =qa.result || [];
|
|
|
|
|
|
+ let result = qa.result || [];
|
|
// 填空题
|
|
// 填空题
|
|
- return {score,reply,result,answer}
|
|
|
|
|
|
+ return {
|
|
|
|
+ score,
|
|
|
|
+ reply,
|
|
|
|
+ result,
|
|
|
|
+ answer
|
|
|
|
+ }
|
|
} else {
|
|
} else {
|
|
- return {
|
|
|
|
- score,reply,result,answer
|
|
|
|
|
|
+ return {
|
|
|
|
+ score,
|
|
|
|
+ reply,
|
|
|
|
+ result,
|
|
|
|
+ answer
|
|
}
|
|
}
|
|
}
|
|
}
|
|
})
|
|
})
|
|
-
|
|
|
|
|
|
+
|
|
const isFistStId = computed(() => {
|
|
const isFistStId = computed(() => {
|
|
if (data.StListForSearch.length) {
|
|
if (data.StListForSearch.length) {
|
|
return data.StListForSearch[0].stId == activeSt.value.stId
|
|
return data.StListForSearch[0].stId == activeSt.value.stId
|
|
@@ -222,14 +246,14 @@
|
|
return false
|
|
return false
|
|
}
|
|
}
|
|
});
|
|
});
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+
|
|
onLoad((options) => {
|
|
onLoad((options) => {
|
|
hisId.value = options.hisId;
|
|
hisId.value = options.hisId;
|
|
initPage()
|
|
initPage()
|
|
})
|
|
})
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+
|
|
function getQaClass(qa) {
|
|
function getQaClass(qa) {
|
|
if (qa.marked && qa.marked === true) {
|
|
if (qa.marked && qa.marked === true) {
|
|
return 'paragraph-qa-block-mark';
|
|
return 'paragraph-qa-block-mark';
|
|
@@ -261,15 +285,15 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+
|
|
function handleBack() {
|
|
function handleBack() {
|
|
uni.redirectTo({
|
|
uni.redirectTo({
|
|
- url: "/pages/admin/Lianxi/list"
|
|
|
|
|
|
+ url: "/pages/client/Lianxi/list"
|
|
})
|
|
})
|
|
}
|
|
}
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+
|
|
function formatDuanluoList() {
|
|
function formatDuanluoList() {
|
|
let uIndex = 0; // 试题num
|
|
let uIndex = 0; // 试题num
|
|
let iDuanluo = 0; // 段落num
|
|
let iDuanluo = 0; // 段落num
|
|
@@ -279,7 +303,7 @@
|
|
qas: [],
|
|
qas: [],
|
|
};
|
|
};
|
|
paragraph.name = duanluo.name;
|
|
paragraph.name = duanluo.name;
|
|
-
|
|
|
|
|
|
+
|
|
let iQa = 0; // 当前试题序号
|
|
let iQa = 0; // 当前试题序号
|
|
let order = 0; // 当前题型中第几题
|
|
let order = 0; // 当前题型中第几题
|
|
for (const iDanxuan of duanluo.danxuan) {
|
|
for (const iDanxuan of duanluo.danxuan) {
|
|
@@ -292,7 +316,7 @@
|
|
uIndex++;
|
|
uIndex++;
|
|
order++;
|
|
order++;
|
|
iQa++;
|
|
iQa++;
|
|
-
|
|
|
|
|
|
+
|
|
data.StListForSearch.push({
|
|
data.StListForSearch.push({
|
|
stId: iDanxuan.stId,
|
|
stId: iDanxuan.stId,
|
|
paragraphName: paragraph.name,
|
|
paragraphName: paragraph.name,
|
|
@@ -312,7 +336,7 @@
|
|
uIndex++;
|
|
uIndex++;
|
|
order++;
|
|
order++;
|
|
iQa++;
|
|
iQa++;
|
|
-
|
|
|
|
|
|
+
|
|
data.StListForSearch.push({
|
|
data.StListForSearch.push({
|
|
stId: iDuoxuan.stId,
|
|
stId: iDuoxuan.stId,
|
|
paragraphName: paragraph.name,
|
|
paragraphName: paragraph.name,
|
|
@@ -332,7 +356,7 @@
|
|
uIndex++;
|
|
uIndex++;
|
|
order++;
|
|
order++;
|
|
iQa++;
|
|
iQa++;
|
|
-
|
|
|
|
|
|
+
|
|
data.StListForSearch.push({
|
|
data.StListForSearch.push({
|
|
stId: iPanduan.stId,
|
|
stId: iPanduan.stId,
|
|
paragraphName: paragraph.name,
|
|
paragraphName: paragraph.name,
|
|
@@ -352,7 +376,7 @@
|
|
uIndex++;
|
|
uIndex++;
|
|
order++;
|
|
order++;
|
|
iQa++;
|
|
iQa++;
|
|
-
|
|
|
|
|
|
+
|
|
data.StListForSearch.push({
|
|
data.StListForSearch.push({
|
|
stId: iTiankong.stId,
|
|
stId: iTiankong.stId,
|
|
paragraphName: paragraph.name,
|
|
paragraphName: paragraph.name,
|
|
@@ -363,10 +387,10 @@
|
|
}
|
|
}
|
|
iDuanluo++;
|
|
iDuanluo++;
|
|
questionData.value.push(paragraph)
|
|
questionData.value.push(paragraph)
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
function handlePrev() {
|
|
function handlePrev() {
|
|
const qa = data.StListForSearch.find(item => item.stId == activeSt.value.stId);
|
|
const qa = data.StListForSearch.find(item => item.stId == activeSt.value.stId);
|
|
const index = qa.num - 1;
|
|
const index = qa.num - 1;
|
|
@@ -375,9 +399,9 @@
|
|
progress.dlIndex = result.dlIndex;
|
|
progress.dlIndex = result.dlIndex;
|
|
progress.dtIndex = result.dtIndex
|
|
progress.dtIndex = result.dtIndex
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
function handleNext() {
|
|
function handleNext() {
|
|
const qa = data.StListForSearch.find(item => item.stId == activeSt.value.stId);
|
|
const qa = data.StListForSearch.find(item => item.stId == activeSt.value.stId);
|
|
const index = qa.num - 1;
|
|
const index = qa.num - 1;
|
|
@@ -387,24 +411,34 @@
|
|
progress.dtIndex = result.dtIndex
|
|
progress.dtIndex = result.dtIndex
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
function initPage() {
|
|
function initPage() {
|
|
- lxApi.getClientLianxiChengjiView({hisId: hisId.value}).then(res => {
|
|
|
|
- const { duanluoList,lxName, zyLevelName,userScore,ksScore } = res.data;
|
|
|
|
|
|
+ lxApi.getClientLianxiChengjiView({
|
|
|
|
+ hisId: hisId.value
|
|
|
|
+ }).then(res => {
|
|
|
|
+ const {
|
|
|
|
+ duanluoList,
|
|
|
|
+ lxName,
|
|
|
|
+ zyLevelName,
|
|
|
|
+ userScore,
|
|
|
|
+ ksScore
|
|
|
|
+ } = res.data;
|
|
data.lxName = lxName;
|
|
data.lxName = lxName;
|
|
data.zyLevelName = zyLevelName;
|
|
data.zyLevelName = zyLevelName;
|
|
data.userScore = userScore;
|
|
data.userScore = userScore;
|
|
data.ksScore = ksScore;
|
|
data.ksScore = ksScore;
|
|
data.duanluo = duanluoList;
|
|
data.duanluo = duanluoList;
|
|
-
|
|
|
|
|
|
+
|
|
formatDuanluoList();
|
|
formatDuanluoList();
|
|
})
|
|
})
|
|
}
|
|
}
|
|
|
|
+
|
|
function handlePopupBack() {
|
|
function handlePopupBack() {
|
|
- popupRef.value.close()
|
|
|
|
|
|
+ popupRef.value.close()
|
|
}
|
|
}
|
|
|
|
+
|
|
function handleOpenCard() {
|
|
function handleOpenCard() {
|
|
popupRef.value.open('bottom')
|
|
popupRef.value.open('bottom')
|
|
}
|
|
}
|
|
@@ -412,4 +446,4 @@
|
|
|
|
|
|
<style>
|
|
<style>
|
|
|
|
|
|
-</style>
|
|
|
|
|
|
+</style>
|