|
|
@@ -16,6 +16,15 @@
|
|
|
<el-radio label="bank">银行卡</el-radio>
|
|
|
</el-radio-group>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item label="市场审核人">
|
|
|
+ <el-input v-model="ruleForm.sc_uid"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="财务审核人">
|
|
|
+ <el-input v-model="ruleForm.cw_uid"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="老板审核">
|
|
|
+ <el-input v-model="ruleForm.boss_uid"></el-input>
|
|
|
+ </el-form-item>
|
|
|
<el-form-item>
|
|
|
<el-button size="small" type="primary" @click="add()">确定</el-button>
|
|
|
</el-form-item>
|
|
|
@@ -53,7 +62,7 @@
|
|
|
watch: {},
|
|
|
created() {},
|
|
|
async mounted() {
|
|
|
-
|
|
|
+ this.getInfo();
|
|
|
},
|
|
|
methods: {
|
|
|
handleClose:function()
|
|
|
@@ -61,10 +70,18 @@
|
|
|
this.back.drawer_obj.config=false;
|
|
|
this.back.drawer_obj.id="";
|
|
|
},
|
|
|
+ async getInfo() {
|
|
|
+ this.loading = true;
|
|
|
+ let res = await this.$post("/uapi/pub/info/admin/config/get_lingxinbao_tx_config",{});
|
|
|
+ this.loading = false;
|
|
|
+ if (res.status == 1) {
|
|
|
+ this.ruleForm=res.data;
|
|
|
+ }
|
|
|
+ },
|
|
|
async add() {
|
|
|
this.loading = true;
|
|
|
let data=this.ruleForm;
|
|
|
- let res = await this.$post("/uapi/pub/info/admin/config/set_lingxinbao_tx_type",{val:this.ruleForm.type});
|
|
|
+ let res = await this.$post("/uapi/pub/info/admin/config/set_lingxinbao_tx_config",data);
|
|
|
this.loading = false;
|
|
|
if (res.status == 1) {
|
|
|
this.$message.success(`设置成功`);
|