提交 a139300c authored 作者: 宋雄's avatar 宋雄

修改bug

上级 94240f43
NODE_ENV=development
# VUE_APP_API_BASE_URL='http://192.168.0.108:9999'
VUE_APP_API_BASE_URL='http://220.203.25.212:9999'
VUE_APP_API_BASE_URL='http://192.168.0.102:9999'
# VUE_APP_API_BASE_URL='http://220.203.25.212:9999'
VUE_APP_CAS_BASE_URL=http://cas.example.org:8443/cas
VUE_APP_ONLINE_BASE_URL=http://fileview.jeecg.com/onlinePreview
......
......@@ -86,13 +86,14 @@
<a-input v-model="model.adminPassword" placeholder="请输入管理员登录密码"></a-input>
</a-form-model-item>
</a-col>
<a-col :span="12">
<a-form-model-item label="访问域名前缀" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="accessAddress"
>
<a-input v-model="model.accessAddress" placeholder="请输入访问域名前缀"
addon-after=".group.hjxbc.cn"></a-input>
<p v-if="model.accessAddress">访问域名:{{ model.accessAddress }}.group.hjxbc.cn</p>
</a-row>
<a-row>
<a-col :span="12" style="position:relative">
<a-form-model-item label="访问域名前缀" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="accessAddress">
<a-input v-model="model.accessAddress" placeholder="请输入访问域名前缀"
addon-after=".group.hjxbc.cn"></a-input>
</a-form-model-item>
<a @click="onCopyLink" v-if="model.accessAddress" style="position:absolute;top:0;right:-10px;line-height:40px;z-index:999;pointer-events:auto;">复制</a>
</a-col>
</a-row>
<a-row>
......@@ -157,7 +158,7 @@
communityIntro: '',
adminName: '',
adminPhone: '',
adminPassword: '',
adminPassword: '123456',
adminAvatar: '',
accessAddress: '',
},
......@@ -224,6 +225,15 @@
this.model = Object.assign({}, record);
this.visible = true;
},
onCopyLink() {
let txa = document.createElement("textarea");
txa.value = this.model.accessAddress + '.group.hjxbc.cn'
document.body.appendChild(txa);
txa.select();
document.execCommand("copy");
document.body.removeChild(txa);
this.$message.success("复制成功!");
},
submitForm () {
const that = this;
// 触发表单验证
......
......@@ -146,6 +146,7 @@ const columns = [
title: '公司审核状态',
dataIndex: 'companyAuditStatus',
key: 'companyAuditStatus',
align: 'center',
// customRender: function (text) {
// return filterDictTextByCache('companyAuditStatus', text)
// },
......
......@@ -346,7 +346,6 @@
this.selectedRowKeys1 = selectedRowKeys
this.selectionRows1 = selectionRows
this.model1 = Object.assign({}, selectionRows[0])
console.log(this.model1)
this.currentRoleId = selectedRowKeys[0]
this.loadData2()
},
......
......@@ -2,7 +2,7 @@
<div>
<a-form-model ref="form" :model="model" :rules="validatorRules">
<a-form-model-item required prop="username">
<a-input v-model="model.username" size="large" placeholder="请输入帐">
<a-input v-model="model.username" size="large" placeholder="请输入帐">
<a-icon slot="prefix" type="user" :style="{ color: 'rgba(0,0,0,.25)' }"/>
</a-input>
</a-form-model-item>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论