alls
This commit is contained in:
+21
-9
@@ -399,11 +399,17 @@
|
||||
</el-form>
|
||||
<view class="dialog-footer">
|
||||
<el-button @tap="gosteps(steps-1)" v-if="steps>0">上一步</el-button>
|
||||
<el-button @tap="addAsset('bc')" v-if="id==0" v-loading.fullscreen.lock="save_loading">保存</el-button>
|
||||
<el-button @tap="editAsset('bc')" v-if="id>0&&status!='pending'" v-loading.fullscreen.lock="save_loading">保存</el-button>
|
||||
<el-button @tap="addAsset('bc')" v-if="id==0&&is_edit==1" v-loading.fullscreen.lock="save_loading">保存</el-button>
|
||||
<el-button @tap="editAsset('bc')" v-if="id>0&&status!='pending'&&is_edit==1" v-loading.fullscreen.lock="save_loading">保存</el-button>
|
||||
<el-button type="primary" @tap="gosteps(steps+1)" v-if="steps<3">下一步</el-button>
|
||||
<el-button type="primary" @tap="addAsset()" v-if="steps==3&&id==0" :loading="loading" >立即免费提交</el-button>
|
||||
<el-button type="primary" @tap="editAsset()" v-if="steps==3&&id>0&&status!='pending'" :loading="loading" >重新提交</el-button>
|
||||
<el-button type="primary" @tap="addAsset()" v-if="steps==3&&id==0&&status==''" :loading="loading" >立即免费提交</el-button>
|
||||
<el-button
|
||||
type="primary"
|
||||
@tap="editAsset()"
|
||||
v-if="steps==3 && id>0 && status!='pending'&&is_edit==1"
|
||||
:loading="loading"
|
||||
>重新提交</el-button>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -522,7 +528,10 @@ import Layout from './part/layouts.vue';
|
||||
credit_report_img:'',
|
||||
file_num:0,
|
||||
id:0,
|
||||
status:''
|
||||
status:'',
|
||||
contract_status:'',
|
||||
report_url:'',
|
||||
is_edit:1
|
||||
}
|
||||
},
|
||||
created(){
|
||||
@@ -533,17 +542,18 @@ import Layout from './part/layouts.vue';
|
||||
if(isMobile){
|
||||
this.list_rows = 30;
|
||||
}
|
||||
|
||||
},
|
||||
onShow() {
|
||||
this.steps = 0;
|
||||
let obj = this.$Route.query;
|
||||
if(obj.hasOwnProperty('id')){
|
||||
this.id = Number(obj.id);
|
||||
this.is_edit = Number(obj.is_edit||1);
|
||||
}
|
||||
if(this.id>0){
|
||||
this.getdetail()
|
||||
}
|
||||
},
|
||||
onShow() {
|
||||
|
||||
},
|
||||
mounted() {
|
||||
|
||||
@@ -556,7 +566,9 @@ import Layout from './part/layouts.vue';
|
||||
res=>{
|
||||
console.log(res.data,3333)
|
||||
this.status = res.data.status;
|
||||
console.log(this.status,3333)
|
||||
this.contract_status = res.data.contract_status;
|
||||
this.report_url = res.data.report_url;
|
||||
console.log(this.status,this.contract_status,3333)
|
||||
this.form.base_info = res.data.base_info;
|
||||
this.form.develop_info = res.data.develop_info;
|
||||
this.form.title_info = res.data.title_info;
|
||||
|
||||
Reference in New Issue
Block a user