|
@@ -956,7 +956,9 @@
|
|
<el-card :body-style="{ padding: '0px'}" shadow="always" style="margin-left: 5%; margin-right: 5%; width: 20%;" v-if="hasStatement">
|
|
<el-card :body-style="{ padding: '0px'}" shadow="always" style="margin-left: 5%; margin-right: 5%; width: 20%;" v-if="hasStatement">
|
|
<img :src="statementCardPNG" class="image">
|
|
<img :src="statementCardPNG" class="image">
|
|
<div style="padding: 14px;">
|
|
<div style="padding: 14px;">
|
|
- <span>房地产意见书</span> <time class="time">{{ statementProd.modified }}</time>
|
|
|
|
|
|
+ <span>房地产意见书</span>
|
|
|
|
+ <span class="checked">{{ statementProd.checkState }}<i v-if="statementProd.checkState" class="el-icon-circle-check"></i></span>
|
|
|
|
+ <time class="time">{{ statementProd.modified }}</time>
|
|
<div class="control" >
|
|
<div class="control" >
|
|
<el-button type="text" class="button" @click="doStamp(statementProd.files)" :disabled="currentNode.nodeCode!='GENERATE_STATEMENT'">加盖公章</el-button>
|
|
<el-button type="text" class="button" @click="doStamp(statementProd.files)" :disabled="currentNode.nodeCode!='GENERATE_STATEMENT'">加盖公章</el-button>
|
|
<el-button type="text" class="button" @click="warehouse()" :disabled="currentNode.nodeCode!='STATEMENT_IN' && currentNode.nodeCode!='STATEMENT_OUT'">出入库</el-button>
|
|
<el-button type="text" class="button" @click="warehouse()" :disabled="currentNode.nodeCode!='STATEMENT_IN' && currentNode.nodeCode!='STATEMENT_OUT'">出入库</el-button>
|
|
@@ -974,10 +976,12 @@
|
|
<el-card :body-style="{ padding: '0px' }" shadow="always" style="margin-left: 5%; margin-right: 5%;width: 20%;" v-if="hasReport">
|
|
<el-card :body-style="{ padding: '0px' }" shadow="always" style="margin-left: 5%; margin-right: 5%;width: 20%;" v-if="hasReport">
|
|
<img :src="technicCardPNG" class="image">
|
|
<img :src="technicCardPNG" class="image">
|
|
<div style="padding: 14px;">
|
|
<div style="padding: 14px;">
|
|
- <span>技术报告</span><time class="time">{{ technicReportProd.modified }}</time>
|
|
|
|
|
|
+ <span>技术报告</span>
|
|
|
|
+ <span class="checked">{{ technicReportProd.checkState }}<i v-if="technicReportProd.checkState" class="el-icon-circle-check"></i></span>
|
|
|
|
+ <time class="time">{{ technicReportProd.modified }}</time>
|
|
<div class="control">
|
|
<div class="control">
|
|
<el-button type="text" class="button" @click="doStamp(technicReportProd.files)" :disabled="currentNode.nodeCode!='WRITE_REPORT'">加盖公章</el-button>
|
|
<el-button type="text" class="button" @click="doStamp(technicReportProd.files)" :disabled="currentNode.nodeCode!='WRITE_REPORT'">加盖公章</el-button>
|
|
- <el-button type="text" class="button" @click="doStamp(technicReportProd.files)" :disabled="currentNode.nodeCode!='REPORT_IN' && currentNode.nodeCode!='REPORT_OUT'">出入库</el-button>
|
|
|
|
|
|
+ <el-button type="text" class="button" @click="warehouse()" :disabled="currentNode.nodeCode!='REPORT_IN' && currentNode.nodeCode!='REPORT_OUT'">出入库</el-button>
|
|
<el-button type="text" class="button" @click="genProductionFile(2)" :disabled="currentNode.nodeCode!='WRITE_REPORT'">系统生成</el-button>
|
|
<el-button type="text" class="button" @click="genProductionFile(2)" :disabled="currentNode.nodeCode!='WRITE_REPORT'">系统生成</el-button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -991,10 +995,12 @@
|
|
<el-card :body-style="{ padding: '0px'}" shadow="always" style="margin-left: 5%; margin-right: 5%;width: 20%;" v-if="hasReport">
|
|
<el-card :body-style="{ padding: '0px'}" shadow="always" style="margin-left: 5%; margin-right: 5%;width: 20%;" v-if="hasReport">
|
|
<img :src="finalCardPNG" class="image">
|
|
<img :src="finalCardPNG" class="image">
|
|
<div style="padding: 14px;">
|
|
<div style="padding: 14px;">
|
|
- <span>结果报告</span><time class="time">{{ finalReprotProd.modified }}</time>
|
|
|
|
|
|
+ <span>结果报告</span>
|
|
|
|
+ <span class="checked">{{ finalReprotProd.checkState }}<i v-if="finalReprotProd.checkState" class="el-icon-circle-check"></i></span>
|
|
|
|
+ <time class="time">{{ finalReprotProd.modified }}</time>
|
|
<div class="control" >
|
|
<div class="control" >
|
|
<el-button type="text" class="button" @click="doStamp(finalReprotProd.files)" :disabled="currentNode.nodeCode!='WRITE_REPORT'">加盖公章</el-button>
|
|
<el-button type="text" class="button" @click="doStamp(finalReprotProd.files)" :disabled="currentNode.nodeCode!='WRITE_REPORT'">加盖公章</el-button>
|
|
- <el-button type="text" class="button" @click="doStamp(finalReprotProd.files)" :disabled="currentNode.nodeCode!='REPORT_IN' && currentNode.nodeCode!='REPORT_OUT'">出入库</el-button>
|
|
|
|
|
|
+ <el-button type="text" class="button" @click="warehouse()" :disabled="currentNode.nodeCode!='REPORT_IN' && currentNode.nodeCode!='REPORT_OUT'">出入库</el-button>
|
|
<el-button type="text" class="button" @click="genProductionFile(3)" :disabled="currentNode.nodeCode!='WRITE_REPORT'">系统生成</el-button>
|
|
<el-button type="text" class="button" @click="genProductionFile(3)" :disabled="currentNode.nodeCode!='WRITE_REPORT'">系统生成</el-button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -1082,7 +1088,7 @@
|
|
<el-dialog :visible.sync="inWarehouseDialog" width="25%" center top="35vh" custom-class="doWarehouseClass">
|
|
<el-dialog :visible.sync="inWarehouseDialog" width="25%" center top="35vh" custom-class="doWarehouseClass">
|
|
<div>
|
|
<div>
|
|
<i class="el-icon-warning" style="color:RGB(230,162,60);font-size:22px;margin-right:10px;"></i>
|
|
<i class="el-icon-warning" style="color:RGB(230,162,60);font-size:22px;margin-right:10px;"></i>
|
|
- <span style="position:absolute;top:58px">{{ warehouseTip }}</span>
|
|
|
|
|
|
+ <span style="position:absolute;top:58px;padding-right:50px">{{ warehouseTip }}</span>
|
|
</div>
|
|
</div>
|
|
<span slot="footer" class="dialog-footer">
|
|
<span slot="footer" class="dialog-footer">
|
|
<el-button @click="warehouseDialog = false">取 消</el-button>
|
|
<el-button @click="warehouseDialog = false">取 消</el-button>
|
|
@@ -1099,6 +1105,73 @@
|
|
<el-button type="primary" @click="doOutWareHouse()">确 定</el-button>
|
|
<el-button type="primary" @click="doOutWareHouse()">确 定</el-button>
|
|
</span>
|
|
</span>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
+ <el-dialog :visible.sync="checkDialog" width="50%" center top="25vh" custom-class="doWarehouseClass">
|
|
|
|
+ <el-divider content-position="left">产品审核</el-divider>
|
|
|
|
+ <el-form ref="targetForm" :model="target">
|
|
|
|
+ <el-row>
|
|
|
|
+ <el-col :xs="24" :sm="12" :lg="24" :span="6">
|
|
|
|
+ <el-form-item
|
|
|
|
+ label="坐落:"
|
|
|
|
+ prop="location"
|
|
|
|
+ label-width="140px"
|
|
|
|
+ class="postInfo-container-item"
|
|
|
|
+ >
|
|
|
|
+ <el-input :value="target.location" class="filter-item" disabled readonly style=" width: 100%"/>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ </el-row>
|
|
|
|
+ <el-row>
|
|
|
|
+ <el-col :xs="24" :sm="12" :lg="8" :span="6">
|
|
|
|
+ <el-form-item
|
|
|
|
+ label="评估面积(平):"
|
|
|
|
+ prop="acreage"
|
|
|
|
+ label-width="140px"
|
|
|
|
+ class="postInfo-container-item"
|
|
|
|
+ >
|
|
|
|
+ <el-input v-model="target.acreage" disabled readonly ></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :xs="24" :sm="12" :lg="8" :span="6">
|
|
|
|
+ <el-form-item
|
|
|
|
+ label="评估单价(元):"
|
|
|
|
+ prop="price"
|
|
|
|
+ label-width="140px"
|
|
|
|
+ class="postInfo-container-item"
|
|
|
|
+ >
|
|
|
|
+ <el-input v-model="target.price" disabled readonly></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :xs="24" :sm="12" :lg="8" :span="6">
|
|
|
|
+ <el-form-item
|
|
|
|
+ label="评估总价(元):"
|
|
|
|
+ prop="amount"
|
|
|
|
+ label-width="140px"
|
|
|
|
+ class="postInfo-container-item"
|
|
|
|
+ >
|
|
|
|
+ <el-input v-model="target.amount" disabled readonly></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ </el-row>
|
|
|
|
+ <el-row>
|
|
|
|
+ <el-col :xs="24" :sm="12" :lg="24" :span="6">
|
|
|
|
+ <el-form-item
|
|
|
|
+ label="备注:"
|
|
|
|
+ prop="amount"
|
|
|
|
+ label-width="140px"
|
|
|
|
+ class="postInfo-container-item"
|
|
|
|
+ >
|
|
|
|
+ <span style="font-weight: bolder; color: red;">本人已对评估结果信息及报告文档完成审核,已确认无误。</span>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ </el-row>
|
|
|
|
+ <el-row>
|
|
|
|
+ <el-col :xs="24" :sm="12" :lg="24" :span="6">
|
|
|
|
+ <el-button type="info" plain style="margin-left: 40%;" @click="checkDialog=false">取消</el-button>
|
|
|
|
+ <el-button type="success" plain @click="checkPass()">确认</el-button>
|
|
|
|
+ </el-col>
|
|
|
|
+ </el-row>
|
|
|
|
+ </el-form>
|
|
|
|
+ </el-dialog>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<script>
|
|
<script>
|
|
@@ -1195,7 +1268,8 @@
|
|
currentNodeInstanceCode:null,
|
|
currentNodeInstanceCode:null,
|
|
production:[],
|
|
production:[],
|
|
businessSubId:null,
|
|
businessSubId:null,
|
|
- ifFeedback:null
|
|
|
|
|
|
+ ifFeedback:null,
|
|
|
|
+ ccId:null
|
|
},
|
|
},
|
|
currentNode:{
|
|
currentNode:{
|
|
flowId:null,
|
|
flowId:null,
|
|
@@ -1221,6 +1295,7 @@
|
|
purpose:[],
|
|
purpose:[],
|
|
location:null,
|
|
location:null,
|
|
clienteleType:null,
|
|
clienteleType:null,
|
|
|
|
+ clienteleId:null,
|
|
cclienteleName:null,
|
|
cclienteleName:null,
|
|
cclienteleSubName:null,
|
|
cclienteleSubName:null,
|
|
agent:null,
|
|
agent:null,
|
|
@@ -1413,19 +1488,22 @@
|
|
id:null,
|
|
id:null,
|
|
targetId:null,
|
|
targetId:null,
|
|
files:[],
|
|
files:[],
|
|
- created:null
|
|
|
|
|
|
+ created:null,
|
|
|
|
+ checkSatae:null
|
|
},
|
|
},
|
|
technicReportProd:{
|
|
technicReportProd:{
|
|
id:null,
|
|
id:null,
|
|
targetId:null,
|
|
targetId:null,
|
|
files:[],
|
|
files:[],
|
|
- created:null
|
|
|
|
|
|
+ created:null,
|
|
|
|
+ checkSatae:null
|
|
},
|
|
},
|
|
finalReprotProd:{
|
|
finalReprotProd:{
|
|
id:null,
|
|
id:null,
|
|
targetId:null,
|
|
targetId:null,
|
|
files:[],
|
|
files:[],
|
|
- created:null
|
|
|
|
|
|
+ created:null,
|
|
|
|
+ checkSatae:null
|
|
},
|
|
},
|
|
statementCardPNG:emptyPNG,
|
|
statementCardPNG:emptyPNG,
|
|
technicCardPNG:emptyPNG,
|
|
technicCardPNG:emptyPNG,
|
|
@@ -1436,7 +1514,12 @@
|
|
productionId:null,
|
|
productionId:null,
|
|
hasStatement:false,
|
|
hasStatement:false,
|
|
hasReport:false,
|
|
hasReport:false,
|
|
- feedback:[]
|
|
|
|
|
|
+ feedback:[],
|
|
|
|
+ checkDialog:false,
|
|
|
|
+ checkProDTO:{
|
|
|
|
+ targetId:null,
|
|
|
|
+ production:null
|
|
|
|
+ }
|
|
|
|
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -1475,6 +1558,7 @@
|
|
if (this.personal.evaluateAim==='抵押'){
|
|
if (this.personal.evaluateAim==='抵押'){
|
|
this.linkAttributes.ownerName = this.personal.bailorA;
|
|
this.linkAttributes.ownerName = this.personal.bailorA;
|
|
}
|
|
}
|
|
|
|
+ this.nodeBusinessInfo.ccId = this.personal.clienteleId;
|
|
}
|
|
}
|
|
})
|
|
})
|
|
}
|
|
}
|
|
@@ -1611,8 +1695,14 @@
|
|
callback(verify);
|
|
callback(verify);
|
|
return ;
|
|
return ;
|
|
case "REVIEW_STATEMENT":
|
|
case "REVIEW_STATEMENT":
|
|
- const id = this.statementProd.id
|
|
|
|
- this.checkPass(id);
|
|
|
|
|
|
+ if (!this.statementProd.checkState){
|
|
|
|
+ verify.state = false;
|
|
|
|
+ callback(verify);
|
|
|
|
+ this.checkProDTO.production = "STATEMENT";
|
|
|
|
+ this.checkProDTO.targetId = this.target.id;
|
|
|
|
+ this.checkDialog = true
|
|
|
|
+ return ;
|
|
|
|
+ }
|
|
callback(verify);
|
|
callback(verify);
|
|
return ;
|
|
return ;
|
|
case "WRITE_REPORT":
|
|
case "WRITE_REPORT":
|
|
@@ -1640,6 +1730,17 @@
|
|
}
|
|
}
|
|
callback(verify);
|
|
callback(verify);
|
|
return ;
|
|
return ;
|
|
|
|
+ case "CHECK_REPORT":
|
|
|
|
+ if (!this.technicReportProd.checkState || !this.finalReprotProd.checkState){
|
|
|
|
+ verify.state = false;
|
|
|
|
+ callback(verify);
|
|
|
|
+ this.checkProDTO.production = "REPORT";
|
|
|
|
+ this.checkProDTO.targetId = this.target.id;
|
|
|
|
+ this.checkDialog = true
|
|
|
|
+ return ;
|
|
|
|
+ }
|
|
|
|
+ callback(verify);
|
|
|
|
+ return ;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -2007,41 +2108,70 @@
|
|
}
|
|
}
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- checkPass(id){
|
|
|
|
- this.$api.personalProduction.checkPass(id);
|
|
|
|
|
|
+ checkPass(){
|
|
|
|
+ if (this.checkProDTO.targetId && this.checkProDTO.production){
|
|
|
|
+ const taskRecordDTO = this.buildTaskRecordDTO(this.checkProDTO);
|
|
|
|
+ this.$api.personalProduction.checkPass(taskRecordDTO).then(res=>{
|
|
|
|
+ if (res.code ===200 && res.data){
|
|
|
|
+ this.$notify({
|
|
|
|
+ title: '成功',
|
|
|
|
+ message:'审核成功',
|
|
|
|
+ type: 'success',
|
|
|
|
+ duration: 2000
|
|
|
|
+ });
|
|
|
|
+ }else{
|
|
|
|
+ this.$notify({
|
|
|
|
+ title: '失败',
|
|
|
|
+ message:'审核失败',
|
|
|
|
+ type: 'error',
|
|
|
|
+ duration: 2000
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+ this.checkDialog = false;
|
|
|
|
+ this.getProductions();
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+
|
|
},
|
|
},
|
|
warehouse(){
|
|
warehouse(){
|
|
const code = this.currentNode.nodeCode;
|
|
const code = this.currentNode.nodeCode;
|
|
if (code==='STATEMENT_IN'){
|
|
if (code==='STATEMENT_IN'){
|
|
const fileName = this.statementProd.files[0].name
|
|
const fileName = this.statementProd.files[0].name
|
|
this.warehouseTip = "请确认将["+fileName+"]入库?";
|
|
this.warehouseTip = "请确认将["+fileName+"]入库?";
|
|
- this.productionId = this.statementProd.id;
|
|
|
|
|
|
+ this.checkProDTO.production = "STATEMENT";
|
|
|
|
+ this.checkProDTO.targetId = this.target.id;
|
|
this.inWarehouseDialog = true;
|
|
this.inWarehouseDialog = true;
|
|
}
|
|
}
|
|
if (code==='STATEMENT_OUT'){
|
|
if (code==='STATEMENT_OUT'){
|
|
const fileName = this.statementProd.files[0].name
|
|
const fileName = this.statementProd.files[0].name
|
|
this.warehouseTip = "请确认将["+fileName+"]出库?";
|
|
this.warehouseTip = "请确认将["+fileName+"]出库?";
|
|
- this.productionId = this.statementProd.id;
|
|
|
|
|
|
+ this.checkProDTO.production = "STATEMENT";
|
|
|
|
+ this.checkProDTO.targetId = this.target.id;
|
|
this.outWarehouseDialog = true;
|
|
this.outWarehouseDialog = true;
|
|
}
|
|
}
|
|
if (code==='REPORT_IN'){
|
|
if (code==='REPORT_IN'){
|
|
- const fileName = this.technicReportProd.files[0].name
|
|
|
|
- this.warehouseTip = "请确认将["+fileName+"]入库?";
|
|
|
|
- this.productionId = this.statementProd.id
|
|
|
|
|
|
+ const technicName = this.technicReportProd.files[0].name;
|
|
|
|
+ const fianlName = this.finalReprotProd.files[0].name;
|
|
|
|
+ this.warehouseTip = "请确认将["+technicName+"],["+fianlName+"]入库?";
|
|
|
|
+ this.checkProDTO.production = "REPORT";
|
|
|
|
+ this.checkProDTO.targetId = this.target.id;
|
|
|
|
+
|
|
this.inWarehouseDialog = true;
|
|
this.inWarehouseDialog = true;
|
|
}
|
|
}
|
|
if (code==='REPORT_OUT'){
|
|
if (code==='REPORT_OUT'){
|
|
- const fileName = this.technicReportProd.files[0].name
|
|
|
|
- this.warehouseTip = "请确认将["+fileName+"]出库?";
|
|
|
|
- this.productionId = this.statementProd.id;
|
|
|
|
|
|
+ const technicName = this.technicReportProd.files[0].name
|
|
|
|
+ const fianlName = this.finalReprotProd.files[0].name;
|
|
|
|
+ this.warehouseTip = "请确认将["+technicName+"],["+fianlName+"]出库?";
|
|
|
|
+ this.checkProDTO.production = "REPORT";
|
|
|
|
+ this.checkProDTO.targetId = this.target.id;
|
|
this.outWarehouseDialog = true;
|
|
this.outWarehouseDialog = true;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
},
|
|
},
|
|
doInWareHouse(){
|
|
doInWareHouse(){
|
|
- if (this.productionId){
|
|
|
|
- let taskRecordDTO = this.buildTaskRecordDTO(this.productionId);
|
|
|
|
|
|
+ if (this.checkProDTO.targetId && this.checkProDTO.production){
|
|
|
|
+ let taskRecordDTO = this.buildTaskRecordDTO(this.checkProDTO);
|
|
this.$api.personalProduction.inWareHouse(taskRecordDTO).then(res=>{
|
|
this.$api.personalProduction.inWareHouse(taskRecordDTO).then(res=>{
|
|
if (res.code ===200 && res.data){
|
|
if (res.code ===200 && res.data){
|
|
this.$notify({
|
|
this.$notify({
|
|
@@ -2064,8 +2194,8 @@
|
|
|
|
|
|
},
|
|
},
|
|
doOutWareHouse(){
|
|
doOutWareHouse(){
|
|
- if (this.productionId){
|
|
|
|
- let taskRecordDTO = this.buildTaskRecordDTO(this.productionId);
|
|
|
|
|
|
+ if (this.checkProDTO.targetId && this.checkProDTO.production){
|
|
|
|
+ let taskRecordDTO = this.buildTaskRecordDTO(this.checkProDTO);
|
|
this.$api.personalProduction.outWareHouse(taskRecordDTO).then(res=>{
|
|
this.$api.personalProduction.outWareHouse(taskRecordDTO).then(res=>{
|
|
if (res.code ===200 && res.data){
|
|
if (res.code ===200 && res.data){
|
|
this.$notify({
|
|
this.$notify({
|
|
@@ -2216,5 +2346,10 @@
|
|
position: relative;
|
|
position: relative;
|
|
top: 10px;
|
|
top: 10px;
|
|
}
|
|
}
|
|
|
|
+ .checked{
|
|
|
|
+ margin-left:10px;
|
|
|
|
+ font-size:12px;
|
|
|
|
+ color:green;
|
|
|
|
+ }
|
|
</style>
|
|
</style>
|
|
|
|
|