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
type="primary"
@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
>发布</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
>撤销发布</el-button
>
<el-button
v-if="scope.row.status == 0 || scope.row.status == 1"
@ -105,10 +105,9 @@
link
type="primary"
@click="handleDelete(scope.row)"
>删除</el-button
>删除</el-button
>
</div>
</template>
</el-table-column>
</el-table>
@ -502,7 +501,7 @@ const handleAdd = () => {
latitude: ''
};
Mapvaluetwo.value = {
address:'',
address: '',
longitude: '',
latitude: ''
};