Commit 5f13e1e4 authored by liudong1993's avatar liudong1993

1

parent 98d89f78
......@@ -96,7 +96,7 @@
ref="CourseRate"
class="col-12 q-pb-lg"
label="课程比例(%)"
:rules="[val => !!val || '请填写课程比例']"
:rules="[val => val >=0 || '请填写课程比例']"
/>
</div>
......
......@@ -94,7 +94,7 @@
<span v-if="item.CourseType == 2">不包含</span>
</td>
<td style="padding: 0 10px;">
<span v-for="( son , sIndex ) in item.CourseList">
<span v-for="( son , sIndex ) in item.CourseList" :key="sIndex">
<span v-if="sIndex<4"> {{ son.CourseName }}{{item.CourseList.length==sIndex+1?'':'、'}}</span>
</span>
<el-popover
......@@ -114,7 +114,7 @@
<span >{{ item.CourseRate + '%' }}</span>
</td>
<td style="padding: 0 10px;">
<span v-for="( son , sIndex ) in item.EmpList">
<span v-for="( son , sIndex ) in item.EmpList" :key="sIndex">
<span v-if="sIndex<8">{{ son.EmployeeName }}{{item.EmpList.length==sIndex+1?'':'、'}}</span>
</span>
<el-popover
......@@ -128,7 +128,7 @@
</el-popover>
</td>
<td style="padding: 0 10px;">
<span v-for="( son , sIndex ) in item.ChildEmpList">
<span v-for="( son , sIndex ) in item.ChildEmpList" :key="sIndex">
<span v-if="sIndex<8">{{ son.EmployeeName }}{{item.ChildEmpList.length==sIndex+1?'':'、'}}</span>
</span>
<el-popover
......@@ -307,7 +307,7 @@ export default {
//获取员工列表
getEmployeeList() {
queryEmployee({
IsLeave: 1
IsLeave: 0
}).then(res => {
this.loyeeList = res.Data;
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment