Merge remote-tracking branch 'origin/master'
| | |
| | | <GlobalWindow |
| | | :title="title" |
| | | :visible.sync="visible" |
| | | width="50%" |
| | | :confirm-working="isWorking" |
| | | @confirm="confirm" |
| | | > |
| | |
| | | <el-radio :label="0">å
¨é¨é¨ç¦</el-radio> |
| | | <el-radio :label="1">é¨åé¨ç¦</el-radio> |
| | | </el-radio-group> |
| | | <el-checkbox-group v-model="form.doorIds" v-if="form.radio === 1"> |
| | | <el-checkbox :label="item.id" v-for="(item, index) in device" :key="index">{{item.name}}</el-checkbox> |
| | | </el-checkbox-group> |
| | | <el-transfer |
| | | v-if="form.radio === 1" |
| | | style="margin-top: 15px;" |
| | | :titles="['æªéé¨ç¦ç»', 'å·²éé¨ç¦ç»']" |
| | | filterable |
| | | filter-placeholder="请è¾å
¥é¨ç¦ç»åç§°" |
| | | v-model="form.doorIds" |
| | | :data="device"> |
| | | </el-transfer> |
| | | </el-form-item> |
| | | </el-form> |
| | | </GlobalWindow> |
| | |
| | | getLists () { |
| | | getList({}) |
| | | .then(res => { |
| | | this.device = res |
| | | this.device = res.map(item => { |
| | | return { |
| | | label: item.name, |
| | | key: item.id |
| | | } |
| | | }) |
| | | console.log(this.device) |
| | | }) |
| | | }, |
| | | changeRadio (e) { |
| | |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style> |
| | | .el-transfer-panel { |
| | | width: 350px; |
| | | } |
| | | </style> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <GlobalWindow |
| | | :title="title" |
| | | width="70%" |
| | | :visible.sync="visible" |
| | | :withFooter="false" |
| | | > |
| | | <ul style="width: 100%; display: flex; align-items: center; margin-bottom: 20px;"> |
| | | <li style="margin-right: 10px;"><el-button type="primary" @click="batchLossReporting">æå¤±</el-button></li> |
| | | <li><el-button type="primary" @click="batchDecoupling">è§£æ</el-button></li> |
| | | </ul> |
| | | <el-table |
| | | v-loading="loading" |
| | | :data="list" |
| | | stripe |
| | | @selection-change="handleSelectionChange" |
| | | > |
| | | <el-table-column type="selection" width="55"></el-table-column> |
| | | <el-table-column prop="code" label="å¡å·" min-width="100px"></el-table-column> |
| | | <el-table-column prop="cardTypeName" label="å¡ç±»å" min-width="100px"></el-table-column> |
| | | <el-table-column label="ç¶æ" min-width="100px"> |
| | | <template slot-scope="{row}"> |
| | | <span v-if="row.status === 0">ç¦ç¨</span> |
| | | <span v-if="row.status === 1">å¯ç¨</span> |
| | | <span v-if="row.status === 2">éå¡</span> |
| | | <span v-if="row.status === 3">æå¤±</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="ç¨æ·ç±»å" min-width="100px"> |
| | | <template slot-scope="{row}"> |
| | | <span v-if="row.memberType === 0">å³å¡è®¿å®¢</span> |
| | | <span v-if="row.memberType === 2">å
é¨äººå</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="memberName" label="åå·¥å§å" min-width="100px"></el-table-column> |
| | | <el-table-column prop="memberPhone" label="ææºå·" min-width="100px"></el-table-column> |
| | | <el-table-column prop="companyName" label="å
¬å¸/é¨é¨" min-width="100px"></el-table-column> |
| | | <el-table-column prop="createDate" label="å¼å¡æ¶é´" min-width="100px"></el-table-column> |
| | | <el-table-column prop="editDate" label="æ´æ°æ¶é´" min-width="100px"></el-table-column> |
| | | <el-table-column |
| | | label="æä½" |
| | | min-width="120" |
| | | fixed="right" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <el-button type="text" v-if="row.status === 3" @click="jiegua(row.id)">è§£æ</el-button> |
| | | <el-button type="text" v-if="row.status !== 3 && row.status !== 2" @click="tui(row.id)">éå¡</el-button> |
| | | <el-button type="text" v-if="row.status !== 3 && row.status !== 2" @click="guashi(row.id)">æå¤±</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | </GlobalWindow> |
| | | </template> |
| | | |
| | | <script> |
| | | import BaseOpera from '@/components/base/BaseOpera' |
| | | import GlobalWindow from '@/components/common/GlobalWindow' |
| | | import { refundCard, batchLoss, batchUnLoss, fetchList } from '@/api/business/memberCard' |
| | | export default { |
| | | name: 'cardOpeningRecord', |
| | | extends: BaseOpera, |
| | | components: { GlobalWindow }, |
| | | data () { |
| | | return { |
| | | list: [], |
| | | tableData: { |
| | | selectedRows: [] |
| | | }, |
| | | loading: false |
| | | } |
| | | }, |
| | | created () { |
| | | this.config({ |
| | | api: '/business/memberCard', |
| | | 'field.id': 'id' |
| | | }) |
| | | }, |
| | | methods: { |
| | | open (title, memberId) { |
| | | this.title = title |
| | | this.visible = true |
| | | this.list = [] |
| | | this.memberId = memberId |
| | | this.search() |
| | | }, |
| | | handleSelectionChange (e) { |
| | | this.tableData.selectedRows = e |
| | | }, |
| | | search() { |
| | | fetchList({ |
| | | capacity: 9999, |
| | | page: 1, |
| | | model: { |
| | | memberId: this.memberId |
| | | } |
| | | }).then(res => { |
| | | this.list = res.records |
| | | }) |
| | | }, |
| | | // æ¹éè§£æ |
| | | batchDecoupling () { |
| | | let arr = [] |
| | | this.tableData.selectedRows.forEach(item => { |
| | | arr.push({ id: item.id, status: 1 }) |
| | | }) |
| | | batchUnLoss(arr) |
| | | .then(res => { |
| | | this.$message.success('æä½æå') |
| | | this.search() |
| | | }) |
| | | }, |
| | | // æ¹éæå¤± |
| | | batchLossReporting() { |
| | | let arr = [] |
| | | this.tableData.selectedRows.forEach(item => { |
| | | arr.push({ id: item.id, status: 3 }) |
| | | }) |
| | | batchLoss(arr) |
| | | .then(res => { |
| | | this.$message.success('æä½æå') |
| | | this.search() |
| | | }) |
| | | }, |
| | | // éå¡ |
| | | tui(id) { |
| | | refundCard({ id, status: 2 }) |
| | | .then(res => { |
| | | this.$message.success('æä½æå') |
| | | this.search() |
| | | }) |
| | | }, |
| | | // æå¤± |
| | | guashi(id) { |
| | | batchLoss([{ id, status: 3 }]) |
| | | .then(res => { |
| | | this.$message.success('æä½æå') |
| | | this.search() |
| | | }) |
| | | }, |
| | | // è§£æ |
| | | jiegua(id) { |
| | | batchUnLoss([{ id, status: 1 }]) |
| | | .then(res => { |
| | | this.$message.success('æä½æå') |
| | | this.search() |
| | | }) |
| | | } |
| | | } |
| | | } |
| | | </script> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <TableLayout :permissions="['business:member:query']"> |
| | | <!-- æç´¢è¡¨å --> |
| | | <el-form ref="searchForm" slot="search-form" :model="searchForm" label-width="100px" inline> |
| | | <el-form-item label="å§å" prop="name"> |
| | | <el-input v-model="searchForm.name" placeholder="请è¾å
¥è®¿å®¢åç§°" @keypress.enter.native="search"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="å
¬å¸åç§°" prop="companyName"> |
| | | <el-input v-model="searchForm.companyName" placeholder="请è¾å
¥å
¬å¸åç§°" @keypress.enter.native="search"></el-input> |
| | | </el-form-item> |
| | | <section> |
| | | <el-button type="primary" @click="search">æç´¢</el-button> |
| | | <el-button @click="reset">éç½®</el-button> |
| | | </section> |
| | | </el-form> |
| | | <!-- è¡¨æ ¼åå页 --> |
| | | <template v-slot:table-wrap> |
| | | <!-- <ul class="toolbar" v-permissions="['business:member:create', 'business:member:delete']">--> |
| | | <!-- <li><el-button type="primary" v-permissions="['business:member:create']" @click="thaws">离åº</el-button></li>--> |
| | | <!-- </ul>--> |
| | | <el-table |
| | | v-loading="isWorking.search" |
| | | :data="tableData.list" |
| | | stripe |
| | | @selection-change="handleSelectionChange" |
| | | > |
| | | <!-- <el-table-column type="selection" width="55"></el-table-column>--> |
| | | <el-table-column prop="name" label="å§å" min-width="100px"></el-table-column> |
| | | <el-table-column prop="phone" label="ææºå·" min-width="100px"></el-table-column> |
| | | <el-table-column prop="companyName" label="å
¬å¸" min-width="100px"></el-table-column> |
| | | <el-table-column label="ç¨æ·ç±»å" min-width="100px"> |
| | | <template slot-scope="{row}"> |
| | | <span v-if="row.type === 0">å³å¡è®¿å®¢</span> |
| | | <span v-if="row.type === 1">æ®é访客</span> |
| | | <span v-if="row.type === 2">å
é¨äººå</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="inDate" label="å
¥åºæ¶é´" min-width="100px"></el-table-column> |
| | | <el-table-column prop="outDate" label="ææå°ææ¶é´" min-width="100px"></el-table-column> |
| | | <el-table-column label="è¶
æ¶æ¶é¿" min-width="100px"> |
| | | <template slot-scope="{row}"> |
| | | <span v-if="row.outStatus === 1">{{row.timeOut.toString().replace('-', '')}}åé</span> |
| | | <span v-else>-</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="ç¶æ" min-width="100px"> |
| | | <template slot-scope="{row}"> |
| | | <span v-if="row.outStatus === 0">æªè¶
æ¶</span> |
| | | <span style="color: red;" v-else-if="row.outStatus === 1">å·²è¶
æ¶</span> |
| | | <span v-else-if="row.outStatus === 2">å³å°è¶
æ¶</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | v-if="containPermissions(['business:member:update', 'business:member:delete'])" |
| | | label="æä½" |
| | | min-width="120" |
| | | fixed="right" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <el-button type="text" icon="el-icon-edit" v-permissions="['business:member:update']" @click="departure(row.id)">离å</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <pagination |
| | | @size-change="handleSizeChange" |
| | | @current-change="handlePageChange" |
| | | :pagination="tableData.pagination" |
| | | > |
| | | </pagination> |
| | | </template> |
| | | </TableLayout> |
| | | </template> |
| | | |
| | | <script> |
| | | import BaseTable from '@/components/base/BaseTable' |
| | | import TableLayout from '@/layouts/TableLayout' |
| | | import Pagination from '@/components/common/Pagination' |
| | | import { level } from '@/api/business/staging' |
| | | export default { |
| | | name: 'deletePersonnel', |
| | | extends: BaseTable, |
| | | components: { TableLayout, Pagination }, |
| | | data () { |
| | | return { |
| | | // æç´¢ |
| | | searchForm: { |
| | | companyName: '', |
| | | name: '', |
| | | type: '2', |
| | | isdeleted: 1 |
| | | }, |
| | | user: [] |
| | | } |
| | | }, |
| | | created () { |
| | | this.config({ |
| | | module: '人åä¿¡æ¯è¡¨', |
| | | api: '/business/strandedPersonnel', |
| | | 'field.id': 'id', |
| | | 'field.main': 'id' |
| | | }) |
| | | this.search() |
| | | }, |
| | | methods: { |
| | | departure(id) { |
| | | this.$confirm('ç¡®å®ç¦»åºå, æ¯å¦ç»§ç»?', 'æç¤º', { |
| | | confirmButtonText: 'ç¡®å®', |
| | | cancelButtonText: 'åæ¶', |
| | | type: 'warning' |
| | | }).then(() => { |
| | | level(id) |
| | | .then(res => { |
| | | this.search() |
| | | }) |
| | | }).catch(() => { |
| | | |
| | | }); |
| | | }, |
| | | // thaws () { |
| | | // if (this.tableData.selectedRows.length === 0) return this.$message.warning('è³å°éæ©ä¸é¡¹å
容') |
| | | // const ids = this.tableData.selectedRows.map(item => { |
| | | // return { id: item.id } |
| | | // }) |
| | | // this.thaw(ids) |
| | | // }, |
| | | // thaw (ids) { |
| | | // this.$confirm('ç¡®å®ç§»é¤æ¤ç¨æ·å?', 'æç¤º', { |
| | | // confirmButtonText: 'ç¡®å®', |
| | | // cancelButtonText: 'åæ¶', |
| | | // type: 'warning' |
| | | // }).then(() => { |
| | | // // updateRemoveStatusById(ids) |
| | | // // .then(res => { |
| | | // // this.$message.success('æä½æå') |
| | | // // this.search() |
| | | // // }) |
| | | // }).catch(() => { |
| | | // |
| | | // }) |
| | | // }, |
| | | } |
| | | } |
| | | </script> |
| | |
| | | module: 'é¨ç¦è§è²', |
| | | api: '/business/deviceRole', |
| | | 'field.id': 'id', |
| | | 'field.main': 'id' |
| | | 'field.main': 'name' |
| | | }) |
| | | this.search() |
| | | }, |
| | |
| | | edit (row) { |
| | | if (row.doorIds) { |
| | | row.radio = 1 |
| | | row.doorIds = row.doorIds.split(',') |
| | | row.doorIds = row.doorIds.map(item => Number(item)) |
| | | if (typeof row.doorIds !== 'object') { |
| | | row.doorIds = row.doorIds.split(',') |
| | | row.doorIds = row.doorIds.map(item => Number(item)) |
| | | } |
| | | } else { |
| | | row.radio = 0 |
| | | row.doorIds = [] |
| | |
| | | <el-input v-model="searchForm.name" placeholder="请è¾å
¥æ¥å£åç§°" @keypress.enter.native="search"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="ç±»å" prop="type"> |
| | | <el-select v-model="searchForm.type" placeholder="è¯·éæ©"> |
| | | <el-select v-model="searchForm.type" @change="search" placeholder="è¯·éæ©"> |
| | | <el-option label="è°ç¨" value="0"></el-option> |
| | | <el-option label="æ¨éæ¥å" value="1"></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="è°ç¨ç»æ" prop="success"> |
| | | <el-select v-model="searchForm.success" placeholder="è¯·éæ©"> |
| | | <el-option label="æå" value="0"></el-option> |
| | | <el-option label="失败" value="1"></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="èµ·å§æ¶é´" prop="startDate"> |
| | |
| | | <template slot-scope="{row}"> |
| | | <span v-if="row.type == 0">è°ç¨</span> |
| | | <span v-if="row.type == 1">æ¨éæ¥å</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="è°ç¨ç»æ" min-width="100px"> |
| | | <template slot-scope="{row}"> |
| | | <span style="color: green;" v-if="row.success == 0">æå</span> |
| | | <span style="color: red;" v-if="row.success == 1">失败</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="å¹³å°" min-width="100px"> |
| | |
| | | name: '', |
| | | type: '', |
| | | endDate: '', |
| | | startDate: '', |
| | | success: '' |
| | | startDate: '' |
| | | }, |
| | | time: [] |
| | | } |
| | |
| | | <!-- è¡¨æ ¼åå页 --> |
| | | <template v-slot:table-wrap> |
| | | <ul class="toolbar" v-permissions="['business:company:create', 'business:company:sync']"> |
| | | <li><el-button type="primary" v-permissions="['business:company:create']" @click="$refs.OperaInternalCompanyWindow.open('æ°å»ºä¼ä¸')">æ°å»º</el-button></li> |
| | | <!-- <li><el-button type="primary" v-permissions="['business:company:create']" @click="$refs.OperaInternalCompanyWindow.open('æ°å»ºä¼ä¸')">æ°å»º</el-button></li>--> |
| | | <li><el-button type="primary" v-permissions="['business:company:sync']" :loading="loading" @click="synchronous()">忥</el-button></li> |
| | | </ul> |
| | | <el-table |
| | |
| | | <!-- <el-table-column type="selection" width="55"></el-table-column>--> |
| | | <el-table-column prop="name" label="ç»ç»åç§°" min-width="100px"></el-table-column> |
| | | <el-table-column prop="editDate" label="æåæ´æ°æ¶é´" min-width="100px"></el-table-column> |
| | | <el-table-column |
| | | label="æä½" |
| | | width="230" |
| | | fixed="right" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <el-button type="text" @click="$refs.OperaInternalCompanyWindow.open('ç¼è¾ä¼ä¸ä¿¡æ¯', row)" icon="el-icon-edit" v-permissions="['business:company:update']">ç¼è¾</el-button> |
| | | <el-button type="text" @click="$refs.OperaInternalCompanyWindow.open('æ°å»ºå级', { disable: true, parentId: row.id })" icon="el-icon-plus">æ°å»ºå级</el-button> |
| | | <el-button type="text" @click="deleteById(row)" icon="el-icon-delete" v-permissions="['business:company:delete']">å é¤</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | <!-- <el-table-column--> |
| | | <!-- label="æä½"--> |
| | | <!-- width="230"--> |
| | | <!-- fixed="right"--> |
| | | <!-- >--> |
| | | <!-- <template slot-scope="{row}">--> |
| | | <!-- <el-button type="text" @click="$refs.OperaInternalCompanyWindow.open('ç¼è¾ä¼ä¸ä¿¡æ¯', row)" icon="el-icon-edit" v-permissions="['business:company:update']">ç¼è¾</el-button>--> |
| | | <!-- <el-button type="text" @click="$refs.OperaInternalCompanyWindow.open('æ°å»ºå级', { disable: true, parentId: row.id })" icon="el-icon-plus">æ°å»ºå级</el-button>--> |
| | | <!-- <el-button type="text" @click="deleteById(row)" icon="el-icon-delete" v-permissions="['business:company:delete']">å é¤</el-button>--> |
| | | <!-- </template>--> |
| | | <!-- </el-table-column>--> |
| | | </el-table> |
| | | </template> |
| | | <!-- æ°å»º/ä¿®æ¹ --> |
| | |
| | | <el-table-column fixed="right" label="人è¸ä¿¡æ¯" min-width="100px"> |
| | | <template slot-scope="{row}"> |
| | | <el-image |
| | | v-if="row.faceImg" |
| | | style="width: 60px; height: 60px" |
| | | :src="row.faceImg" |
| | | :preview-src-list="[row.faceImg]"> |
| | |
| | | </el-table-column> |
| | | <el-table-column fixed="right" label="å¡çä¿¡æ¯" min-width="100px"> |
| | | <template slot-scope="{row}"> |
| | | <el-image |
| | | style="width: 60px; height: 60px" |
| | | :src="row.faceImg" |
| | | :preview-src-list="[row.faceImg]"> |
| | | </el-image> |
| | | <el-button @click="$refs.cardOpeningRecord.open('å¼å¡è®°å½', row.id)" type="text">{{row.memberCardCount || '0'}}</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | <!-- <el-table-column--> |
| | |
| | | :pagination="tableData.pagination" |
| | | > |
| | | </pagination> |
| | | <!-- æ¥ç人åå¼å¡è®°å½ --> |
| | | <cardOpeningRecord ref="cardOpeningRecord" @success="handlePageChange" /> |
| | | </template> |
| | | </TableLayout1> |
| | | </template> |
| | |
| | | import BaseTable from '@/components/base/BaseTable' |
| | | import TableLayout1 from '@/layouts/TableLayout1' |
| | | import Pagination from '@/components/common/Pagination' |
| | | import cardOpeningRecord from '@/components/business/cardOpeningRecord' |
| | | import Tree from '@/components/common/Tree' |
| | | import { fetchList } from '@/api/business/company' |
| | | import { memberSync } from '@/api/business/member' |
| | | export default { |
| | | name: 'internalMember', |
| | | extends: BaseTable, |
| | | components: { TableLayout1, Pagination, Tree }, |
| | | components: { TableLayout1, Pagination, Tree, cardOpeningRecord }, |
| | | data () { |
| | | return { |
| | | TreeList: [], |
| | |
| | | .catch(() => {}) |
| | | }, |
| | | callback (row) { |
| | | console.log(row) |
| | | this.searchForm.erpOrgId = row.erpId |
| | | this.searchForm.companyId = row.id |
| | | this.search() |
| | |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="createDate" label="å建æ¶é´" min-width="100px"></el-table-column> |
| | | <el-table-column |
| | | v-if="containPermissions(['business:member:update', 'business:member:delete'])" |
| | | label="æä½" |
| | | min-width="120" |
| | | fixed="right" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <!-- <el-button type="text" @click="$refs.operaCarsWindow.open('ç¼è¾è½¦è¾ä¿¡æ¯è¡¨', row)" icon="el-icon-edit" v-permissions="['business:member:update']">ç¼è¾</el-button>--> |
| | | <el-button type="text" @click="deleteById(row)" v-if="row.isdeleted !=1" icon="el-icon-delete" v-permissions="['business:parkbook:delete']">å é¤</el-button> |
| | | <!-- |
| | | <el-button type="text" @click="reUpdate(row)" v-if="row.isdeleted !=1 && row.hkStatus ==0" icon="el-icon-edit" v-permissions="['business:parkbook:update']">ç«å»ä¸å</el-button> |
| | | --> |
| | | </template> |
| | | </el-table-column> |
| | | <!-- <el-table-column--> |
| | | <!-- v-if="containPermissions(['business:member:update', 'business:member:delete'])"--> |
| | | <!-- label="æä½"--> |
| | | <!-- min-width="120"--> |
| | | <!-- fixed="right"--> |
| | | <!-- >--> |
| | | <!-- <template slot-scope="{row}">--> |
| | | <!--<!– <el-button type="text" @click="$refs.operaCarsWindow.open('ç¼è¾è½¦è¾ä¿¡æ¯è¡¨', row)" icon="el-icon-edit" v-permissions="['business:member:update']">ç¼è¾</el-button>–>--> |
| | | <!-- <el-button type="text" @click="deleteById(row)" v-if="row.isdeleted !=1" icon="el-icon-delete" v-permissions="['business:parkbook:delete']">å é¤</el-button>--> |
| | | <!--<!–--> |
| | | <!-- <el-button type="text" @click="reUpdate(row)" v-if="row.isdeleted !=1 && row.hkStatus ==0" icon="el-icon-edit" v-permissions="['business:parkbook:update']">ç«å»ä¸å</el-button>--> |
| | | <!--–>--> |
| | | <!-- </template>--> |
| | | <!-- </el-table-column>--> |
| | | </el-table> |
| | | <pagination |
| | | @size-change="handleSizeChange" |
| | |
| | | <el-table-column prop="beVisitedPersonName" label="被访人" min-width="100px"></el-table-column> |
| | | <el-table-column prop="beVisitedPersonOrg" label="被访人ç»ç»" min-width="100px"></el-table-column> |
| | | <el-table-column prop="eventTypeName" label="äºä»¶ç±»å" min-width="100px"></el-table-column> |
| | | <el-table-column label="ææå¾uri" min-width="100px"> |
| | | <el-table-column label="ææå¾" min-width="100px"> |
| | | <template slot-scope="{row}"> |
| | | <el-image v-if="row.captureUrlFull!=null" |
| | | style="width: 80px; height: 80px" |
| | |
| | | <el-radio :label="1">æ¯</el-radio> |
| | | </el-radio-group> |
| | | </el-form-item> |
| | | <el-form-item label="å
许èªéé¨ç¦ç»:" prop="doorsVisitRequired"> |
| | | <el-switch |
| | | v-model="form.doorsVisitRequired" |
| | | active-color="#13ce66" |
| | | inactive-color="#ff4949" |
| | | :active-value="1" |
| | | :inactive-value="0"> |
| | | </el-switch> |
| | | </el-form-item> |
| | | <el-form-item label="访客æ¯å¦çé¢:" prop="isAnswer"> |
| | | <el-switch |
| | | v-model="form.isAnswer" |
| | |
| | | reservationWay: 0, |
| | | healthCard: 0, |
| | | isAnswer: 0, |
| | | doorsVisitRequired: '', |
| | | theme: '', |
| | | description: '', |
| | | visitNotice: '' |
| | |
| | | this.form.isAnswer = res.isAnswer |
| | | this.form.reservationWay = res.reservationWay |
| | | this.form.theme = res.theme |
| | | this.form.doorsVisitRequired = res.doorsVisitRequired |
| | | this.form.visitNotice = res.visitNotice |
| | | }) |
| | | }, |
| | |
| | | reservationWay: this.form.reservationWay, |
| | | description: this.form.description, |
| | | theme: this.form.theme, |
| | | visitNotice: this.form.visitNotice |
| | | visitNotice: this.form.visitNotice, |
| | | doorsVisitRequired: this.form.doorsVisitRequired |
| | | }).then(res => { |
| | | this.$message.success('ä¿åæå') |
| | | this.getData() |
| | |
| | | // http://192.168.0.110:10013 ç£ç£ |
| | | // http://192.168.0.132:10013 å¸
å¥ |
| | | // http://192.168.0.126:10033 èå§ |
| | | // http://192.168.0.129:10028 任康 |
| | | // http://192.168.0.186:10028 任康 |
| | | // https://dmtest.ahapp.net/admin_api æµè¯æ |
| | | // http://10.10.99.63/admin_interface/ ææ°æµè¯æ |
| | | target: 'http://192.168.0.186:10028', |
| | | // http://10.10.99.63/admin_interface/ ææ°æµè¯æï¼å
ç½ï¼ |
| | | // http://218.23.218.228:8018/admin_interface ææ°æµè¯æï¼å¤ç½ï¼ |
| | | target: 'http://218.23.218.228:8018/admin_interface', |
| | | changeOrigin: true, |
| | | pathRewrite: { |
| | | [`^${[process.env.VUE_APP_API_PREFIX]}`]: '' |