Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
T
total-platform
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
物业总平台
total-platform
Commits
5c011341
提交
5c011341
authored
8月 07, 2023
作者:
何忠建
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
合作伙伴优化
上级
605fdf38
显示空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
32 行增加
和
32 行删除
+32
-32
PartnersDetails.vue
src/views/settled/partners/PartnersDetails.vue
+32
-32
没有找到文件。
src/views/settled/partners/PartnersDetails.vue
浏览文件 @
5c011341
...
@@ -84,14 +84,14 @@
...
@@ -84,14 +84,14 @@
:start=
"model.empowerBeginDate"
/>
:start=
"model.empowerBeginDate"
/>
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-col>
<a-col
:span=
"12"
>
<
!--
<
a-col
:span=
"12"
>
<a-form-model-item
label=
"分利规则"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
prop=
"sharingRuleName"
>
<a-form-model-item
label=
"分利规则"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
prop=
"sharingRuleName"
>
<a-input
v-model=
"model.sharingRuleName"
placeholder=
"请选择分利规则"
read-only
>
<a-input
v-model=
"model.sharingRuleName"
placeholder=
"请选择分利规则"
read-only
>
<a-icon
slot=
"addonAfter"
type=
"search"
@
click=
"chooseRules()"
/>
<a-icon
slot=
"addonAfter"
type=
"search"
@
click=
"chooseRules()"
/>
</a-input>
</a-input>
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-col>
-->
<a-col
:span=
"12"
>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"管理员账户"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
prop=
"adminLoginName"
>
<a-form-model-item
label=
"管理员账户"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
prop=
"adminLoginName"
>
<a-input
v-model=
"model.adminLoginName"
placeholder=
"请输入管理员账户"
></a-input>
<a-input
v-model=
"model.adminLoginName"
placeholder=
"请输入管理员账户"
></a-input>
...
@@ -129,7 +129,7 @@
...
@@ -129,7 +129,7 @@
</a-card>
</a-card>
</a-form-model>
</a-form-model>
</j-form-container>
</j-form-container>
<
Select-Rules-Modal
ref=
"selectRulesModal"
@
selectFinished=
"selectRulesOK"
></Select-Rules-Modal
>
<
!--
<Select-Rules-Modal
ref=
"selectRulesModal"
@
selectFinished=
"selectRulesOK"
></Select-Rules-Modal>
--
>
</a-spin>
</a-spin>
</
template
>
</
template
>
...
@@ -139,13 +139,13 @@ let timer = null
...
@@ -139,13 +139,13 @@ let timer = null
import
{
getPartnersDetailApi
,
auditPartnersApi
}
from
'@/api/api'
import
{
getPartnersDetailApi
,
auditPartnersApi
}
from
'@/api/api'
import
{
httpAction
,
getAction
}
from
'@/api/manage'
import
{
httpAction
,
getAction
}
from
'@/api/manage'
import
{
isMobile
,
validateCreditCode
,
alphanumeric
}
from
'@/utils/validate'
import
{
isMobile
,
validateCreditCode
,
alphanumeric
}
from
'@/utils/validate'
import
SelectRulesModal
from
'./modules/SelectRulesModal'
//
import SelectRulesModal from './modules/SelectRulesModal'
export
default
{
export
default
{
name
:
'PartnersDetails'
,
name
:
'PartnersDetails'
,
inject
:
[
'closeCurrent'
],
inject
:
[
'closeCurrent'
],
components
:
{
components
:
{
SelectRulesModal
,
//
SelectRulesModal,
},
},
data
()
{
data
()
{
const
validateToNextPhone
=
(
rule
,
value
,
callback
)
=>
{
const
validateToNextPhone
=
(
rule
,
value
,
callback
)
=>
{
...
@@ -198,7 +198,7 @@ export default {
...
@@ -198,7 +198,7 @@ export default {
//logoUrl: [{ required: true, message: '请上传集团LOGO', trigger: 'change' }],
//logoUrl: [{ required: true, message: '请上传集团LOGO', trigger: 'change' }],
empowerBeginDate
:
[{
required
:
true
,
message
:
'请选择授权开始日期'
,
trigger
:
'change'
}],
empowerBeginDate
:
[{
required
:
true
,
message
:
'请选择授权开始日期'
,
trigger
:
'change'
}],
empowerEndDate
:
[{
required
:
true
,
message
:
'请选择权结束日期'
,
trigger
:
'change'
}],
empowerEndDate
:
[{
required
:
true
,
message
:
'请选择权结束日期'
,
trigger
:
'change'
}],
sharingRuleName
:
[{
required
:
true
,
message
:
'请选择分利规则'
,
trigger
:
'change'
}],
//
sharingRuleName: [{ required: true, message: '请选择分利规则', trigger: 'change' }],
adminLoginName
:
[{
required
:
true
,
message
:
'请输入管理员账号'
,
trigger
:
'blur'
}],
adminLoginName
:
[{
required
:
true
,
message
:
'请输入管理员账号'
,
trigger
:
'blur'
}],
adminPassword
:
[{
required
:
true
,
message
:
'请输入管理员密码'
,
trigger
:
'blur'
}],
adminPassword
:
[{
required
:
true
,
message
:
'请输入管理员密码'
,
trigger
:
'blur'
}],
accessAddress
:
[
accessAddress
:
[
...
@@ -213,7 +213,7 @@ export default {
...
@@ -213,7 +213,7 @@ export default {
},
},
costList
:
[],
costList
:
[],
mapRef
:
null
,
mapRef
:
null
,
sharingRuleId
:[]
//
sharingRuleId:[]
}
}
},
},
computed
:
{
computed
:
{
...
@@ -274,25 +274,25 @@ export default {
...
@@ -274,25 +274,25 @@ export default {
this
.
$router
.
go
(
-
1
)
this
.
$router
.
go
(
-
1
)
},
},
//选择分利规则
//选择分利规则
chooseRules
()
{
//
chooseRules() {
this
.
sharingRuleId
=
this
.
model
.
sharingRuleId
.
split
(
','
)
//
this.sharingRuleId = this.model.sharingRuleId.split(',')
console
.
log
(
this
.
sharingRuleId
)
//
console.log(this.sharingRuleId)
console
.
log
(
11111
)
//
console.log(11111)
this
.
$refs
.
selectRulesModal
.
visible
=
true
//
this.$refs.selectRulesModal.visible = true
this
.
$refs
.
selectRulesModal
.
selectedRowKeys
=
this
.
sharingRuleId
//
this.$refs.selectRulesModal.selectedRowKeys = this.sharingRuleId
},
//
},
selectRulesOK
(
data
)
{
//
selectRulesOK(data) {
console
.
log
(
data
)
//
console.log(data)
let
sharingRuleId
=
''
//
let sharingRuleId = ''
let
sharingRuleName
=
''
//
let sharingRuleName = ''
for
(
var
a
=
0
;
a
<
data
.
length
;
a
++
)
{
//
for (var a = 0; a
<
data
.
length
;
a
++
)
{
sharingRuleId
+=
data
[
a
].
id
+
','
;
//
sharingRuleId += data[a].id + ',';
sharingRuleName
+=
data
[
a
].
ruleName
+
','
;
//
sharingRuleName += data[a].ruleName + ',';
}
//
}
sharingRuleId
=
sharingRuleId
.
substring
(
0
,
sharingRuleId
.
lastIndexOf
(
','
));
//
sharingRuleId = sharingRuleId.substring(0, sharingRuleId.lastIndexOf(','));
this
.
$set
(
this
.
model
,
'sharingRuleId'
,
sharingRuleId
);
//
this.$set(this.model,'sharingRuleId',sharingRuleId);
this
.
$set
(
this
.
model
,
'sharingRuleName'
,
sharingRuleName
);
//
this.$set(this.model,'sharingRuleName',sharingRuleName);
},
//
},
contactPhoneChange
(
e
)
{
contactPhoneChange
(
e
)
{
if
(
!
this
.
model
.
adminLoginName
)
{
if
(
!
this
.
model
.
adminLoginName
)
{
this
.
model
.
adminLoginName
=
e
.
target
.
value
this
.
model
.
adminLoginName
=
e
.
target
.
value
...
@@ -309,12 +309,12 @@ export default {
...
@@ -309,12 +309,12 @@ export default {
this
.
visible
=
true
this
.
visible
=
true
//
//
let
list
=
record
.
partnersInfo
.
shareRuleList
;
//
let list = record.partnersInfo.shareRuleList;
let
sharingRuleName
=
''
//
let sharingRuleName = ''
for
(
var
a
=
0
;
a
<
list
.
length
;
a
++
)
{
//
for (var a = 0; a
<
list
.
length
;
a
++
)
{
sharingRuleName
+=
list
[
a
].
ruleName
+
','
;
//
sharingRuleName += list[a].ruleName + ',';
}
//
}
this
.
$set
(
this
.
model
,
'sharingRuleName'
,
sharingRuleName
);
//
this.$set(this.model,'sharingRuleName',sharingRuleName);
},
},
onExamine
(
type
)
{
onExamine
(
type
)
{
const
that
=
this
const
that
=
this
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论