|
|
|
@ -401,46 +401,23 @@
|
|
|
|
|
</div>
|
|
|
|
|
<el-table :data="dataForm.subjectbusinesslineList" size='mini'>
|
|
|
|
|
<el-table-column type="index" width="50" label="序号" align="center" />
|
|
|
|
|
<el-table-column label="业务线主键" v-if="judgeShow('subjectbusinessline-businessLineId')"
|
|
|
|
|
<el-table-column label="关联业务线" v-if="judgeShow('subjectbusinessline-businessLineId')"
|
|
|
|
|
prop="businessLineId">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('subjectbusinesslineList-businessLineId')">*</span>业务线主键
|
|
|
|
|
v-if="judgeRequired('subjectbusinesslineList-businessLineId')">*</span>关联业务线
|
|
|
|
|
</template>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<JnpfInput v-model="scope.row.businessLineId"
|
|
|
|
|
@change="changeData('subjectbusinessline-businessLineId',scope.$index)" placeholder="请输入"
|
|
|
|
|
<JnpfPopupSelect v-model="scope.row.businessLineId"
|
|
|
|
|
@change="changeData('subjectbusinessline-businessLineId',scope.$index)" :rowIndex="scope.$index"
|
|
|
|
|
:formData="dataForm" :templateJson="interfaceRes.subjectbusinesslinebusinessLineId"
|
|
|
|
|
placeholder="请选择"
|
|
|
|
|
:disabled="judgeWrite('subjectbusinesslineList')||judgeWrite('subjectbusinesslineList-businessLineId')"
|
|
|
|
|
readonly clearable :style='{"width":"100%"}'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="业务线编码" v-if="judgeShow('subjectbusinessline-busunessLineCode')"
|
|
|
|
|
prop="busunessLineCode">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('subjectbusinesslineList-busunessLineCode')">*</span>业务线编码
|
|
|
|
|
</template>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<JnpfInput v-model="scope.row.busunessLineCode"
|
|
|
|
|
@change="changeData('subjectbusinessline-busunessLineCode',scope.$index)" placeholder="请输入"
|
|
|
|
|
:disabled="judgeWrite('subjectbusinesslineList')||judgeWrite('subjectbusinesslineList-busunessLineCode')"
|
|
|
|
|
readonly clearable :style='{"width":"100%"}'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="业务线名称" v-if="judgeShow('subjectbusinessline-busunessLineName')"
|
|
|
|
|
prop="busunessLineName">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('subjectbusinesslineList-busunessLineName')">*</span>业务线名称
|
|
|
|
|
</template>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<JnpfInput v-model="scope.row.busunessLineName"
|
|
|
|
|
@change="changeData('subjectbusinessline-busunessLineName',scope.$index)" placeholder="请输入"
|
|
|
|
|
:disabled="judgeWrite('subjectbusinesslineList')||judgeWrite('subjectbusinesslineList-busunessLineName')"
|
|
|
|
|
readonly clearable :style='{"width":"100%"}'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
propsValue="id" popupWidth="800px" popupTitle="选择数据" popupType="dialog" relationField='name'
|
|
|
|
|
:field="'businessLineId'+scope.$index" interfaceId="517979330417001669" :pageSize="20"
|
|
|
|
|
:columnOptions="subjectbusinesslinebusinessLineIdcolumnOptions" clearable
|
|
|
|
|
:style='{"width":"100%"}'>
|
|
|
|
|
</JnpfPopupSelect>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="操作" width="50" v-if="!judgeWrite('subjectbusinesslineList')">
|
|
|
|
@ -452,7 +429,7 @@
|
|
|
|
|
</el-table>
|
|
|
|
|
<div class="table-actions" @click="addsubjectbusinesslineList()"
|
|
|
|
|
v-if="!judgeWrite('subjectbusinesslineList')">
|
|
|
|
|
<el-button type="text" icon="el-icon-plus">添加</el-button>
|
|
|
|
|
<el-button type="text" icon="el-icon-plus">添加业务线</el-button>
|
|
|
|
|
</div>
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
</el-col>
|
|
|
|
@ -1283,28 +1260,10 @@
|
|
|
|
|
"hasPage": true,
|
|
|
|
|
"popupTitle": "选择数据",
|
|
|
|
|
"pageSize": 20,
|
|
|
|
|
"columnOptions": [{
|
|
|
|
|
"label": "业务线编号",
|
|
|
|
|
"value": "code"
|
|
|
|
|
}, {
|
|
|
|
|
"label": "业务线名称",
|
|
|
|
|
"value": "name"
|
|
|
|
|
}],
|
|
|
|
|
"interfaceId": "517979330417001669",
|
|
|
|
|
"interfaceName": "查询业务线列表",
|
|
|
|
|
"relationOptions": [{
|
|
|
|
|
"field": "businessLineId",
|
|
|
|
|
"type": 1,
|
|
|
|
|
"value": "id"
|
|
|
|
|
}, {
|
|
|
|
|
"field": "busunessLineCode",
|
|
|
|
|
"type": 1,
|
|
|
|
|
"value": "code"
|
|
|
|
|
}, {
|
|
|
|
|
"field": "busunessLineName",
|
|
|
|
|
"type": 1,
|
|
|
|
|
"value": "name"
|
|
|
|
|
}],
|
|
|
|
|
"columnOptions": [],
|
|
|
|
|
"interfaceId": "",
|
|
|
|
|
"interfaceName": "",
|
|
|
|
|
"relationOptions": [],
|
|
|
|
|
"templateJson": [],
|
|
|
|
|
"popupWidth": "800px"
|
|
|
|
|
},
|
|
|
|
@ -1407,10 +1366,6 @@
|
|
|
|
|
subjectbusinesslineList: {
|
|
|
|
|
businessLineId: '',
|
|
|
|
|
businessLineIdOptions: [],
|
|
|
|
|
busunessLineCode: '',
|
|
|
|
|
busunessLineCodeOptions: [],
|
|
|
|
|
busunessLineName: '',
|
|
|
|
|
busunessLineNameOptions: [],
|
|
|
|
|
enabledmark: undefined
|
|
|
|
|
},
|
|
|
|
|
subjectcontactsList: {
|
|
|
|
@ -1947,6 +1902,13 @@
|
|
|
|
|
"label": "fullName",
|
|
|
|
|
"value": "id"
|
|
|
|
|
},
|
|
|
|
|
subjectbusinesslinebusinessLineIdcolumnOptions: [{
|
|
|
|
|
"label": "业务线编码",
|
|
|
|
|
"value": "code"
|
|
|
|
|
}, {
|
|
|
|
|
"label": "业务线名称",
|
|
|
|
|
"value": "name"
|
|
|
|
|
}, ],
|
|
|
|
|
subjectcontactscontactsTypeOptions: [{
|
|
|
|
|
"fullName": "默认",
|
|
|
|
|
"id": "1"
|
|
|
|
@ -2035,8 +1997,6 @@
|
|
|
|
|
subjectrepresentativeidCardPhoto3: [],
|
|
|
|
|
subjectrepresentativeauthorizeFiles: [],
|
|
|
|
|
subjectbusinesslinebusinessLineId: [],
|
|
|
|
|
subjectbusinesslinebusunessLineCode: [],
|
|
|
|
|
subjectbusinesslinebusunessLineName: [],
|
|
|
|
|
subjectcontactslogo: [],
|
|
|
|
|
subjectcontactscontactsType: [],
|
|
|
|
|
subjectcontactsname: [],
|
|
|
|
@ -2507,9 +2467,7 @@
|
|
|
|
|
},
|
|
|
|
|
addsubjectbusinesslineList() {
|
|
|
|
|
let item = {
|
|
|
|
|
businessLineId: undefined,
|
|
|
|
|
busunessLineCode: undefined,
|
|
|
|
|
busunessLineName: undefined,
|
|
|
|
|
businessLineId: '',
|
|
|
|
|
}
|
|
|
|
|
this.getsubjectbusinesslineList(item)
|
|
|
|
|
},
|
|
|
|
|