|
@@ -39,18 +39,26 @@
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
</div>
|
|
|
+
|
|
|
+ <el-dialog v-model="scoreVisible" title="得分明细" width="800">
|
|
|
+ <score-detail :scoreData="scoreData"/>
|
|
|
+ </el-dialog>
|
|
|
+
|
|
|
</template>
|
|
|
<script setup lang="ts">
|
|
|
const {proxy} = getCurrentInstance()
|
|
|
import {onMounted} from "vue";
|
|
|
import {hcsDetails} from "@/api/hl/hcs"
|
|
|
-import {listHmsDetails} from "@/api/hl/hms"
|
|
|
+import {listHmsDetails,getHmsList} from "@/api/hl/hms"
|
|
|
+import scoreDetail from "./scoreDetail.vue"
|
|
|
const props = defineProps(['rowData'])
|
|
|
const {biz_type,metrics_small_type} = proxy.useDict('biz_type','metrics_small_type');
|
|
|
const { score_stand } = proxy.useDict('score_stand');
|
|
|
const hsData = ref([])
|
|
|
const hmsDetailData = ref([])
|
|
|
-const hmsVisible=ref(false)
|
|
|
+const hmsVisible = ref(false)
|
|
|
+const scoreVisible = ref(false)
|
|
|
+const scoreData = ref([])
|
|
|
|
|
|
onMounted(()=>{
|
|
|
getDetail()
|
|
@@ -69,7 +77,9 @@ async function getDetail(){
|
|
|
}
|
|
|
|
|
|
async function handleScoreDetails(row){
|
|
|
- console.log({...row})
|
|
|
+ const res = await getHmsList(row.scoreMetricsId)
|
|
|
+ scoreVisible.value = true
|
|
|
+ scoreData.value = res.data
|
|
|
}
|
|
|
|
|
|
</script>
|