|
|
|
@ -1,6 +1,7 @@ |
|
|
|
|
<template> |
|
|
|
|
<div> |
|
|
|
|
<el-card shadow="hover" class="mgb20"> |
|
|
|
|
<el-card shadow="hover" |
|
|
|
|
class="mgb20"> |
|
|
|
|
<div> |
|
|
|
|
<div class="flex-center mgb20"> |
|
|
|
|
<p class="hr_tag"></p> |
|
|
|
@ -11,27 +12,37 @@ |
|
|
|
|
<div> |
|
|
|
|
<el-col :span="4"> |
|
|
|
|
<el-form-item label="系统归属"> |
|
|
|
|
<el-select v-model="systemAttribution" clearable placeholder="请选择系统归属" |
|
|
|
|
<el-select v-model="systemAttribution" |
|
|
|
|
clearable |
|
|
|
|
placeholder="请选择系统归属" |
|
|
|
|
@change="initData"> |
|
|
|
|
<el-option v-for="(item,index) in systemBelongList" :key="index" |
|
|
|
|
:label="item.label" :value="item.value"></el-option> |
|
|
|
|
<el-option v-for="(item,index) in systemBelongList" |
|
|
|
|
:key="index" |
|
|
|
|
:label="item.label" |
|
|
|
|
:value="item.value"></el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="4"> |
|
|
|
|
<el-form-item label="系统类型"> |
|
|
|
|
<el-select v-model="systemType" clearable placeholder="请选择系统类型" |
|
|
|
|
<el-select v-model="systemType" |
|
|
|
|
clearable |
|
|
|
|
placeholder="请选择系统类型" |
|
|
|
|
@change="initData"> |
|
|
|
|
<el-option v-for="(item,index) in systemTypeList" :key="index" |
|
|
|
|
:label="item.label" :value="item.value"></el-option> |
|
|
|
|
<el-option v-for="(item,index) in systemTypeList" |
|
|
|
|
:key="index" |
|
|
|
|
:label="item.label" |
|
|
|
|
:value="item.value"></el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
</div> |
|
|
|
|
<el-col :span="6"> |
|
|
|
|
<el-form-item> |
|
|
|
|
<el-input placeholder="请输入系统名称" prefix-icon="el-icon-search" |
|
|
|
|
v-model.trim="systemSearch" clearable></el-input> |
|
|
|
|
<el-input placeholder="请输入系统名称" |
|
|
|
|
prefix-icon="el-icon-search" |
|
|
|
|
v-model.trim="systemSearch" |
|
|
|
|
clearable></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
</el-form> |
|
|
|
@ -39,51 +50,83 @@ |
|
|
|
|
</div> |
|
|
|
|
</el-card> |
|
|
|
|
|
|
|
|
|
<el-card shadow="hover" class="card"> |
|
|
|
|
<el-card shadow="hover" |
|
|
|
|
class="card"> |
|
|
|
|
<div class="flex-center mgb20"> |
|
|
|
|
<p class="hr_tag"></p> |
|
|
|
|
<span>服务列表</span> |
|
|
|
|
</div> |
|
|
|
|
<el-table :data="systemData" class="table" stripe header-align="center"> |
|
|
|
|
<el-table :data="systemData" |
|
|
|
|
class="table" |
|
|
|
|
stripe |
|
|
|
|
header-align="center"> |
|
|
|
|
<!-- <el-table-column type="selection" width="55" align="center"></el-table-column> --> |
|
|
|
|
<el-table-column type="index" width="100" label="序号" align="center"> |
|
|
|
|
<el-table-column type="index" |
|
|
|
|
width="100" |
|
|
|
|
label="序号" |
|
|
|
|
align="center"> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="systemName" label="系统名称" align="center"></el-table-column> |
|
|
|
|
<el-table-column prop="type" label="系统类型" align="center"> |
|
|
|
|
<el-table-column prop="systemName" |
|
|
|
|
label="系统名称" |
|
|
|
|
align="center"></el-table-column> |
|
|
|
|
<el-table-column prop="type" |
|
|
|
|
label="系统类型" |
|
|
|
|
align="center"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
{{ systemTypeKeys[scope.row.type] }} |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="supplierName" label="供应商" align="center"></el-table-column> |
|
|
|
|
<el-table-column prop="belong" label="系统归属" align="center"> |
|
|
|
|
<el-table-column prop="supplierName" |
|
|
|
|
label="供应商" |
|
|
|
|
align="center"></el-table-column> |
|
|
|
|
<el-table-column prop="belong" |
|
|
|
|
label="系统归属" |
|
|
|
|
align="center"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
{{ systemBelongKeys[scope.row.belong] }} |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="state" label="系统状态" align="center"> |
|
|
|
|
<el-table-column prop="state" |
|
|
|
|
label="系统状态" |
|
|
|
|
align="center"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
{{ systemStatusKeys[scope.row.state] }} |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="payamount" label="系统后台" align="center"> |
|
|
|
|
<el-table-column prop="payamount" |
|
|
|
|
label="系统后台" |
|
|
|
|
align="center"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<el-button type="text" @click="toBackstage(scope.row)" v-if="scope.row.systemId !== '11'" v-auth="'/configure:系统后台进入'">进入</el-button> |
|
|
|
|
<el-button type="text" |
|
|
|
|
@click="toBackstage(scope.row)" |
|
|
|
|
v-if="scope.row.systemId !== '11'" |
|
|
|
|
v-auth="'/configure:系统后台进入'">进入</el-button> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="payamount" label="项目系统" align="center"> |
|
|
|
|
<el-table-column prop="payamount" |
|
|
|
|
label="项目系统" |
|
|
|
|
align="center"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<el-button type="text" @click="getIntoProject(scope.row)" v-auth="'/configure:项目系统进入'">进入</el-button> |
|
|
|
|
<el-button type="text" |
|
|
|
|
@click="getIntoProject(scope.row)" |
|
|
|
|
v-auth="'/configure:项目系统进入'">进入</el-button> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="payamount" label="判分系统" align="center"> |
|
|
|
|
<el-table-column prop="payamount" |
|
|
|
|
label="判分系统" |
|
|
|
|
align="center"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<el-button type="text" @click="getIntoJudgement(scope.row)" v-auth="'/configure:判分系统进入'">进入</el-button> |
|
|
|
|
<el-button type="text" |
|
|
|
|
@click="getIntoJudgement(scope.row)" |
|
|
|
|
v-auth="'/configure:判分系统进入'">进入</el-button> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
</el-table> |
|
|
|
|
<div class="pagination"> |
|
|
|
|
<el-pagination background @current-change="handleCurrentChange" |
|
|
|
|
layout="total, prev, pager, next" :total="totals"> |
|
|
|
|
<el-pagination background |
|
|
|
|
@current-change="handleCurrentChange" |
|
|
|
|
layout="total, prev, pager, next" |
|
|
|
|
:total="totals"> |
|
|
|
|
</el-pagination> |
|
|
|
|
</div> |
|
|
|
|
</el-card> |
|
|
|
@ -92,6 +135,7 @@ |
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
|
import Setting from "@/setting"; |
|
|
|
|
import Cookie from 'js-cookie' |
|
|
|
|
export default { |
|
|
|
|
data () { |
|
|
|
|
return { |
|
|
|
@ -182,7 +226,11 @@ export default { |
|
|
|
|
}, |
|
|
|
|
// 进入系统后台 |
|
|
|
|
toBackstage (row) { |
|
|
|
|
if (row.systemId == 19) { |
|
|
|
|
location.href = `${Setting.sandPath}/#/config?token=${sessionStorage.getItem('token')}&referrer=${encodeURIComponent(location.href)}` |
|
|
|
|
} else { |
|
|
|
|
this.$router.push(`/backstage?systemId=${row.systemId}&show=1&name=${row.systemName}`) |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
getIntoProject (row) { |
|
|
|
|
this.$router.push(`/projectList?systemId=${row.systemId}&show=1&name=${row.systemName}`) |
|
|
|
|