Commit 8e1f373e authored by Mac's avatar Mac

1

parent bb1e8e02
......@@ -424,6 +424,7 @@
active-color="#409EFF"
:active-value="1"
:inactive-value="0"
:disabled='scope.row.BaseInfoId==0?true:false'
>
</el-switch>
<!-- <div v-if="scope.row.IsFaTie==0">关闭</div>
......
......@@ -6,10 +6,13 @@
<div class="content">
<el-form :model="addMsg" :rules="rules" ref="addMsg" label-width="150px">
<el-form-item label="用户">
<div class="app-image" :style="{backgroundImage:'url(' + addMsg.Photo + ')',backgroundSize:'cover'}"></div>
<el-button @click="openChangeDig(1)" size="small">选择文件</el-button>
<div class="app-image" :style="{backgroundImage:'url(' + addMsg.Photo + ')',backgroundSize:'cover'}" v-if="addMsg.Photo!=''"></div>
<img src="../../assets/img/default.png" style="width:80px;height:80px" alt="" v-if="addMsg.Photo==''">
</el-form-item>
<el-form-item label="昵称">
<el-input v-model="addMsg.Name" style="width:478px" size="small" :disabled="true"></el-input>
<el-input v-model="addMsg.Name" style="width:478px" size="small" ></el-input>
</el-form-item>
<el-form-item label="会员等级">
<el-select style="width:293px;" size="small" v-model="addMsg.MemberGrade" placeholder="请选择活动区域">
......@@ -210,6 +213,7 @@
<el-dialog title="选择文件" :visible.sync="changeState" width="1240px">
<ChooseImg @SelectId="SelectId" :IsMultiple="imgType==2?true:false"></ChooseImg>
</el-dialog>
</div>
</template>
<script>
......@@ -385,6 +389,10 @@
SelectId(msg){
if(this.imgType == 1){
let url = this.getIconLink(msg.url)
this.addMsg.Photo = url
}
if(this.imgType == 2){
let that = this;
msg.forEach(item => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment