|
|
@@ -20,25 +20,29 @@
|
|
|
<el-table-column prop="label" label="二级指标" min-width="35" align="center"> </el-table-column>
|
|
|
<el-table-column prop="sub" label="评定项目和要求" min-width="120" show-overflow-tooltip> </el-table-column>
|
|
|
<el-table-column prop="score" label="分值" min-width="20" align="center"> </el-table-column>
|
|
|
- <el-table-column prop="score" label="评分" min-width="20" align="center"> </el-table-column>
|
|
|
+ <el-table-column prop="score" label="评分" min-width="20" align="center">
|
|
|
+ <template slot-scope="{ row }">
|
|
|
+ {{ rateInfo[row.value] }}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
</el-table>
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
|
import { mapState } from 'vuex';
|
|
|
-import pageableTable from '@/mixins/pageableTable';
|
|
|
import expert from '@/mixins/expert';
|
|
|
|
|
|
export default {
|
|
|
name: 'GradeRuleList',
|
|
|
- mixins: [pageableTable, expert],
|
|
|
+ mixins: [expert],
|
|
|
data() {
|
|
|
return {
|
|
|
multipleMode: false,
|
|
|
search: '',
|
|
|
downloading: false,
|
|
|
spanArr: [],
|
|
|
- tableHeight1: 200
|
|
|
+ tableHeight1: 600,
|
|
|
+ rateInfo: {}
|
|
|
};
|
|
|
},
|
|
|
computed: {
|
|
|
@@ -47,7 +51,21 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
|
- this.tableHeight1 = document.querySelector('.el-table').getBoundingClientRect().height;
|
|
|
+ this.$http
|
|
|
+ .post(
|
|
|
+ '/rateExpertAudit/all',
|
|
|
+ {
|
|
|
+ query: {
|
|
|
+ rateId: this.$route.query.id
|
|
|
+ }
|
|
|
+ },
|
|
|
+ { body: 'json' }
|
|
|
+ )
|
|
|
+ .then(res => {
|
|
|
+ if (!res.empty) {
|
|
|
+ this.rateInfo = res.content[0];
|
|
|
+ }
|
|
|
+ });
|
|
|
},
|
|
|
methods: {
|
|
|
beforeGetData() {
|
|
|
@@ -153,4 +171,14 @@ export default {
|
|
|
}
|
|
|
};
|
|
|
</script>
|
|
|
-<style lang="less" scoped></style>
|
|
|
+<style lang="less" scoped>
|
|
|
+.list-view {
|
|
|
+ height: 680px;
|
|
|
+}
|
|
|
+
|
|
|
+/deep/ .el-table {
|
|
|
+ &::before {
|
|
|
+ content: none;
|
|
|
+ }
|
|
|
+}
|
|
|
+</style>
|