|
@@ -255,6 +255,14 @@
|
|
|
v-hasPermi="['company:company:AppRedPacket']"
|
|
v-hasPermi="['company:company:AppRedPacket']"
|
|
|
>绑定app提现商户</el-button>
|
|
>绑定app提现商户</el-button>
|
|
|
|
|
|
|
|
|
|
+ <el-button
|
|
|
|
|
+ size="mini"
|
|
|
|
|
+ type="text"
|
|
|
|
|
+ icon="el-icon-edit"
|
|
|
|
|
+ @click="handleSidebarChange(scope.row)"
|
|
|
|
|
+ >侧边栏封面设置</el-button>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
</el-table>
|
|
</el-table>
|
|
@@ -546,6 +554,12 @@
|
|
|
</div>
|
|
</div>
|
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
|
|
|
|
|
|
+ <el-dialog title="侧边栏封面图" :visible.sync="sidebarFrom.open" width="500px" append-to-body>
|
|
|
|
|
+ <image-upload v-model="sidebarFrom.imageUrl" :limit="1"/>
|
|
|
|
|
+ <div slot="footer" class="dialog-footer">
|
|
|
|
|
+ <el-button type="primary" @click="handSaveSidebarCompanyImage">提交</el-button>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </el-dialog>
|
|
|
|
|
|
|
|
<el-dialog :title="recharge.title" :visible.sync="recharge.open" width="500px" append-to-body>
|
|
<el-dialog :title="recharge.title" :visible.sync="recharge.open" width="500px" append-to-body>
|
|
|
<el-form ref="rechargeForm" :rules="rechargeRules" :model="rechargeForm" label-width="80px">
|
|
<el-form ref="rechargeForm" :rules="rechargeRules" :model="rechargeForm" label-width="80px">
|
|
@@ -685,7 +699,7 @@
|
|
|
<div v-for="(account, index) in revenueForm.acctInfos" :key="index"
|
|
<div v-for="(account, index) in revenueForm.acctInfos" :key="index"
|
|
|
style="border: 1px solid #dcdfe6; padding: 20px; margin-bottom: 20px; border-radius: 4px;"
|
|
style="border: 1px solid #dcdfe6; padding: 20px; margin-bottom: 20px; border-radius: 4px;"
|
|
|
>
|
|
>
|
|
|
- <div style="display: flex; justify-content: between; align-items: center; margin-bottom: 15px;">
|
|
|
|
|
|
|
+ <div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px;">
|
|
|
<div style="margin: 0; color: #409eff;">账户 {{ index + 1 }}</div>
|
|
<div style="margin: 0; color: #409eff;">账户 {{ index + 1 }}</div>
|
|
|
<el-button
|
|
<el-button
|
|
|
type="danger"
|
|
type="danger"
|
|
@@ -938,7 +952,7 @@ import { getFollowDoctorList } from '@/api/his/doctor'
|
|
|
import { docList } from '@/api/his/doctor'
|
|
import { docList } from '@/api/his/doctor'
|
|
|
import { getVoiceApiList } from '@/api/company/companyVoiceApi'
|
|
import { getVoiceApiList } from '@/api/company/companyVoiceApi'
|
|
|
import { editCompanyConfig,getCompanyConfigKey } from '@/api/company/companyConfig'
|
|
import { editCompanyConfig,getCompanyConfigKey } from '@/api/company/companyConfig'
|
|
|
-import { getCitysArea } from '../../../api/company/company'
|
|
|
|
|
|
|
+import { getCitysArea, getSidebarCompanyImage, saveSidebarCompanyImage } from '../../../api/company/company'
|
|
|
import { cateList } from '@/api/his/packageCate'
|
|
import { cateList } from '@/api/his/packageCate'
|
|
|
import { getConfigByKey } from '@/api/system/config'
|
|
import { getConfigByKey } from '@/api/system/config'
|
|
|
import { listDept } from '@/api/system/dept'
|
|
import { listDept } from '@/api/system/dept'
|
|
@@ -950,7 +964,7 @@ export default {
|
|
|
name: 'Company',
|
|
name: 'Company',
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
-
|
|
|
|
|
|
|
+ uploadUrl:process.env.VUE_APP_BASE_API+"/common/uploadOSS",
|
|
|
redPacketConfigOpen:{
|
|
redPacketConfigOpen:{
|
|
|
open: false,
|
|
open: false,
|
|
|
title: '红包商户配置'
|
|
title: '红包商户配置'
|
|
@@ -1163,10 +1177,17 @@ export default {
|
|
|
accountId: null
|
|
accountId: null
|
|
|
},
|
|
},
|
|
|
subMerchantList: [],
|
|
subMerchantList: [],
|
|
|
|
|
+
|
|
|
|
|
+ //侧边栏图片
|
|
|
|
|
+ sidebarFrom:{
|
|
|
|
|
+ open:false,
|
|
|
|
|
+ companyId:null,
|
|
|
|
|
+ imageUrl:null
|
|
|
|
|
+ },
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
created() {
|
|
created() {
|
|
|
- merchantOptions().then(res=>{
|
|
|
|
|
|
|
+ merchantOptions().then(res=>{
|
|
|
this.subMerchantList = res.data;
|
|
this.subMerchantList = res.data;
|
|
|
});
|
|
});
|
|
|
getGatewayCompanyList().then(res=>{
|
|
getGatewayCompanyList().then(res=>{
|
|
@@ -1730,6 +1751,28 @@ export default {
|
|
|
this.hisAppRedPacketForm.configId=res.data.configId;
|
|
this.hisAppRedPacketForm.configId=res.data.configId;
|
|
|
this.hisAppRedPacketOpen.open=true;
|
|
this.hisAppRedPacketOpen.open=true;
|
|
|
})
|
|
})
|
|
|
|
|
+ },
|
|
|
|
|
+
|
|
|
|
|
+ handleSidebarChange(row){
|
|
|
|
|
+ const companyId=row.companyId;
|
|
|
|
|
+ getSidebarCompanyImage(companyId).then(res=>{
|
|
|
|
|
+ this.sidebarFrom.imageUrl=res.imageUrl;
|
|
|
|
|
+ this.sidebarFrom.companyId=companyId;
|
|
|
|
|
+ this.sidebarFrom.open=true;
|
|
|
|
|
+ })
|
|
|
|
|
+ },
|
|
|
|
|
+
|
|
|
|
|
+ handSaveSidebarCompanyImage(){
|
|
|
|
|
+
|
|
|
|
|
+ const param={
|
|
|
|
|
+ companyId:this.sidebarFrom.companyId,
|
|
|
|
|
+ imageUrl:this.sidebarFrom.imageUrl
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ saveSidebarCompanyImage(param).then(res=>{
|
|
|
|
|
+ this.sidebarFrom.open=false;
|
|
|
|
|
+ this.$message.success("保存成功");
|
|
|
|
|
+ })
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|