|
|
|
@ -20,9 +20,9 @@ |
|
|
|
</el-form> |
|
|
|
<div style="width: 100%;height: 100%;display: flex;justify-content: space-around" v-if="this.queryParams.groupId==0"> |
|
|
|
<div style="width: 20%;"> |
|
|
|
<div style="display: flex; flex-direction: row;justify-content: space-around;"> |
|
|
|
<div style="display: flex; flex-direction: row;justify-content: space-around;margin-bottom: 10px;"> |
|
|
|
<div style="text-align: center;font-size: 1.2vw;font-weight: bold;margin-bottom: 4%;">方向</div> |
|
|
|
<el-button style="height: 80%;" type="primary" @click="addZhyDoc('方向')" plain>新增</el-button> |
|
|
|
<el-button style="height: 80%;" type="primary" @click="addZhyDoc('方向')" plain size="mini">新增</el-button> |
|
|
|
</div> |
|
|
|
|
|
|
|
<el-table border height="700" v-loading="loading" :data="docmubanList01" > |
|
|
|
@ -47,9 +47,9 @@ |
|
|
|
</el-table> |
|
|
|
</div> |
|
|
|
<div style="width: 20%;margin-left: 5%"> |
|
|
|
<div style="display: flex; flex-direction: row;justify-content: space-around;"> |
|
|
|
<div style="display: flex; flex-direction: row;justify-content: space-around;margin-bottom: 10px;"> |
|
|
|
<div style="text-align: center;font-size: 1.2vw;font-weight: bold;margin-bottom: 4%;">作战</div> |
|
|
|
<el-button style="height: 80%;" type="primary" @click="addZhyDoc('作战')" plain>新增</el-button> |
|
|
|
<el-button style="height: 80%;" type="primary" @click="addZhyDoc('作战')" plain size="mini">新增</el-button> |
|
|
|
</div> |
|
|
|
<el-table border height="700" v-loading="loading" :data="docmubanList02" > |
|
|
|
|
|
|
|
@ -73,9 +73,9 @@ |
|
|
|
</el-table> |
|
|
|
</div> |
|
|
|
<div style="width: 20%;margin-left: 5%"> |
|
|
|
<div style="display: flex; flex-direction: row;justify-content: space-around"> |
|
|
|
<div style="display: flex; flex-direction: row;justify-content: space-around;margin-bottom: 10px;"> |
|
|
|
<div style="text-align: center;font-size: 1.2vw;font-weight: bold;margin-bottom: 4%;">装备</div> |
|
|
|
<el-button style="height: 80%;" type="primary" @click="addZhyDoc('装备')" plain>新增</el-button> |
|
|
|
<el-button style="height: 80%;" type="primary" @click="addZhyDoc('装备')" plain size="mini">新增</el-button> |
|
|
|
</div> |
|
|
|
<el-table border height="700" v-loading="loading" :data="docmubanList03" > |
|
|
|
|
|
|
|
@ -99,9 +99,9 @@ |
|
|
|
</el-table> |
|
|
|
</div> |
|
|
|
<div style="width: 20%;margin-left: 5%"> |
|
|
|
<div style="display: flex; flex-direction: row;justify-content: space-around"> |
|
|
|
<div style="display: flex; flex-direction: row;justify-content: space-around;margin-bottom: 10px;"> |
|
|
|
<div style="text-align: center;font-size: 1.2vw;font-weight: bold;margin-bottom: 4%;">环境</div> |
|
|
|
<el-button style="height: 80%;" type="primary" @click="addZhyDoc('环境')" plain>新增</el-button> |
|
|
|
<el-button style="height: 80%;" type="primary" @click="addZhyDoc('环境')" plain size="mini">新增</el-button> |
|
|
|
</div> |
|
|
|
<el-table border height="700" v-loading="loading" :data="docmubanList04" > |
|
|
|
|
|
|
|
@ -128,8 +128,11 @@ |
|
|
|
|
|
|
|
</div> |
|
|
|
<div style="width: 100%;height: 100%;display: flex;justify-content: space-around" v-if="this.queryParams.groupId==1"> |
|
|
|
<div style="width: 15%;"> |
|
|
|
<div style="text-align: center;font-size: 1.2vw;font-weight: bold;margin-bottom: 4%;">业务系统</div> |
|
|
|
<div style="width: 20%;"> |
|
|
|
<div style="display: flex; flex-direction: row;justify-content: space-around;margin-bottom: 10px;"> |
|
|
|
<div style="text-align: center;font-size: 1.2vw;font-weight: bold;margin-bottom: 4%;">业务系统</div> |
|
|
|
<el-button style="height: 80%;" type="primary" @click="addZhyDoc('业务系统')" plain size="mini">新增</el-button> |
|
|
|
</div> |
|
|
|
<el-table border height="700" v-loading="loading" :data="docmubanList11" > |
|
|
|
|
|
|
|
<el-table-column label="内容" align="center" prop="text" /> |
|
|
|
@ -151,8 +154,12 @@ |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</div> |
|
|
|
<div style="width: 15%;margin-left: 5%"> |
|
|
|
<div style="text-align: center;font-size: 1.2vw;font-weight: bold;margin-bottom: 4%;">模型库</div> |
|
|
|
<div style="width: 20%;margin-left: 5%"> |
|
|
|
<div style="display: flex; flex-direction: row;justify-content: space-around;margin-bottom: 10px;"> |
|
|
|
<div style="text-align: center;font-size: 1.2vw;font-weight: bold;margin-bottom: 4%;">模型库</div> |
|
|
|
<el-button style="height: 80%;" type="primary" @click="addZhyDoc('模型库')" plain size="mini">新增</el-button> |
|
|
|
</div> |
|
|
|
|
|
|
|
<el-table border height="700" v-loading="loading" :data="docmubanList12" > |
|
|
|
|
|
|
|
<el-table-column label="内容" align="center" prop="text" /> |
|
|
|
@ -174,31 +181,35 @@ |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</div> |
|
|
|
<div style="width: 15%;margin-left: 5%"> |
|
|
|
<div style="text-align: center;font-size: 1.2vw;font-weight: bold;margin-bottom: 4%;">规则库</div> |
|
|
|
<el-table border height="700" v-loading="loading" :data="docmubanList13" > |
|
|
|
<!-- <div style="width: 15%;margin-left: 5%">--> |
|
|
|
<!-- <div style="text-align: center;font-size: 1.2vw;font-weight: bold;margin-bottom: 4%;">规则库</div>--> |
|
|
|
<!-- <el-table border height="700" v-loading="loading" :data="docmubanList13" >--> |
|
|
|
|
|
|
|
<!-- <el-table-column label="内容" align="center" prop="text" />--> |
|
|
|
<!-- <el-table-column label="操作" align="center" class-name="small-padding fixed-width">--> |
|
|
|
<!-- <template slot-scope="scope">--> |
|
|
|
<!-- <el-button--> |
|
|
|
<!-- size="mini"--> |
|
|
|
<!-- type="text"--> |
|
|
|
<!-- icon="el-icon-edit"--> |
|
|
|
<!-- @click="handleUpdate(scope.row)"--> |
|
|
|
<!-- >修改</el-button>--> |
|
|
|
<!-- <el-button--> |
|
|
|
<!-- size="mini"--> |
|
|
|
<!-- type="text"--> |
|
|
|
<!-- icon="el-icon-delete"--> |
|
|
|
<!-- @click="handleDelete(scope.row)"--> |
|
|
|
<!-- >删除</el-button>--> |
|
|
|
<!-- </template>--> |
|
|
|
<!-- </el-table-column>--> |
|
|
|
<!-- </el-table>--> |
|
|
|
<!-- </div>--> |
|
|
|
<div style="width: 20%;margin-left: 5%"> |
|
|
|
<div style="display: flex; flex-direction: row;justify-content: space-around;margin-bottom: 10px;"> |
|
|
|
<div style="text-align: center;font-size: 1.2vw;font-weight: bold;margin-bottom: 4%;">大类</div> |
|
|
|
<el-button style="height: 80%;" type="primary" @click="addZhyDoc('大类')" plain size="mini">新增</el-button> |
|
|
|
</div> |
|
|
|
|
|
|
|
<el-table-column label="内容" align="center" prop="text" /> |
|
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-button |
|
|
|
size="mini" |
|
|
|
type="text" |
|
|
|
icon="el-icon-edit" |
|
|
|
@click="handleUpdate(scope.row)" |
|
|
|
>修改</el-button> |
|
|
|
<el-button |
|
|
|
size="mini" |
|
|
|
type="text" |
|
|
|
icon="el-icon-delete" |
|
|
|
@click="handleDelete(scope.row)" |
|
|
|
>删除</el-button> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</div> |
|
|
|
<div style="width: 15%;margin-left: 5%"> |
|
|
|
<div style="text-align: center;font-size: 1.2vw;font-weight: bold;margin-bottom: 4%;">大类</div> |
|
|
|
<el-table border height="700" v-loading="loading" :data="docmubanList14" > |
|
|
|
|
|
|
|
<el-table-column label="内容" align="center" prop="text" /> |
|
|
|
@ -220,8 +231,12 @@ |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</div> |
|
|
|
<div style="width: 15%;margin-left: 5%"> |
|
|
|
<div style="text-align: center;font-size: 1.2vw;font-weight: bold;margin-bottom: 4%;">小类</div> |
|
|
|
<div style="width: 20%;margin-left: 5%"> |
|
|
|
<div style="display: flex; flex-direction: row;justify-content: space-around;margin-bottom: 10px;"> |
|
|
|
<div style="text-align: center;font-size: 1.2vw;font-weight: bold;margin-bottom: 4%;">小类</div> |
|
|
|
<el-button style="height: 80%;" type="primary" @click="addZhyDoc('小类')" plain size="mini">新增</el-button> |
|
|
|
</div> |
|
|
|
|
|
|
|
<el-table border height="700" v-loading="loading" :data="docmubanList15" > |
|
|
|
|
|
|
|
<el-table-column label="内容" align="center" prop="text" /> |
|
|
|
@ -248,7 +263,10 @@ |
|
|
|
</div> |
|
|
|
<div style="width: 100%;height: 100%;display: flex;justify-content: space-around" v-if="this.queryParams.groupId==2"> |
|
|
|
<div style="width: 30%;"> |
|
|
|
<div style="text-align: center;font-size: 1.2vw;font-weight: bold;margin-bottom: 4%;">模型</div> |
|
|
|
<div style="display: flex; flex-direction: row;justify-content: space-around;margin-bottom: 10px;"> |
|
|
|
<div style="text-align: center;font-size: 1.2vw;font-weight: bold;margin-bottom: 4%;">模型</div> |
|
|
|
<el-button style="height: 80%;" type="primary" @click="addZhyDoc('模型')" plain size="mini">新增</el-button> |
|
|
|
</div> |
|
|
|
<el-table border height="700" v-loading="loading" :data="docmubanList21" > |
|
|
|
|
|
|
|
<el-table-column label="内容" align="center" prop="text" /> |
|
|
|
@ -271,7 +289,10 @@ |
|
|
|
</el-table> |
|
|
|
</div> |
|
|
|
<div style="width: 30%;margin-left: 5%"> |
|
|
|
<div style="text-align: center;font-size: 1.2vw;font-weight: bold;margin-bottom: 4%;">指标</div> |
|
|
|
<div style="display: flex; flex-direction: row;justify-content: space-around;margin-bottom: 10px;"> |
|
|
|
<div style="text-align: center;font-size: 1.2vw;font-weight: bold;margin-bottom: 4%;">指标</div> |
|
|
|
<el-button style="height: 80%;" type="primary" @click="addZhyDoc('指标')" plain size="mini">新增</el-button> |
|
|
|
</div> |
|
|
|
<el-table border height="700" v-loading="loading" :data="docmubanList22" > |
|
|
|
|
|
|
|
<el-table-column label="内容" align="center" prop="text" /> |
|
|
|
@ -379,7 +400,7 @@ export default { |
|
|
|
}, |
|
|
|
{ |
|
|
|
key:1, |
|
|
|
text:"业务系统-模型库-规则库-大类-小类" |
|
|
|
text:"业务系统-模型库-大类-小类" |
|
|
|
}, |
|
|
|
{ |
|
|
|
key:2, |
|
|
|
@ -507,7 +528,6 @@ export default { |
|
|
|
if(this.queryParams.groupId==1){ |
|
|
|
this.docmubanList11 = grouped["业务系统"] || []; |
|
|
|
this.docmubanList12 = grouped["模型库"] || []; |
|
|
|
this.docmubanList13 = grouped["规则库"] || []; |
|
|
|
this.docmubanList14 = grouped["大类"] || []; |
|
|
|
this.docmubanList15 = grouped["小类"] || []; |
|
|
|
} |
|
|
|
@ -537,7 +557,7 @@ export default { |
|
|
|
|
|
|
|
this.form.groupId = 0; |
|
|
|
} |
|
|
|
if(this.form.type == "业务系统" || this.form.type == "模型库" || this.form.type == "规则库" || this.form.type == "大类" || this.form.type == "小类"){ |
|
|
|
if(this.form.type == "业务系统" || this.form.type == "模型库" || this.form.type == "大类" || this.form.type == "小类"){ |
|
|
|
this.form.groupId = 1; |
|
|
|
} |
|
|
|
if(this.form.type == "模型" || this.form.type == "指标"){ |
|
|
|
|