1cb496ef by 任超

style:重置

1 parent 27ca87cc
...@@ -5,10 +5,10 @@ ...@@ -5,10 +5,10 @@
5 <template> 5 <template>
6 <div class='result'> 6 <div class='result'>
7 <p>响应xml</p> 7 <p>响应xml</p>
8 <el-input type="textarea" :rows="6" class="resulttext" placeholder="响应xml" v-model="REPMSGXML"> 8 <el-input type="textarea" disabled :rows="6" class="resulttext" placeholder="响应xml" v-model="REPMSGXML">
9 </el-input> 9 </el-input>
10 <p>错误信息</p> 10 <p>错误信息</p>
11 <el-input type="textarea" :rows="6" class="resulttext" placeholder="错误信息" v-model="ERRORINFO"> 11 <el-input type="textarea" disabled :rows="6" class="resulttext" placeholder="错误信息" v-model="ERRORINFO">
12 </el-input> 12 </el-input>
13 </div> 13 </div>
14 </template> 14 </template>
...@@ -57,5 +57,4 @@ export default { ...@@ -57,5 +57,4 @@ export default {
57 } 57 }
58 58
59 } 59 }
60
61 </style> 60 </style>
......
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
100 <div v-if="titleName == 'xyjg'"> 100 <div v-if="titleName == 'xyjg'">
101 <Xyjg :form-data='dataReport'></Xyjg> 101 <Xyjg :form-data='dataReport'></Xyjg>
102 </div> 102 </div>
103 <JsonEditor :resultInfo="resultInfo" v-if="titleName == 'xml'" /> 103 <JsonEditor :resultInfo="resultInfo" class="JsonEditor" v-if="titleName == 'xml'" />
104 </div> 104 </div>
105 </el-dialog> 105 </el-dialog>
106 </template> 106 </template>
......
1 <template> 1 <template>
2 <el-input type="textarea" :rows="6" placeholder="配置参数" v-model="resultInfo"> 2 <el-input type="textarea" :rows="6" disabled placeholder="配置参数" v-model="resultInfo">
3 </el-input> 3 </el-input>
4 </template> 4 </template>
5 <script> 5 <script>
......
...@@ -59,7 +59,7 @@ let mixin = { ...@@ -59,7 +59,7 @@ let mixin = {
59 } 59 }
60 this.$refs.editLog.isShow(row); 60 this.$refs.editLog.isShow(row);
61 }, 61 },
62 // // 重置表单 62 // 重置表单
63 resetForm () { 63 resetForm () {
64 if (!this.form) return 64 if (!this.form) return
65 Object.keys(this.form).forEach((key) => { 65 Object.keys(this.form).forEach((key) => {
......
...@@ -10,7 +10,8 @@ ...@@ -10,7 +10,8 @@
10 } 10 }
11 11
12 .el-table__row .cell { 12 .el-table__row .cell {
13 color: #CEF8FF !important; 13 color: #8DEAF9 !important;
14 font-weight: 100 !important;
14 } 15 }
15 16
16 .el-table__row { 17 .el-table__row {
...@@ -62,6 +63,7 @@ ...@@ -62,6 +63,7 @@
62 /deep/.el-input__inner { 63 /deep/.el-input__inner {
63 background: #07388B; 64 background: #07388B;
64 border-radius: 2px; 65 border-radius: 2px;
66 color: #CEF8FF;
65 border: 1px solid #6BC1FC; 67 border: 1px solid #6BC1FC;
66 } 68 }
67 } 69 }
......
...@@ -23,7 +23,6 @@ export default { ...@@ -23,7 +23,6 @@ export default {
23 this.queryClick() 23 this.queryClick()
24 }, 24 },
25 handleCurrentChange (val) { 25 handleCurrentChange (val) {
26 console.log(val, '222222222');
27 this.pageData.currentPage = val 26 this.pageData.currentPage = val
28 if (this.queryClick) { 27 if (this.queryClick) {
29 this.queryClick() 28 this.queryClick()
...@@ -33,6 +32,16 @@ export default { ...@@ -33,6 +32,16 @@ export default {
33 let deleteAfterPage = Math.ceil((this.tableData.total - 1) / this.pageData.pageSize) 32 let deleteAfterPage = Math.ceil((this.tableData.total - 1) / this.pageData.pageSize)
34 let currentPage = this.pageData.currentPage > deleteAfterPage ? deleteAfterPage : this.pageData.currentPage 33 let currentPage = this.pageData.currentPage > deleteAfterPage ? deleteAfterPage : this.pageData.currentPage
35 this.pageData.currentPage = currentPage < 1 ? 1 : currentPage 34 this.pageData.currentPage = currentPage < 1 ? 1 : currentPage
35 },
36 // 重置表单
37 resetForm () {
38 if (!this.form) return
39 Object.keys(this.form).forEach((key) => {
40 if (key !== 'currentPage') this.form[key] = '';
41 })
42 this.form.currentPage = 1
43 this.tableData.data = []
44 this.queryClick()
36 } 45 }
37 } 46 }
38 } 47 }
......
1 import { Message } from "element-ui"; 1 import { Message } from "element-ui";
2 export function removeTreeListItem (treeList, dictId, idName = 'bsmDict') { 2 export function removeTreeListItem (treeList, dictId, idName = 'bsmDict') {
3 debugger
3 if (!treeList || !treeList.length) { 4 if (!treeList || !treeList.length) {
4 return 5 return
5 } 6 }
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
6 <Breadcrumb /> 6 <Breadcrumb />
7 </el-form-item> 7 </el-form-item>
8 <el-row> 8 <el-row>
9 <el-col :span="5"> 9 <el-col :span="6">
10 <el-form-item label="行政区" label-width="80px"> 10 <el-form-item label="行政区" label-width="80px">
11 <el-select v-model="form.XZQDM" class="width100" clearable placeholder="行政区"> 11 <el-select v-model="form.XZQDM" class="width100" clearable placeholder="行政区">
12 <el-option v-for="item in dicData['A20']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> 12 <el-option v-for="item in dicData['A20']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
14 </el-select> 14 </el-select>
15 </el-form-item> 15 </el-form-item>
16 </el-col> 16 </el-col>
17 <el-col :span="5"> 17 <el-col :span="6">
18 <el-form-item label="权属状态"> 18 <el-form-item label="权属状态">
19 <el-select v-model="form.QSZT" class="width100" clearable placeholder="权属状态"> 19 <el-select v-model="form.QSZT" class="width100" clearable placeholder="权属状态">
20 <el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> 20 <el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
...@@ -22,29 +22,24 @@ ...@@ -22,29 +22,24 @@
22 </el-select> 22 </el-select>
23 </el-form-item> 23 </el-form-item>
24 </el-col> 24 </el-col>
25 <!-- <el-col :span="5"> 25 <el-col :span="6">
26 <el-form-item label="坐落">
27 <el-input v-model="form.ZL" placeholder="坐落"></el-input>
28 </el-form-item>
29 </el-col> -->
30 <el-col :span="5">
31 <el-form-item label="不动产权证号"> 26 <el-form-item label="不动产权证号">
32 <el-input v-model="form.BDCQZH" placeholder="不动产权证号"></el-input> 27 <el-input v-model="form.BDCQZH" placeholder="不动产权证号"></el-input>
33 </el-form-item> 28 </el-form-item>
34 </el-col> 29 </el-col>
35 <el-col :span="5"> 30 <el-col :span="6">
36 <el-form-item label="抵押人" label-width="80px"> 31 <el-form-item label="抵押人" label-width="80px">
37 <el-input v-model="form.dyr" placeholder="抵押人"></el-input> 32 <el-input v-model="form.dyr" placeholder="抵押人"></el-input>
38 </el-form-item> 33 </el-form-item>
39 </el-col> 34 </el-col>
40 </el-row> 35 </el-row>
41 <el-row class="mt-10"> 36 <el-row class="mt-10">
42 <el-col :span="5"> 37 <el-col :span="6">
43 <el-form-item label="不动产单元号"> 38 <el-form-item label="不动产单元号">
44 <el-input v-model="form.BDCDYH" placeholder="不动产单元号"></el-input> 39 <el-input v-model="form.BDCDYH" placeholder="不动产单元号"></el-input>
45 </el-form-item> 40 </el-form-item>
46 </el-col> 41 </el-col>
47 <el-col :span="5"> 42 <el-col :span="6">
48 <el-form-item label="抵押不动产类型"> 43 <el-form-item label="抵押不动产类型">
49 <el-select v-model="form.dybdclx" class="width100" clearable placeholder="抵押不动产类型"> 44 <el-select v-model="form.dybdclx" class="width100" clearable placeholder="抵押不动产类型">
50 <el-option v-for="item in dicData['A27']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> 45 <el-option v-for="item in dicData['A27']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
...@@ -52,7 +47,7 @@ ...@@ -52,7 +47,7 @@
52 </el-select> 47 </el-select>
53 </el-form-item> 48 </el-form-item>
54 </el-col> 49 </el-col>
55 <el-col :span="5"> 50 <el-col :span="6">
56 <el-form-item label="登记类型"> 51 <el-form-item label="登记类型">
57 <el-select v-model="form.DJLX" class="width100" clearable placeholder="登记类型"> 52 <el-select v-model="form.DJLX" class="width100" clearable placeholder="登记类型">
58 <el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> 53 <el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
...@@ -61,7 +56,7 @@ ...@@ -61,7 +56,7 @@
61 </el-form-item> 56 </el-form-item>
62 </el-col> 57 </el-col>
63 58
64 <el-col :span="9" class="btnColRight"> 59 <el-col :span="6" class="btnColRight">
65 <btn nativeType="cz" @click="resetForm">重置</btn> 60 <btn nativeType="cz" @click="resetForm">重置</btn>
66 <btn nativeType="cx" @click="handleSubmit">查询</btn> 61 <btn nativeType="cx" @click="handleSubmit">查询</btn>
67 </el-col> 62 </el-col>
......
...@@ -32,12 +32,12 @@ ...@@ -32,12 +32,12 @@
32 <el-input v-model="form.BDCQZH" placeholder="不动产权证号"></el-input> 32 <el-input v-model="form.BDCQZH" placeholder="不动产权证号"></el-input>
33 </el-form-item> 33 </el-form-item>
34 </el-col> 34 </el-col>
35 <el-col :span="6" class="mt-10"> 35 <el-col :span="6">
36 <el-form-item label="权利人"> 36 <el-form-item label="权利人">
37 <el-input v-model="form.QLR" placeholder="权利人"></el-input> 37 <el-input v-model="form.QLR" placeholder="权利人"></el-input>
38 </el-form-item> 38 </el-form-item>
39 </el-col> 39 </el-col>
40 <el-col :span="6" class="mt-10"> 40 <el-col :span="6">
41 <el-form-item label="权利类型" label-width="105px"> 41 <el-form-item label="权利类型" label-width="105px">
42 <el-select v-model="form.QLLX" class="width100" clearable placeholder="权利类型"> 42 <el-select v-model="form.QLLX" class="width100" clearable placeholder="权利类型">
43 <el-option v-for="item in dicData['A8']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> 43 <el-option v-for="item in dicData['A8']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
50 <el-input v-model="form.BDCDYH" placeholder="不动产单元号"></el-input> 50 <el-input v-model="form.BDCDYH" placeholder="不动产单元号"></el-input>
51 </el-form-item> 51 </el-form-item>
52 </el-col> 52 </el-col>
53 <el-col :span="6" class="btnColRight mt-10"> 53 <el-col :span="18" class="btnColRight mt-10">
54 <btn nativeType="cz" @click="resetForm">重置</btn> 54 <btn nativeType="cz" @click="resetForm">重置</btn>
55 <btn nativeType="cx" @click="handleSubmit">查询</btn> 55 <btn nativeType="cx" @click="handleSubmit">查询</btn>
56 </el-col> 56 </el-col>
......
...@@ -176,7 +176,7 @@ export default { ...@@ -176,7 +176,7 @@ export default {
176 type: "index", 176 type: "index",
177 width: "50", 177 width: "50",
178 index: this.indexMethod, 178 index: this.indexMethod,
179 }, 179 }
180 ] 180 ]
181 .concat(data.columns()) 181 .concat(data.columns())
182 .concat([ 182 .concat([
...@@ -218,9 +218,10 @@ export default { ...@@ -218,9 +218,10 @@ export default {
218 getReceiveDataReportPage({ ...this.form, ...this.formData }).then( 218 getReceiveDataReportPage({ ...this.form, ...this.formData }).then(
219 (res) => { 219 (res) => {
220 if (res.code === 200) { 220 if (res.code === 200) {
221 let { total, records } = res.result; 221 let { total, records, current } = res.result;
222 this.tableData.total = total; 222 this.tableData.total = total;
223 this.tableData.data = records ? records : []; 223 this.tableData.data = records ? records : [];
224 this.pageData.current = current
224 } 225 }
225 } 226 }
226 ) 227 )
...@@ -228,11 +229,11 @@ export default { ...@@ -228,11 +229,11 @@ export default {
228 // 重置 229 // 重置
229 resetForm () { 230 resetForm () {
230 this.$refs.ruleForm.resetFields(); 231 this.$refs.ruleForm.resetFields();
231 this.pageData.currentPage = 1 232 this.form.currentPage = 1
232 this.queryClick(); 233 this.queryClick();
233 }, 234 },
234 featchData () { 235 featchData () {
235 this.pageData.currentPage = 1 236 this.form.currentPage = 1
236 this.queryClick(); 237 this.queryClick();
237 }, 238 },
238 // 结果 239 // 结果
......
...@@ -6,18 +6,6 @@ class data { ...@@ -6,18 +6,6 @@ class data {
6 columns () { 6 columns () {
7 return [ 7 return [
8 { 8 {
9 label: '序号',
10 type: 'index',
11 width: '50',
12 render: (h, scope) => {
13 return (
14 <div>
15 {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1}
16 </div>
17 )
18 }
19 },
20 {
21 prop: "AREANAME", 9 prop: "AREANAME",
22 label: "区域名称", 10 label: "区域名称",
23 }, 11 },
......
...@@ -9,9 +9,9 @@ ...@@ -9,9 +9,9 @@
9 </el-form-item> 9 </el-form-item>
10 <el-row> 10 <el-row>
11 <el-col :span="6"> 11 <el-col :span="6">
12 <el-form-item label="行政区"> 12 <el-form-item label="行政区">
13 <el-select v-model="form.areacode" class="width100" clearable placeholder="行政区"> 13 <el-select v-model="form.areacode" class="width100" clearable placeholder="行政区">
14 <el-option v-for="item in dicData['A20']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> 14 <el-option v-for="item in dicData['A20']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
15 </el-option> 15 </el-option>
16 </el-select> 16 </el-select>
17 </el-form-item> 17 </el-form-item>
...@@ -39,9 +39,9 @@ ...@@ -39,9 +39,9 @@
39 <!-- 列表区域 --> 39 <!-- 列表区域 -->
40 <div class="from-clues-content"> 40 <div class="from-clues-content">
41 <!-- table组件 --> 41 <!-- table组件 -->
42 <lb-table :page-size="pageData.size" :heightNum="300" :current-page.sync="pageData.current" 42 <lb-table ref="table" :page-size="pageData.size" :current-page.sync="pageData.current" :total="tableData.total"
43 :total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange" 43 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
44 :column="tableData.columns" :data="tableData.data"> 44 :data="tableData.data">
45 </lb-table> 45 </lb-table>
46 </div> 46 </div>
47 </div> 47 </div>
...@@ -51,12 +51,12 @@ ...@@ -51,12 +51,12 @@
51 // 引入列表数据 51 // 引入列表数据
52 import { datas, sendThis } from "./data" 52 import { datas, sendThis } from "./data"
53 // 引入表格混入方法 53 // 引入表格混入方法
54 import table from "@/utils/mixin/table" 54 import tableMixin from "@/mixins/tableMixin.js";
55 import { getRecordLogPage } from "@/api/recordLog.js"; 55 import { getRecordLogPage } from "@/api/recordLog.js";
56 import { mapGetters } from 'vuex' 56 import { mapGetters } from 'vuex'
57 export default { 57 export default {
58 name: "dbrzcx", 58 name: "dbrzcx",
59 mixins: [table], 59 mixins: [tableMixin],
60 computed: { 60 computed: {
61 ...mapGetters(['dicData']) 61 ...mapGetters(['dicData'])
62 }, 62 },
...@@ -88,10 +88,24 @@ export default { ...@@ -88,10 +88,24 @@ export default {
88 startTime: '', 88 startTime: '',
89 endTime: '', 89 endTime: '',
90 }, 90 },
91 // 分页
92 pageData: {
93 total: 0,
94 pageSize: 10,
95 current: 1
96 },
91 // table数据 97 // table数据
92 tableData: { 98 tableData: {
93 // 表头 99 // 表头
94 columns: datas.columns(), 100 columns: [
101 {
102 label: "序号",
103 type: "index",
104 width: "50",
105 index: this.indexMethod,
106 }
107 ]
108 .concat(datas.columns()),
95 // 列表 109 // 列表
96 data: [], 110 data: [],
97 total: 0, 111 total: 0,
...@@ -102,19 +116,25 @@ export default { ...@@ -102,19 +116,25 @@ export default {
102 sendThis(this); 116 sendThis(this);
103 }, 117 },
104 methods: { 118 methods: {
105 // 重置表单
106 resetForm () {
107 this.$refs.ruleForm.resetFields();
108 },
109 queryClick () { 119 queryClick () {
110 getRecordLogPage({ ...this.form, ...this.pageData }).then(res => { 120 getRecordLogPage({ ...this.form, ...this.pageData }).then(res => {
111 if (res.code === 200) { 121 if (res.code === 200) {
112 let { records, total } = res.result 122 let { records, total, current } = res.result
113 this.tableData.data = records ? records : [] 123 this.tableData.data = records ? records : []
114 this.tableData.total = total ? total : 0 124 this.tableData.total = total ? total : 0
125 this.pageData.current = current
115 } 126 }
116 }) 127 })
117 } 128 },
129 // 重置
130 resetForm () {
131 this.$refs.ruleForm.resetFields();
132 this.form.currentPage = 1
133 this.queryClick();
134 },
135 featchData () {
136 this.queryClick();
137 },
118 } 138 }
119 } 139 }
120 </script> 140 </script>
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
33 <el-col :span="6"> 33 <el-col :span="6">
34 <el-form-item label="汇交状态" prop="state"> 34 <el-form-item label="汇交状态" prop="state">
35 <el-select v-model="form.hjjg" class="width100" clearable placeholder="汇交状态"> 35 <el-select v-model="form.hjjg" class="width100" clearable placeholder="汇交状态">
36 <el-option v-for="item in dicData['sbhjzt']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> 36 <el-option v-for="item in dicData['sbhjzt']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
37 </el-option> 37 </el-option>
38 </el-select> 38 </el-select>
39 </el-form-item> 39 </el-form-item>
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
71 </div> 71 </div>
72 <!-- 列表 --> 72 <!-- 列表 -->
73 <div class="from-clues-content"> 73 <div class="from-clues-content">
74 <lb-table :page-size="pageData.pageSize" :current-page.sync="pageData.currentPage" :total="tableData.total" 74 <lb-table ref="table" :page-size="pageData.size" :current-page.sync="pageData.current" :total="tableData.total"
75 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" 75 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
76 :data="tableData.data"> 76 :data="tableData.data">
77 </lb-table> 77 </lb-table>
...@@ -86,14 +86,14 @@ ...@@ -86,14 +86,14 @@
86 // 引入表头数据 86 // 引入表头数据
87 import { datas, sendThis } from "./data"; 87 import { datas, sendThis } from "./data";
88 // 引入表格混入方法 88 // 引入表格混入方法
89 import table from "@/utils/mixin/table"; 89 import tableMixin from "@/mixins/tableMixin.js";
90 // 引入详情弹框 90 // 引入详情弹框
91 import dataDetails from "@/components/EditDialog"; 91 import dataDetails from "@/components/EditDialog";
92 import { getDataReportPage } from "@/api/dataReport.js"; 92 import { getDataReportPage } from "@/api/dataReport.js";
93 93
94 export default { 94 export default {
95 name: "sbbwcx", 95 name: "sbbwcx",
96 mixins: [table], 96 mixins: [tableMixin],
97 // 注册组件 97 // 注册组件
98 components: { 98 components: {
99 dataDetails, 99 dataDetails,
...@@ -130,6 +130,12 @@ export default { ...@@ -130,6 +130,12 @@ export default {
130 rkjg: "", //入库结果 130 rkjg: "", //入库结果
131 currentPage: 1, 131 currentPage: 1,
132 }, 132 },
133 // 分页
134 pageData: {
135 total: 0,
136 pageSize: 10,
137 current: 1
138 },
133 // table数据 139 // table数据
134 tableData: { 140 tableData: {
135 // 表头数据 141 // 表头数据
...@@ -155,7 +161,7 @@ export default { ...@@ -155,7 +161,7 @@ export default {
155 }, 161 },
156 ]), 162 ]),
157 total: 0, 163 total: 0,
158 data: [{}], 164 data: [],
159 }, 165 },
160 title: "", 166 title: "",
161 }; 167 };
...@@ -164,20 +170,20 @@ export default { ...@@ -164,20 +170,20 @@ export default {
164 sendThis(this); 170 sendThis(this);
165 }, 171 },
166 methods: { 172 methods: {
167 // 重置表单
168 resetForm () {
169 this.$refs.ruleForm.resetFields();
170 },
171 // 初始化数据 173 // 初始化数据
172 queryClick () { 174 queryClick () {
173 getDataReportPage({ ...this.form, ...this.pageData }).then((res) => { 175 getDataReportPage({ ...this.form, ...this.pageData }).then((res) => {
174 if (res.code === 200) { 176 if (res.code === 200) {
175 let { total, records } = res.result; 177 let { total, records, current } = res.result;
176 this.tableData.total = total; 178 this.tableData.total = total;
177 this.tableData.data = records ? records : []; 179 this.tableData.data = records ? records : [];
180 this.pageData.current = current
178 } 181 }
179 }); 182 });
180 }, 183 },
184 featchData () {
185 this.queryClick();
186 },
181 // 多选 187 // 多选
182 handleSelectionChange (val) { }, 188 handleSelectionChange (val) { },
183 // 上报 189 // 上报
...@@ -187,6 +193,12 @@ export default { ...@@ -187,6 +193,12 @@ export default {
187 this.title = row.rectypeName; 193 this.title = row.rectypeName;
188 this.$refs.editLog.isShow(row); 194 this.$refs.editLog.isShow(row);
189 }, 195 },
196 // 重置
197 resetForm () {
198 this.$refs.ruleForm.resetFields();
199 this.form.currentPage = 1
200 this.queryClick();
201 },
190 }, 202 },
191 }; 203 };
192 </script> 204 </script>
......
...@@ -290,7 +290,7 @@ export default { ...@@ -290,7 +290,7 @@ export default {
290 type: "warning", 290 type: "warning",
291 }) 291 })
292 .then(() => { 292 .then(() => {
293 removeTreeListItem(this.tableData, row.dictid); 293 removeTreeListItem(this.tableData, row.dictid, 'dictid');
294 this.$message({ 294 this.$message({
295 type: "success", 295 type: "success",
296 message: "删除成功!", 296 message: "删除成功!",
...@@ -358,7 +358,7 @@ export default { ...@@ -358,7 +358,7 @@ export default {
358 }, 358 },
359 // 上移下移 359 // 上移下移
360 moveUpward (index, row) { 360 moveUpward (index, row) {
361 console.log("row上移",row); 361 console.log("row上移", row);
362 362
363 realMove(row.dictid, "UP", this.tableData); 363 realMove(row.dictid, "UP", this.tableData);
364 let id = findParents(this.tableData, row.dictid); 364 let id = findParents(this.tableData, row.dictid);
...@@ -366,7 +366,7 @@ export default { ...@@ -366,7 +366,7 @@ export default {
366 this.key++; 366 this.key++;
367 }, 367 },
368 moveDown (index, row) { 368 moveDown (index, row) {
369 console.log("row下移",row); 369 console.log("row下移", row);
370 realMove(row.dictid, "DOWN", this.tableData); 370 realMove(row.dictid, "DOWN", this.tableData);
371 let id = findParents(this.tableData, row.dictid); 371 let id = findParents(this.tableData, row.dictid);
372 this.keyList = id; 372 this.keyList = id;
......