路由页面修改

This commit is contained in:
曹前明 2022-10-26 22:34:32 +08:00
parent 7e8643ea4a
commit 6de65e3d78
4 changed files with 18 additions and 20 deletions

View File

@ -7,9 +7,9 @@ VUE_APP_TITLE = '曲阳金隅安全智能管控平台'
# 接口地址 # 接口地址
#VUE_APP_API_BASEURL = http://1.203.161.103:2800/api #VUE_APP_API_BASEURL = http://1.203.161.103:2800/api
#VUE_APP_WS_API = 'ws://localhost:8000' #VUE_APP_WS_API = 'ws://localhost:8000'
#VUE_APP_API_BASEURL = http://222.222.144.147:6013/api VUE_APP_API_BASEURL = http://222.222.144.147:6013/api
#VUE_APP_API_BASEURL = http://10.99.5.79:20309/api #VUE_APP_API_BASEURL = http://10.99.5.79:20309/api
VUE_APP_API_BASEURL = http://127.0.0.1:8000/api #VUE_APP_API_BASEURL = http://127.0.0.1:8000/api
#VUE_APP_BASEURL = http://127.0.0.1:8000 #VUE_APP_BASEURL = http://127.0.0.1:8000

View File

@ -76,7 +76,7 @@ const routes = [
"path": "/ecm", "path": "/ecm",
"meta": { "meta": {
"title": "事件", "title": "事件",
"icon": "el-icon-alarm-clock", "icon": "el-icon-camera-filled",
"type": "menu", "type": "menu",
"perms": ["ecm"] "perms": ["ecm"]
}, },
@ -150,7 +150,7 @@ const routes = [
"name": "opm", "name": "opm",
"path": "/opm", "path": "/opm",
"meta": { "meta": {
"title": "作业", "title": "风控",
"icon": "el-icon-list", "icon": "el-icon-list",
"type": "menu", "type": "menu",
"perms": ["opm"] "perms": ["opm"]
@ -711,7 +711,7 @@ const routes = [
"path": "/ops", "path": "/ops",
"meta": { "meta": {
"title": "运维", "title": "运维",
"icon": "el-icon-wallet-filled", "icon": "el-icon-briefcase",
"type": "menu", "type": "menu",
"perms": ["ops"] "perms": ["ops"]
}, },

View File

@ -70,7 +70,7 @@
type="index" type="index"
width="50" width="50"
></el-table-column> --> ></el-table-column> -->
<el-table-column label="许可证" prop="opls" width="160"> <el-table-column label="许可证" prop="opls" width="200" :show-overflow-tooltip="true" fixed="left">
<template #default="scope"> <template #default="scope">
<el-tag <el-tag
v-for="item in scope.row.cates_" v-for="item in scope.row.cates_"
@ -84,26 +84,27 @@
label="作业简介" label="作业简介"
prop="name" prop="name"
width="200" width="200"
:show-overflow-tooltip="true"
></el-table-column> ></el-table-column>
<el-table-column label="作业状态" prop="state"> <el-table-column label="作业状态" prop="state">
<template #default="scope">{{ <template #default="scope">{{
stateoptions[scope.row.state] stateoptions[scope.row.state]
}}</template> }}</template>
</el-table-column> </el-table-column>
<el-table-column label="生产状态" prop="state_work"></el-table-column> <el-table-column label="创建时间" prop="create_time" width="150"></el-table-column>
<el-table-column label="作业区域" <el-table-column label="作业区域" width="100"
><template #default="scope"> ><template #default="scope">
{{ scope.row.area_.name }} {{ scope.row.area_.name }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="预计开始" prop="start_time"></el-table-column> <el-table-column label="预计开始" prop="start_time" width="150"></el-table-column>
<el-table-column label="预计结束" prop="end_time"></el-table-column> <el-table-column label="预计结束" prop="end_time" width="150"></el-table-column>
<el-table-column label="属地部门" prop="dept_ter" <el-table-column label="属地部门" prop="dept_ter" width="100"
><template #default="scope"> ><template #default="scope">
{{ scope.row.dept_ter_.name }} {{ scope.row.dept_ter_.name }}
</template></el-table-column </template></el-table-column
> >
<el-table-column label="业务部门" prop="dept_bus" <el-table-column label="业务部门" prop="dept_bus" width="100"
><template #default="scope"> ><template #default="scope">
{{ scope.row.dept_bus_.name }} {{ scope.row.dept_bus_.name }}
</template></el-table-column </template></el-table-column
@ -113,8 +114,7 @@
{{ scope.row.create_by_.name }} {{ scope.row.create_by_.name }}
</template></el-table-column </template></el-table-column
> >
<el-table-column label="创建时间" prop="create_time"></el-table-column> <el-table-column label="操作" fixed="right" align="left" width="180">
<el-table-column label="操作" fixed="right" align="center" width="180">
<template #default="scope"> <template #default="scope">
<el-button <el-button
link link

View File

@ -60,7 +60,7 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="预计开始" prop="start_time" width="150"></el-table-column> <el-table-column label="预计开始" prop="start_time" width="150"></el-table-column>
<el-table-column label="作业部门" prop="dept_do"><template #default="scope"> <el-table-column label="作业部门" prop="dept_do" width="150" :show-overflow-tooltip="true"><template #default="scope">
{{ scope.row.dept_do_.name }} {{ scope.row.dept_do_.name }}
</template></el-table-column> </template></el-table-column>
<el-table-column label="作业负责人" prop="charger"><template #default="scope"> <el-table-column label="作业负责人" prop="charger"><template #default="scope">
@ -70,15 +70,13 @@
{{ scope.row.monitor_.name }} {{ scope.row.monitor_.name }}
</template></el-table-column> </template></el-table-column>
<el-table-column label="操作" fixed="right" width="80"> <el-table-column label="操作" fixed="right" width="100">
<template #default="scope"> <template #default="scope">
<el-button-group> <el-button link type="primary" size="small" @click="table_show(scope.row, scope.$index)">查看
<el-button text type="primary" size="small" @click="table_show(scope.row, scope.$index)">查看
</el-button> </el-button>
<el-button v-if="operationObj.state === 10" text type="warning" size="small" v-auth="'opl.update'" <el-button v-if="operationObj.state === 10" link type="warning" size="small" v-auth="'opl.update'"
@click="table_edit(scope.row, scope.$index)">编辑 @click="table_edit(scope.row, scope.$index)">编辑
</el-button> </el-button>
</el-button-group>
</template> </template>
</el-table-column> </el-table-column>
</scTable> </scTable>