|
|
|
@ -34,7 +34,7 @@
|
|
|
|
</el-form>
|
|
|
|
</el-form>
|
|
|
|
|
|
|
|
|
|
|
|
<el-row :gutter="10" class="mb8">
|
|
|
|
<el-row :gutter="10" class="mb8">
|
|
|
|
<el-col :span="1.5">
|
|
|
|
<!-- <el-col :span="1.5">
|
|
|
|
<el-button
|
|
|
|
<el-button
|
|
|
|
type="danger"
|
|
|
|
type="danger"
|
|
|
|
plain
|
|
|
|
plain
|
|
|
|
@ -44,7 +44,7 @@
|
|
|
|
@click="handleDelete"
|
|
|
|
@click="handleDelete"
|
|
|
|
v-hasPermi="['kaohe:vote:remove']"
|
|
|
|
v-hasPermi="['kaohe:vote:remove']"
|
|
|
|
>删除</el-button>
|
|
|
|
>删除</el-button>
|
|
|
|
</el-col>
|
|
|
|
</el-col>-->
|
|
|
|
<el-col :span="1.5">
|
|
|
|
<el-col :span="1.5">
|
|
|
|
<el-button
|
|
|
|
<el-button
|
|
|
|
type="warning"
|
|
|
|
type="warning"
|
|
|
|
@ -58,11 +58,12 @@
|
|
|
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
|
|
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
|
|
<el-table v-loading="loading" :data="voteList" @selection-change="handleSelectionChange">
|
|
|
|
<!-- <el-table v-loading="loading" :data="voteList" @selection-change="handleSelectionChange">-->
|
|
|
|
<el-table-column type="selection" width="55" align="center"/>
|
|
|
|
<el-table v-loading="loading" :data="voteList" border>
|
|
|
|
|
|
|
|
<!-- <el-table-column type="selection" width="55" align="center"/>-->
|
|
|
|
<!-- <el-table-column label="主键" align="center" prop="id" width="55" fixed/>-->
|
|
|
|
<!-- <el-table-column label="主键" align="center" prop="id" width="55" fixed/>-->
|
|
|
|
<el-table-column label="考核任务名称" align="center" prop="pingceName" min-width="200" :show-overflow-tooltip="true"/>
|
|
|
|
<el-table-column label="考核任务名称" header-align="center" prop="pingceName" min-width="200" :show-overflow-tooltip="true"/>
|
|
|
|
<el-table-column label="考核项名称" align="center" prop="khitemName" min-width="200" :show-overflow-tooltip="true"/>
|
|
|
|
<el-table-column label="考核项名称" header-align="center" prop="khitemName" min-width="200" :show-overflow-tooltip="true"/>
|
|
|
|
<el-table-column label="考核项类型" align="center" prop="khitemTypeid" min-width="100">
|
|
|
|
<el-table-column label="考核项类型" align="center" prop="khitemTypeid" min-width="100">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<span v-if="scope.row.khitemTypeid===1">选项评分</span>
|
|
|
|
<span v-if="scope.row.khitemTypeid===1">选项评分</span>
|
|
|
|
@ -70,7 +71,7 @@
|
|
|
|
<span v-if="scope.row.khitemTypeid===3">单独评分</span>
|
|
|
|
<span v-if="scope.row.khitemTypeid===3">单独评分</span>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="评分主题" align="center" prop="voteTitle" min-width="200" :show-overflow-tooltip="true">
|
|
|
|
<el-table-column label="评分主题" header-align="center" prop="voteTitle" min-width="200" :show-overflow-tooltip="true">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<div v-if="scope.$index=== xzhIndex">
|
|
|
|
<div v-if="scope.$index=== xzhIndex">
|
|
|
|
<el-input v-model.trim="scope.row.voteTitle" placeholder="请输入评分主题" :disabled="scope.row.id && !(new Date(scope.row.sTime) > (new Date()))"/>
|
|
|
|
<el-input v-model.trim="scope.row.voteTitle" placeholder="请输入评分主题" :disabled="scope.row.id && !(new Date(scope.row.sTime) > (new Date()))"/>
|
|
|
|
@ -107,7 +108,7 @@
|
|
|
|
<dict-tag :options="dict.type.kh_state" :value="scope.row.state"/>
|
|
|
|
<dict-tag :options="dict.type.kh_state" :value="scope.row.state"/>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="开始时间" align="center" prop="vote" min-width="160" :show-overflow-tooltip="true">
|
|
|
|
<el-table-column label="开始时间" header-align="center" prop="vote" min-width="160" :show-overflow-tooltip="true">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<div v-if="scope.$index===xzhIndex">
|
|
|
|
<div v-if="scope.$index===xzhIndex">
|
|
|
|
<el-date-picker clearable style="width: 100%;" v-model="scope.row.sTime"
|
|
|
|
<el-date-picker clearable style="width: 100%;" v-model="scope.row.sTime"
|
|
|
|
@ -120,7 +121,7 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="结束时间" align="center" prop="vote" min-width="160" :show-overflow-tooltip="true">
|
|
|
|
<el-table-column label="结束时间" header-align="center" prop="vote" min-width="160" :show-overflow-tooltip="true">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<div v-if="scope.$index===xzhIndex">
|
|
|
|
<div v-if="scope.$index===xzhIndex">
|
|
|
|
<el-date-picker :disabled="!(new Date(scope.row.eTime) > (new Date()))"
|
|
|
|
<el-date-picker :disabled="!(new Date(scope.row.eTime) > (new Date()))"
|
|
|
|
@ -133,7 +134,7 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="评分详情描述" align="center" prop="vote" min-width="200" :show-overflow-tooltip="true">
|
|
|
|
<el-table-column label="评分详情描述" header-align="center" prop="vote" min-width="200" :show-overflow-tooltip="true">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<div v-if="scope.$index===xzhIndex">
|
|
|
|
<div v-if="scope.$index===xzhIndex">
|
|
|
|
<el-input :disabled="!(new Date(scope.row.eTime) > (new Date()))"
|
|
|
|
<el-input :disabled="!(new Date(scope.row.eTime) > (new Date()))"
|
|
|
|
@ -145,7 +146,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="备注" align="center" prop="vote" min-width="200" :show-overflow-tooltip="true">
|
|
|
|
<el-table-column label="备注" header-align="center" prop="vote" min-width="200" :show-overflow-tooltip="true">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<div v-if="scope.$index===xzhIndex">
|
|
|
|
<div v-if="scope.$index===xzhIndex">
|
|
|
|
<el-input :disabled="!(new Date(scope.row.eTime) > (new Date()))"
|
|
|
|
<el-input :disabled="!(new Date(scope.row.eTime) > (new Date()))"
|
|
|
|
@ -156,7 +157,7 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" fixed="right" width="180">
|
|
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" fixed="right" width="100">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<el-button v-if="!(scope.$index=== xzhIndex)"
|
|
|
|
<el-button v-if="!(scope.$index=== xzhIndex)"
|
|
|
|
|