chenlei 7 månader sedan
förälder
incheckning
fcd564b9cb
5 ändrade filer med 886 tillägg och 1 borttagningar
  1. 124 0
      pc/wcarrier/comp/auth.vue
  2. 417 0
      pc/wcarrier/comp/authorize.vue
  3. 116 0
      pc/wcarrier/comp/invoice.vue
  4. 226 0
      pc/wcarrier/join.vue
  5. 3 1
      readme.md

+ 124 - 0
pc/wcarrier/comp/auth.vue

@@ -0,0 +1,124 @@
+<template>
+  <div class="p-spac">
+    <el-form class="defbb" ref="enterprise" :model="enterprise" :rules="rules" size="mini">
+      <div class="flex">
+        <div class="flex1 mr-spac">
+          <el-form-item prop="card">
+            <div class="required ml-spac">公司营业执照</div>
+            <upload-img
+              :fileList="lisenceArray"
+              :big="true"
+              @uploadOrgPic="uploadOrgPic"
+            ></upload-img>
+          </el-form-item>
+          <el-form-item label="统一社会信用代码:" prop="no" label-width="160px">
+            <el-input v-model="enterprise.no"></el-input>
+          </el-form-item>
+          <el-form-item label="公司名称:" prop="name" label-width="160px" class="m-b-0">
+            <el-input v-model="enterprise.no"></el-input>
+          </el-form-item>
+        </div>
+        <div class="flex1 relative">
+          <div>法人证件类型:身份证</div>
+          <div class="flex">
+            <div>
+              <el-form-item prop="card">
+                <div class="required ml-spac">法人身份证人像面</div>
+                <upload-img
+                  :fileList="idcard1"
+                  @uploadOrgPic="uploadOrgPic"
+                ></upload-img>
+              </el-form-item>
+            </div>
+            <div>
+              <el-form-item prop="card">
+                <div class="required ml-spac">法人身份证人像面</div>
+                <upload-img
+                  :fileList="idcard2"
+                  @uploadOrgPic="uploadOrgPic"
+                ></upload-img>
+              </el-form-item>
+            </div>
+          </div>
+          <el-form-item label="统一社会信用代码:" prop="no" label-width="160px">
+            <el-input v-model="enterprise.no"></el-input>
+          </el-form-item>
+          <el-form-item label="公司名称:" prop="name" label-width="160px">
+            <el-input v-model="enterprise.no"></el-input>
+          </el-form-item>
+          <el-button type="primary" size="medium" class="auth-btn" @click="submitForm()">发起认证</el-button>
+        </div>
+      </div>
+      <el-form-item> </el-form-item>
+    </el-form>
+
+  </div>
+</template>
+<script>
+import UploadImg from '@/components/uploadImg'
+
+export default {
+  name: 'auth',
+  data() {
+    return {
+      lisenceArray: [
+        {
+          path: '',
+          defaultPath: require('@/assets/images/main/license@2x.png'),
+          text: '上传营业执照'
+        }
+      ],
+      idcard1: [
+        {
+          path: '',
+          defaultPath: require('@/assets/images/main/idcardfont-bg@2x.png'),
+          text: '上传法人身份证人像面'
+        }
+      ],
+      idcard2: [
+        {
+          path: '',
+          defaultPath: require('@/assets/images/main/idcardback-bg@2x.png'),
+          text: '上传法人身份证国徽面'
+        }
+      ],
+      enterprise: {
+        card: '',
+        no: ''
+      },
+      rules: {
+        card: { required: true, message: '请输入活动名称', trigger: 'blur' },
+        name: { required: true, message: '请输入活动名称', trigger: 'blur' },
+        no: [
+          { required: true, message: '请输入活动名称', trigger: 'blur' },
+          { min: 3, max: 5, message: '长度在 3 到 5 个字符', trigger: 'blur' }
+        ]
+      }
+    }
+  },
+  components: { UploadImg },
+  methods: {
+    uploadOrgPic() {
+      console.log('上传成功', arguments)
+    },
+    submitForm() {
+      this.$refs.enterprise.validate((valid) => {
+        if (valid) {
+          alert('submit!')
+        } else {
+          console.log('error submit!!')
+          return false
+        }
+      })
+    }
+  }
+}
+</script>
+<style lang="scss" scoped>
+.auth-btn {
+  position: absolute;
+  right: 0;
+  bottom: 0;
+}
+
+</style>

+ 417 - 0
pc/wcarrier/comp/authorize.vue

@@ -0,0 +1,417 @@
+<template>
+  <div>
+    <div class="defbb p-spac">
+      平台账户授权 [
+      <span class="gray-color" :class="{ 'green-color': true }">{{
+        stateText
+      }}</span>
+      ]<span class="ml-spac p-wcolor" v-if="waring"> [ 提醒:请先绑定“授权手机号”!]</span>
+    </div>
+    <div class="items p-spacd2">
+      <div class="center justify-between p-spacd2 defbb">
+        <div>授权手机号</div>
+        <div>
+          <span class="mr-spac">{{ bindPhone }}</span>
+          <el-button type="text" @click="saveTel()">{{
+            bindPhoneText
+          }}</el-button>
+        </div>
+      </div>
+      <div class="center justify-between p-spacd2 defbb">
+        <div>转账授权</div>
+        <div
+          class="pointer p-color"
+          :class="{ 'gray-color': !isBindPhone}"
+          @click="authEvent(0)"
+        >
+          去授权
+        </div>
+      </div>
+      <div class="center justify-between p-spacd2 defbb">
+        <div>提现授权</div>
+        <div
+          class="pointer p-color"
+          :class="{ 'gray-color': !isBindPhone }"
+          @click="authEvent(1)"
+        >
+          去授权
+        </div>
+      </div>
+    </div>
+    <el-dialog
+      :append-to-body="true"
+      title="修改手机号"
+      :visible.sync="telDialogVisible"
+      @close="closeEditTelDialog"
+    >
+      <el-steps :active="stepActive" align-center>
+        <el-step title="解绑原手机号"></el-step>
+        <el-step title="绑定新手机号"></el-step>
+      </el-steps>
+      <el-form
+        :model="formStepOne"
+        v-if="stepActive === 1"
+        ref="formStepOne"
+        :rules="formStepOneRules"
+      >
+        <el-form-item label="原手机号" prop="newTel">
+          <el-input v-model="formStepOne.tel" disabled></el-input>
+        </el-form-item>
+        <el-form-item label="验证码" prop="code">
+          <el-input v-model="formStepOne.code" clearable>
+            <template slot="append"
+              ><div class="getcode-btn" @click="getCodeEvent('formStepOne')">
+                {{ codeBtn.text }}
+              </div></template
+            >
+          </el-input>
+        </el-form-item>
+      </el-form>
+      <el-form
+        :model="formStepTwo"
+        v-else-if="stepActive === 2"
+        ref="formStepTwo"
+        :rules="formStepTwoRules"
+      >
+        <el-form-item label="新手机号" prop="newTel">
+          <el-input v-model="formStepTwo.newTel"></el-input>
+        </el-form-item>
+        <el-form-item label="验证码" prop="code">
+          <el-input v-model="formStepTwo.code" clearable>
+            <template slot="append"
+              ><div class="getcode-btn" @click="getCodeEvent('formStepTwo')">
+                {{ codeBtn.text }}
+              </div></template
+            >
+          </el-input>
+        </el-form-item>
+      </el-form>
+      <div slot="footer">
+        <el-button type="primary" @click="footerBtnEvent">{{
+          footerBtnText
+        }}</el-button>
+      </div>
+    </el-dialog>
+    <el-dialog
+      :append-to-body="true"
+      title="绑定手机号"
+      :visible.sync="bindTelDialogVisible"
+      @close="closeBindTelDialog"
+    >
+      <el-form
+        :model="formBindTel"
+        ref="formBindTel"
+        v-if="bindTelDialogVisible"
+        :rules="formBindTelRules"
+      >
+        <el-form-item label="手机号" prop="tel">
+          <el-input v-model="formBindTel.tel"></el-input>
+        </el-form-item>
+        <el-form-item label="验证码" prop="code" clearable>
+          <el-input v-model="formBindTel.code">
+            <template slot="append"
+              ><div class="getcode-btn" @click="getCodeEvent('formBindTel')">
+                {{ codeBtn.text }}
+              </div></template
+            >
+          </el-input>
+        </el-form-item>
+      </el-form>
+      <div slot="footer">
+        <el-button type="primary" @click="bindTelEvent">确认绑定</el-button>
+      </div>
+    </el-dialog>
+  </div>
+</template>
+<script>
+import { $sendVerificationCode, $unbindPhone, $bindPhone, $signContract, $signContractQuery, $signBalanceProtocol } from '@/service/pay'
+export default {
+  name: 'authorize',
+  data() {
+    return {
+      authClicked: false,
+      bindPhone: '66',
+      formStepOne: {
+        tel: '',
+        code: ''
+      },
+      formStepOneRules: {
+        code: [{ required: true, message: '此选项不能为空', trigger: 'blur' }]
+      },
+      formStepTwo: {
+        newTel: '',
+        code: ''
+      },
+      formStepTwoRules: {
+        newTel: [
+          { required: true, message: '此选项不能为空', trigger: 'blur' }
+        ],
+        code: [{ required: true, message: '此选项不能为空', trigger: 'blur' }]
+      },
+      telDialogVisible: false,
+      bindTelDialogVisible: false,
+      stepActive: 1,
+      codeBtn: {
+        text: '获取验证码',
+        disabled: false
+      },
+      formBindTel: {
+        tel: '',
+        code: ''
+      },
+      formBindTelRules: {
+        tel: [{ required: true, message: '此选项不能为空', trigger: 'blur' }],
+        code: [{ required: true, message: '此选项不能为空', trigger: 'blur' }]
+      },
+      footerBtnText: '下一步'
+    }
+  },
+  props: {
+    orgInfo: {
+      type: Object,
+      default: function() {
+        return {}
+      }
+    }
+  },
+  computed: {
+    stateText() {
+      return '未完成'
+    },
+    isBindPhone() {
+      return !!this.bindPhone
+    },
+    bindPhoneText() {
+      return this.isBindPhone ? '修改' : '绑定'
+    },
+    waring() {
+      return !this.isBindPhone && this.authClicked
+    }
+  },
+  created() {
+    this.formStepOne.tel = this.bindPhone
+  },
+  methods: {
+    authEvent(type) {
+      this.authClicked = true
+      if (type === 0) {
+        if (this.orgInfo.contractNo) {
+          const params = {
+            bizUserId: this.orgInfo.bizUserId,
+            jumpUrl: window.location.href,
+            source: 2
+          }
+          $signContractQuery(params).then(res => {
+            if (res.code === 0) {
+              window.location.href = res.data
+            }
+          })
+        } else {
+          const params = {
+            bizUserId: this.orgInfo.bizUserId,
+            orgId: this.orgInfo.orgId,
+            source: 2,
+            backUrl: window.location.href,
+            jumpUrl: location.href
+            // jumpUrl: location.href.split('/#')[0] + '/#/signSuccess'
+          }
+          $signContract(params).then(res => {
+            if (res.code === 0) {
+              window.open(res.data.data)
+            }
+          })
+        }
+      }
+      if (type === 1) {
+        if (this.orgInfo.protocolNo) {
+          this.$router.push('accountSetting/balanceProtocol')
+        } else {
+          const params = {
+            bizUserId: this.orgInfo.bizUserId,
+            orgId: this.orgInfo.orgId,
+            source: 2,
+            backUrl: window.location.href,
+            jumpUrl: location.href
+            // jumpUrl: location.href.split('/#')[0] + '/#/signSuccess'
+          }
+          $signBalanceProtocol(params).then(res => {
+            if (res.code === 0) {
+              window.open(res.data)
+            }
+          })
+        }
+      }
+    },
+    bindTelEvent() {
+      this.$refs.formBindTel.validate((valid) => {
+        if (valid) {
+          const params = {
+            bizUserId: this.bizUserId,
+            verificationCode: this.formBindTel.code,
+            phone: this.formBindTel.tel
+          }
+          $bindPhone(params).then((res) => {
+            this.$message.success(res.message)
+            this.bindPhone = this.formBindTel.tel
+            this.formStepOne.tel = this.formBindTel.tel
+            this.bindTelDialogVisible = false
+          })
+        }
+      })
+    },
+    saveTel() {
+      if (this.isBindPhone) {
+        this.telDialogVisible = true
+        if (this.timer) {
+          clearInterval(this.timer)
+          this.codeBtn.text = '获取验证码'
+          this.codeBtn.disabled = false
+        }
+      } else {
+        this.bindTelDialogVisible = true
+      }
+    },
+    getCodeEvent(param) {
+      // let step = this.stepActive
+      if (this.codeBtn.disabled) {
+        return
+      }
+      if (param === 'formStepOne') {
+        this.codeEvent(this.formStepOne.tel, param)
+      } else if (param === 'formStepTwo') {
+        this.$refs[param].validateField('newTel', (valid) => {
+          if (!valid) {
+            this.codeEvent(this.formStepTwo.newTel, param)
+          } else {
+            return null
+          }
+        })
+      } else {
+        this.$refs[param].validateField('tel', (valid) => {
+          if (!valid) {
+            this.codeEvent(this.formBindTel.tel, param)
+          } else {
+            return null
+          }
+        })
+      }
+    },
+    codeEvent(tel, param) {
+      let verificationCodeType = 0
+      if (param === 'formStepTwo' || param === 'formBindTel') {
+        verificationCodeType = 9
+      } else {
+        verificationCodeType = 6
+      }
+      const params = {
+        phone: tel,
+        bizUserId: this.bizUserId,
+        verificationCodeType
+      }
+      $sendVerificationCode(params)
+        .then((res) => {
+          this.$message.success(res.message)
+        })
+        .catch((msg) => {
+          clearInterval(this.timer)
+          this.codeBtn.text = '获取验证码'
+          this.codeBtn.disabled = false
+        })
+      let time = 60
+      this.codeBtn.text = time + 's'
+      this.timer = setInterval(() => {
+        time--
+        this.codeBtn.text = time + 's'
+        this.codeBtn.disabled = true
+        if (time < 0) {
+          clearInterval(this.timer)
+          this.codeBtn.text = '获取验证码'
+          this.codeBtn.disabled = false
+        }
+      }, 1000)
+    },
+    footerBtnEvent() {
+      if (this.stepActive === 1) {
+        this.$refs.formStepOne.validateField('code', (valid) => {
+          if (!valid) {
+            const code = this.formStepOne.code
+            const params = {
+              phone: this.formStepOne.tel,
+              bizUserId: this.bizUserId,
+              verificationCode: code
+            }
+            $unbindPhone(params).then((res) => {
+              if (res.code === 0) {
+                this.stepActive = 2
+                this.footerBtnText = '确认修改'
+                this.$message.success(res.message)
+                this.bindPhone = ''
+                if (this.timer) {
+                  clearInterval(this.timer)
+                  this.codeBtn.text = '获取验证码'
+                  this.codeBtn.disabled = false
+                }
+              } else {
+                this.$message.error(res.message)
+              }
+            })
+          } else {
+            return null
+          }
+        })
+      } else {
+        this.$refs.formStepTwo.validate((valid) => {
+          if (valid) {
+            const params = {
+              phone: this.formStepTwo.newTel,
+              bizUserId: this.bizUserId,
+              verificationCode: this.formStepTwo.code
+            }
+            $bindPhone(params).then((res) => {
+              if (res.code === 0) {
+                this.stepActive = 1
+                this.formStepOne.code = ''
+                this.formStepTwo.tel = ''
+                this.formStepTwo.code = ''
+                this.$message.success(res.message)
+                this.bindPhone = this.formStepTwo.newTel
+                this.telDialogVisible = false
+              } else {
+                this.$message.error(res.message)
+              }
+            })
+          }
+        })
+      }
+    },
+    closeBindTelDialog() {
+      this.formBindTel.tel = ''
+      this.formBindTel.code = ''
+    },
+    closeEditTelDialog() {
+      this.formStepOne.code = ''
+      this.formStepTwo.newTel = ''
+      this.formStepTwo.code = ''
+      this.stepActive = 1
+      if (this.$refs.formStepOne) {
+        this.$refs.formStepOne.clearValidate()
+      }
+      if (this.$refs.formStepTwo) {
+        this.$refs.formStepTwo.clearValidate()
+      }
+    }
+  }
+}
+</script>
+<style lang="scss" scoped>
+@import "submodule/utils/style/variables.scss";
+.items {
+  width: 400px;
+}
+.getcode-btn {
+  width: 70px;
+  text-align: center;
+  cursor: pointer;
+  color: $p-color;
+}
+</style>

+ 116 - 0
pc/wcarrier/comp/invoice.vue

@@ -0,0 +1,116 @@
+<template>
+  <div class="invoice defbb" :class="{ 'read-only': isReadOnly }">
+    <div class="gray-color s-fz">[ 说明:用于发票补充展示 ]</div>
+    <el-form
+      ref="form"
+      :model="formData"
+      :rules="rules"
+      size="mini"
+      label-width="110px"
+      label-position="left"
+      :disabled="$props.disabled"
+      class="p-spac pb-spacd4"
+    >
+      <div class="flex">
+        <el-form-item prop="addr" label="购方地址:" label-width="85px" class="mr-spac">
+          <el-input v-model="formData.addr" v-empty="emptyArgs"></el-input>
+        </el-form-item>
+        <el-form-item prop="bank" label="购方开户银行:">
+          <el-input v-model="formData.bank" v-empty="emptyArgs"></el-input>
+        </el-form-item>
+      </div>
+      <div class="flex">
+        <el-form-item prop="addr" label="购方电话:" label-width="85px" class="mr-spac">
+          <el-input v-model="formData.addr" v-empty="emptyArgs"></el-input>
+        </el-form-item>
+        <el-form-item prop="bank" label="购方银行账号:">
+          <el-input v-model="formData.bank" v-empty="emptyArgs"></el-input>
+        </el-form-item>
+        <div class="ml-spac pt-spac" v-if="!$props.disabled">
+            <template v-if="isReadOnly">
+                <el-button type="text" @click="isEdit=true">修改</el-button>
+            </template>
+            <template v-else>
+          <el-button type="text" @click="save()">保存</el-button>
+          <el-button type="text" @click="cancel()">取消</el-button>
+          </template>
+        </div>
+      </div>
+    </el-form>
+  </div>
+</template>
+<script>
+
+const staticData = {
+  formDataRaw: {}
+}
+export default {
+  name: 'invoice',
+  data() {
+    return {
+      formData: {
+        addr: '',
+        bank: '66'
+      },
+      rules: {
+
+      },
+      isEdit: false
+    }
+  },
+  props: {
+    readOnly: {
+      type: Boolean,
+      default: false
+    },
+    disabled: {
+      type: Boolean,
+      default: false
+    }
+  },
+  computed: {
+    isReadOnly() {
+      return this.readOnly || !this.isEdit
+    },
+    emptyArgs() {
+      return { open: this.isReadOnly, text: '[ 暂无内容 ]' }
+    }
+  },
+  watch: {
+    isEdit(val) {
+      if (val) {
+        staticData.formDataRaw = { ...this.formData }
+      }
+    }
+  },
+  created() {
+    this.isEdit = !Object.keys(this.formData).some(key => this.formData[key])
+  },
+  methods: {
+    save() {
+      this.isEdit = false
+    },
+    cancel() {
+      this.formData = staticData.formDataRaw
+      this.isEdit = false
+    }
+  }
+}
+</script>
+<style lang="scss" scoped>
+.el-input {
+  width: 300px;
+}
+.el-form-item--mini.el-form-item {
+    margin-bottom: 6px;
+}
+.read-only {
+    ::v-deep input {
+        padding: 0;
+        border:0;
+        pointer-events: none;
+    }
+
+}
+
+</style>

+ 226 - 0
pc/wcarrier/join.vue

@@ -0,0 +1,226 @@
+<template>
+  <div class="p-spac p-fz">
+    <div class="defbb p-spac">企业认证 [ 未完成 ]</div>
+    <div v-if="isAuth" class="s-fz flex">
+      <div class="flex1 defbb p-spac p-t-0">
+        <div class="chunk1">
+          <div><span>公司名称:</span>{{ info.orgName }}</div>
+          <div class=" "><span>统一社会信用代码:</span>{{ info.code }}</div>
+        </div>
+        <div class="gray-color defbb p-spac">公司营业执照</div>
+        <div class="p-spac">
+          <el-image
+            class="big-img"
+            src="https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg"
+            :preview-src-list="[
+              'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg',
+            ]"
+          >
+          </el-image>
+        </div>
+      </div>
+      <div class="flex1 defbb p-spac p-t-0">
+        <div class="chunk1">
+          <div class="abs-rt"><span>证件类型:</span>身份证</div>
+          <div><span>法人姓名:</span>{{ info.orgName }}</div>
+          <div><span>证件号:</span>{{ info.code }}</div>
+        </div>
+        <div class="flex">
+          <div class="mr-spac">
+            <div class="gray-color defbb p-spac">法人身份证人像面</div>
+            <div class="p-spac">
+              <img
+                src="https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg"
+                class="small-img"
+              />
+            </div>
+          </div>
+          <div>
+            <div class="gray-color defbb p-spac">法人身份证人像面</div>
+            <div class="p-spac">
+              <img
+                src="https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg"
+                class="small-img"
+              />
+            </div>
+          </div>
+        </div>
+      </div>
+    </div>
+    <auth v-else />
+    <div class="defbb p-spac">
+      资质审核 [
+      <span class="gray-color" :class="{ 'green-color': true }">{{
+        operateState
+      }}</span>
+      ]
+      <span class="ml-spac p-wcolor" v-if="!isAuth">
+        [ 提醒:请先完成“企业认证”!]</span
+      >
+    </div>
+    <div class="p-spac p-b-0 flex defbb">
+      <div>
+        <div
+          class="gray-color"
+          :class="
+            operateLiceView ? 'defbb pb-spac' : 'required ml-spac mb-spac'
+          "
+        >
+          道路运输经营许可证
+        </div>
+        <div class="p-spac" v-if="operateLiceView">
+          <img
+            src="https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg"
+            class="big-img"
+          />
+        </div>
+        <el-form
+          v-else
+          ref="operateLice"
+          :model="operateLice"
+          :rules="rules"
+          size="mini"
+        >
+          <el-form-item prop="card">
+            <upload-img
+              :fileList="operateLiceImg"
+              :big="true"
+              :disabled="!isAuth"
+              @uploadOrgPic="uploadOrgPic"
+            ></upload-img>
+          </el-form-item>
+        </el-form>
+      </div>
+      <div
+        class="flex-column justify-between flex-items-start ml-spac pb-spac"
+        v-if="!operateLiceView"
+      >
+        <div v-if="isReject">
+          驳回理由:
+          <div>驳回理由驳回理由驳回理由驳回理由</div>
+        </div>
+        <div v-else></div>
+        <el-button
+          v-if="isAuth"
+          type="primary"
+          size="medium"
+          class="auth-btn"
+          @click="submitForm()"
+          >{{ reviewBtnText }}</el-button
+        >
+      </div>
+    </div>
+    <div class="defbb p-spac">
+      开票补充信息<span class="ml-spac p-wcolor" v-if="!isreView"
+        >[ 提醒:请先完成“资质审核”!]</span
+      >
+    </div>
+    <invoice :disabled="!isreView" :readOnly="false" class="p-spacd2 p-b-0" />
+    <authorize :orgInfo="orgInfo" v-if="isreView" />
+  </div>
+</template>
+<script>
+import { mapGetters } from 'vuex'
+import UploadImg from '@/components/uploadImg'
+import auth from './comp/auth.vue'
+import invoice from './comp/invoice.vue'
+import authorize from './comp/authorize.vue'
+import { getOrgInfo } from '@/utils/tools'
+
+export default {
+  name: 'join',
+  data() {
+    return {
+      orgInfo: {},
+      info: {
+        orgName: '水电费'
+      },
+      operateLiceImg: [
+        {
+          path: '',
+          defaultPath: require('@/assets/images/main/license@2x.png'),
+          text: '上传道路运输经营许可证'
+        }
+      ],
+      operateLice: {},
+      rules: {
+        card: {
+          required: true,
+          message: '请上传道路运输经营许可证',
+          trigger: 'blur'
+        }
+      }
+    }
+  },
+  components: { UploadImg, auth, invoice, authorize },
+  computed: {
+    ...mapGetters({
+      orgId: 'woporg',
+      user: 'wopuser'
+    }),
+
+    // 已认证
+    isAuth() {
+      return false
+    },
+    // 已审核
+    isreView() {
+      return true
+    },
+    operateState() {
+      return '未发起'
+    },
+    // 营运许可证为查看状态
+    operateLiceView() {
+      return this.isreView
+    },
+    // 被驳回
+    isReject() {
+      return true
+    },
+    reviewBtnText() {
+      return this.isReject ? '重新发起审核' : '发起审核'
+    }
+  },
+  created() {
+    this.userOrgFind()
+  },
+  methods: {
+    userOrgFind() {
+      getOrgInfo(this.orgId, 'info').then(res => {
+        this.orgInfo = res
+      })
+    },
+
+    uploadOrgPic() {
+      console.log('上传成功', arguments)
+    },
+    submitForm() {
+      this.$refs.operateLice.validate((valid) => {
+        if (valid) {
+          alert('submit!')
+        } else {
+          console.log('error submit!!')
+          return false
+        }
+      })
+    }
+  }
+}
+</script>
+<style lang="scss" scoped>
+@import "submodule/utils/style/variables.scss";
+.abs-rt {
+  position: absolute;
+  right: $p-spac;
+  top: $p-spac;
+}
+.small-img {
+  width: 216px;
+  height: 140px;
+}
+.big-img {
+  width: 340px;
+  height: 220px;
+}
+</style>

+ 3 - 1
readme.md

@@ -3,4 +3,6 @@
 
 # 版本
 1.01
-    车辆详情
+ 增加功能:
+    1.物流入驻组件:submodule/components/pc/wcarrier/join.vue
+