|
@@ -3,19 +3,19 @@
|
|
|
<!--规则提示-->
|
|
|
<div class="diy_tip_bg" >
|
|
|
<el-alert class="diy-tip" type="success" :closable="false">
|
|
|
- <p><b>团队PK通过自定义档案配置、团队参与人员等。在相同积分规则内对团队进行积分对比</b></p>
|
|
|
- <p><b>PK配置流程</b></p>
|
|
|
- <li class="headLi">指定档案在哪些积分规则分类或者积分规则内有效,只针对B分</li>
|
|
|
+ <p><b>团队PK通过自定义PK配置、团队参与人员等。在相同积分规则内对团队进行积分对比</b></p>
|
|
|
+ <p><b>团队配置流程</b></p>
|
|
|
+ <li class="headLi">指定PK在哪些积分规则分类或者积分规则内有效,只针对B分</li>
|
|
|
<li class="headLi">创建团队,指定参与者</li>
|
|
|
<p><b>团队积分构成</b></p>
|
|
|
- <li class="headLi">团队参与者在档案配置中积分规则内的积分总和</li>
|
|
|
+ <li class="headLi">团队参与者在团队配置中积分规则内的积分总和</li>
|
|
|
<li class="headLi">单独向团队录入的积分</li>
|
|
|
</el-alert>
|
|
|
</div>
|
|
|
<div style="background-color: #fff;padding: 20px;position: relative;" class="flex-box boxMinHeight">
|
|
|
<div class="left box-sizing-w scroll-bar" v-loading="menuLoading">
|
|
|
<div style="text-align: center; padding: 10px 0;">
|
|
|
- <el-button type="primary" @click="addDoc" v-if="!manageAble">创建档案</el-button>
|
|
|
+ <el-button type="primary" @click="addDoc" v-if="!manageAble">创建PK配置</el-button>
|
|
|
</div>
|
|
|
<el-menu v-if="docList.length > 0" :default-active="menuActive" @select="activeRouter" class="el-menu-vertical-demo" >
|
|
|
<el-menu-item v-for="(item, index) in docList" :key="index" :index="index.toString()" @click="refreshContent(item)">
|
|
@@ -29,8 +29,8 @@
|
|
|
<el-col :span="10" style="display: block;font-size: 20px; color: rgb(48,49,51); vertical-align: middle" ><h4>{{currentDoc.name}}</h4></el-col>
|
|
|
</el-row>
|
|
|
<div style="margin-bottom: 20px;margin-left: 20px;" >
|
|
|
- <el-button v-if="currentDoc" type="primary" size="small" @click="editDoc">档案配置</el-button>
|
|
|
- <el-button v-if="currentDoc" type="primary" size="small" @click="addTeam">添加团队</el-button>
|
|
|
+ <el-button v-if="currentDoc" type="primary" size="small" @click="editDoc">PK配置</el-button>
|
|
|
+ <el-button v-if="currentDoc" type="primary" size="small" @click="addTeam">新增团队</el-button>
|
|
|
</div>
|
|
|
<el-tabs v-if=" currentDoc && currentDoc.teams.length > 0 " v-model="activeTeam" type="border-card" closable @tab-remove="removeTeam" v-loading="contentLoading">
|
|
|
<el-tab-pane v-for="(team,index) in currentDoc.teams" :key="index" :name="index.toString()" :label="team.name" >
|
|
@@ -69,10 +69,10 @@
|
|
|
</div>
|
|
|
|
|
|
<!-- 创建/编辑档案 -->
|
|
|
- <el-dialog :title="isUpdateDoc ? '档案配置': '创建档案' " width="700px" top="10vh" :visible.sync="showDoc" :close-on-click-modal="false" >
|
|
|
+ <el-dialog :title="isUpdateDoc ? 'PK配置': '创建PK配置' " width="700px" top="10vh" :visible.sync="showDoc" :close-on-click-modal="false" >
|
|
|
<el-form ref="docForm" :model="docForm" :rules="docFormValidateRules" label-width="100px" @submit.native.prevent style="margin: 0 auto;">
|
|
|
- <el-form-item label="档案名" prop="name" :required="true">
|
|
|
- <el-input v-model="docForm.name" maxlength="10" auto-complete="off" show-word-limit placeholder="请输入档案名" ></el-input>
|
|
|
+ <el-form-item label="PK名" prop="name" :required="true">
|
|
|
+ <el-input v-model="docForm.name" maxlength="10" auto-complete="off" show-word-limit placeholder="请输入PK名" ></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="积分规则" :required="true" >
|
|
|
<el-select v-model="docForm.ruleType" style="margin-bottom: 6px;width: 400px;" >
|