|
|
@@ -205,7 +205,45 @@
|
|
|
</div>
|
|
|
</el-form>
|
|
|
</el-tab-pane>
|
|
|
- <el-tab-pane label="专业处室业绩评价" name="3"
|
|
|
+ <el-tab-pane label="基本条件评价" name="3">
|
|
|
+ <el-table highlight-current-row :data="entityListData3.entityList" border height="calc(100vh - 243px)" style="width: 100%" v-loading="tableLoading3">
|
|
|
+ <el-table-column
|
|
|
+ property="SequenceNo"
|
|
|
+ label="序号"
|
|
|
+ header-align="center"
|
|
|
+ align="center"
|
|
|
+ width="80">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ property="Content"
|
|
|
+ header-align="center"
|
|
|
+ label="评价项目">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ property="NormalScore"
|
|
|
+ label="标准分值"
|
|
|
+ header-align="center"
|
|
|
+ width="120">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span>{{ scope.row.NormalScore }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ property="Score"
|
|
|
+ label="实得分数"
|
|
|
+ header-align="center"
|
|
|
+ width="120">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span>{{ scope.row.Score }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ <div class="" style="display: flex;align-items: center;justify-content: flex-end;margin: 18px 0;">
|
|
|
+ <div>标准总分:{{ standardConditionNum }}分</div>
|
|
|
+ <div style="margin-left: 18px;margin-right: 140px;">实得总分:{{ getConditionNumFun() }}分</div>
|
|
|
+ </div>
|
|
|
+ </el-tab-pane>
|
|
|
+ <el-tab-pane label="专业处室业绩评价" name="4"
|
|
|
v-if="(Number(formData.Status)>=3||Number(formData.Status)<=-4) && (formData.IsBusiness != 1)">
|
|
|
<el-form ref="formEvaluation" :model="entityListData1" label-width="0px">
|
|
|
<el-table highlight-current-row :data="entityListData1.entityList" border height="calc(100vh - 243px)"
|
|
|
@@ -281,7 +319,44 @@
|
|
|
</div>
|
|
|
</el-form>
|
|
|
</el-tab-pane>
|
|
|
-
|
|
|
+ <el-tab-pane label="专业处室基本条件评价" name="5" v-if="(Number(formData.Status)>=3||Number(formData.Status)<=-4) && (formData.IsBusiness != 1)">
|
|
|
+ <el-table highlight-current-row :data="entityListData4.entityList" border height="calc(100vh - 243px)" style="width: 100%" v-loading="tableLoading4">
|
|
|
+ <el-table-column
|
|
|
+ property="SequenceNo"
|
|
|
+ label="序号"
|
|
|
+ header-align="center"
|
|
|
+ align="center"
|
|
|
+ width="80">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ property="Content"
|
|
|
+ header-align="center"
|
|
|
+ label="评价项目">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ property="NormalScore"
|
|
|
+ label="标准分值"
|
|
|
+ header-align="center"
|
|
|
+ width="120">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span>{{ scope.row.NormalScore }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ property="Score"
|
|
|
+ label="实得分数"
|
|
|
+ header-align="center"
|
|
|
+ width="120">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span>{{ scope.row.Score }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ <div class="" style="display: flex;align-items: center;justify-content: flex-end;margin: 18px 0;">
|
|
|
+ <div>标准总分:{{ standardConditionNum }}分</div>
|
|
|
+ <div style="margin-left: 18px;margin-right: 140px;">实得总分:{{ getConditionNumFun1() }}分</div>
|
|
|
+ </div>
|
|
|
+ </el-tab-pane>
|
|
|
<el-tab-pane label="审批流程" name="6" :disabled="formData.Status==0">
|
|
|
<el-card class="box-card mycard">
|
|
|
<div slot="header"
|
|
|
@@ -506,8 +581,7 @@
|
|
|
</el-form>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label="基本条件评价" name="4">
|
|
|
- <el-table highlight-current-row :data="entityListData3.entityList" border height="calc(100vh - 243px)"
|
|
|
- style="width: 100%" v-loading="tableLoading3">
|
|
|
+ <el-table highlight-current-row :data="entityListData3.entityList" border height="calc(100vh - 243px)" style="width: 100%" v-loading="tableLoading3">
|
|
|
<el-table-column
|
|
|
property="SequenceNo"
|
|
|
label="序号"
|
|
|
@@ -521,21 +595,28 @@
|
|
|
label="评价项目">
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
- property="Value"
|
|
|
- label="是否满足"
|
|
|
+ property="NormalScore"
|
|
|
+ label="标准分值"
|
|
|
header-align="center"
|
|
|
- align="center"
|
|
|
- width="100">
|
|
|
+ width="120">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button size="mini" disabled type="success" v-if="Number(scope.row.Value)>0"
|
|
|
- @click="entityListData.entityList[scope.$index].Value=0">是
|
|
|
- </el-button>
|
|
|
- <el-button size="mini" disabled type="danger" v-else
|
|
|
- @click="entityListData.entityList[scope.$index].Value=1">否
|
|
|
- </el-button>
|
|
|
+ <span>{{ scope.row.NormalScore }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ property="Score"
|
|
|
+ label="实得分数"
|
|
|
+ header-align="center"
|
|
|
+ width="120">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span>{{ scope.row.Score }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
+ <div class="" style="display: flex;align-items: center;justify-content: flex-end;margin: 18px 0;">
|
|
|
+ <div>标准总分:{{ standardConditionNum }}分</div>
|
|
|
+ <div style="margin-left: 18px;margin-right: 140px;">实得总分:{{ getConditionNumFun() }}分</div>
|
|
|
+ </div>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label="专业处室业绩评价" name="3"
|
|
|
v-if="(Number(formData.Status)>=3||Number(formData.Status)<=-4) && (formData.IsBusiness != 1)">
|
|
|
@@ -616,8 +697,7 @@
|
|
|
<el-tab-pane
|
|
|
v-if="(Number(formData.Status)>=3||Number(formData.Status)<=-4) && (formData.IsBusiness != 1)"
|
|
|
label="专业处室基本条件评价" name="5">
|
|
|
- <el-table highlight-current-row :data="entityListData4.entityList" border height="calc(100vh - 243px)"
|
|
|
- style="width: 100%" v-loading="tableLoading4">
|
|
|
+ <el-table highlight-current-row :data="entityListData4.entityList" border height="calc(100vh - 243px)" style="width: 100%" v-loading="tableLoading4">
|
|
|
<el-table-column
|
|
|
property="SequenceNo"
|
|
|
label="序号"
|
|
|
@@ -631,22 +711,28 @@
|
|
|
label="评价项目">
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
- property="Value"
|
|
|
- label="是否满足"
|
|
|
+ property="NormalScore"
|
|
|
+ label="标准分值"
|
|
|
header-align="center"
|
|
|
- align="center"
|
|
|
- width="100">
|
|
|
+ width="120">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button size="mini" disabled type="success" v-if="Number(scope.row.Value)>0"
|
|
|
- @click="entityListData.entityList[scope.$index].Value=0">是
|
|
|
- </el-button>
|
|
|
- <el-button size="mini" disabled type="danger" v-else
|
|
|
- @click="entityListData.entityList[scope.$index].Value=1">否
|
|
|
- </el-button>
|
|
|
+ <span>{{ scope.row.NormalScore }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ property="Score"
|
|
|
+ label="实得分数"
|
|
|
+ header-align="center"
|
|
|
+ width="120">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span>{{ scope.row.Score }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
-
|
|
|
+ <div class="" style="display: flex;align-items: center;justify-content: flex-end;margin: 18px 0;">
|
|
|
+ <div>标准总分:{{ standardConditionNum }}分</div>
|
|
|
+ <div style="margin-left: 18px;margin-right: 140px;">实得总分:{{ getConditionNumFun1() }}分</div>
|
|
|
+ </div>
|
|
|
</el-tab-pane>
|
|
|
|
|
|
<el-tab-pane label="审批流程" name="6" :disabled="formData.Status==0">
|
|
|
@@ -872,6 +958,44 @@
|
|
|
</div>
|
|
|
</el-form>
|
|
|
</el-tab-pane>
|
|
|
+ <el-tab-pane label="基本条件评价" name="4">
|
|
|
+ <el-table highlight-current-row :data="entityListData3.entityList" border height="calc(100vh - 243px)" style="width: 100%" v-loading="tableLoading3">
|
|
|
+ <el-table-column
|
|
|
+ property="SequenceNo"
|
|
|
+ label="序号"
|
|
|
+ header-align="center"
|
|
|
+ align="center"
|
|
|
+ width="80">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ property="Content"
|
|
|
+ header-align="center"
|
|
|
+ label="评价项目">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ property="NormalScore"
|
|
|
+ label="标准分值"
|
|
|
+ header-align="center"
|
|
|
+ width="120">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span>{{ scope.row.NormalScore }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ property="Score"
|
|
|
+ label="实得分数"
|
|
|
+ header-align="center"
|
|
|
+ width="120">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span>{{ scope.row.Score }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ <div class="" style="display: flex;align-items: center;justify-content: flex-end;margin: 18px 0;">
|
|
|
+ <div>标准总分:{{ standardConditionNum }}分</div>
|
|
|
+ <div style="margin-left: 18px;margin-right: 140px;">实得总分:{{ getConditionNumFun() }}分</div>
|
|
|
+ </div>
|
|
|
+ </el-tab-pane>
|
|
|
<el-tab-pane label="专业处室业绩评价" name="3"
|
|
|
v-if="(Number(formData.Status)>=3||Number(formData.Status)<=-4) && (formData.IsBusiness != 1)">
|
|
|
<el-form ref="formEvaluation" :model="entityListData1" label-width="0px">
|
|
|
@@ -948,6 +1072,44 @@
|
|
|
</div>
|
|
|
</el-form>
|
|
|
</el-tab-pane>
|
|
|
+ <el-tab-pane label="专业处室基本条件评价" name="5" v-if="(Number(formData.Status)>=3||Number(formData.Status)<=-4) && (formData.IsBusiness != 1)">
|
|
|
+ <el-table highlight-current-row :data="entityListData4.entityList" border height="calc(100vh - 243px)" style="width: 100%" v-loading="tableLoading4">
|
|
|
+ <el-table-column
|
|
|
+ property="SequenceNo"
|
|
|
+ label="序号"
|
|
|
+ header-align="center"
|
|
|
+ align="center"
|
|
|
+ width="80">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ property="Content"
|
|
|
+ header-align="center"
|
|
|
+ label="评价项目">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ property="NormalScore"
|
|
|
+ label="标准分值"
|
|
|
+ header-align="center"
|
|
|
+ width="120">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span>{{ scope.row.NormalScore }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ property="Score"
|
|
|
+ label="实得分数"
|
|
|
+ header-align="center"
|
|
|
+ width="120">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span>{{ scope.row.Score }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ <div class="" style="display: flex;align-items: center;justify-content: flex-end;margin: 18px 0;">
|
|
|
+ <div>标准总分:{{ standardConditionNum }}分</div>
|
|
|
+ <div style="margin-left: 18px;margin-right: 140px;">实得总分:{{ getConditionNumFun1() }}分</div>
|
|
|
+ </div>
|
|
|
+ </el-tab-pane>
|
|
|
<el-tab-pane label="审批流程" name="6" :disabled="formData.Status==0">
|
|
|
<el-card class="box-card mycard">
|
|
|
<div slot="header"
|
|
|
@@ -1040,6 +1202,32 @@ export default {
|
|
|
}
|
|
|
return num
|
|
|
}
|
|
|
+ },
|
|
|
+ getConditionNumFun: function () {
|
|
|
+ return function () {
|
|
|
+ var num = 0
|
|
|
+ var list = this.entityListData3.entityList
|
|
|
+ for (var index = 0; index < list.length; index++) {
|
|
|
+ // var code = Number(list[index].LevelCode)
|
|
|
+ if (list[index].LevelCode == 1) {
|
|
|
+ num = num + Number(list[index].Score)
|
|
|
+ }
|
|
|
+ }
|
|
|
+ return num
|
|
|
+ }
|
|
|
+ },
|
|
|
+ getConditionNumFun1: function () {
|
|
|
+ return function () {
|
|
|
+ var num = 0
|
|
|
+ var list = this.entityListData4.entityList
|
|
|
+ for (var index = 0; index < list.length; index++) {
|
|
|
+ // var code = Number(list[index].LevelCode)
|
|
|
+ if (list[index].LevelCode == 1) {
|
|
|
+ num = num + Number(list[index].Score)
|
|
|
+ }
|
|
|
+ }
|
|
|
+ return num
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
name: 'contractSelect',
|
|
|
@@ -1130,6 +1318,7 @@ export default {
|
|
|
checkBUtton: false,
|
|
|
saveButton: false,
|
|
|
standardNum: 0, // 标准分数
|
|
|
+ standardConditionNum: 0, // 标准分数
|
|
|
getNum: 0,// 实得总分
|
|
|
saveButtonForBusiness: false,
|
|
|
saveButtonForBusinessAudit: false
|
|
|
@@ -1214,10 +1403,12 @@ export default {
|
|
|
},
|
|
|
initReviewItems3 () {
|
|
|
this.tableLoading3 = true
|
|
|
+ this.standardConditionNum = 0
|
|
|
+
|
|
|
let data = {
|
|
|
ContentReviewId: this.ReviewId,
|
|
|
Category: this.formData.IsBusiness == 1 ? 2 : 0,
|
|
|
- Type: 2
|
|
|
+ Type: 3
|
|
|
}
|
|
|
api.contractEvaluationTree(data, this.$axios).then(res => {
|
|
|
this.tableLoading3 = false
|
|
|
@@ -1228,6 +1419,7 @@ export default {
|
|
|
data[index].typeStatus = index
|
|
|
data[index].Score = data[index].Score === undefined || data[index].Score === '' ? '0' : data[index].Score
|
|
|
data[index].Category = 1
|
|
|
+ this.standardConditionNum = this.standardConditionNum + parseInt(data[index].NormalScore)
|
|
|
list.push(data[index])
|
|
|
if (data[index].Son != null && data[index].Son !== undefined) {
|
|
|
for (let k = 0; k < data[index].Son.length; k++) {
|
|
|
@@ -1250,7 +1442,7 @@ export default {
|
|
|
let data = {
|
|
|
ContentReviewId: this.ReviewId,
|
|
|
Category: this.formData.IsBusiness == 1 ? 2 : 1,
|
|
|
- Type: 2
|
|
|
+ Type: 3
|
|
|
}
|
|
|
api.contractEvaluationTree(data, this.$axios).then(res => {
|
|
|
this.tableLoading4 = false
|
|
|
@@ -1389,10 +1581,8 @@ export default {
|
|
|
this.entrydetail.process = data.ProcessKey
|
|
|
this.initReviewItems()
|
|
|
this.initReviewItems1()
|
|
|
- if (this.dialogVisible2) {
|
|
|
- this.initReviewItems3()
|
|
|
- this.initReviewItems4()
|
|
|
- }
|
|
|
+ this.initReviewItems3()
|
|
|
+ this.initReviewItems4()
|
|
|
if (data.Status != 0) {
|
|
|
this.approvalProcess.disabled = false
|
|
|
} else {
|