|
|
@@ -143,27 +143,155 @@
|
|
|
</el-card>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label="业绩评价" name="2">
|
|
|
- <evaluation-list ref="evaluation_list_one" :evaluateId="formData.Id" category="0" v-if="contractData.ContractClass"
|
|
|
- :ContractClass="contractData.ContractClass"
|
|
|
- :isBusiness="isBusiness"
|
|
|
- :disabledForm="auditBtnBoolean"></evaluation-list>
|
|
|
- </el-tab-pane>
|
|
|
- <el-tab-pane label="基本条件评价" name="4" v-if="contractData.ContractClass=='02'">
|
|
|
- <base-list ref="evaluation_listType_one" :evaluateId="formData.Id" category="0"
|
|
|
- :ContractClass="contractData.ContractClass" :disabledForm="auditBtnBoolean"></base-list>
|
|
|
+ <el-form ref="formEvaluation" :model="entityListData" label-width="0px">
|
|
|
+ <el-table highlight-current-row :data="entityListData.entityList" border height="calc(100vh - 243px)"
|
|
|
+ style="width: 100%" v-loading="tableLoading">
|
|
|
+ <el-table-column
|
|
|
+ property="SequenceNo"
|
|
|
+ label="序号"
|
|
|
+ header-align="center"
|
|
|
+ width="80">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span v-if="scope.row.LevelCode==1" style="font-weight: bold">{{ scope.row.SequenceNo }}</span>
|
|
|
+ <span v-else>{{ scope.row.SequenceNo }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ property="Content"
|
|
|
+ header-align="center"
|
|
|
+ label="评价内容">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span v-if="scope.row.LevelCode==1" style="font-weight: bold">{{ scope.row.Content }}</span>
|
|
|
+ <span v-else>{{ scope.row.Content }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ property="NormalScore"
|
|
|
+ label="标准分值"
|
|
|
+ header-align="center"
|
|
|
+ width="120">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span v-if="scope.row.LevelCode==1" style="font-weight: bold">{{ scope.row.NormalScore }}</span>
|
|
|
+ <span v-else-if="scope.row.NormalScore==0" style="font-weight: bold"></span>
|
|
|
+ <span v-else>{{ scope.row.NormalScore }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ property="Score"
|
|
|
+ label="实得分数"
|
|
|
+ header-align="center"
|
|
|
+ width="120">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-form-item style="margin-bottom: 0px;" :prop="'entityList.' + scope.$index + '.Score'"
|
|
|
+ >
|
|
|
+ <span v-if="scope.row.LevelCode==1"
|
|
|
+ style="font-weight: bold">{{ scoreFun(scope.row.typeStatus, scope.$index) }}</span>
|
|
|
+ <el-input v-else size="mini" :min="0" :max="scope.row.NormalScore" type="number" placeholder="实得分数"
|
|
|
+ disabled v-model="scope.row.Score"
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ property="Reason"
|
|
|
+ label="扣分原因"
|
|
|
+ header-align="center"
|
|
|
+ width="120"
|
|
|
+ align="center">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-popover
|
|
|
+ placement="top-start"
|
|
|
+ title="原因"
|
|
|
+ width="200"
|
|
|
+ trigger="hover"
|
|
|
+ :content="scope.row.Remark==''||scope.row.Remark==null?'空':scope.row.Remark" v-if="scope.row.LevelCode!=1">
|
|
|
+ <el-button slot="reference" type="primary" icon="el-icon-edit" size="mini">编辑
|
|
|
+ </el-button>
|
|
|
+ </el-popover>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ <div class="" style="display: flex;align-items: center;justify-content: flex-end;margin: 18px 0;">
|
|
|
+ <div>标准总分:{{ standardNum }}分</div>
|
|
|
+ <div style="margin-left: 18px;margin-right: 140px;">实得总分:{{ getNumFun() }}分</div>
|
|
|
+ </div>
|
|
|
+ </el-form>
|
|
|
</el-tab-pane>
|
|
|
- <!-- v-if="formData.Status=='4'||Number(formData.Status)>4" -->
|
|
|
<el-tab-pane label="专业处室业绩评价" name="3"
|
|
|
- v-if="(departmentBoolean||Number(formData.Status)>4||Number(formData.Status)<=-4) && (formData.IsBusiness != 1 && byBus != 1)">
|
|
|
- <evaluation-list ref="evaluation_list_two" :evaluateId="formData.Id" category="1" v-if="contractData.ContractClass"
|
|
|
- :ContractClass="contractData.ContractClass"
|
|
|
- :disabledForm="auditBtnBooleanZhuan"></evaluation-list>
|
|
|
- </el-tab-pane>
|
|
|
- <el-tab-pane
|
|
|
- v-if="(departmentBoolean||Number(formData.Status)>4||Number(formData.Status)<=-4)&&contractData.ContractClass=='02' && (formData.IsBusiness != 1 && byBus != 1)"
|
|
|
- label="专业处室基本条件评价" name="5">
|
|
|
- <base-list ref="evaluation_listType_two" :evaluateId="formData.Id" category="1"
|
|
|
- :ContractClass="contractData.ContractClass" :disabledForm="auditBtnBooleanZhuan"></base-list>
|
|
|
+ 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)"
|
|
|
+ style="width: 100%" v-loading="tableLoading">
|
|
|
+ <el-table-column
|
|
|
+ property="SequenceNo"
|
|
|
+ label="序号"
|
|
|
+ header-align="center"
|
|
|
+ width="80">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span v-if="scope.row.LevelCode==1" style="font-weight: bold">{{ scope.row.SequenceNo }}</span>
|
|
|
+ <span v-else>{{ scope.row.SequenceNo }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ property="Content"
|
|
|
+ header-align="center"
|
|
|
+ label="评价内容">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span v-if="scope.row.LevelCode==1" style="font-weight: bold">{{ scope.row.Content }}</span>
|
|
|
+ <span v-else>{{ scope.row.Content }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ property="NormalScore"
|
|
|
+ label="标准分值"
|
|
|
+ header-align="center"
|
|
|
+ width="120">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span v-if="scope.row.LevelCode==1" style="font-weight: bold">{{ scope.row.NormalScore }}</span>
|
|
|
+ <span v-else-if="scope.row.NormalScore==0" style="font-weight: bold"></span>
|
|
|
+ <span v-else>{{ scope.row.NormalScore }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ property="Score"
|
|
|
+ label="实得分数"
|
|
|
+ header-align="center"
|
|
|
+ width="120">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-form-item style="margin-bottom: 0px;" :prop="'entityList.' + scope.$index + '.Score'"
|
|
|
+ >
|
|
|
+ <span v-if="scope.row.LevelCode==1"
|
|
|
+ style="font-weight: bold">{{ scoreFun1(scope.row.typeStatus, scope.$index) }}</span>
|
|
|
+ <el-input v-else size="mini" :min="0" :max="scope.row.NormalScore" type="number" placeholder="实得分数"
|
|
|
+ disabled v-model="scope.row.Score"
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ property="Reason"
|
|
|
+ label="扣分原因"
|
|
|
+ header-align="center"
|
|
|
+ width="120"
|
|
|
+ align="center">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-popover
|
|
|
+ placement="top-start"
|
|
|
+ title="原因"
|
|
|
+ width="200"
|
|
|
+ trigger="hover"
|
|
|
+ :content="scope.row.Remark==''||scope.row.Remark==null?'空':scope.row.Remark" v-if="scope.row.LevelCode!=1">
|
|
|
+ <el-button slot="reference" type="primary" icon="el-icon-edit" size="mini">编辑
|
|
|
+ </el-button>
|
|
|
+ </el-popover>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ <div class="" style="display: flex;align-items: center;justify-content: flex-end;margin: 18px 0;">
|
|
|
+ <div>标准总分:{{ standardNum }}分</div>
|
|
|
+ <div style="margin-left: 18px;margin-right: 140px;">实得总分:{{ getNumFun1() }}分</div>
|
|
|
+ </div>
|
|
|
+ </el-form>
|
|
|
</el-tab-pane>
|
|
|
|
|
|
<el-tab-pane label="审批流程" name="6" :disabled="formData.Status==0">
|
|
|
@@ -326,27 +454,222 @@
|
|
|
</el-card>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label="业绩评价" name="2">
|
|
|
- <evaluation-list ref="evaluation_list_one" :evaluateId="formData.Id" category="0" v-if="contractData.ContractClass"
|
|
|
- :ContractClass="contractData.ContractClass"
|
|
|
- :isBusiness="isBusiness"
|
|
|
- :disabledForm="auditBtnBoolean"></evaluation-list>
|
|
|
+ <el-form ref="formEvaluation" :model="entityListData" label-width="0px">
|
|
|
+ <el-table highlight-current-row :data="entityListData.entityList" border height="calc(100vh - 243px)"
|
|
|
+ style="width: 100%" v-loading="tableLoading">
|
|
|
+ <el-table-column
|
|
|
+ property="SequenceNo"
|
|
|
+ label="序号"
|
|
|
+ header-align="center"
|
|
|
+ width="80">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span v-if="scope.row.LevelCode==1" style="font-weight: bold">{{ scope.row.SequenceNo }}</span>
|
|
|
+ <span v-else>{{ scope.row.SequenceNo }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ property="Content"
|
|
|
+ header-align="center"
|
|
|
+ label="评价内容">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span v-if="scope.row.LevelCode==1" style="font-weight: bold">{{ scope.row.Content }}</span>
|
|
|
+ <span v-else>{{ scope.row.Content }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ property="NormalScore"
|
|
|
+ label="标准分值"
|
|
|
+ header-align="center"
|
|
|
+ width="120">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span v-if="scope.row.LevelCode==1" style="font-weight: bold">{{ scope.row.NormalScore }}</span>
|
|
|
+ <span v-else-if="scope.row.NormalScore==0" style="font-weight: bold"></span>
|
|
|
+ <span v-else>{{ scope.row.NormalScore }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ property="Score"
|
|
|
+ label="实得分数"
|
|
|
+ header-align="center"
|
|
|
+ width="120">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-form-item style="margin-bottom: 0px;" :prop="'entityList.' + scope.$index + '.Score'"
|
|
|
+ >
|
|
|
+ <span v-if="scope.row.LevelCode==1"
|
|
|
+ style="font-weight: bold">{{ scoreFun(scope.row.typeStatus, scope.$index) }}</span>
|
|
|
+ <el-input v-else size="mini" :min="0" :max="scope.row.NormalScore" type="number" placeholder="实得分数"
|
|
|
+ disabled v-model="scope.row.Score"
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ property="Reason"
|
|
|
+ label="扣分原因"
|
|
|
+ header-align="center"
|
|
|
+ width="120"
|
|
|
+ align="center">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-popover
|
|
|
+ placement="top-start"
|
|
|
+ title="原因"
|
|
|
+ width="200"
|
|
|
+ trigger="hover"
|
|
|
+ :content="scope.row.Remark==''||scope.row.Remark==null?'空':scope.row.Remark" v-if="scope.row.LevelCode!=1">
|
|
|
+ <el-button slot="reference" type="primary" icon="el-icon-edit" size="mini">编辑
|
|
|
+ </el-button>
|
|
|
+ </el-popover>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ <div class="" style="display: flex;align-items: center;justify-content: flex-end;margin: 18px 0;">
|
|
|
+ <div>标准总分:{{ standardNum }}分</div>
|
|
|
+ <div style="margin-left: 18px;margin-right: 140px;">实得总分:{{ getNumFun() }}分</div>
|
|
|
+ </div>
|
|
|
+ </el-form>
|
|
|
</el-tab-pane>
|
|
|
- <!-- v-if="formData.Status=='4'||Number(formData.Status)>4" -->
|
|
|
- <el-tab-pane label="基本条件评价" name="4" v-if="contractData.ContractClass=='02'">
|
|
|
- <base-list ref="evaluation_listType_one" :evaluateId="formData.Id" category="0"
|
|
|
- :ContractClass="contractData.ContractClass" :isBusiness="isBusiness" :disabledForm="auditBtnBoolean"></base-list>
|
|
|
+ <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="Value"
|
|
|
+ label="是否满足"
|
|
|
+ header-align="center"
|
|
|
+ align="center"
|
|
|
+ width="100">
|
|
|
+ <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>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label="专业处室业绩评价" name="3"
|
|
|
- v-if="(departmentBoolean||Number(formData.Status)>4||Number(formData.Status)<=-4) && (formData.IsBusiness != 1 && byBus !=1)">
|
|
|
- <evaluation-list ref="evaluation_list_two" :evaluateId="formData.Id" category="1" v-if="contractData.ContractClass"
|
|
|
- :ContractClass="contractData.ContractClass"
|
|
|
- :disabledForm="auditBtnBooleanZhuan"></evaluation-list>
|
|
|
+ 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)"
|
|
|
+ style="width: 100%" v-loading="tableLoading">
|
|
|
+ <el-table-column
|
|
|
+ property="SequenceNo"
|
|
|
+ label="序号"
|
|
|
+ header-align="center"
|
|
|
+ width="80">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span v-if="scope.row.LevelCode==1" style="font-weight: bold">{{ scope.row.SequenceNo }}</span>
|
|
|
+ <span v-else>{{ scope.row.SequenceNo }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ property="Content"
|
|
|
+ header-align="center"
|
|
|
+ label="评价内容">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span v-if="scope.row.LevelCode==1" style="font-weight: bold">{{ scope.row.Content }}</span>
|
|
|
+ <span v-else>{{ scope.row.Content }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ property="NormalScore"
|
|
|
+ label="标准分值"
|
|
|
+ header-align="center"
|
|
|
+ width="120">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span v-if="scope.row.LevelCode==1" style="font-weight: bold">{{ scope.row.NormalScore }}</span>
|
|
|
+ <span v-else-if="scope.row.NormalScore==0" style="font-weight: bold"></span>
|
|
|
+ <span v-else>{{ scope.row.NormalScore }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ property="Score"
|
|
|
+ label="实得分数"
|
|
|
+ header-align="center"
|
|
|
+ width="120">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-form-item style="margin-bottom: 0px;" :prop="'entityList.' + scope.$index + '.Score'"
|
|
|
+ >
|
|
|
+ <span v-if="scope.row.LevelCode==1"
|
|
|
+ style="font-weight: bold">{{ scoreFun1(scope.row.typeStatus, scope.$index) }}</span>
|
|
|
+ <el-input v-else size="mini" :min="0" :max="scope.row.NormalScore" type="number" placeholder="实得分数"
|
|
|
+ disabled v-model="scope.row.Score"
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ property="Reason"
|
|
|
+ label="扣分原因"
|
|
|
+ header-align="center"
|
|
|
+ width="120"
|
|
|
+ align="center">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-popover
|
|
|
+ placement="top-start"
|
|
|
+ title="原因"
|
|
|
+ width="200"
|
|
|
+ trigger="hover"
|
|
|
+ :content="scope.row.Remark==''||scope.row.Remark==null?'空':scope.row.Remark" v-if="scope.row.LevelCode!=1">
|
|
|
+ <el-button slot="reference" type="primary" icon="el-icon-edit" size="mini">编辑
|
|
|
+ </el-button>
|
|
|
+ </el-popover>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ <div class="" style="display: flex;align-items: center;justify-content: flex-end;margin: 18px 0;">
|
|
|
+ <div>标准总分:{{ standardNum }}分</div>
|
|
|
+ <div style="margin-left: 18px;margin-right: 140px;">实得总分:{{ getNumFun1() }}分</div>
|
|
|
+ </div>
|
|
|
+ </el-form>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane
|
|
|
- v-if="(departmentBoolean||Number(formData.Status)>4||Number(formData.Status)<=-4)&&contractData.ContractClass=='02' && (formData.IsBusiness != 1 && byBus != 1)"
|
|
|
+ v-if="(Number(formData.Status)>=3||Number(formData.Status)<=-4) && (formData.IsBusiness != 1)"
|
|
|
label="专业处室基本条件评价" name="5">
|
|
|
- <base-list ref="evaluation_listType_two" :evaluateId="formData.Id" category="1"
|
|
|
- :ContractClass="contractData.ContractClass" :disabledForm="auditBtnBooleanZhuan"></base-list>
|
|
|
+ <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="Value"
|
|
|
+ label="是否满足"
|
|
|
+ header-align="center"
|
|
|
+ align="center"
|
|
|
+ width="100">
|
|
|
+ <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>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+
|
|
|
</el-tab-pane>
|
|
|
|
|
|
<el-tab-pane label="审批流程" name="6" :disabled="formData.Status==0">
|
|
|
@@ -509,29 +832,156 @@
|
|
|
</el-card>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label="业绩评价" name="2">
|
|
|
- <evaluation-list ref="evaluation_list_one" :evaluateId="formData.Id" category="0" v-if="contractData.ContractClass"
|
|
|
- :ContractClass="contractData.ContractClass"
|
|
|
- :isBusiness="isBusiness"
|
|
|
- :disabledForm="auditBtnBoolean"></evaluation-list>
|
|
|
- </el-tab-pane>
|
|
|
- <el-tab-pane label="基本条件评价" name="4" v-if="contractData.ContractClass=='02'">
|
|
|
- <base-list ref="evaluation_listType_one" :evaluateId="formData.Id" category="0"
|
|
|
- :ContractClass="contractData.ContractClass" :disabledForm="auditBtnBoolean"></base-list>
|
|
|
+ <el-form ref="formEvaluation" :model="entityListData" label-width="0px">
|
|
|
+ <el-table highlight-current-row :data="entityListData.entityList" border height="calc(100vh - 243px)"
|
|
|
+ style="width: 100%" v-loading="tableLoading">
|
|
|
+ <el-table-column
|
|
|
+ property="SequenceNo"
|
|
|
+ label="序号"
|
|
|
+ header-align="center"
|
|
|
+ width="80">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span v-if="scope.row.LevelCode==1" style="font-weight: bold">{{ scope.row.SequenceNo }}</span>
|
|
|
+ <span v-else>{{ scope.row.SequenceNo }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ property="Content"
|
|
|
+ header-align="center"
|
|
|
+ label="评价内容">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span v-if="scope.row.LevelCode==1" style="font-weight: bold">{{ scope.row.Content }}</span>
|
|
|
+ <span v-else>{{ scope.row.Content }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ property="NormalScore"
|
|
|
+ label="标准分值"
|
|
|
+ header-align="center"
|
|
|
+ width="120">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span v-if="scope.row.LevelCode==1" style="font-weight: bold">{{ scope.row.NormalScore }}</span>
|
|
|
+ <span v-else-if="scope.row.NormalScore==0" style="font-weight: bold"></span>
|
|
|
+ <span v-else>{{ scope.row.NormalScore }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ property="Score"
|
|
|
+ label="实得分数"
|
|
|
+ header-align="center"
|
|
|
+ width="120">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-form-item style="margin-bottom: 0px;" :prop="'entityList.' + scope.$index + '.Score'"
|
|
|
+ >
|
|
|
+ <span v-if="scope.row.LevelCode==1"
|
|
|
+ style="font-weight: bold">{{ scoreFun(scope.row.typeStatus, scope.$index) }}</span>
|
|
|
+ <el-input v-else size="mini" :min="0" :max="scope.row.NormalScore" type="number" placeholder="实得分数"
|
|
|
+ disabled v-model="scope.row.Score"
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ property="Reason"
|
|
|
+ label="扣分原因"
|
|
|
+ header-align="center"
|
|
|
+ width="120"
|
|
|
+ align="center">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-popover
|
|
|
+ placement="top-start"
|
|
|
+ title="原因"
|
|
|
+ width="200"
|
|
|
+ trigger="hover"
|
|
|
+ :content="scope.row.Remark==''||scope.row.Remark==null?'空':scope.row.Remark" v-if="scope.row.LevelCode!=1">
|
|
|
+ <el-button slot="reference" type="primary" icon="el-icon-edit" size="mini">编辑
|
|
|
+ </el-button>
|
|
|
+ </el-popover>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ <div class="" style="display: flex;align-items: center;justify-content: flex-end;margin: 18px 0;">
|
|
|
+ <div>标准总分:{{ standardNum }}分</div>
|
|
|
+ <div style="margin-left: 18px;margin-right: 140px;">实得总分:{{ getNumFun() }}分</div>
|
|
|
+ </div>
|
|
|
+ </el-form>
|
|
|
</el-tab-pane>
|
|
|
- <!-- v-if="formData.Status=='4'||Number(formData.Status)>4" -->
|
|
|
<el-tab-pane label="专业处室业绩评价" name="3"
|
|
|
- v-if="(departmentBoolean||Number(formData.Status)>4||Number(formData.Status)<=-4) && (formData.IsBusiness != 1 && byBus !=1)">
|
|
|
- <evaluation-list ref="evaluation_list_two" :evaluateId="formData.Id" category="1" v-if="contractData.ContractClass"
|
|
|
- :ContractClass="contractData.ContractClass"
|
|
|
- :disabledForm="auditBtnBooleanZhuan"></evaluation-list>
|
|
|
- </el-tab-pane>
|
|
|
- <el-tab-pane
|
|
|
- v-if="((departmentBoolean||Number(formData.Status)>4||Number(formData.Status)<=-4)&&contractData.ContractClass=='02') && (formData.IsBusiness != 1 && byBus != 1)"
|
|
|
- label="专业处室基本条件评价" name="5">
|
|
|
- <base-list ref="evaluation_listType_two" :evaluateId="formData.Id" category="1"
|
|
|
- :ContractClass="contractData.ContractClass" :disabledForm="auditBtnBooleanZhuan"></base-list>
|
|
|
+ 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)"
|
|
|
+ style="width: 100%" v-loading="tableLoading">
|
|
|
+ <el-table-column
|
|
|
+ property="SequenceNo"
|
|
|
+ label="序号"
|
|
|
+ header-align="center"
|
|
|
+ width="80">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span v-if="scope.row.LevelCode==1" style="font-weight: bold">{{ scope.row.SequenceNo }}</span>
|
|
|
+ <span v-else>{{ scope.row.SequenceNo }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ property="Content"
|
|
|
+ header-align="center"
|
|
|
+ label="评价内容">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span v-if="scope.row.LevelCode==1" style="font-weight: bold">{{ scope.row.Content }}</span>
|
|
|
+ <span v-else>{{ scope.row.Content }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ property="NormalScore"
|
|
|
+ label="标准分值"
|
|
|
+ header-align="center"
|
|
|
+ width="120">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span v-if="scope.row.LevelCode==1" style="font-weight: bold">{{ scope.row.NormalScore }}</span>
|
|
|
+ <span v-else-if="scope.row.NormalScore==0" style="font-weight: bold"></span>
|
|
|
+ <span v-else>{{ scope.row.NormalScore }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ property="Score"
|
|
|
+ label="实得分数"
|
|
|
+ header-align="center"
|
|
|
+ width="120">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-form-item style="margin-bottom: 0px;" :prop="'entityList.' + scope.$index + '.Score'"
|
|
|
+ >
|
|
|
+ <span v-if="scope.row.LevelCode==1"
|
|
|
+ style="font-weight: bold">{{ scoreFun1(scope.row.typeStatus, scope.$index) }}</span>
|
|
|
+ <el-input v-else size="mini" :min="0" :max="scope.row.NormalScore" type="number" placeholder="实得分数"
|
|
|
+ disabled v-model="scope.row.Score"
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ property="Reason"
|
|
|
+ label="扣分原因"
|
|
|
+ header-align="center"
|
|
|
+ width="120"
|
|
|
+ align="center">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-popover
|
|
|
+ placement="top-start"
|
|
|
+ title="原因"
|
|
|
+ width="200"
|
|
|
+ trigger="hover"
|
|
|
+ :content="scope.row.Remark==''||scope.row.Remark==null?'空':scope.row.Remark" v-if="scope.row.LevelCode!=1">
|
|
|
+ <el-button slot="reference" type="primary" icon="el-icon-edit" size="mini">编辑
|
|
|
+ </el-button>
|
|
|
+ </el-popover>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ <div class="" style="display: flex;align-items: center;justify-content: flex-end;margin: 18px 0;">
|
|
|
+ <div>标准总分:{{ standardNum }}分</div>
|
|
|
+ <div style="margin-left: 18px;margin-right: 140px;">实得总分:{{ getNumFun1() }}分</div>
|
|
|
+ </div>
|
|
|
+ </el-form>
|
|
|
</el-tab-pane>
|
|
|
-
|
|
|
<el-tab-pane label="审批流程" name="6" :disabled="formData.Status==0">
|
|
|
<el-card class="box-card mycard">
|
|
|
<div slot="header"
|
|
|
@@ -559,20 +1009,76 @@ import WfHistory from '@/components/workflow/wfhistory.vue'
|
|
|
import apiCert from '@/api/oilsupplier/suppliercert'
|
|
|
import permissionApi from '@/api/oilcontract/permission'
|
|
|
import submitPopup from '@/components/oilcontract/submitPopup.vue'
|
|
|
-import evaluationList from '@/components/oilcontract/evaluationlist.vue'
|
|
|
-import baseList from '@/components/oilcontract/baselist.vue'
|
|
|
|
|
|
export default {
|
|
|
computed: {
|
|
|
...mapGetters({
|
|
|
authUser: 'authUser'
|
|
|
- })
|
|
|
+ }),
|
|
|
+ scoreFun: function () {
|
|
|
+ return function (type, k) {
|
|
|
+ var num = 0
|
|
|
+ var list = this.entityListData.entityList
|
|
|
+ for (var index = 0; index < list.length; index++) {
|
|
|
+ var code = Number(list[index].LevelCode)
|
|
|
+ if (type == list[index].typeStatus && code == 2) {
|
|
|
+ num = num + Number(list[index].Score)
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (this.entityListData.entityList[k].Score != String(num)) {
|
|
|
+ // this.getNum = this.getNum + Number(num)
|
|
|
+ this.entityListData.entityList[k].Score = String(num)
|
|
|
+ }
|
|
|
+ return num
|
|
|
+ }
|
|
|
+ },
|
|
|
+ scoreFun1: function () {
|
|
|
+ return function (type, k) {
|
|
|
+ var num = 0
|
|
|
+ var list = this.entityListData1.entityList
|
|
|
+ for (var index = 0; index < list.length; index++) {
|
|
|
+ var code = Number(list[index].LevelCode)
|
|
|
+ if (type == list[index].typeStatus && code == 2) {
|
|
|
+ num = num + Number(list[index].Score)
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (this.entityListData1.entityList[k].Score != String(num)) {
|
|
|
+ // this.getNum = this.getNum + Number(num)
|
|
|
+ this.entityListData1.entityList[k].Score = String(num)
|
|
|
+ }
|
|
|
+ return num
|
|
|
+ }
|
|
|
+ },
|
|
|
+ getNumFun: function () {
|
|
|
+ return function () {
|
|
|
+ var num = 0
|
|
|
+ var list = this.entityListData.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
|
|
|
+ }
|
|
|
+ },
|
|
|
+ getNumFun1: function () {
|
|
|
+ return function () {
|
|
|
+ var num = 0
|
|
|
+ var list = this.entityListData1.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',
|
|
|
components: {
|
|
|
- evaluationList,
|
|
|
WfHistory,
|
|
|
- baseList,
|
|
|
submitPopup
|
|
|
},
|
|
|
props: {
|
|
|
@@ -603,6 +1109,18 @@ export default {
|
|
|
dialogVisible1: false,
|
|
|
ContractId: 0,
|
|
|
ReviewId: 0,
|
|
|
+ entityListData: {
|
|
|
+ entityList: []
|
|
|
+ },
|
|
|
+ entityListData1: {
|
|
|
+ entityList: []
|
|
|
+ },
|
|
|
+ entityListData3: {
|
|
|
+ entityList: []
|
|
|
+ },
|
|
|
+ entityListData4: {
|
|
|
+ entityList: []
|
|
|
+ },
|
|
|
disabled: true, // 禁用
|
|
|
// 业绩评价
|
|
|
performance: {
|
|
|
@@ -639,8 +1157,14 @@ export default {
|
|
|
auditBtnBooleanZhuan: true,
|
|
|
|
|
|
departmentBoolean: false,
|
|
|
+ tableLoading: false,
|
|
|
+ tableLoading1: false,
|
|
|
+ tableLoading3: false,
|
|
|
+ tableLoading4: false,
|
|
|
checkBUtton: false,
|
|
|
saveButton: false,
|
|
|
+ standardNum: 0, // 标准分数
|
|
|
+ getNum: 0,// 实得总分
|
|
|
saveButtonForBusiness: false,
|
|
|
saveButtonForBusinessAudit: false
|
|
|
}
|
|
|
@@ -654,6 +1178,140 @@ export default {
|
|
|
this.initDatas()
|
|
|
this.showIdDatas(this.ReviewId)
|
|
|
},
|
|
|
+ initReviewItems () {
|
|
|
+ this.tableLoading = true
|
|
|
+ let data = {
|
|
|
+ ContentReviewId: this.ReviewId,
|
|
|
+ Category: this.formData.IsBusiness == 1 ? 2 : 0,
|
|
|
+ Type: 1
|
|
|
+ }
|
|
|
+ this.standardNum = 0
|
|
|
+ api.contractEvaluationTree(data, this.$axios).then(res => {
|
|
|
+ this.tableLoading = false
|
|
|
+ let data = res.data.items
|
|
|
+ let list = []
|
|
|
+ if (data) {
|
|
|
+ for (let index = 0; index < data.length; index++) {
|
|
|
+ data[index].typeStatus = index
|
|
|
+ data[index].Score = data[index].Score === undefined || data[index].Score === '' ? '0' : data[index].Score
|
|
|
+ data[index].Category = 1
|
|
|
+ list.push(data[index])
|
|
|
+ this.standardNum = this.standardNum + parseInt(data[index].NormalScore)
|
|
|
+ if (data[index].Son != null && data[index].Son !== undefined) {
|
|
|
+ for (let k = 0; k < data[index].Son.length; k++) {
|
|
|
+ data[index].Son[k].Category = 1
|
|
|
+ data[index].Son[k].typeStatus = index
|
|
|
+ data[index].Son[k].Score = data[index].Son[k].Score === undefined || data[index].Son[k].Score === '' ? '0' : data[index].Son[k].Score
|
|
|
+ list.push(data[index].Son[k])
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ this.entityListData.entityList = list
|
|
|
+ }
|
|
|
+ }).catch(err => {
|
|
|
+ this.tableLoading = false
|
|
|
+ console.error(err)
|
|
|
+ })
|
|
|
+ },
|
|
|
+ initReviewItems1 () {
|
|
|
+ this.tableLoading1 = true
|
|
|
+ let data = {
|
|
|
+ ContentReviewId: this.ReviewId,
|
|
|
+ Category: this.formData.IsBusiness == 1 ? 2 : 1,
|
|
|
+ Type: 1
|
|
|
+ }
|
|
|
+ api.contractEvaluationTree(data, this.$axios).then(res => {
|
|
|
+ this.tableLoading1 = false
|
|
|
+ let data = res.data.items
|
|
|
+ let list = []
|
|
|
+ if (data) {
|
|
|
+ for (let index = 0; index < data.length; index++) {
|
|
|
+ data[index].typeStatus = index
|
|
|
+ data[index].Score = data[index].Score === undefined || data[index].Score === '' ? '0' : data[index].Score
|
|
|
+ data[index].Category = 1
|
|
|
+ list.push(data[index])
|
|
|
+ if (data[index].Son != null && data[index].Son !== undefined) {
|
|
|
+ for (let k = 0; k < data[index].Son.length; k++) {
|
|
|
+ data[index].Son[k].Category = 1
|
|
|
+ data[index].Son[k].typeStatus = index
|
|
|
+ data[index].Son[k].Score = data[index].Son[k].Score === undefined || data[index].Son[k].Score === '' ? '0' : data[index].Son[k].Score
|
|
|
+ list.push(data[index].Son[k])
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ this.entityListData1.entityList = list
|
|
|
+ }
|
|
|
+ }).catch(err => {
|
|
|
+ this.tableLoading1 = false
|
|
|
+ console.error(err)
|
|
|
+ })
|
|
|
+ },
|
|
|
+ initReviewItems3 () {
|
|
|
+ this.tableLoading3 = true
|
|
|
+ let data = {
|
|
|
+ ContentReviewId: this.ReviewId,
|
|
|
+ Category: this.formData.IsBusiness == 1 ? 2 : 0,
|
|
|
+ Type: 2
|
|
|
+ }
|
|
|
+ api.contractEvaluationTree(data, this.$axios).then(res => {
|
|
|
+ this.tableLoading3 = false
|
|
|
+ let data = res.data.items
|
|
|
+ let list = []
|
|
|
+ if (data) {
|
|
|
+ for (let index = 0; index < data.length; index++) {
|
|
|
+ data[index].typeStatus = index
|
|
|
+ data[index].Score = data[index].Score === undefined || data[index].Score === '' ? '0' : data[index].Score
|
|
|
+ data[index].Category = 1
|
|
|
+ list.push(data[index])
|
|
|
+ if (data[index].Son != null && data[index].Son !== undefined) {
|
|
|
+ for (let k = 0; k < data[index].Son.length; k++) {
|
|
|
+ data[index].Son[k].Category = 1
|
|
|
+ data[index].Son[k].typeStatus = index
|
|
|
+ data[index].Son[k].Score = data[index].Son[k].Score === undefined || data[index].Son[k].Score === '' ? '0' : data[index].Son[k].Score
|
|
|
+ list.push(data[index].Son[k])
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ this.entityListData3.entityList = list
|
|
|
+ }
|
|
|
+ }).catch(err => {
|
|
|
+ this.tableLoading3 = false
|
|
|
+ console.error(err)
|
|
|
+ })
|
|
|
+ },
|
|
|
+ initReviewItems4 () {
|
|
|
+ this.tableLoading4 = true
|
|
|
+ let data = {
|
|
|
+ ContentReviewId: this.ReviewId,
|
|
|
+ Category: this.formData.IsBusiness == 1 ? 2 : 1,
|
|
|
+ Type: 2
|
|
|
+ }
|
|
|
+ api.contractEvaluationTree(data, this.$axios).then(res => {
|
|
|
+ this.tableLoading4 = false
|
|
|
+ let data = res.data.items
|
|
|
+ let list = []
|
|
|
+ if (data) {
|
|
|
+ for (let index = 0; index < data.length; index++) {
|
|
|
+ data[index].typeStatus = index
|
|
|
+ data[index].Score = data[index].Score === undefined || data[index].Score === '' ? '0' : data[index].Score
|
|
|
+ data[index].Category = 1
|
|
|
+ list.push(data[index])
|
|
|
+ if (data[index].Son != null && data[index].Son !== undefined) {
|
|
|
+ for (let k = 0; k < data[index].Son.length; k++) {
|
|
|
+ data[index].Son[k].Category = 1
|
|
|
+ data[index].Son[k].typeStatus = index
|
|
|
+ data[index].Son[k].Score = data[index].Son[k].Score === undefined || data[index].Son[k].Score === '' ? '0' : data[index].Son[k].Score
|
|
|
+ list.push(data[index].Son[k])
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ this.entityListData4.entityList = list
|
|
|
+ }
|
|
|
+ }).catch(err => {
|
|
|
+ this.tableLoading4 = false
|
|
|
+ console.error(err)
|
|
|
+ })
|
|
|
+ },
|
|
|
exportExcel () {
|
|
|
api.docexportEle(this.formData.Id, this.$axios)
|
|
|
.then(res => {
|
|
|
@@ -757,13 +1415,18 @@ export default {
|
|
|
// 拿id查审核流程
|
|
|
showIdDatas (id) {
|
|
|
api.getEntityAndCert(id, this.$axios).then(res => {
|
|
|
- console.log('拿id查编辑数据', res)
|
|
|
this.entrydetail.business = ''
|
|
|
var data = res.data
|
|
|
this.formData = res.data
|
|
|
this.entrydetail.business = id
|
|
|
this.entrydetail.instance = data.WorkflowId
|
|
|
this.entrydetail.process = data.ProcessKey
|
|
|
+ this.initReviewItems()
|
|
|
+ this.initReviewItems1()
|
|
|
+ if (this.dialogVisible2) {
|
|
|
+ this.initReviewItems3()
|
|
|
+ this.initReviewItems4()
|
|
|
+ }
|
|
|
if (data.Status != 0) {
|
|
|
this.approvalProcess.disabled = false
|
|
|
} else {
|