|
@@ -73,92 +73,9 @@
|
|
|
</el-col>
|
|
|
|
|
|
</el-row>
|
|
|
- <!-- <el-row>
|
|
|
- <el-col span="8" :offset="2">
|
|
|
-
|
|
|
- <el-button type="primary" round @click="onButtonClickApply()" size="medium" >合作方产品申请</el-button>
|
|
|
-
|
|
|
- </el-col>
|
|
|
-
|
|
|
- <el-col span="8" :offset="4" >
|
|
|
-
|
|
|
- <el-button type="primary" round @click="onButtonClickEdit()" size="medium" >编辑合作方信息</el-button>
|
|
|
-
|
|
|
- </el-col>
|
|
|
- </el-row> -->
|
|
|
+
|
|
|
</el-form>
|
|
|
- <!-- <el-row>
|
|
|
- <el-col >
|
|
|
- <el-form label-position="labelPosition" class="model_add_button" label-width="150px">
|
|
|
-
|
|
|
- <el-row>
|
|
|
- <el-col span="10" offset="0">
|
|
|
- <el-form-item label="合作方名称" width="100px">
|
|
|
- <span>{{cooperatorName}}</span>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col span="10" :offset="4">
|
|
|
- <el-form-item label="合作方编号" width="100px">
|
|
|
- <span>{{cooperatorId}}</span>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
-
|
|
|
- </el-row>
|
|
|
- </el-form>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
- <el-row>
|
|
|
- <el-col >
|
|
|
- <el-form label-position="labelPosition" class="model_add_button" label-width="150px">
|
|
|
-
|
|
|
- <el-row>
|
|
|
- <el-col span="10" offset="0">
|
|
|
- <el-form-item label="合作方证件类型" width="100px">
|
|
|
- <span>{{corpCertificateType}}</span>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col span="10" :offset="4">
|
|
|
- <el-form-item label="合作方证件编号" width="100px">
|
|
|
- <span>{{corpCertificateNum}}</span>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
-
|
|
|
- </el-row>
|
|
|
- </el-form>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
-
|
|
|
- <el-row>
|
|
|
- <el-col>
|
|
|
- <el-form label-position="labelPosition" class="model_add_button" label-width="180px">
|
|
|
-
|
|
|
- <el-row>
|
|
|
- <el-col span="4">
|
|
|
-
|
|
|
- <el-button type="primary" round @click="onButtonClickApply()" size="mini" >合作方产品申请</el-button>
|
|
|
-
|
|
|
- </el-col>
|
|
|
-
|
|
|
- <el-col span="5" :offset="0">
|
|
|
-
|
|
|
- <el-button type="primary" round @click="onButtonClickEdit()" size="mini" >编辑合作方信息</el-button>
|
|
|
-
|
|
|
- </el-col>
|
|
|
- <el-col span="10" :offset="1">
|
|
|
- <el-form-item label="模板名称" width="100px">
|
|
|
- <span>{{templateName}}</span>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
-
|
|
|
- <el-col span="10" :offset="4">
|
|
|
- <el-form-item label="创建时间" width="100px">
|
|
|
- <span>{{createTime}}</span>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
- </el-form>
|
|
|
- </el-col>
|
|
|
- </el-row> -->
|
|
|
+
|
|
|
</div>
|
|
|
|
|
|
<el-divider></el-divider>
|
|
@@ -276,7 +193,13 @@
|
|
|
|
|
|
import {
|
|
|
getList,
|
|
|
- userInfo, partnerList, roleDel,findCooperatorListByName, findCooperatorFieldByNum, findCooperatorProductByNum
|
|
|
+ userInfo,
|
|
|
+ partnerList,
|
|
|
+ roleDel,
|
|
|
+ findCooperatorListByName,
|
|
|
+ findCooperatorFieldByNum,
|
|
|
+ findCooperatorProductByNum,
|
|
|
+ getTemplateById
|
|
|
} from '@/api/index.js'
|
|
|
import store from "@/store";
|
|
|
import request from '@/utils/request.js'
|
|
@@ -304,7 +227,8 @@ export default {
|
|
|
corpCertificateType:this.$route.query.corpCertificateType,
|
|
|
corpCertificateNum:this.$route.query.corpCertificateNum,
|
|
|
createTime : this.$route.query.createTime,
|
|
|
- templateName : this.$route.query.templateName,
|
|
|
+ templateId : this.$route.query.templateId,
|
|
|
+ templateName:'',
|
|
|
cooperatorData : [],
|
|
|
selected1: true,
|
|
|
selected2: false,
|
|
@@ -325,6 +249,17 @@ export default {
|
|
|
beforeMount() {},
|
|
|
mounted()
|
|
|
{
|
|
|
+ if(this.templateId){
|
|
|
+ getTemplateById(this.templateId).then(
|
|
|
+ res=>
|
|
|
+ {
|
|
|
+ this.templateName=res.data.templateName;
|
|
|
+ }
|
|
|
+ )
|
|
|
+ }
|
|
|
+ if (this.cooperatorNum==""){
|
|
|
+ this.cooperatorNum=null
|
|
|
+ }
|
|
|
findCooperatorFieldByNum(this.cooperatorNum).then(
|
|
|
res=>
|
|
|
{
|
|
@@ -437,7 +372,7 @@ export default {
|
|
|
modelName:row.modelName,
|
|
|
cooperatorName:this.$route.query.cooperatorName,
|
|
|
|
|
|
- }// 要传递的参数
|
|
|
+ }// 要传递的参数
|
|
|
})
|
|
|
},
|
|
|
onButtonClickEdit() {
|
|
@@ -448,7 +383,11 @@ export default {
|
|
|
'cooperatorId' : this.cooperatorId,
|
|
|
'cooperatorNum' : this.cooperatorNum,
|
|
|
'cooperatorName' : this.cooperatorName,
|
|
|
- 'createTime' : this.createTime
|
|
|
+ 'createTime' : this.createTime,
|
|
|
+ 'templateName':this.templateName,
|
|
|
+ 'templateId':this.templateId,
|
|
|
+
|
|
|
+
|
|
|
}
|
|
|
})
|
|
|
},
|