Commit c76ddbf8 authored by jiaxu.yan's avatar jiaxu.yan

feat(init): 修改审查细则库

parent b5f13f32
......@@ -111,7 +111,7 @@
class="item"
effect="dark"
:content="node.label"
placement="bottom"
placement="bottom-start"
>
<div class="title">{{ node.label }}</div>
</el-tooltip>
......@@ -149,7 +149,7 @@
>
添加关联场景
</el-button> -->
<el-button type="text" size="mini" @click="() => append(data)">
<el-button type="text" size="mini" @click="() => handleUpdate(data)">
修改
</el-button>
<el-button
......
<template>
<page-standard>
<div slot="tab">
<el-radio-group v-model="queryParams.type">
<el-radio-group v-model="queryParams.type" @input="loadData">
<el-radio-button
v-for="dict in dict.type.sys_detailed_classification"
:key="dict.value"
......@@ -226,7 +226,7 @@ export default {
showSearch: true,
list: [],
tableData: [],
queryParams: { type: '2' },
queryParams: { type: '1' },
dialogManger: {
dialogVisible: false,
refreshList: false,
......@@ -244,8 +244,10 @@ export default {
}
},
methods: {
objectSpanMethod() {},
loadData() {
this.loading = true
console.log(this.queryParams)
request({
url: this.listUrl,
method: 'get',
......@@ -253,10 +255,9 @@ export default {
})
.then(res => {
if (res.code === 200) {
console.log(res.rows)
this.list = res.rows
console.log(2222)
if (this.queryParams.type === '2') {
console.log(geSpanList(res.rows, ['way', 'object', 'scene']))
this.tableData = geSpanList(res.rows, ['way', 'object', 'scene'])
} else {
this.tableData = res.rows
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment