|
|
@@ -4270,6 +4270,7 @@ export default {
|
|
|
// this.userId = userId;
|
|
|
this.$api.user.getLoginUser().then(res => {
|
|
|
if (res.code == 200) {
|
|
|
+ this.userId = res.data.id;
|
|
|
this.userform = res.data;
|
|
|
this.$api.dept.getDeptById(res.data.deptId).then(res => {
|
|
|
this.deptName = res.data.name;
|
|
|
@@ -4277,7 +4278,6 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
-
|
|
|
//--订单编辑回显--
|
|
|
// this.paramsEdit = this.$route.query.data; //接收参数
|
|
|
this.obtainProtocol(this.$route.query.data);
|
|
|
@@ -9196,8 +9196,7 @@ export default {
|
|
|
}
|
|
|
data.logoImg = this.iconfftter(res.data.inscompany);
|
|
|
this.queryOrders = data;
|
|
|
-
|
|
|
- this.$api.letter.getThemeByUserId().then(res => {
|
|
|
+ this.$api.letter.getThemeByUserId(this.userId).then(res => {
|
|
|
if (res.code == 200) {
|
|
|
if (res.data[0] == 'GD') {
|
|
|
this.$refs.quotationDialogPro.setBackupVisible(true);
|
|
|
@@ -9235,7 +9234,7 @@ export default {
|
|
|
this.systartdate = res.data.syStartDate; //商业起保日期
|
|
|
// this.mobile = res.data.applyinfo.mobile;//投保人手机号
|
|
|
let qrCodeUrl = res.data.qrCodeUrl;
|
|
|
- this.$api.letter.getThemeByUserId().then(res => {
|
|
|
+ this.$api.letter.getThemeByUserId(this.userId).then(res => {
|
|
|
if (res.code == 200) {
|
|
|
if (res.data[0] == 'GD') {
|
|
|
this.codedialogVisiblePro = true;
|