|
@@ -21,6 +21,9 @@
|
|
|
</fieldset>
|
|
</fieldset>
|
|
|
<fieldset class="g-fieldset el-form--horizontal">
|
|
<fieldset class="g-fieldset el-form--horizontal">
|
|
|
<legend class="g-fieldset__legend">默认做市商资金账户</legend>
|
|
<legend class="g-fieldset__legend">默认做市商资金账户</legend>
|
|
|
|
|
+ <!-- <template v-for="item in talist" :key="item.accountid"> -->
|
|
|
|
|
+ <!-- <el-form-item label="币种" prop="userid">{{ item.currency }}</el-form-item> -->
|
|
|
|
|
+ <!-- </template> -->
|
|
|
</fieldset>
|
|
</fieldset>
|
|
|
<fieldset class="g-fieldset el-form--horizontal">
|
|
<fieldset class="g-fieldset el-form--horizontal">
|
|
|
<legend class="g-fieldset__legend">风险率信息</legend>
|
|
<legend class="g-fieldset__legend">风险率信息</legend>
|
|
@@ -46,6 +49,7 @@ import { getCustomerTypeList } from '@/constants/member'
|
|
|
import { useRequest } from '@/hooks/request'
|
|
import { useRequest } from '@/hooks/request'
|
|
|
import { getRiskRatioTypeForMarketer } from '@/services/api/investor'
|
|
import { getRiskRatioTypeForMarketer } from '@/services/api/investor'
|
|
|
import { CellProp } from '@pc/components/base/table-details/types'
|
|
import { CellProp } from '@pc/components/base/table-details/types'
|
|
|
|
|
+import { queryTAAccountList } from '@/services/api/common'
|
|
|
import AppSelectMember from '@pc/components/modules/select-member/index.vue'
|
|
import AppSelectMember from '@pc/components/modules/select-member/index.vue'
|
|
|
import AppDrawer from '@pc/components/base/drawer/index.vue'
|
|
import AppDrawer from '@pc/components/base/drawer/index.vue'
|
|
|
import AppTableDetails from '@pc/components/base/table-details/index.vue'
|
|
import AppTableDetails from '@pc/components/base/table-details/index.vue'
|
|
@@ -93,6 +97,16 @@ const { data: manger, run: runDefaultManager } = useRequest(getOragnDefaultManag
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
|
|
+const { data: talist, run: runTAAccountList } = useRequest(queryTAAccountList, {
|
|
|
|
|
+ manual: true,
|
|
|
|
|
+ params: {
|
|
|
|
|
+ userId: formData?.value.userid
|
|
|
|
|
+ },
|
|
|
|
|
+ onError: (err) => {
|
|
|
|
|
+ ElMessage.error(err)
|
|
|
|
|
+ }
|
|
|
|
|
+})
|
|
|
|
|
+
|
|
|
const { data: marker, run } = useRequest(getRiskRatioTypeForMarketer, {
|
|
const { data: marker, run } = useRequest(getRiskRatioTypeForMarketer, {
|
|
|
params: {
|
|
params: {
|
|
|
riskcontrolmode: 2,
|
|
riskcontrolmode: 2,
|
|
@@ -154,6 +168,10 @@ const onMemberChange = (item?: Model.OrganSelectRsp) => {
|
|
|
runDefaultManager({
|
|
runDefaultManager({
|
|
|
userid: userid.toString()
|
|
userid: userid.toString()
|
|
|
})
|
|
})
|
|
|
|
|
+ // 获取资金账号信息
|
|
|
|
|
+ runTAAccountList({
|
|
|
|
|
+ userId: userid
|
|
|
|
|
+ })
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|