Commit 6f262410 by 李少勇

客户风险分类报表原型页面开发

parent e99ebdf3
<template>
<div class="eibs-tab">
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="客户编号" prop="extkey">
<c-fullbox>
<c-input v-model="model.extkey" placeholder="请输入客户编号" :disabled="isPageDisabled || type === 'edit'">
</c-input>
<template slot="footer">
<c-button style="margin: 0 0 0 10px; padding: 0 12px" size="small" type="primary" :disabled="type == 'info'"
@click="clickHuoqu(model.extkey)">
获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="客户类型" prop="idtype">
<c-select v-model="model.idtype" style="width: 100%" :disabled="isPageDisabled || opertype == 'edit'"
placeholder="请选择客户类型" dbCode="IDTYPE" :isShowKeyAndLabel="true" filterable :filterKey="['D', 'F', '1', '2']">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="组织机构代码" prop="juscod">
<c-input v-model="model.juscod" placeholder="请输入组织机构代码" :disabled="isPageDisabled || opertype == 'edit'">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="金融机构类型" prop="akkcom">
<c-select dbCode="FINORG" :isShowKeyAndLabel="true" filterable clearable v-model="model.akkcom"
placeholder="请输入金融机构类型" :disabled="isPageDisabled || opertype == 'edit'"> </c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="支行代码" prop="branchcode">
<el-select v-model="model.branchcode" clearablex placeholder="请选择支行代码" :isShowKeyAndLabel="true"
:disabled="isPageDisabled" filterable clearable>
<el-option v-for="item in branchlist" :key="item.branch" :label="item.branch + ' - ' + item.bchname"
:value="item.branch">
<span>{{ item.branch + ' - ' + item.bchname }}</span>
</el-option>
</el-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="客户等级" prop="sla">
<c-select :disabled="isPageDisabled" v-model="model.sla" style="width: 100%" placeholder="请选择客户等级"
dbCode="SLATXT" :isShowKeyAndLabel="true" filterable> </c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="流动资金贷款利率档次" prop="cunqii">
<c-select :disabled="isPageDisabled" v-model="model.cunqii" style="width: 100%" placeholder="请选择流动资金贷款利率档次"
dbCode="CUNQII" :isShowKeyAndLabel="true" filterable> </c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="上浮比率" prop="bilvvv">
<c-input-number :disabled="isPageDisabled" v-model="model.bilvvv" placeholder="请输入上浮比率"> </c-input-number>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="贸金客户类别" prop="crmtyp">
<c-select :disabled="isPageDisabled" v-model="model.crmtyp" style="width: 100%" placeholder="请选择贸金客户类别" dbCode="CRMTYP" :isShowKeyAndLabel="true" filterable> </c-select>
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item label="特殊区域标志" prop="speeco">
<c-radio-group :disabled="isPageDisabled" v-model="model.speeco">
<el-radio label="Y"></el-radio>
<el-radio label=""></el-radio>
</c-radio-group>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="客户英文名称" prop="nam">
<c-input v-model="model.nam" placeholder="请于主地址输入英文名称" :disabled="isPageDisabled || opertype == 'edit'">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="客户中文名称" prop="nam1">
<c-input v-model="model.nam1" placeholder="请输入客户中文名称" :disabled="isPageDisabled || opertype == 'edit'">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="统一社会信用代码" prop="idcode">
<c-input v-model="model.idcode" placeholder="请输入统一社会信用代码" :disabled="isPageDisabled || opertype == 'edit'">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="企业规模(国标)" prop="qygmgb">
<c-select v-model="model.qygmgb" style="width: 100%" placeholder="请选择企业规模(国标)" dbCode="SIZTXT"
:disabled="isPageDisabled || opertype == 'edit'" :isShowKeyAndLabel="true" filterable> </c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="客户经理" prop="accusr">
<c-input :disabled="isPageDisabled" v-model="model.accusr" placeholder="请输入客户经理"> </c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="客户状态标志认定日期" prop="khbsdt">
<c-date-picker :disabled="isPageDisabled" v-model="model.khbsdt" placeholder="请输入客户状态标志认定日期" value-format="yyyy-MM-dd"> </c-date-picker>
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item label="企业海关十位制编码" prop="bngcod">
<c-input :disabled="isPageDisabled" v-model="model.bngcod" placeholder="请输入企业海关十位制编码"> </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交易主体" prop="trnman">
<c-select :disabled="isPageDisabled" v-model="model.trnman" style="width: 100%" placeholder="请选择交易主体"
dbCode="TRNMAN" filterable> </c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否电商" prop="dshflg">
<c-radio-group :disabled="isPageDisabled" v-model="model.dshflg">
<el-radio label="X"></el-radio>
<el-radio label=""></el-radio>
</c-radio-group>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="风险等级" prop="fxdj">
<c-input v-model="model.fxdj" placeholder="请输入风险等级"></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
export default {
name: "",
props: ["model", "type", "branchlist"],
data() {
return {
ptyExistsFlg: false,
oldPtyextkey: "",
oldBranchList: [],
chgBranchList: [],
bchAuthMod: {
cod_: "",
msg_: "",
zFlg: "N",
zMsg: "",
zBchList: [],
zBchkeyList: [],
zBranchList: [],
xFlg: "N",
xMsg: "",
xBchList: [],
xBchkeyList: [],
xBranchList: [],
},
};
},
mounted() {
this.oldBranchList = this.branchlist
this.chgBranchList = this.branchlist
},
created() {
},
computed: {
isPageDisabled() {
if (this.type == "info") {
return true
} else if (this.type == "edit") {
if (this.$route.query.maaFlg != "Y" && this.$route.query.zFlg != "Y") {
return true
}
} else if (this.type == "add") {
return false
}
return false
},
},
methods: {
//获取
async clickHuoqu(extkey) {
},
},
};
</script>
<style></style>
\ No newline at end of file
<template>
<div>
<c-page title="客户风险报表">
<el-form ref="modelForm" label-width="160px" size="small" label-position="right" :model="model" :rules="rules"
:validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card">
<el-tab-pane label="基本信息" name="pty">
<c-content>
<m-ovwp ref="pty" :model="model" :branchlist="branchlist" title="dbapty"></m-ovwp>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<div style="text-align: center">
<c-button type="primary" style="margin-right: 10px" @click="commitAdd">提 交</c-button>
<button class="el-button el-button--default el-button--small" style="margin-left: 0" size="small"
:disabled="false" @click.prevent="backToSearch">
<span>返 回</span>
</button>
</div>
</c-page>
</div>
</template>
<script>
import Utils from "~/utils";
import Ovwp from "./Ovwp.vue";
import Pty, { Pattern } from "~/page/Statics/Pty/Dbipty/Pty.js";
import { getBchcodlist } from "~/service/manage/pty.js";
export default {
name: "Inffxp",
components: {
"m-ovwp": Ovwp,
},
provide() {
return {
root: this,
};
},
props: {},
data() {
return {
tabVal: "pty",
rules: Pattern,
model: new Pty().data,
branchlist: [],
};
},
watch: {},
created() {
this.getBranch()
},
mounted() {
},
methods: {
//获取支行(分支行)列表
getBranch() {
getBchcodlist().then((res) => {
if (res.respCode == "AAAAAA") {
this.$set(this, "branchlist", res.data)
}
})
},
//点击"提交"按钮,弹出主地址窗口
commitAdd() {
},
backToSearch() {
this.$confirm(cancelMsg, "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
}).then(() => {
this.$store.commit('delTagsArry', this.$route.path)
this.$router.go(-1)
})
.catch(() => {
this.$message({
type: "info",
message: "已取消",
});
});
},
},
};
</script>
<style></style>
\ No newline at end of file
......@@ -71,6 +71,7 @@ export default class Pty {
bchkeybch: {},
branchbch: {},
ptycrm: {},
fxdj: '',
}
}
}
......
......@@ -245,6 +245,7 @@ const StaticsRouter = [
{ path: 'infjsl', component: () => import('./Infjsl/views'), name: 'Infjsl', meta: { keepAlive: true, title: '结算量明细报表'} },
{ path: 'infjgjsl', component: () => import('./Infjgjsl/views'), name: 'Infjgjsl', meta: { keepAlive: true, title: '机构结算量明细报表'} },
{ path: 'infkhjsl', component: () => import('./Infkhjsl/views'), name: 'Infkhjsl', meta: { keepAlive: true, title: '客户结算量明细报表'} },
{ path: 'inffxp', component: () => import('./Inffxp/views'), name: 'Inffxp', meta: { keepAlive: true, title: '客户风险分类报表'} },
]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment