|
@ -69,6 +69,26 @@ |
|
|
:selectable="checkSelect" |
|
|
:selectable="checkSelect" |
|
|
width="55"> |
|
|
width="55"> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
|
|
|
<el-table-column prop="sort" |
|
|
|
|
|
sortable="custom" |
|
|
|
|
|
min-width="140" |
|
|
|
|
|
label="序号"> |
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
<div @click="handleEditSort(scope.row)"> |
|
|
|
|
|
<span v-if="!scope.row.isChange">{{scope.row.sort}}</span> |
|
|
|
|
|
<el-input-number v-else |
|
|
|
|
|
@change="handleChangeSort(scope.row)" |
|
|
|
|
|
v-model="scope.row.sort" |
|
|
|
|
|
class="item_width_4" |
|
|
|
|
|
:precision="2" |
|
|
|
|
|
size="small" |
|
|
|
|
|
:min="0" |
|
|
|
|
|
:max="9999" |
|
|
|
|
|
label="描述文字"></el-input-number> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
</el-table-column> |
|
|
<el-table-column prop="buildingName" |
|
|
<el-table-column prop="buildingName" |
|
|
label="楼栋名称" |
|
|
label="楼栋名称" |
|
|
min-width="180"> |
|
|
min-width="180"> |
|
@ -107,25 +127,6 @@ |
|
|
<el-table-column prop="totalHouseNum" |
|
|
<el-table-column prop="totalHouseNum" |
|
|
label="总户数"> |
|
|
label="总户数"> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column prop="sort" |
|
|
|
|
|
sortable="custom" |
|
|
|
|
|
min-width="140" |
|
|
|
|
|
label="序号"> |
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
<div @click="handleEditSort(scope.row)"> |
|
|
|
|
|
<span v-if="!scope.row.isChange">{{scope.row.sort}}</span> |
|
|
|
|
|
<el-input-number v-else |
|
|
|
|
|
@change="handleChangeSort(scope.row)" |
|
|
|
|
|
v-model="scope.row.sort" |
|
|
|
|
|
class="item_width_4" |
|
|
|
|
|
:precision="2" |
|
|
|
|
|
:min="1" |
|
|
|
|
|
:max="9999" |
|
|
|
|
|
label="描述文字"></el-input-number> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
|
|
|
|
<el-table-column label="操作" |
|
|
<el-table-column label="操作" |
|
|
fixed="right" |
|
|
fixed="right" |
|
@ -265,10 +266,10 @@ export default { |
|
|
const { data, code, msg } = await requestPost(url, params) |
|
|
const { data, code, msg } = await requestPost(url, params) |
|
|
|
|
|
|
|
|
if (code === 0) { |
|
|
if (code === 0) { |
|
|
this.$message({ |
|
|
// this.$message({ |
|
|
type: 'success', |
|
|
// type: 'success', |
|
|
message: '操作成功' |
|
|
// message: '操作成功' |
|
|
}) |
|
|
// }) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} else { |
|
|
} else { |
|
|