| | |
| | | export function getById (id) { |
| | | return request.get(`/business/company/${id}`) |
| | | } |
| | | |
| | | // ä¼ä¸æ´æ¢ææºå· |
| | | export function updatePhone (data) { |
| | | return request.post('/business/company/updatePhone', data) |
| | | } |
| | | |
| | | // ä¿®æ¹ä¿é©æ¹æ¡ |
| | | export function updateSolutions (data) { |
| | | return request.post('/business/company/updateSolutions', data) |
| | | } |
| | |
| | | <template> |
| | | <GlobalWindow |
| | | :title="title" |
| | | width="80%" |
| | | width="100%" |
| | | :withFooter="false" |
| | | :visible.sync="visible" |
| | | :confirm-working="isWorking" |
| | | @confirm="confirm" |
| | |
| | | <div class="info"> |
| | | <div class="info_label"> |
| | | <span>ä¼ä¸è¯¦æ
</span> |
| | | <el-button type="primary" @click="$refs.operaCompanyWindow.open('ç¼è¾ä¼ä¸ä¿¡æ¯', row)">ä¿®æ¹ä¼ä¸ä¿¡æ¯</el-button> |
| | | <div> |
| | | <el-button type="primary" @click="$refs.modification.open('ä¿®æ¹ä¿é©æ¹æ¡', form)">æ´æ¹ä¿é©æ¹æ¡</el-button> |
| | | <el-button type="primary" @click="$refs.operaCompanyWindow.open('ç¼è¾ä¼ä¸ä¿¡æ¯', form)">ä¿®æ¹ä¼ä¸ä¿¡æ¯</el-button> |
| | | </div> |
| | | </div> |
| | | <div class="info_list"> |
| | | <div class="info_list_item"> |
| | |
| | | </div> |
| | | <!-- æ°å»º/ä¿®æ¹ --> |
| | | <OperaCompanyWindow ref="operaCompanyWindow" @success="callback"/> |
| | | <!-- ä¿®æ¹ä¿é©æ¹æ¡ --> |
| | | <modification ref="modification" @success="callback"/> |
| | | <!-- ä¿®æ¹ææºå· --> |
| | | <el-dialog |
| | | title="æ´æ¹ç»å®ææºå·" |
| | | :visible.sync="visiblePhone" |
| | |
| | | <div class="form_item"> |
| | | <div class="form_item_label">ç»å®ææºå·ï¼</div> |
| | | <div class="form_item_val"> |
| | | <input type="text" placeholder="请è¾å
¥" /> |
| | | <el-input v-model="phone" placeholder="请è¾å
¥"></el-input> |
| | | </div> |
| | | </div> |
| | | <div class="form_item"> |
| | | <div class="form_item_label">éªè¯ç ï¼</div> |
| | | <div class="form_item_val"> |
| | | <input type="text" placeholder="请è¾å
¥" /> |
| | | <el-button type="primary" style="margin-left: 20px;">åééªè¯ç </el-button> |
| | | <el-input v-model="code" placeholder="请è¾å
¥"></el-input> |
| | | <el-button type="primary" style="margin-left: 20px;" @click="send" v-if="num === 0">åééªè¯ç </el-button> |
| | | <el-button type="primary" style="flex-shrink: 0; margin-left: 15px;" v-else>{{num}}s</el-button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="visiblePhone = false">å æ¶</el-button> |
| | | <el-button type="primary" @click="visiblePhone = false">æ 交</el-button> |
| | | <el-button @click="close">å æ¶</el-button> |
| | | <el-button type="primary" @click="updatePhoneEvent">æ 交</el-button> |
| | | </span> |
| | | </el-dialog> |
| | | </GlobalWindow> |
| | |
| | | import BaseOpera from '@/components/base/BaseOpera' |
| | | import GlobalWindow from '@/components/common/GlobalWindow' |
| | | import OperaCompanyWindow from '@/components/business/OperaCompanyWindow' |
| | | import { getById } from '@/api/business/company' |
| | | import modification from '@/components/business/modification' |
| | | import { getById, updatePhone } from '@/api/business/company' |
| | | import { listForCompany } from '@/api/business/solutions' |
| | | import { sendSms } from '@/api/business/smsEmail' |
| | | export default { |
| | | name: 'OperaCompanyDescWindow', |
| | | extends: BaseOpera, |
| | | components: { GlobalWindow, OperaCompanyWindow }, |
| | | components: { GlobalWindow, OperaCompanyWindow, modification }, |
| | | data () { |
| | | return { |
| | | ruleForm: { |
| | | phone: '', |
| | | code: '' |
| | | }, |
| | | num: 0, |
| | | timer: null, |
| | | // è¡¨åæ°æ® |
| | | form: {}, |
| | | phone: '', |
| | | code: '', |
| | | visiblePhone: false, |
| | | options: [], |
| | | tableData: [] |
| | |
| | | }) |
| | | }, |
| | | methods: { |
| | | close() { |
| | | this.visiblePhone = false |
| | | this.phone = '' |
| | | this.code = '' |
| | | clearInterval(this.timer) |
| | | this.num = 0 |
| | | }, |
| | | updatePhoneEvent() { |
| | | if (!this.phone) { |
| | | this.$message.warning('请è¾å
¥ææºå·') |
| | | return |
| | | } |
| | | if (!this.code) { |
| | | this.$message.warning('请è¾å
¥éªè¯ç ') |
| | | return |
| | | } |
| | | updatePhone({ |
| | | id: this.form.id, |
| | | captche: this.code, |
| | | phone: this.phone |
| | | }).then(res => { |
| | | this.form.phone = JSON.parse(JSON.stringify(this.phone)) |
| | | this.$message.success('æä½æå') |
| | | this.visiblePhone = false |
| | | this.phone = '' |
| | | this.code = '' |
| | | clearInterval(this.timer) |
| | | this.num = 0 |
| | | }) |
| | | }, |
| | | send() { |
| | | if (!this.phone) { |
| | | this.$message.warning('请è¾å
¥ææºå·') |
| | | return |
| | | } |
| | | sendSms({ phone: this.phone }) |
| | | .then(res => { |
| | | this.num = 60 |
| | | this.setTime() |
| | | }) |
| | | }, |
| | | setTime() { |
| | | this.timer = setInterval(() => { |
| | | this.num -= 1 |
| | | if (this.num === 0) { |
| | | clearInterval(this.timer) |
| | | this.num = 0 |
| | | } |
| | | }, 1000) |
| | | }, |
| | | open (title, target) { |
| | | const that = this; |
| | | this.title = title |
| | | this.phone = '' |
| | | this.code = '' |
| | | clearInterval(this.timer) |
| | | this.num = 0 |
| | | getById(target.id) |
| | | .then(res => { |
| | | this.form = res |
| | | this.form.type = 1 |
| | | |
| | | this.form.file = { |
| | | imgurl: '', |
| | | imgurlfull: '' |
| | | } |
| | | this.form.file1 = { |
| | | imgurl: '', |
| | | imgurlfull: '' |
| | | } |
| | | this.form.file2 = { |
| | | imgurl: '', |
| | | imgurlfull: '' |
| | | } |
| | | this.form.file3 = { |
| | | imgurl: '', |
| | | imgurlfull: '' |
| | | } |
| | | |
| | | this.form.file.imgurl = res.businessImg.fileurl |
| | | this.form.file.imgurlfull = res.businessImg.fileurlFull |
| | | this.form.file1.imgurl = res.idcardImgList[0].fileurl |
| | | this.form.file1.imgurlfull = res.idcardImgList[0].fileurlFull |
| | | this.form.file2.imgurl = res.idcardImgList[1].fileurl |
| | | this.form.file2.imgurlfull = res.idcardImgList[1].fileurlFull |
| | | this.form.file3.imgurl = res.signImg.fileurl |
| | | this.form.file3.imgurlfull = res.signImg.fileurlFull |
| | | |
| | | listForCompany({ companyId: target.id }) |
| | | .then(resa => { |
| | | that.form.solutionList = resa.map(item => { |
| | |
| | | canReduce: item.canReduce |
| | | } |
| | | }) |
| | | console.log(that.form) |
| | | that.visible = true |
| | | }) |
| | | }) |
| | |
| | | <el-form-item label="ç»ä¸ä¿¡ç¨ä»£ç " prop="code"> |
| | | <el-input v-model="form.code" placeholder="请è¾å
¥" v-trim/> |
| | | </el-form-item> |
| | | <el-form-item label="æ³äººå§å" prop="legalName"> |
| | | <el-form-item label="æ³äººå§å" prop="legalName" v-if="form.type !== 1"> |
| | | <el-input v-model="form.legalName" placeholder="请è¾å
¥" v-trim/> |
| | | </el-form-item> |
| | | <el-form-item label="ç»å®ææºå·" prop="phone"> |
| | | <el-form-item label="ç»å®ææºå·" prop="phone" v-if="form.type !== 1"> |
| | | <div style="width: 100%; display: flex; align-items: center;"> |
| | | <el-input v-model="form.phone" maxlength="11" type="number" style="flex: 1;" placeholder="请è¾å
¥" v-trim/> |
| | | <el-button type="primary" style="flex-shrink: 0; margin-left: 15px;" @click="send" v-if="num === 0">åééªè¯ç </el-button> |
| | | <el-button type="primary" style="flex-shrink: 0; margin-left: 15px;" v-else>{{num}}s</el-button> |
| | | </div> |
| | | </el-form-item> |
| | | <el-form-item label="éªè¯ç " prop="captche"> |
| | | <el-form-item label="éªè¯ç " prop="captche" v-if="form.type !== 1"> |
| | | <el-input v-model="form.captche" placeholder="请è¾å
¥" v-trim/> |
| | | </el-form-item> |
| | | <el-form-item label="å
¬å¸è´¦å·" prop="username"> |
| | | <el-form-item label="å
¬å¸è´¦å·" prop="username" v-if="form.type !== 1"> |
| | | <el-input v-model="form.username" placeholder="请è¾å
¥" v-trim/> |
| | | </el-form-item> |
| | | <el-form-item label="认è¯é®ç®±" prop="email"> |
| | | <el-form-item label="认è¯é®ç®±" prop="email" v-if="form.type !== 1"> |
| | | <el-input v-model="form.email" placeholder="请è¾å
¥" v-trim/> |
| | | </el-form-item> |
| | | <el-form-item label="纳ç¨äººè¯å«å·" prop="taxCode"> |
| | |
| | | <el-input v-model="form.invoiceAddr" placeholder="请è¾å
¥" v-trim/> |
| | | </el-form-item> |
| | | <el-form-item label="è¥ä¸æ§ç
§" prop="businessImg"> |
| | | <UploadAvatarImage :uploadData="{ folder: 'company' }" :file="file" @uploadSuccess="result" /> |
| | | <UploadAvatarImage :uploadData="{ folder: 'company' }" :file="form.file" @uploadSuccess="result" /> |
| | | </el-form-item> |
| | | <el-form-item label="æ³äººèº«ä»½è¯" prop="idcardImgList"> |
| | | <div style="width: 100%; display: flex; align-items: center;"> |
| | | <UploadAvatarImage :uploadData="{ folder: 'company' }" :file="file1" @uploadSuccess="result1" /> |
| | | <UploadAvatarImage :uploadData="{ folder: 'company' }" :file="form.file1" @uploadSuccess="result1" /> |
| | | <div style="width: 15px;height: 100%;"></div> |
| | | <UploadAvatarImage :uploadData="{ folder: 'company' }" :file="file2" @uploadSuccess="result2" /> |
| | | <UploadAvatarImage :uploadData="{ folder: 'company' }" :file="form.file2" @uploadSuccess="result2" /> |
| | | </div> |
| | | </el-form-item> |
| | | <el-form-item label="çµåç¾ç« " prop="signImg"> |
| | | <UploadAvatarImage :uploadData="{ folder: 'company' }" :file="file3" @uploadSuccess="result3" /> |
| | | <UploadAvatarImage :uploadData="{ folder: 'company' }" :file="form.file3" @uploadSuccess="result3" /> |
| | | </el-form-item> |
| | | </el-form> |
| | | <el-button type="primary" style="margin-bottom: 15px;" @click="add">æ·»å </el-button> |
| | | <el-button type="primary" style="margin-bottom: 15px;" @click="add" v-if="form.type !== 1">æ·»å </el-button> |
| | | <el-table |
| | | v-if="form.type !== 1" |
| | | :data="form.solutionList" |
| | | border |
| | | style="width: 100%"> |
| | |
| | | canAdd: 0, |
| | | canReduce: 0 |
| | | } |
| | | ] |
| | | ], |
| | | type: '', |
| | | file: { |
| | | imgurl: '', |
| | | imgurlfull: '' |
| | | }, |
| | | file1: { |
| | | imgurl: '', |
| | | imgurlfull: '' |
| | | }, |
| | | file2: { |
| | | imgurl: '', |
| | | imgurlfull: '' |
| | | }, |
| | | file3: { |
| | | imgurl: '', |
| | | imgurlfull: '' |
| | | }, |
| | | }, |
| | | timer: null, |
| | | num: 0, |
| | |
| | | { required: true, message: '请è¾å
¥å
¬å¸è´¦å·' } |
| | | ] |
| | | }, |
| | | file: { |
| | | imgurl: '', |
| | | imgurlfull: '' |
| | | }, |
| | | file1: { |
| | | imgurl: '', |
| | | imgurlfull: '' |
| | | }, |
| | | file2: { |
| | | imgurl: '', |
| | | imgurlfull: '' |
| | | }, |
| | | file3: { |
| | | imgurl: '', |
| | | imgurlfull: '' |
| | | }, |
| | | |
| | | programme: [] |
| | | } |
| | | }, |
| | |
| | | }, |
| | | // æ¥æ¶è¥ä¸æ§ç
§æ°æ® |
| | | result(data) { |
| | | this.form.businessImg = { |
| | | fileurl: '', |
| | | name: '' |
| | | } |
| | | this.form.businessImg.fileurl = data.imgurl |
| | | this.form.businessImg.name = data.name |
| | | }, |
| | | // 身份è¯ç
§ç1 |
| | | result1(data) { |
| | | this.form.idcardImgList[0] = { |
| | | fileurl: '', |
| | | name: '' |
| | | } |
| | | this.form.idcardImgList[0] = { fileurl: data.imgurl, name: data.name } |
| | | }, |
| | | // 身份è¯ç
§ç2 |
| | | result2(data) { |
| | | this.form.idcardImgList[1] = { |
| | | fileurl: '', |
| | | name: '' |
| | | } |
| | | this.form.idcardImgList[1] = { fileurl: data.imgurl, name: data.name } |
| | | }, |
| | | // çµåç¾ç« |
| | | result3(data) { |
| | | this.form.signImg = { |
| | | fileurl: '', |
| | | name: '' |
| | | } |
| | | this.form.signImg.fileurl = data.imgurl |
| | | this.form.signImg.name = data.name |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <GlobalWindow |
| | | :title="title" |
| | | width="100%" |
| | | :visible.sync="visible" |
| | | :confirm-working="isWorking" |
| | | @confirm="confirm" |
| | | > |
| | | <el-button type="primary" style="margin-bottom: 15px;" @click="add">æ·»å </el-button> |
| | | <el-table |
| | | :data="form.solutionList" |
| | | border |
| | | style="width: 100%"> |
| | | <el-table-column |
| | | label="åºå·" |
| | | align="center" |
| | | width="80"> |
| | | <template slot-scope="scope"> |
| | | <span>{{scope.$index + 1}}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | align="center" |
| | | label="ä¿é©æ¹æ¡"> |
| | | <template slot-scope="{row}"> |
| | | <el-select v-model="row.solutionBaseId" placeholder="è¯·éæ©"> |
| | | <el-option |
| | | v-for="item in programme" |
| | | :key="item.id" |
| | | :label="item.name" |
| | | :value="item.id"> |
| | | </el-option> |
| | | </el-select> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | align="center" |
| | | label="å åä¿åè½"> |
| | | <template slot-scope="{row}"> |
| | | <el-checkbox :true-label="1" :false-label="0" v-model="row.canAdd">å ä¿</el-checkbox> |
| | | <el-checkbox :true-label="1" :false-label="0" v-model="row.canReduce">åä¿</el-checkbox> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="æä½" |
| | | align="center" |
| | | width="100"> |
| | | <template slot-scope="scope"> |
| | | <el-button type="text" size="small" style="color: red;" @click="dele(scope.$index)">å é¤</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | </GlobalWindow> |
| | | </template> |
| | | |
| | | <script> |
| | | import BaseOpera from '@/components/base/BaseOpera' |
| | | import GlobalWindow from '@/components/common/GlobalWindow' |
| | | import { all } from '@/api/business/solutions' |
| | | import { listForCompany } from '@/api/business/solutions' |
| | | import { updateSolutions } from '@/api/business/company' |
| | | |
| | | export default { |
| | | name: 'modification', |
| | | extends: BaseOpera, |
| | | components: { GlobalWindow }, |
| | | data () { |
| | | return { |
| | | // è¡¨åæ°æ® |
| | | form: { |
| | | id: null, |
| | | solutionList: [ |
| | | { |
| | | solutionBaseId: '', |
| | | canAdd: 0, |
| | | canReduce: 0 |
| | | } |
| | | ] |
| | | }, |
| | | // éªè¯è§å |
| | | rules: { |
| | | solutionList: [ |
| | | { required: true, message: '请è¾å
¥å
¬å¸è´¦å·' } |
| | | ] |
| | | }, |
| | | programme: [] |
| | | } |
| | | }, |
| | | created () { |
| | | this.config({ |
| | | api: '/business/company', |
| | | 'field.id': 'id' |
| | | }) |
| | | }, |
| | | methods: { |
| | | confirm() { |
| | | this.isWorking = true |
| | | updateSolutions(this.form) |
| | | .then(res => { |
| | | this.visible = false |
| | | this.$tip.apiSuccess('æ°å»ºæå') |
| | | this.$emit('success') |
| | | }) |
| | | .catch(e => { |
| | | this.$tip.apiFailed(e) |
| | | }) |
| | | .finally(() => { |
| | | this.isWorking = false |
| | | }) |
| | | }, |
| | | // è·åå
¨é¨æ¹æ¡ |
| | | getAll() { |
| | | all({}) |
| | | .then(res => { |
| | | this.programme = res |
| | | }) |
| | | }, |
| | | open (title, target) { |
| | | var that = this; |
| | | this.title = title |
| | | for (const key in this.form) { |
| | | this.form[key] = target[key] |
| | | } |
| | | this.getAll() |
| | | listForCompany({ companyId: target.id }) |
| | | .then(resa => { |
| | | that.form.solutionList = resa.map(item => { |
| | | return { |
| | | solutionBaseId: item.solutionBaseId, |
| | | canAdd: item.canAdd, |
| | | canReduce: item.canReduce |
| | | } |
| | | }) |
| | | that.visible = true |
| | | }) |
| | | }, |
| | | add() { |
| | | this.form.solutionList.push({ |
| | | solutionName: '', |
| | | canAdd: '', |
| | | canReduce: '' |
| | | }) |
| | | }, |
| | | dele(index) { |
| | | if (this.form.solutionList.length === 1) { |
| | | this.$message.warning('è³å°ä¿çä¸é¡¹') |
| | | return |
| | | } |
| | | this.form.solutionList.splice(index, 1) |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | |
| | | <el-upload |
| | | class="avatar-uploader" |
| | | accept=".png,.jpg" |
| | | :style="customStyle" |
| | | :action="uploadImgUrl" |
| | | :data="uploadData" |
| | | :show-file-list="false" |
| | | :on-success="handleAvatarSuccess" |
| | | :on-error="uploadError" |
| | | :before-upload="beforeAvatarUpload"> |
| | | <template v-if="file.imgurlfull"> |
| | | <img :src="file.imgurlfull" class="avatar"> |
| | | </template> |
| | | <i v-else class="el-icon-plus avatar-uploader-icon"></i> |
| | | <img v-if="file.imgurlfull" :src="file.imgurlfull" :style="customStyle" class="avatar"> |
| | | <div v-else :style="customStyle"> |
| | | <i class="el-icon-plus avatar-uploader-icon"></i> |
| | | <div class="tips-style">{{ tipsLabel }}</div> |
| | | </div> |
| | | </el-upload> |
| | | </div> |
| | | |
| | |
| | | type: Object, |
| | | default: () => {} |
| | | }, |
| | | tipsLabel: '', |
| | | customStyle: { |
| | | type: String, |
| | | default: 'width: 90px; height: 90px;' |
| | | }, |
| | | uploadData: Object |
| | | }, |
| | | data() { |
| | | return { |
| | | uploadImgUrl: process.env.VUE_APP_API_PREFIX + '/public/uploadLocal', |
| | | // uploadData: { |
| | | // folder: 'upload', |
| | | // type: 'image' |
| | | // }, |
| | | imgurlfull: '' |
| | | uploadImgUrl: process.env.VUE_APP_API_PREFIX + '/public/upload' |
| | | } |
| | | }, |
| | | |
| | |
| | | // ä¸ä¼ å¾ç |
| | | handleAvatarSuccess(res, file) { |
| | | if (res.code == 200) { |
| | | this.file.imgurl = res.data.imgaddr; |
| | | this.file.imgurlfull = res.data.url; |
| | | this.$tip.apiSuccess('ä¸ä¼ æå') |
| | | this.$emit('uploadSuccess', { imgurl: res.data.imgaddr, imgurlfull: res.data.url }) |
| | | let { data } = res |
| | | this.file.imgurl = data.imgaddr; |
| | | this.file.imgurlfull = data.url; |
| | | this.$message.success('ä¸ä¼ æå') |
| | | this.$emit('uploadSuccess', { imgurl: data.imgaddr, imgurlfull: data.url, name: data.originname }) |
| | | } else { |
| | | this.$tip.apiFailed('ä¸ä¼ 失败') |
| | | } |
| | |
| | | border-color: #409EFF; |
| | | } |
| | | .avatar-uploader-icon { |
| | | line-height: 90px; |
| | | font-size: 28px; |
| | | color: #8c939d; |
| | | width: $image-width; |
| | | height: $image-width; |
| | | line-height: $image-width; |
| | | text-align: center; |
| | | } |
| | | .avatar { |
| | |
| | | height: $image-width; |
| | | display: block; |
| | | } |
| | | .tips-style { |
| | | height: 13px; |
| | | font-size: 13px; |
| | | font-weight: 400; |
| | | color: #999999; |
| | | line-height: 13px; |
| | | } |
| | | </style> |
| | | <style lang="scss" scoped> |
| | | ::v-deep .el-upload--picture-card{ |
| | |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <el-button type="text" @click="$refs.OperaCompanyDescWindow.open('ä¼ä¸è¯¦æ
', row)" v-permissions="['business:company:update']">æ¥ç详æ
</el-button> |
| | | <el-button type="text" @click="$refs.operaCompanyWindow.open('ç¼è¾ä¼ä¸ä¿¡æ¯è¡¨', row)" v-permissions="['business:company:update']">ä¿®æ¹</el-button> |
| | | <el-button type="text" @click="edit(row)" v-permissions="['business:company:update']">ä¿®æ¹</el-button> |
| | | <el-button type="text" @click="$refs.operaCompanyWindow.open('ç¼è¾ä¼ä¸ä¿¡æ¯è¡¨', row)" v-permissions="['business:company:update']">çµåç¾è®¤è¯</el-button> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | import Pagination from '@/components/common/Pagination' |
| | | import OperaCompanyWindow from '@/components/business/OperaCompanyWindow' |
| | | import OperaCompanyDescWindow from '@/components/business/OperaCompanyDescWindow' |
| | | import { updateStatus } from '@/api/business/company' |
| | | import { updateStatus, getById } from '@/api/business/company' |
| | | export default { |
| | | name: 'Company', |
| | | extends: BaseTable, |
| | |
| | | this.search() |
| | | }, |
| | | methods: { |
| | | edit(row) { |
| | | getById(row.id) |
| | | .then(res => { |
| | | let form = res; |
| | | form.type = 1 |
| | | form.file = { |
| | | imgurl: '', |
| | | imgurlfull: '' |
| | | } |
| | | form.file1 = { |
| | | imgurl: '', |
| | | imgurlfull: '' |
| | | } |
| | | form.file2 = { |
| | | imgurl: '', |
| | | imgurlfull: '' |
| | | } |
| | | form.file3 = { |
| | | imgurl: '', |
| | | imgurlfull: '' |
| | | } |
| | | form.file.imgurl = res.businessImg.fileurl |
| | | form.file.imgurlfull = res.businessImg.fileurlFull |
| | | form.file1.imgurl = res.idcardImgList[0].fileurl |
| | | form.file1.imgurlfull = res.idcardImgList[0].fileurlFull |
| | | form.file2.imgurl = res.idcardImgList[1].fileurl |
| | | form.file2.imgurlfull = res.idcardImgList[1].fileurlFull |
| | | form.file3.imgurl = res.signImg.fileurl |
| | | form.file3.imgurlfull = res.signImg.fileurlFull |
| | | this.$refs.operaCompanyWindow.open('ç¼è¾ä¼ä¸', form) |
| | | }) |
| | | }, |
| | | // ä¿®æ¹ç¶æ |
| | | changeStatus(status, row) { |
| | | updateStatus({ id: row.id, status }) |