|
@@ -11,7 +11,7 @@
|
|
|
<el-input
|
|
|
v-model="form.basic.boName"
|
|
|
placeholder="商机名称"
|
|
|
- size="medium"
|
|
|
+ size="medium"
|
|
|
:disabled = "true"
|
|
|
/>
|
|
|
</el-col>
|
|
@@ -19,7 +19,7 @@
|
|
|
<el-select
|
|
|
v-model="form.basic.boState"
|
|
|
placeholder="商机状态"
|
|
|
- size="medium"
|
|
|
+ size="medium"
|
|
|
:disabled = "true"
|
|
|
>
|
|
|
<el-option
|
|
@@ -34,7 +34,7 @@
|
|
|
<el-select
|
|
|
v-model="form.basic.winningState"
|
|
|
placeholder="赢丢单状态"
|
|
|
- size="medium"
|
|
|
+ size="medium"
|
|
|
:disabled = "true"
|
|
|
>
|
|
|
<el-option
|
|
@@ -67,36 +67,33 @@
|
|
|
<el-tab-pane label="基本信息" name="first">
|
|
|
项目流程
|
|
|
<el-steps :active="form.basic.boStage" finish-status="success">
|
|
|
- <el-step title="审核" @click.native="viewingProcedure(0)"></el-step>
|
|
|
- <el-step title="立项" @click.native="viewingProcedure(1)"></el-step>
|
|
|
- <el-step title="考察" @click.native="viewingProcedure(2)"></el-step>
|
|
|
+ <el-step title="商机审核" @click.native="viewingProcedure(0)"></el-step>
|
|
|
+ <el-step title="项目立项" @click.native="viewingProcedure(1)"></el-step>
|
|
|
+ <el-step title="售前提案/邀请考察" @click.native="viewingProcedure(2)"></el-step>
|
|
|
<el-step title="开院务会" @click.native="viewingProcedure(3)"></el-step>
|
|
|
<el-step title="院内立项" @click.native="viewingProcedure(4)"></el-step>
|
|
|
- <el-step title="调研" @click.native="viewingProcedure(5)"></el-step>
|
|
|
+ <el-step title="进场调研" @click.native="viewingProcedure(5)"></el-step>
|
|
|
<el-step title="解决方案" @click.native="viewingProcedure(6)"></el-step>
|
|
|
- <el-step title="签合同" @click.native="viewingProcedure(7)"></el-step>
|
|
|
+ <el-step title="投标与签合同" @click.native="viewingProcedure(7)"></el-step>
|
|
|
<el-step title="进场实施" @click.native="viewingProcedure(8)"></el-step>
|
|
|
<el-step title="落地方案" @click.native="viewingProcedure(9)"></el-step>
|
|
|
<el-step title="实施交付" @click.native="viewingProcedure(10)"></el-step>
|
|
|
<el-step title="上线仪式" @click.native="viewingProcedure(11)"></el-step>
|
|
|
</el-steps>
|
|
|
<!-- 流程按钮组 -->
|
|
|
- <div style="text-align: right">
|
|
|
+ <div style="text-align: center">
|
|
|
<el-button
|
|
|
type="primary"
|
|
|
style="margin-top: 12px"
|
|
|
- v-hasPermi="['mk:bo:basic:identify']"
|
|
|
@click="next"
|
|
|
- v-if="form.basic.boStage == 0"
|
|
|
+ v-show="form.basic.boStage == 0"
|
|
|
>
|
|
|
审核
|
|
|
</el-button>
|
|
|
- <!-- <el-button style="margin-top: 12px;" @click="before" v-if="form.basic.boStage > 1">上一步</el-button> -->
|
|
|
<el-button
|
|
|
style="margin-top: 12px"
|
|
|
- v-hasPermi="['mk:bo:basic:next']"
|
|
|
@click="next"
|
|
|
- v-if="
|
|
|
+ v-show="
|
|
|
!(
|
|
|
form.basic.boStage == 0 ||
|
|
|
form.basic.boFlow.projectApproval == 0
|
|
@@ -104,49 +101,17 @@
|
|
|
!isUpdate &&
|
|
|
this.form.basic.boStage < 12
|
|
|
"
|
|
|
- >下一阶段</el-button
|
|
|
- >
|
|
|
+ >变更为下一阶段</el-button>
|
|
|
+ <!-- <el-button style="margin-top: 12px;" @click="before" v-if="form.basic.boStage > 1">上一步</el-button> -->
|
|
|
</div>
|
|
|
- <!-- 编辑按钮组 -->
|
|
|
- <el-row type="flex" class="row-bg" justify="end">
|
|
|
- <el-col :span="24">
|
|
|
- <dev>流程信息</dev>
|
|
|
- </el-col>
|
|
|
- <el-col :span="2" v-show="!isUpdate">
|
|
|
- <div class="grid-content bg-purple">
|
|
|
- <el-button
|
|
|
- v-hasPermi="['mk:bo:basic:detail:edit']"
|
|
|
- @click="modifyButton"
|
|
|
- >修改</el-button
|
|
|
- >
|
|
|
- </div>
|
|
|
- </el-col>
|
|
|
- <el-col :span="2" v-show="isUpdate">
|
|
|
- <div class="grid-content bg-purple-light">
|
|
|
- <el-button
|
|
|
- v-hasPermi="['mk:bo:basic:detail:edit']"
|
|
|
- @click="cancelButton"
|
|
|
- >取消</el-button
|
|
|
- >
|
|
|
- </div>
|
|
|
- </el-col>
|
|
|
- <el-col :span="2" v-show="isUpdate">
|
|
|
- <div class="grid-content bg-purple">
|
|
|
- <el-button
|
|
|
- v-hasPermi="['mk:bo:basic:detail:edit']"
|
|
|
- @click="saveButton"
|
|
|
- >保存</el-button
|
|
|
- >
|
|
|
- </div>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
<!-- 次多页签 -->
|
|
|
+ <el-divider content-position="left" style="font-size: 30px">该阶段任务</el-divider>
|
|
|
<el-tabs v-model="secondTabs" @tab-click="secondTabsSwitch">
|
|
|
<!-- 阶段动作1 -->
|
|
|
<el-tab-pane
|
|
|
label="阶段动作"
|
|
|
name="jd1"
|
|
|
- style="height: 150px; overflow-y: scroll"
|
|
|
+ style="height: 200px; overflow-y: scroll"
|
|
|
v-if="this.secondTabsName.jd1"
|
|
|
>
|
|
|
<el-form
|
|
@@ -179,7 +144,7 @@
|
|
|
<el-input
|
|
|
v-model="form.basic.hosDiscreetValue"
|
|
|
placeholder="医院耗材预估额"
|
|
|
- :disabled="true"
|
|
|
+ readonly
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
@@ -190,7 +155,7 @@
|
|
|
<el-tab-pane
|
|
|
label="阶段动作"
|
|
|
name="jd2"
|
|
|
- style="height: 150px; overflow-y: scroll"
|
|
|
+ style="height: 200px; overflow-y: scroll"
|
|
|
v-if="this.secondTabsName.jd2"
|
|
|
>
|
|
|
<el-form ref="form" :model="form.basic.boFlow" :rules="rules">
|
|
@@ -214,7 +179,7 @@
|
|
|
<el-input
|
|
|
v-model="form.basic.boFlow.businessCouncilAccessoryName"
|
|
|
placeholder="请上传商机审议会"
|
|
|
- :disabled="true"
|
|
|
+ readonly
|
|
|
/>
|
|
|
</el-col>
|
|
|
<el-col
|
|
@@ -227,7 +192,6 @@
|
|
|
icon="el-icon-upload2"
|
|
|
size="mini"
|
|
|
@click="uploadAccessory(`business_council_accessory`)"
|
|
|
- v-hasPermi="['system:user:import']"
|
|
|
>上传</el-button
|
|
|
>
|
|
|
</el-col>
|
|
@@ -246,7 +210,6 @@
|
|
|
form.basic.boFlow.businessCouncilAccessoryName
|
|
|
)
|
|
|
"
|
|
|
- v-hasPermi="['system:user:export']"
|
|
|
>下载</el-button
|
|
|
>
|
|
|
</el-col>
|
|
@@ -259,7 +222,6 @@
|
|
|
type="text"
|
|
|
icon="el-icon-delete"
|
|
|
@click="deleteAccessory(`business_council_accessory`, 1)"
|
|
|
- v-hasPermi="['system:basic:remove']"
|
|
|
>删除</el-button
|
|
|
>
|
|
|
</el-col>
|
|
@@ -269,7 +231,7 @@
|
|
|
<el-input
|
|
|
v-model="form.basic.boFlow.projectProposalAccessoryName"
|
|
|
placeholder="请上传立项书"
|
|
|
- :disabled="true"
|
|
|
+ readonly
|
|
|
/>
|
|
|
</el-col>
|
|
|
<el-col
|
|
@@ -282,7 +244,6 @@
|
|
|
icon="el-icon-upload2"
|
|
|
size="mini"
|
|
|
@click="uploadAccessory(`project_proposal_accessory`)"
|
|
|
- v-hasPermi="['system:user:import']"
|
|
|
>上传</el-button
|
|
|
>
|
|
|
</el-col>
|
|
@@ -301,7 +262,6 @@
|
|
|
form.basic.boFlow.projectProposalAccessoryName
|
|
|
)
|
|
|
"
|
|
|
- v-hasPermi="['system:user:export']"
|
|
|
>下载</el-button
|
|
|
>
|
|
|
</el-col>
|
|
@@ -314,7 +274,6 @@
|
|
|
type="text"
|
|
|
icon="el-icon-delete"
|
|
|
@click="deleteAccessory(`project_proposal_accessory`, 1)"
|
|
|
- v-hasPermi="['system:basic:remove']"
|
|
|
>删除</el-button
|
|
|
>
|
|
|
</el-col>
|
|
@@ -336,21 +295,29 @@
|
|
|
<el-tab-pane
|
|
|
label="立项模板"
|
|
|
name="lx"
|
|
|
- style="height: 150px; overflow-y: scroll"
|
|
|
+ style="height: 200px; overflow-y: scroll"
|
|
|
v-if="this.secondTabsName.lx"
|
|
|
>
|
|
|
- <el-row>
|
|
|
- <el-button @click="pojproDownload">标准立项书</el-button>
|
|
|
- </el-row>
|
|
|
- <el-row>
|
|
|
- <el-button @click="pojproDownload">商机审会决议书</el-button>
|
|
|
- </el-row>
|
|
|
+ <el-table
|
|
|
+ :data="tableData"
|
|
|
+ style="width: 100%">
|
|
|
+ <el-table-column
|
|
|
+ prop="type"
|
|
|
+ label="文件类型"
|
|
|
+ width="180">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="name"
|
|
|
+ label="文件名称"
|
|
|
+ width="180">
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
</el-tab-pane>
|
|
|
<!-- 项目人员组成 -->
|
|
|
<el-tab-pane
|
|
|
label="项目人员组成"
|
|
|
name="xmry"
|
|
|
- style="height: 150px; overflow-y: scroll"
|
|
|
+ style="height: 200px; overflow-y: scroll"
|
|
|
v-if="this.secondTabsName.xmry"
|
|
|
>
|
|
|
<PojpsnList
|
|
@@ -363,10 +330,10 @@
|
|
|
<el-tab-pane
|
|
|
label="方案模板"
|
|
|
name="fa"
|
|
|
- style="height: 150px; overflow-y: scroll"
|
|
|
+ style="height: 200px; overflow-y: scroll"
|
|
|
v-if="this.secondTabsName.fa"
|
|
|
>
|
|
|
- <el-row>
|
|
|
+ <!-- <el-row>
|
|
|
<el-button @click="pojproDownload">售前提案文件模板</el-button>
|
|
|
</el-row>
|
|
|
<el-row>
|
|
@@ -380,13 +347,27 @@
|
|
|
</el-row>
|
|
|
<el-row>
|
|
|
<el-button @click="pojproDownload">其他文件</el-button>
|
|
|
- </el-row>
|
|
|
+ </el-row> -->
|
|
|
+ <el-table
|
|
|
+ :data="tableData1"
|
|
|
+ style="width: 100%">
|
|
|
+ <el-table-column
|
|
|
+ prop="type"
|
|
|
+ label="文件类型"
|
|
|
+ width="180">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="name"
|
|
|
+ label="文件名称"
|
|
|
+ width="250">
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
</el-tab-pane>
|
|
|
<!-- 售前提案 -->
|
|
|
<el-tab-pane
|
|
|
label="售前提案"
|
|
|
name="sq"
|
|
|
- style="height: 150px; overflow-y: scroll"
|
|
|
+ style="height: 200px; overflow-y: scroll"
|
|
|
v-if="this.secondTabsName.sq"
|
|
|
>
|
|
|
<el-form ref="form" :model="form.basic.boFlow" :rules="rules">
|
|
@@ -395,7 +376,7 @@
|
|
|
<el-input
|
|
|
v-model="form.basic.boFlow.preSaleProposalAccessoryName"
|
|
|
placeholder="请上传售前提案文件"
|
|
|
- :disabled="true"
|
|
|
+ readonly
|
|
|
/>
|
|
|
</el-col>
|
|
|
<el-col
|
|
@@ -408,7 +389,6 @@
|
|
|
icon="el-icon-upload2"
|
|
|
size="mini"
|
|
|
@click="uploadAccessory(`pre_sale_proposal_accessory`)"
|
|
|
- v-hasPermi="['system:user:import']"
|
|
|
>上传</el-button
|
|
|
>
|
|
|
</el-col>
|
|
@@ -427,7 +407,6 @@
|
|
|
form.basic.boFlow.preSaleProposalAccessoryName
|
|
|
)
|
|
|
"
|
|
|
- v-hasPermi="['system:user:export']"
|
|
|
>下载</el-button
|
|
|
>
|
|
|
</el-col>
|
|
@@ -440,7 +419,6 @@
|
|
|
type="text"
|
|
|
icon="el-icon-delete"
|
|
|
@click="deleteAccessory(`pre_sale_proposal_accessory`, 1)"
|
|
|
- v-hasPermi="['system:basic:remove']"
|
|
|
>删除</el-button
|
|
|
>
|
|
|
</el-col>
|
|
@@ -451,7 +429,7 @@
|
|
|
<el-tab-pane
|
|
|
label="邀请考察"
|
|
|
name="kc"
|
|
|
- style="height: 150px; overflow-y: scroll"
|
|
|
+ style="height: 200px; overflow-y: scroll"
|
|
|
v-if="this.secondTabsName.kc"
|
|
|
>
|
|
|
<el-form ref="form" :model="form.basic.boFlow" :rules="rules">
|
|
@@ -484,7 +462,7 @@
|
|
|
<el-input
|
|
|
v-model="form.basic.boFlow.investigationReportAccessoryName"
|
|
|
placeholder="请上传考察报告"
|
|
|
- :disabled="true"
|
|
|
+ readonly
|
|
|
/>
|
|
|
</el-col>
|
|
|
<el-col
|
|
@@ -497,7 +475,6 @@
|
|
|
icon="el-icon-upload2"
|
|
|
size="mini"
|
|
|
@click="uploadAccessory(`investigation_report_accessory`)"
|
|
|
- v-hasPermi="['system:user:import']"
|
|
|
>上传</el-button
|
|
|
>
|
|
|
</el-col>
|
|
@@ -516,7 +493,6 @@
|
|
|
form.basic.boFlow.investigationReportAccessoryName
|
|
|
)
|
|
|
"
|
|
|
- v-hasPermi="['system:user:export']"
|
|
|
>下载</el-button
|
|
|
>
|
|
|
</el-col>
|
|
@@ -531,7 +507,6 @@
|
|
|
@click="
|
|
|
deleteAccessory(`investigation_report_accessory`, 1)
|
|
|
"
|
|
|
- v-hasPermi="['system:basic:remove']"
|
|
|
>删除</el-button
|
|
|
>
|
|
|
</el-col>
|
|
@@ -542,7 +517,7 @@
|
|
|
<el-tab-pane
|
|
|
label="开院务会"
|
|
|
name="kh"
|
|
|
- style="height: 150px; overflow-y: scroll"
|
|
|
+ style="height: 200px; overflow-y: scroll"
|
|
|
v-if="this.secondTabsName.kh"
|
|
|
>
|
|
|
<el-form ref="form" :model="form.basic.boFlow" :rules="rules">
|
|
@@ -565,7 +540,7 @@
|
|
|
<el-tab-pane
|
|
|
label="院内立项"
|
|
|
name="yn"
|
|
|
- style="height: 150px; overflow-y: scroll"
|
|
|
+ style="height: 200px; overflow-y: scroll"
|
|
|
v-if="this.secondTabsName.yn"
|
|
|
>
|
|
|
<el-form ref="form" :model="form.basic.boFlow" :rules="rules">
|
|
@@ -603,7 +578,7 @@
|
|
|
<el-tab-pane
|
|
|
label="进场调研"
|
|
|
name="jc"
|
|
|
- style="height: 150px; overflow-y: scroll"
|
|
|
+ style="height: 200px; overflow-y: scroll"
|
|
|
v-if="this.secondTabsName.jc"
|
|
|
>
|
|
|
<el-form ref="form" :model="form.basic.boFlow" :rules="rules">
|
|
@@ -625,7 +600,7 @@
|
|
|
<el-input
|
|
|
v-model="form.basic.boFlow.investigateReportAccessoryName"
|
|
|
placeholder="请上传调研报告"
|
|
|
- :disabled="true"
|
|
|
+ readonly
|
|
|
/>
|
|
|
</el-col>
|
|
|
<el-col
|
|
@@ -637,8 +612,7 @@
|
|
|
plain
|
|
|
icon="el-icon-upload2"
|
|
|
size="mini"
|
|
|
- @click="uploadAccessory(`investigation_report_accessory`)"
|
|
|
- v-hasPermi="['system:user:import']"
|
|
|
+ @click="uploadAccessory(`investigate_report_accessory`)"
|
|
|
>上传</el-button
|
|
|
>
|
|
|
</el-col>
|
|
@@ -657,7 +631,6 @@
|
|
|
form.basic.boFlow.investigateReportAccessoryName
|
|
|
)
|
|
|
"
|
|
|
- v-hasPermi="['system:user:export']"
|
|
|
>下载</el-button
|
|
|
>
|
|
|
</el-col>
|
|
@@ -670,9 +643,8 @@
|
|
|
type="text"
|
|
|
icon="el-icon-delete"
|
|
|
@click="
|
|
|
- deleteAccessory(`investigation_report_accessory`, 1)
|
|
|
+ deleteAccessory(`investigate_report_accessory`, 1)
|
|
|
"
|
|
|
- v-hasPermi="['system:basic:remove']"
|
|
|
>删除</el-button
|
|
|
>
|
|
|
</el-col>
|
|
@@ -683,7 +655,7 @@
|
|
|
<el-tab-pane
|
|
|
label="挂网投标"
|
|
|
name="gw"
|
|
|
- style="height: 150px; overflow-y: scroll"
|
|
|
+ style="height: 200px; overflow-y: scroll"
|
|
|
v-if="this.secondTabsName.gw"
|
|
|
>
|
|
|
<el-form ref="form" :model="form.basic.boFlow" :rules="rules">
|
|
@@ -705,7 +677,7 @@
|
|
|
<el-input
|
|
|
v-model="form.basic.boFlow.biddingDocumentsAccessoryName"
|
|
|
placeholder="请上传投标书"
|
|
|
- :disabled="true"
|
|
|
+ readonly
|
|
|
/>
|
|
|
</el-col>
|
|
|
<el-col
|
|
@@ -718,7 +690,6 @@
|
|
|
icon="el-icon-upload2"
|
|
|
size="mini"
|
|
|
@click="uploadAccessory(`bidding_documents_accessory`)"
|
|
|
- v-hasPermi="['system:user:import']"
|
|
|
>上传</el-button
|
|
|
>
|
|
|
</el-col>
|
|
@@ -737,7 +708,6 @@
|
|
|
form.basic.boFlow.biddingDocumentsAccessoryName
|
|
|
)
|
|
|
"
|
|
|
- v-hasPermi="['system:user:export']"
|
|
|
>下载</el-button
|
|
|
>
|
|
|
</el-col>
|
|
@@ -750,24 +720,12 @@
|
|
|
type="text"
|
|
|
icon="el-icon-delete"
|
|
|
@click="deleteAccessory(`bidding_documents_accessory`, 1)"
|
|
|
- v-hasPermi="['system:basic:remove']"
|
|
|
>删除</el-button
|
|
|
>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row>
|
|
|
<el-col :span="5">
|
|
|
- <el-form-item label="我方优势" prop="researchTime">
|
|
|
- <el-input
|
|
|
- v-model="form.ourAdvantage"
|
|
|
- placeholder="我方优势"
|
|
|
- :disabled="!isUpdate"
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
- <el-row>
|
|
|
- <el-col :span="5">
|
|
|
投标是否通过
|
|
|
<el-radio
|
|
|
v-model="form.basic.boFlow.biddingDocumentsPass"
|
|
@@ -783,12 +741,32 @@
|
|
|
>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
+ <el-row>
|
|
|
+ <el-col :span="5">
|
|
|
+ <el-form-item label="我方优势" prop="researchTime" v-show="this.form.basic.boFlow.biddingDocumentsPass == '1'">
|
|
|
+ <el-input
|
|
|
+ v-model="form.ourAdvantage"
|
|
|
+ placeholder="我方优势"
|
|
|
+ :disabled="!isUpdate"
|
|
|
+ />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="5">
|
|
|
+ <el-form-item label="我方劣势" prop="researchTime" v-show="this.form.basic.boFlow.biddingDocumentsPass == '0'">
|
|
|
+ <el-input
|
|
|
+ v-model="form.ourAdvantage"
|
|
|
+ placeholder="我方劣势"
|
|
|
+ :disabled="!isUpdate"
|
|
|
+ />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
<el-row v-if="form.basic.boFlow.biddingDocumentsPass == 1">
|
|
|
<el-col :span="1.5">
|
|
|
<el-input
|
|
|
v-model="form.basic.boFlow.letterAcceptanceAccessoryName"
|
|
|
placeholder="请上传中标通知书"
|
|
|
- :disabled="true"
|
|
|
+ readonly
|
|
|
/>
|
|
|
</el-col>
|
|
|
<el-col
|
|
@@ -801,7 +779,6 @@
|
|
|
icon="el-icon-upload2"
|
|
|
size="mini"
|
|
|
@click="uploadAccessory(`letter_acceptance_accessory`)"
|
|
|
- v-hasPermi="['system:user:import']"
|
|
|
>上传</el-button
|
|
|
>
|
|
|
</el-col>
|
|
@@ -820,7 +797,6 @@
|
|
|
form.basic.boFlow.letterAcceptanceAccessoryName
|
|
|
)
|
|
|
"
|
|
|
- v-hasPermi="['system:user:export']"
|
|
|
>下载</el-button
|
|
|
>
|
|
|
</el-col>
|
|
@@ -833,7 +809,6 @@
|
|
|
type="text"
|
|
|
icon="el-icon-delete"
|
|
|
@click="deleteAccessory(`letter_acceptance_accessory`, 1)"
|
|
|
- v-hasPermi="['system:basic:remove']"
|
|
|
>删除</el-button
|
|
|
>
|
|
|
</el-col>
|
|
@@ -844,7 +819,7 @@
|
|
|
<el-tab-pane
|
|
|
label="合同签订"
|
|
|
name="ht"
|
|
|
- style="height: 150px; overflow-y: scroll"
|
|
|
+ style="height: 200px; overflow-y: scroll"
|
|
|
v-if="this.secondTabsName.ht"
|
|
|
>
|
|
|
<el-form ref="form" :model="form.basic.boFlow" :rules="rules">
|
|
@@ -866,7 +841,7 @@
|
|
|
<el-input
|
|
|
v-model="form.basic.boFlow.contractDocumentAccessoryName"
|
|
|
placeholder="请上传合同文件"
|
|
|
- :disabled="true"
|
|
|
+ readonly
|
|
|
/>
|
|
|
</el-col>
|
|
|
<el-col
|
|
@@ -879,7 +854,6 @@
|
|
|
icon="el-icon-upload2"
|
|
|
size="mini"
|
|
|
@click="uploadAccessory(`contract_document_accessory`)"
|
|
|
- v-hasPermi="['system:user:import']"
|
|
|
>上传</el-button
|
|
|
>
|
|
|
</el-col>
|
|
@@ -898,7 +872,6 @@
|
|
|
form.basic.boFlow.contractDocumentAccessoryName
|
|
|
)
|
|
|
"
|
|
|
- v-hasPermi="['system:user:export']"
|
|
|
>下载</el-button
|
|
|
>
|
|
|
</el-col>
|
|
@@ -911,7 +884,6 @@
|
|
|
type="text"
|
|
|
icon="el-icon-delete"
|
|
|
@click="deleteAccessory(`contract_document_accessory`, 1)"
|
|
|
- v-hasPermi="['system:basic:remove']"
|
|
|
>删除</el-button
|
|
|
>
|
|
|
</el-col>
|
|
@@ -922,7 +894,7 @@
|
|
|
<el-tab-pane
|
|
|
label="跟进记录"
|
|
|
name="gj"
|
|
|
- style="height: 150px; overflow-y: scroll"
|
|
|
+ style="height: 200px; overflow-y: scroll"
|
|
|
v-if="this.secondTabsName.gj"
|
|
|
>
|
|
|
<BehaviorList
|
|
@@ -932,6 +904,33 @@
|
|
|
/>
|
|
|
</el-tab-pane>
|
|
|
</el-tabs>
|
|
|
+ <!-- 编辑按钮组 -->
|
|
|
+ <el-row type="flex" class="row-bg" justify="end">
|
|
|
+ <el-col :span="2" v-show="!isUpdate">
|
|
|
+ <div class="grid-content bg-purple">
|
|
|
+ <el-button
|
|
|
+ @click="modifyButton"
|
|
|
+ >修改</el-button
|
|
|
+ >
|
|
|
+ </div>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="2" v-show="isUpdate">
|
|
|
+ <div class="grid-content bg-purple-light">
|
|
|
+ <el-button
|
|
|
+ @click="cancelButton"
|
|
|
+ >取消</el-button
|
|
|
+ >
|
|
|
+ </div>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="2" v-show="isUpdate">
|
|
|
+ <div class="grid-content bg-purple">
|
|
|
+ <el-button
|
|
|
+ @click="saveButton"
|
|
|
+ >保存</el-button
|
|
|
+ >
|
|
|
+ </div>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
<!-- 基本信息 -->
|
|
|
<el-divider content-position="left">基本信息</el-divider>
|
|
|
<el-form ref="form" :model="form.basic" label-width="80px">
|
|
@@ -941,7 +940,7 @@
|
|
|
<el-select
|
|
|
v-model="form.basic.boSource"
|
|
|
placeholder="商机来源"
|
|
|
- :disabled="true"
|
|
|
+ readonly
|
|
|
>
|
|
|
<el-option
|
|
|
v-for="dict in dict.type.mk_bo_source"
|
|
@@ -957,7 +956,7 @@
|
|
|
<el-select
|
|
|
v-model="form.basic.boType"
|
|
|
placeholder="商机类型"
|
|
|
- :disabled="true"
|
|
|
+ readonly
|
|
|
>
|
|
|
<el-option
|
|
|
v-for="dict in dict.type.mk_bo_type"
|
|
@@ -973,7 +972,7 @@
|
|
|
<el-input
|
|
|
v-model="form.basic.customerName"
|
|
|
placeholder="请输入客户名称"
|
|
|
- :disabled="true"
|
|
|
+ readonly
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
@@ -984,7 +983,7 @@
|
|
|
<el-select
|
|
|
v-model="form.basic.totalHosRevenue"
|
|
|
placeholder="请输入医院营收总额"
|
|
|
- :disabled="true"
|
|
|
+ readonly
|
|
|
>
|
|
|
<el-option
|
|
|
v-for="dict in dict.type.mk_bo_total_revenue"
|
|
@@ -997,11 +996,19 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
- <el-form-item label="医院耗材预估值" prop="hosDiscreetValue">
|
|
|
+ <!-- label="医院耗材预估值" -->
|
|
|
+ <el-form-item prop="hosDiscreetValue">
|
|
|
+
|
|
|
+ <template slot="label">
|
|
|
+ <el-tooltip class="item" effect="dark" content="Top Left 提示文字" placement="top-start">
|
|
|
+ <span>医院耗材预估值</span>
|
|
|
+ </el-tooltip>
|
|
|
+ </template>
|
|
|
+
|
|
|
<el-input
|
|
|
v-model="form.basic.hosDiscreetValue"
|
|
|
placeholder="请输入医院耗材预估值"
|
|
|
- :disabled="true"
|
|
|
+ readonly
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
@@ -1010,7 +1017,7 @@
|
|
|
<el-input
|
|
|
v-model="form.basic.winningRate"
|
|
|
placeholder="赢单率"
|
|
|
- :disabled="true"
|
|
|
+ readonly
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
@@ -1020,7 +1027,7 @@
|
|
|
<el-input
|
|
|
v-model="form.basic.boContent"
|
|
|
placeholder="商机内容"
|
|
|
- :disabled="true"
|
|
|
+ readonly
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
</el-row>
|
|
@@ -1040,11 +1047,11 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
- <el-form-item label="销售区域" prop="marketingArea">
|
|
|
+ <el-form-item label="销售区域" prop="marketingAreaName">
|
|
|
<el-input
|
|
|
size="small"
|
|
|
readonly
|
|
|
- v-model="form.basic.marketingArea"
|
|
|
+ v-model="form.basic.marketingAreaName"
|
|
|
placeholder=""
|
|
|
/>
|
|
|
</el-form-item>
|
|
@@ -1120,7 +1127,6 @@
|
|
|
icon="el-icon-upload2"
|
|
|
size="mini"
|
|
|
@click="uploadAccessory(`list`)"
|
|
|
- v-hasPermi="['system:user:import']"
|
|
|
>上传</el-button
|
|
|
>
|
|
|
</el-col>
|
|
@@ -1147,7 +1153,6 @@
|
|
|
type="text"
|
|
|
icon="el-icon-delete"
|
|
|
@click="deleteAccessory('list', scope.row)"
|
|
|
- v-hasPermi="['system:basic:remove']"
|
|
|
>删除</el-button
|
|
|
>
|
|
|
</el-col>
|
|
@@ -1158,7 +1163,6 @@
|
|
|
icon="el-icon-download"
|
|
|
size="mini"
|
|
|
@click="exportAccessory(scope.row.url, scope.row.fileName)"
|
|
|
- v-hasPermi="['system:user:export']"
|
|
|
>下载</el-button
|
|
|
>
|
|
|
</el-col>
|
|
@@ -1276,6 +1280,27 @@ export default {
|
|
|
},
|
|
|
//当前查看的阶段是第几阶段,默认给个0吧。
|
|
|
showStage: 0,
|
|
|
+ //模板表格
|
|
|
+ tableData: [{
|
|
|
+ type: '标准立项书模板',
|
|
|
+ name: '说明:请联系部门商务',
|
|
|
+ }, {
|
|
|
+ type: '商机审会决议书',
|
|
|
+ name: '说明:请联系部门商务',
|
|
|
+ },],
|
|
|
+ tableData1: [{
|
|
|
+ type: '项目评估模板',
|
|
|
+ name: '说明: 请联系部门商务',
|
|
|
+ }, {
|
|
|
+ type: '售前模板',
|
|
|
+ name: '说明: 请联系事业发展部门商务',
|
|
|
+ },{
|
|
|
+ type: '售前调研模板',
|
|
|
+ name: 'xXxx医院SPD项目 售前调研表 下载',
|
|
|
+ },{
|
|
|
+ type: '投标参数模板',
|
|
|
+ name: '说明: 请联系事业发展商务',
|
|
|
+ },],
|
|
|
};
|
|
|
},
|
|
|
//监听属性
|
|
@@ -1392,20 +1417,15 @@ export default {
|
|
|
} else {
|
|
|
boStage = this.form.basic.boStage + 1;
|
|
|
}
|
|
|
- this.$modal.confirm('确定要进入下一阶段吗!').then(function() {
|
|
|
+ this.$modal.confirm('确定要变更为下一阶段吗!').then(function() {
|
|
|
return nextFlow(boId, boStage);
|
|
|
}).then(() => {
|
|
|
getBasic(this.$route.params.id).then((response) => {
|
|
|
this.form.basic = response.data;
|
|
|
+ this.showStage = this.form.basic.boStage;
|
|
|
});
|
|
|
this.$modal.msgSuccess("流程扭转成功");
|
|
|
}).catch(() => {});
|
|
|
- // nextFlow(boId, boStage).then((res) => {
|
|
|
- // this.$modal.msgSuccess("流程扭转成功");
|
|
|
- // getBasic(this.$route.params.id).then((response) => {
|
|
|
- // this.form.basic = response.data;
|
|
|
- // });
|
|
|
- // });
|
|
|
}
|
|
|
},
|
|
|
//页签全部收起
|