|
@@ -10,61 +10,124 @@
|
|
</el-tabs>
|
|
</el-tabs>
|
|
|
|
|
|
<div v-show="step == 'first'">
|
|
<div v-show="step == 'first'">
|
|
- <el-form class="my-form" ref="step1Form" :model="step1Form" label-width="130px" label-position="right">
|
|
|
|
- <el-form-item label="商户账号" prop="account">
|
|
|
|
- <el-input v-model="step1Form.account" disabled></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="账户昵称" prop="nickName">
|
|
|
|
- <el-input v-model="step1Form.nickName" disabled></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="小程序名称" prop="appName">
|
|
|
|
- <el-input v-model="step1Form.appName" disabled></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="负责人" prop="chargePerson">
|
|
|
|
- <el-input v-model="step1Form.chargePerson" disabled></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="联系电话" prop="phone">
|
|
|
|
- <el-input v-model="step1Form.phone" disabled></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="电子邮箱" prop="email">
|
|
|
|
- <el-input v-model="step1Form.email" disabled></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="地址" prop="address">
|
|
|
|
- <el-input v-model="step1Form.address" disabled></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="登录密码" prop="password">
|
|
|
|
- <el-input v-model="step1Form.password" type="password" disabled></el-input>
|
|
|
|
- <el-button class="reset" @click="handleReset()">重置密码</el-button>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="到期时间" prop="companyExpireTime">
|
|
|
|
- <el-date-picker v-model="step1Form.companyExpireTime" type="datetime" value-format="yyyy-MM-dd HH:mm:ss"
|
|
|
|
- placeholder="选择日期时间">
|
|
|
|
- </el-date-picker>
|
|
|
|
- <el-button type="primary" @click="saveTime()">保存</el-button>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="打印单名称" prop="billTitle">
|
|
|
|
- <el-input v-model="step1Form.billTitle" placeholder="请输入"></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="辅材配件权限" prop="moduleMaterialPart">
|
|
|
|
- <el-switch v-model="step1Form.moduleMaterialPart" active-color="#13ce66" inactive-color="#ff4949">
|
|
|
|
- </el-switch>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="延保权限" prop="moduleYb">
|
|
|
|
- <el-switch v-model="step1Form.moduleYb" active-color="#13ce66" inactive-color="#ff4949">
|
|
|
|
- </el-switch>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="工程维保权限" prop="moduleWb">
|
|
|
|
- <el-switch v-model="step1Form.moduleWb" active-color="#13ce66" inactive-color="#ff4949">
|
|
|
|
- </el-switch>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="是否允许到店支付" prop="storePay">
|
|
|
|
- <el-switch v-model="step1Form.storePay" active-color="#13ce66" inactive-color="#ff4949">
|
|
|
|
- </el-switch>
|
|
|
|
- </el-form-item>
|
|
|
|
- <!-- <el-form-item class="tr">
|
|
|
|
- <el-button type="primary" @click="submitStep1Form">保存</el-button>
|
|
|
|
- </el-form-item> -->
|
|
|
|
- </el-form>
|
|
|
|
|
|
+ <el-card>
|
|
|
|
+ <div slot="header" class="clearfix">
|
|
|
|
+ <span>商户信息</span>
|
|
|
|
+ </div>
|
|
|
|
+ <el-form class="my-form" ref="step1Form" :model="step1Form" label-width="130px" label-position="right" size="mini">
|
|
|
|
+ <el-row :gutter="20">
|
|
|
|
+ <el-col :span="6">
|
|
|
|
+ <el-form-item label="商户账号" prop="account">
|
|
|
|
+ <el-input v-model="step1Form.account" disabled></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="6">
|
|
|
|
+ <el-form-item label="账户昵称" prop="nickName">
|
|
|
|
+ <el-input v-model="step1Form.nickName" disabled></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="6">
|
|
|
|
+ <el-form-item label="小程序名称" prop="appName">
|
|
|
|
+ <el-input v-model="step1Form.appName" disabled></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="6">
|
|
|
|
+ <el-form-item label="负责人" prop="chargePerson">
|
|
|
|
+ <el-input v-model="step1Form.chargePerson" disabled></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="6">
|
|
|
|
+ <el-form-item label="联系电话" prop="phone">
|
|
|
|
+ <el-input v-model="step1Form.phone" disabled></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="6">
|
|
|
|
+ <el-form-item label="电子邮箱" prop="email">
|
|
|
|
+ <el-input v-model="step1Form.email" disabled></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="12">
|
|
|
|
+ <el-form-item label="地址" prop="address">
|
|
|
|
+ <el-input v-model="step1Form.address" disabled></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="6">
|
|
|
|
+ <el-form-item label="登录密码" prop="password">
|
|
|
|
+ <el-input v-model="step1Form.password" type="password" disabled>
|
|
|
|
+ <el-button slot="append" @click="handleReset()">重置密码</el-button>
|
|
|
|
+ </el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="6">
|
|
|
|
+ <el-form-item label="打印单名称" prop="billTitle">
|
|
|
|
+ <el-input v-model="step1Form.billTitle" placeholder="请输入"></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="12">
|
|
|
|
+ <el-form-item label="到期时间" prop="companyExpireTime">
|
|
|
|
+ <el-date-picker :disabled="!~[2].indexOf(userType)" v-model="step1Form.companyExpireTime" type="datetime" value-format="yyyy-MM-dd HH:mm:ss"
|
|
|
|
+ placeholder="选择日期时间">
|
|
|
|
+ </el-date-picker>
|
|
|
|
+ <el-button :disabled="!~[2].indexOf(userType)" type="primary" @click="saveTime()">保存</el-button>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="6">
|
|
|
|
+ <el-form-item label="辅材配件权限" prop="moduleMaterialPart">
|
|
|
|
+ <el-switch v-model="step1Form.moduleMaterialPart" active-color="#13ce66" inactive-color="#ff4949">
|
|
|
|
+ </el-switch>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="6">
|
|
|
|
+ <el-form-item label="延保权限" prop="moduleYb">
|
|
|
|
+ <el-switch v-model="step1Form.moduleYb" active-color="#13ce66" inactive-color="#ff4949">
|
|
|
|
+ </el-switch>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="6">
|
|
|
|
+ <el-form-item label="工程维保权限" prop="moduleWb">
|
|
|
|
+ <el-switch v-model="step1Form.moduleWb" active-color="#13ce66" inactive-color="#ff4949">
|
|
|
|
+ </el-switch>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="6">
|
|
|
|
+ <el-form-item label="商品出入库" prop="joinCode">
|
|
|
|
+ <el-radio-group v-model="step1Form.joinCode">
|
|
|
|
+ <el-radio :label="true">关联条码</el-radio>
|
|
|
|
+ <el-radio :label="false">不关联条码</el-radio>
|
|
|
|
+ </el-radio-group>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="6">
|
|
|
|
+ <el-form-item label="租赁业务" prop="moduleZl">
|
|
|
|
+ <el-radio-group v-model="step1Form.moduleZl">
|
|
|
|
+ <el-radio :label="true">开启</el-radio>
|
|
|
|
+ <el-radio :label="false">禁用</el-radio>
|
|
|
|
+ </el-radio-group>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="6">
|
|
|
|
+ <el-form-item label="二手商城" prop="moduleEs">
|
|
|
|
+ <el-switch v-model="step1Form.moduleEs" active-color="#13ce66" inactive-color="#ff4949">
|
|
|
|
+ </el-switch>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="6">
|
|
|
|
+ <el-form-item label="是否允许到店支付" prop="storePay">
|
|
|
|
+ <el-switch v-model="step1Form.storePay" active-color="#13ce66" inactive-color="#ff4949">
|
|
|
|
+ </el-switch>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="12">
|
|
|
|
+ <el-form-item label="以旧换新抵扣方式" prop="yjhxDkFlag">
|
|
|
|
+ <el-radio-group v-model="step1Form.yjhxDkFlag">
|
|
|
|
+ <el-radio :label="1">线上支付抵扣订单货款</el-radio>
|
|
|
|
+ <el-radio :label="2">仅线上展示旧机价格</el-radio>
|
|
|
|
+ </el-radio-group>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ </el-row>
|
|
|
|
+ </el-form>
|
|
|
|
+ </el-card>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div v-show="step == 'second'">
|
|
<div v-show="step == 'second'">
|
|
@@ -81,6 +144,7 @@
|
|
<div class="mask" v-show="img1_hover">
|
|
<div class="mask" v-show="img1_hover">
|
|
<i class="el-icon-zoom-in" @click="previewImage('img1')"></i>
|
|
<i class="el-icon-zoom-in" @click="previewImage('img1')"></i>
|
|
<i class="el-icon-upload2" @click="uploadImage('img1')"></i>
|
|
<i class="el-icon-upload2" @click="uploadImage('img1')"></i>
|
|
|
|
+ <i class="el-icon-delete" @click="img1_url=''"></i>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="add" v-else @click="uploadImage('img1')">
|
|
<div class="add" v-else @click="uploadImage('img1')">
|
|
@@ -107,6 +171,7 @@
|
|
<div class="mask" v-show="img2_hover">
|
|
<div class="mask" v-show="img2_hover">
|
|
<i class="el-icon-zoom-in" @click="previewImage('img2')"></i>
|
|
<i class="el-icon-zoom-in" @click="previewImage('img2')"></i>
|
|
<i class="el-icon-upload2" @click="uploadImage('img2')"></i>
|
|
<i class="el-icon-upload2" @click="uploadImage('img2')"></i>
|
|
|
|
+ <i class="el-icon-delete" @click="img2_url=''"></i>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="add" v-else @click="uploadImage('img2')">
|
|
<div class="add" v-else @click="uploadImage('img2')">
|
|
@@ -133,6 +198,7 @@
|
|
<div class="mask" v-show="img3_hover">
|
|
<div class="mask" v-show="img3_hover">
|
|
<i class="el-icon-zoom-in" @click="previewImage('img3')"></i>
|
|
<i class="el-icon-zoom-in" @click="previewImage('img3')"></i>
|
|
<i class="el-icon-upload2" @click="uploadImage('img3')"></i>
|
|
<i class="el-icon-upload2" @click="uploadImage('img3')"></i>
|
|
|
|
+ <i class="el-icon-delete" @click="img3_url=''"></i>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="add" v-else @click="uploadImage('img3')">
|
|
<div class="add" v-else @click="uploadImage('img3')">
|
|
@@ -154,98 +220,95 @@
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div v-show="step == 'third'">
|
|
<div v-show="step == 'third'">
|
|
- <!-- <div class="tips">说明:企微配置是指通过配置企业微信将企微用户和系统打通,实现企业微信用户信息同平台互通,聊天会话信息同步</div> -->
|
|
|
|
-
|
|
|
|
- <el-form class="my-form2" ref="step3Form" :model="step3Form" :rules="step3FormRules" label-width="200px"
|
|
|
|
- label-position="right">
|
|
|
|
- <!-- <el-card shadow="never" class="my-card">
|
|
|
|
- <div class="title">1.配置企业ID</div>
|
|
|
|
- <div class="box">指引:进入<el-link type="primary" :underline="false" href="https://element.eleme.io" target="_blank">企业微信</el-link>打开【我的企业】,将企业ID分别复制并填写到下方输入框中</div>
|
|
|
|
- <el-form-item label="企业ID" prop="enterpriseId">
|
|
|
|
- <el-input v-model="step3Form.enterpriseId" autocomplete="off" placeholder="请输入企业ID"></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-card>
|
|
|
|
-
|
|
|
|
- <el-card shadow="never" class="my-card">
|
|
|
|
- <div class="title">2.配置通讯录密钥(Secret)</div>
|
|
|
|
- <div class="box">进入<el-link type="primary" :underline="false" href="https://element.eleme.io" target="_blank">企业微信</el-link>打开【客户联系】-选择【客户】-展开右侧【API】。将外部联系人Secret复制并填写到下方输入框中。如果外部联系人Secret不更新,请将更新后的外部联系人Secret更新复制更新到下方输入框中。</div>
|
|
|
|
- <el-form-item label="通讯录密钥(Secret)" prop="listSecret">
|
|
|
|
- <el-input v-model="step3Form.listSecret" autocomplete="off" placeholder="请输入通讯录密钥(Secret)"></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-divider></el-divider>
|
|
|
|
- <div class="title">配置通讯录同步密钥(Secret)</div>
|
|
|
|
- <div class="box">进入<el-link type="primary" :underline="false" href="https://element.eleme.io" target="_blank">企业微信</el-link>打开【管理工具】-选择【通讯录同步】-获取通讯录同步Secret。将通讯录同步Secret复制并填写到下方输入框中。如果通讯录同步Secret不更新,请将更新后的通讯录同步Secret更新复制更新到下方输入框中。</div>
|
|
|
|
- <el-form-item label="通讯录同步密钥(Secret)" prop="listSyncSecret">
|
|
|
|
- <el-input v-model="step3Form.listSyncSecret" autocomplete="off" placeholder="请输入通讯录同步密钥(Secret)"></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-card>
|
|
|
|
-
|
|
|
|
- <el-card shadow="never" class="my-card">
|
|
|
|
- <div class="title">3.配置小程序</div>
|
|
|
|
- <div class="box">进入<el-link type="primary" :underline="false" href="https://element.eleme.io" target="_blank">企业微信</el-link>打开【应用管理】-选择【应用】-选择【小程序】-获取小程序AgentiD、小程序Secret。将小程序AgentiD、小程序Secret复制并填写到下方输入框中。</div>
|
|
|
|
- <el-form-item label="小程序(AgentiD)" prop="appAgentId">
|
|
|
|
- <el-input v-model="step3Form.appAgentId" autocomplete="off" placeholder="请输入小程序(AgentiD)"></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="小程序(Secret)" prop="appSecret">
|
|
|
|
- <el-input v-model="step3Form.appSecret" autocomplete="off" placeholder="请输入小程序(Secret)"></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-card> -->
|
|
|
|
-
|
|
|
|
- <el-card shadow="never" class="my-card">
|
|
|
|
- <div class="title" style="margin-bottom: 20px;">1.其他基础配置</div>
|
|
|
|
- <el-form-item label="服务商appId" prop="appId">
|
|
|
|
- <el-input v-model="step3Form.appId" autocomplete="off" placeholder="请输入服务商appId"></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="服务商商户号" prop="merchantId">
|
|
|
|
- <el-input v-model="step3Form.merchantId" autocomplete="off" placeholder="请输入服务商商户号"></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="服务商商户密钥" prop="merchantKey">
|
|
|
|
- <el-input v-model="step3Form.merchantKey" autocomplete="off" placeholder="请输入服务商商户密钥"></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="小程序appid" prop="appletAppid">
|
|
|
|
- <el-input v-model="step3Form.appletAppid" autocomplete="off" placeholder="请输入小程序appid"></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="小程序密钥" prop="appletSecret">
|
|
|
|
- <el-input v-model="step3Form.appletSecret" autocomplete="off" placeholder="请输入小程序密钥"></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="子商户号Id" prop="childMerchantId">
|
|
|
|
- <el-input v-model="step3Form.childMerchantId" autocomplete="off" placeholder="请输入子商户号Id"></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="微信订阅模版" prop="templateId">
|
|
|
|
- <el-input v-model="step3Form.templateId" autocomplete="off" placeholder="请输入微信订阅模版"></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- <el-form-item label="公众号appid" prop="pubAppId">
|
|
|
|
- <el-input v-model="step3Form.pubAppId" autocomplete="off" placeholder="请输入公众号appid"></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="公众号密钥" prop="pubAppSecret">
|
|
|
|
- <el-input v-model="step3Form.pubAppSecret" autocomplete="off" placeholder="请输入公众号密钥"></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
-
|
|
|
|
- <el-form-item label="改派通知" prop="pubTemplateId1">
|
|
|
|
- <el-input v-model="step3Form.pubTemplateId1" autocomplete="off" placeholder="请输入工单派工,改派通知"></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="发货通知" prop="pubTemplateId2">
|
|
|
|
- <el-input v-model="step3Form.pubTemplateId2" autocomplete="off" placeholder="请输入商城订单支付成功提醒发货通知"></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="维权订单提醒" prop="pubTemplateId3">
|
|
|
|
- <el-input v-model="step3Form.pubTemplateId3" autocomplete="off" placeholder="请输入商城维权订单提醒"></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="支付成功通知" prop="pubTemplateId4">
|
|
|
|
- <el-input v-model="step3Form.pubTemplateId4" autocomplete="off" placeholder="请输入订单支付成功(含全部销售订单和延保)"></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="维保费用申请" prop="pubTemplateId5">
|
|
|
|
- <el-input v-model="step3Form.pubTemplateId5" autocomplete="off" placeholder="请输入维保的费用申请"></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="安维费用发放通知" prop="pubTemplateId6">
|
|
|
|
- <el-input v-model="step3Form.pubTemplateId6" autocomplete="off" placeholder="请输入安维费用发放通知"></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- </el-card>
|
|
|
|
- </el-form>
|
|
|
|
|
|
+ <el-card>
|
|
|
|
+ <div slot="header" class="clearfix">
|
|
|
|
+ <span>微信配置信息</span>
|
|
|
|
+ </div>
|
|
|
|
+ <el-form class="my-form2" ref="step3Form" :model="step3Form" :rules="step3FormRules" label-width="130px" size="mini">
|
|
|
|
+ <el-row :gutter="20">
|
|
|
|
+ <el-col :span="6">
|
|
|
|
+ <el-form-item label="服务商appId" prop="appId">
|
|
|
|
+ <el-input :disabled="!~[2].indexOf(userType)" v-model="step3Form.appId" autocomplete="off" placeholder="请输入服务商appId"></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="6">
|
|
|
|
+ <el-form-item label="服务商商户号" prop="merchantId">
|
|
|
|
+ <el-input :disabled="!~[2].indexOf(userType)" v-model="step3Form.merchantId" autocomplete="off" placeholder="请输入服务商商户号"></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="6">
|
|
|
|
+ <el-form-item label="服务商商户密钥" prop="merchantKey">
|
|
|
|
+ <el-input :disabled="!~[2].indexOf(userType)" v-model="step3Form.merchantKey" autocomplete="off" placeholder="请输入服务商商户密钥"></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="6">
|
|
|
|
+ <el-form-item label="小程序appid" prop="appletAppid">
|
|
|
|
+ <el-input :disabled="!~[2].indexOf(userType)" v-model="step3Form.appletAppid" autocomplete="off" placeholder="请输入小程序appid"></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="6">
|
|
|
|
+ <el-form-item label="小程序密钥" prop="appletSecret">
|
|
|
|
+ <el-input :disabled="!~[2].indexOf(userType)" v-model="step3Form.appletSecret" autocomplete="off" placeholder="请输入小程序密钥"></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="6">
|
|
|
|
+ <el-form-item label="子商户号Id" prop="childMerchantId">
|
|
|
|
+ <el-input :disabled="!~[2].indexOf(userType)" v-model="step3Form.childMerchantId" autocomplete="off" placeholder="请输入子商户号Id"></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="6">
|
|
|
|
+ <el-form-item label="微信订阅模版" prop="templateId">
|
|
|
|
+ <el-input :disabled="!~[2].indexOf(userType)" v-model="step3Form.templateId" autocomplete="off" placeholder="请输入微信订阅模版"></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="6">
|
|
|
|
+ <el-form-item label="公众号appid" prop="pubAppId">
|
|
|
|
+ <el-input :disabled="!~[2].indexOf(userType)" v-model="step3Form.pubAppId" autocomplete="off" placeholder="请输入公众号appid"></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="6">
|
|
|
|
+ <el-form-item label="公众号密钥" prop="pubAppSecret">
|
|
|
|
+ <el-input :disabled="!~[2].indexOf(userType)" v-model="step3Form.pubAppSecret" autocomplete="off" placeholder="请输入公众号密钥"></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="6">
|
|
|
|
+ <el-form-item label="改派通知" prop="pubTemplateId1">
|
|
|
|
+ <el-input :disabled="!~[2].indexOf(userType)" v-model="step3Form.pubTemplateId1" autocomplete="off" placeholder="请输入工单派工,改派通知"></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="6">
|
|
|
|
+ <el-form-item label="发货通知" prop="pubTemplateId2">
|
|
|
|
+ <el-input :disabled="!~[2].indexOf(userType)" v-model="step3Form.pubTemplateId2" autocomplete="off" placeholder="请输入商城订单支付成功提醒发货通知"></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="6">
|
|
|
|
+ <el-form-item label="维权订单提醒" prop="pubTemplateId3">
|
|
|
|
+ <el-input :disabled="!~[2].indexOf(userType)" v-model="step3Form.pubTemplateId3" autocomplete="off" placeholder="请输入商城维权订单提醒"></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="6">
|
|
|
|
+ <el-form-item label="支付成功通知" prop="pubTemplateId4">
|
|
|
|
+ <el-input :disabled="!~[2].indexOf(userType)" v-model="step3Form.pubTemplateId4" autocomplete="off" placeholder="请输入订单支付成功(含全部销售订单和延保)"></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="6">
|
|
|
|
+ <el-form-item label="维保费用申请" prop="pubTemplateId5">
|
|
|
|
+ <el-input :disabled="!~[2].indexOf(userType)" v-model="step3Form.pubTemplateId5" autocomplete="off" placeholder="请输入维保的费用申请"></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="6">
|
|
|
|
+ <el-form-item label="安维费用发放通知" prop="pubTemplateId6">
|
|
|
|
+ <el-input :disabled="!~[2].indexOf(userType)" v-model="step3Form.pubTemplateId6" autocomplete="off" placeholder="请输入安维费用发放通知"></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="6">
|
|
|
|
+ <el-form-item label="抢单新单通知" prop="pubTemplateId7">
|
|
|
|
+ <el-input :disabled="!~[2].indexOf(userType)" v-model="step3Form.pubTemplateId7" autocomplete="off" placeholder="请输入安维费用发放通知"></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ </el-row>
|
|
|
|
+ </el-form>
|
|
|
|
+ </el-card>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div v-show="step == 'four'">
|
|
<div v-show="step == 'four'">
|
|
@@ -279,6 +342,7 @@
|
|
<div class="mask" v-show="qrcode1_hover">
|
|
<div class="mask" v-show="qrcode1_hover">
|
|
<i class="el-icon-zoom-in" @click="previewImage('qrcode1')"></i>
|
|
<i class="el-icon-zoom-in" @click="previewImage('qrcode1')"></i>
|
|
<i class="el-icon-upload2" @click="uploadImage('qrcode1')"></i>
|
|
<i class="el-icon-upload2" @click="uploadImage('qrcode1')"></i>
|
|
|
|
+ <i class="el-icon-delete" @click="qrcode1_url=''"></i>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="add" v-else @click="uploadImage('qrcode1')">
|
|
<div class="add" v-else @click="uploadImage('qrcode1')">
|
|
@@ -299,6 +363,7 @@
|
|
<div class="mask" v-show="qrcode2_hover">
|
|
<div class="mask" v-show="qrcode2_hover">
|
|
<i class="el-icon-zoom-in" @click="previewImage('qrcode2')"></i>
|
|
<i class="el-icon-zoom-in" @click="previewImage('qrcode2')"></i>
|
|
<i class="el-icon-upload2" @click="uploadImage('qrcode2')"></i>
|
|
<i class="el-icon-upload2" @click="uploadImage('qrcode2')"></i>
|
|
|
|
+ <i class="el-icon-delete" @click="qrcode2_url=''"></i>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="add" v-else @click="uploadImage('qrcode2')">
|
|
<div class="add" v-else @click="uploadImage('qrcode2')">
|
|
@@ -319,6 +384,7 @@
|
|
<div class="mask" v-show="qrcode3_hover">
|
|
<div class="mask" v-show="qrcode3_hover">
|
|
<i class="el-icon-zoom-in" @click="previewImage('qrcode3')"></i>
|
|
<i class="el-icon-zoom-in" @click="previewImage('qrcode3')"></i>
|
|
<i class="el-icon-upload2" @click="uploadImage('qrcode3')"></i>
|
|
<i class="el-icon-upload2" @click="uploadImage('qrcode3')"></i>
|
|
|
|
+ <i class="el-icon-delete" @click="qrcode3_url=''"></i>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="add" v-else @click="uploadImage('qrcode3')">
|
|
<div class="add" v-else @click="uploadImage('qrcode3')">
|
|
@@ -429,7 +495,11 @@ export default {
|
|
billTitle: '',
|
|
billTitle: '',
|
|
moduleYb: '',
|
|
moduleYb: '',
|
|
moduleWb: '',
|
|
moduleWb: '',
|
|
|
|
+ joinCode:'',
|
|
|
|
+ moduleZl:'',
|
|
|
|
+ moduleEs:'',
|
|
storePay: '',
|
|
storePay: '',
|
|
|
|
+ yjhxDkFlag: '',
|
|
},
|
|
},
|
|
|
|
|
|
passwordType1: 'password',
|
|
passwordType1: 'password',
|
|
@@ -485,23 +555,10 @@ export default {
|
|
pubTemplateId4:'',
|
|
pubTemplateId4:'',
|
|
pubTemplateId5:'',
|
|
pubTemplateId5:'',
|
|
pubTemplateId6:'',
|
|
pubTemplateId6:'',
|
|
|
|
+ pubTemplateId7:'',
|
|
},
|
|
},
|
|
step3FormRules: {
|
|
step3FormRules: {
|
|
- enterpriseId: [
|
|
|
|
- // { required: true, message: '请输入企业ID', trigger: 'blur' }
|
|
|
|
- ],
|
|
|
|
- listSecret: [
|
|
|
|
- // { required: true, message: '请输入通讯录密钥(Secret)', trigger: 'blur' }
|
|
|
|
- ],
|
|
|
|
- listSyncSecret: [
|
|
|
|
- // { required: true, message: '请输入通讯录同步密钥(Secret)', trigger: 'blur' }
|
|
|
|
- ],
|
|
|
|
- appAgentId: [
|
|
|
|
- // { required: true, message: '请输入小程序(AgentiD)', trigger: 'blur' }
|
|
|
|
- ],
|
|
|
|
- appSecret: [
|
|
|
|
- // { required: true, message: '请输入小程序(Secret)', trigger: 'blur' }
|
|
|
|
- ],
|
|
|
|
|
|
+
|
|
},
|
|
},
|
|
step4Form: {
|
|
step4Form: {
|
|
dayNum: '',
|
|
dayNum: '',
|
|
@@ -529,6 +586,9 @@ export default {
|
|
openSidebar: this.sidebar.opened
|
|
openSidebar: this.sidebar.opened
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ userType() {
|
|
|
|
+ return JSON.parse(localStorage.getItem('greemall_user')).type
|
|
|
|
+ },
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
const { id, type } = this.$route.query;
|
|
const { id, type } = this.$route.query;
|
|
@@ -564,7 +624,11 @@ export default {
|
|
this.step1Form.billTitle = res.data.billTitle
|
|
this.step1Form.billTitle = res.data.billTitle
|
|
this.step1Form.moduleYb = res.data.moduleYb
|
|
this.step1Form.moduleYb = res.data.moduleYb
|
|
this.step1Form.moduleWb = res.data.moduleWb
|
|
this.step1Form.moduleWb = res.data.moduleWb
|
|
|
|
+ this.step1Form.joinCode = res.data.joinCode
|
|
|
|
+ this.step1Form.moduleZl = res.data.moduleZl
|
|
|
|
+ this.step1Form.moduleEs = res.data.moduleEs
|
|
this.step1Form.storePay = res.data.storePay
|
|
this.step1Form.storePay = res.data.storePay
|
|
|
|
+ this.step1Form.yjhxDkFlag = res.data.yjhxDkFlag
|
|
|
|
|
|
this.img1_url = res.data.minLogo1;
|
|
this.img1_url = res.data.minLogo1;
|
|
this.img2_url = res.data.minLogo2;
|
|
this.img2_url = res.data.minLogo2;
|
|
@@ -594,6 +658,7 @@ export default {
|
|
this.step3Form.pubTemplateId4 = res.data.pubTemplateId4;
|
|
this.step3Form.pubTemplateId4 = res.data.pubTemplateId4;
|
|
this.step3Form.pubTemplateId5 = res.data.pubTemplateId5;
|
|
this.step3Form.pubTemplateId5 = res.data.pubTemplateId5;
|
|
this.step3Form.pubTemplateId6 = res.data.pubTemplateId6;
|
|
this.step3Form.pubTemplateId6 = res.data.pubTemplateId6;
|
|
|
|
+ this.step3Form.pubTemplateId7 = res.data.pubTemplateId7;
|
|
|
|
|
|
this.companyWechatId = res.data.companyWechatId;
|
|
this.companyWechatId = res.data.companyWechatId;
|
|
|
|
|
|
@@ -706,7 +771,11 @@ export default {
|
|
billTitle: this.step1Form.billTitle,
|
|
billTitle: this.step1Form.billTitle,
|
|
moduleYb: this.step1Form.moduleYb,
|
|
moduleYb: this.step1Form.moduleYb,
|
|
moduleWb: this.step1Form.moduleWb,
|
|
moduleWb: this.step1Form.moduleWb,
|
|
|
|
+ joinCode: this.step1Form.joinCode,
|
|
|
|
+ moduleZl: this.step1Form.moduleZl,
|
|
|
|
+ moduleEs: this.step1Form.moduleEs,
|
|
storePay: this.step1Form.storePay,
|
|
storePay: this.step1Form.storePay,
|
|
|
|
+ yjhxDkFlag: this.step1Form.yjhxDkFlag,
|
|
}
|
|
}
|
|
editAccount(params).then(res => {
|
|
editAccount(params).then(res => {
|
|
this.$successMsg('保存成功');
|
|
this.$successMsg('保存成功');
|
|
@@ -774,6 +843,7 @@ export default {
|
|
pubTemplateId4: this.step3Form.pubTemplateId4,
|
|
pubTemplateId4: this.step3Form.pubTemplateId4,
|
|
pubTemplateId5: this.step3Form.pubTemplateId5,
|
|
pubTemplateId5: this.step3Form.pubTemplateId5,
|
|
pubTemplateId6: this.step3Form.pubTemplateId6,
|
|
pubTemplateId6: this.step3Form.pubTemplateId6,
|
|
|
|
+ pubTemplateId7: this.step3Form.pubTemplateId7,
|
|
|
|
|
|
companyWechatId: this.companyWechatId
|
|
companyWechatId: this.companyWechatId
|
|
}
|
|
}
|
|
@@ -868,7 +938,7 @@ export default {
|
|
}
|
|
}
|
|
|
|
|
|
.my-form {
|
|
.my-form {
|
|
- width: 450px;
|
|
|
|
|
|
+ width: 100%;
|
|
margin-top: 20px;
|
|
margin-top: 20px;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -898,7 +968,7 @@ export default {
|
|
|
|
|
|
.my-form2 {
|
|
.my-form2 {
|
|
::v-deep input {
|
|
::v-deep input {
|
|
- width: 400px;
|
|
|
|
|
|
+ // width: 400px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|