This commit is contained in:
helen 2024-12-25 16:11:09 +08:00
parent 504412a9b6
commit 0a81cadeb2

View File

@ -91,13 +91,13 @@
link link
type="primary" type="primary"
@click="handleUpdate(scope.row, 1)" @click="handleUpdate(scope.row, 1)"
>编辑</el-button >编辑</el-button
> >
<el-button v-if="scope.row.status == 0" v-hasPermi="['system:article:edit']" link type="primary" @click="saveupdate(scope.row, 1)" <el-button v-if="scope.row.status == 0" v-hasPermi="['system:article:edit']" link type="primary" @click="saveupdate(scope.row, 1)"
>发布</el-button >发布</el-button
> >
<el-button v-if="scope.row.status == 3" v-hasPermi="['system:article:edit']" link type="primary" @click="saveupdate(scope.row, 2)" <el-button v-if="scope.row.status == 3" v-hasPermi="['system:article:edit']" link type="primary" @click="saveupdate(scope.row, 2)"
>撤销发布</el-button >撤销发布</el-button
> >
<el-button <el-button
v-if="scope.row.status == 0 || scope.row.status == 1" v-if="scope.row.status == 0 || scope.row.status == 1"
@ -105,10 +105,9 @@
link link
type="primary" type="primary"
@click="handleDelete(scope.row)" @click="handleDelete(scope.row)"
>删除</el-button >删除</el-button
> >
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -502,7 +501,7 @@ const handleAdd = () => {
latitude: '' latitude: ''
}; };
Mapvaluetwo.value = { Mapvaluetwo.value = {
address:'', address: '',
longitude: '', longitude: '',
latitude: '' latitude: ''
}; };