fix:去除角色管理的修改按钮,大屏线段接口增加参数

This commit is contained in:
SunTao 2024-12-20 16:56:41 +08:00
parent c16b4e72eb
commit fb2053ee4f
2 changed files with 8 additions and 5 deletions

View File

@ -2,7 +2,7 @@
* @Author: SunTao 328867980@qq.com * @Author: SunTao 328867980@qq.com
* @Date: 2024-10-17 11:34:00 * @Date: 2024-10-17 11:34:00
* @LastEditors: SunTao 328867980@qq.com * @LastEditors: SunTao 328867980@qq.com
* @LastEditTime: 2024-12-20 11:54:55 * @LastEditTime: 2024-12-20 14:31:34
* @FilePath: \znxjxt-ui\src\views\big-screen\index.vue * @FilePath: \znxjxt-ui\src\views\big-screen\index.vue
* @Description: 大屏首页 * @Description: 大屏首页
--> -->
@ -1047,7 +1047,10 @@ export default {
this.markLayerLines = null; this.markLayerLines = null;
}); });
} }
mapPciList().then(({ code, data }) => { mapPciList({
companyId: this.companyId,
defectType: this.mapCareSelect,
}).then(({ code, data }) => {
// if (code === 200 && data) { // if (code === 200 && data) {
// this.lineString = data.filter((item) => item.coordinates !== null); // this.lineString = data.filter((item) => item.coordinates !== null);
// this.drawLine(); // this.drawLine();

View File

@ -62,7 +62,7 @@
v-hasPermi="['system:role:add']" v-hasPermi="['system:role:add']"
>新增</el-button> >新增</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <!-- <el-col :span="1.5">
<el-button <el-button
type="success" type="success"
plain plain
@ -72,7 +72,7 @@
@click="handleUpdate" @click="handleUpdate"
v-hasPermi="['system:role:edit']" v-hasPermi="['system:role:edit']"
>修改</el-button> >修改</el-button>
</el-col> </el-col> -->
<el-col :span="1.5"> <el-col :span="1.5">
<el-button <el-button
type="danger" type="danger"