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

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

parent b5f13f32
...@@ -111,7 +111,7 @@ ...@@ -111,7 +111,7 @@
class="item" class="item"
effect="dark" effect="dark"
:content="node.label" :content="node.label"
placement="bottom" placement="bottom-start"
> >
<div class="title">{{ node.label }}</div> <div class="title">{{ node.label }}</div>
</el-tooltip> </el-tooltip>
...@@ -149,7 +149,7 @@ ...@@ -149,7 +149,7 @@
> >
添加关联场景 添加关联场景
</el-button> --> </el-button> -->
<el-button type="text" size="mini" @click="() => append(data)"> <el-button type="text" size="mini" @click="() => handleUpdate(data)">
修改 修改
</el-button> </el-button>
<el-button <el-button
......
<template> <template>
<page-standard> <page-standard>
<div slot="tab"> <div slot="tab">
<el-radio-group v-model="queryParams.type"> <el-radio-group v-model="queryParams.type" @input="loadData">
<el-radio-button <el-radio-button
v-for="dict in dict.type.sys_detailed_classification" v-for="dict in dict.type.sys_detailed_classification"
:key="dict.value" :key="dict.value"
...@@ -226,7 +226,7 @@ export default { ...@@ -226,7 +226,7 @@ export default {
showSearch: true, showSearch: true,
list: [], list: [],
tableData: [], tableData: [],
queryParams: { type: '2' }, queryParams: { type: '1' },
dialogManger: { dialogManger: {
dialogVisible: false, dialogVisible: false,
refreshList: false, refreshList: false,
...@@ -244,8 +244,10 @@ export default { ...@@ -244,8 +244,10 @@ export default {
} }
}, },
methods: { methods: {
objectSpanMethod() {},
loadData() { loadData() {
this.loading = true this.loading = true
console.log(this.queryParams)
request({ request({
url: this.listUrl, url: this.listUrl,
method: 'get', method: 'get',
...@@ -253,10 +255,9 @@ export default { ...@@ -253,10 +255,9 @@ export default {
}) })
.then(res => { .then(res => {
if (res.code === 200) { if (res.code === 200) {
console.log(res.rows)
this.list = res.rows this.list = res.rows
console.log(2222)
if (this.queryParams.type === '2') { if (this.queryParams.type === '2') {
console.log(geSpanList(res.rows, ['way', 'object', 'scene']))
this.tableData = geSpanList(res.rows, ['way', 'object', 'scene']) this.tableData = geSpanList(res.rows, ['way', 'object', 'scene'])
} else { } else {
this.tableData = res.rows 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