Commit 26252de9 authored by huangyuanyuan's avatar huangyuanyuan

update

parent d3ef6dab
......@@ -2328,7 +2328,7 @@ export default {
if(this.RB_Post_Id!=5&&this.userId!=1648){
console.log(2);
data.forEach(item=>{
if(item.Name!="公社资金池" && item.Name!="水口资金池" && item.Name!="橡胶资金池" && item.Name!="地接部专户" && item.Name!="老挝购物店资金池"){
if(item.Name!="公社资金池" && item.Name!="水口资金池" && item.Name!="橡胶资金池" && item.Name!="老挝购物店资金池"){
this.AccList.push(item);
}
......
......@@ -565,6 +565,25 @@ input[type="number"] {
</div>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="App图标">
<div class="TFimgList" style="width:50px;height:50px">
<img v-if="!addMsg.AppLineIcon" src="../../assets/img/bg_c3@3x.png">
<img v-else :src='addMsg.AppLineIcon'>
<div class="TFIMGzhe">
<div class="TFreupload">
<el-upload :file-list="fileList3" :http-request="uploadTest3" :multiple="true" :limit="2"
:on-change="handleChange3"
accept="image/jpeg, image/gif, image/png, image/bmp"
:show-file-list="false" action="">
<i class="iconfont icon-Edit"></i>
</el-upload>
</div>
</div>
</div>
</el-form-item>
</el-col>
<div class="LM_Btcontent">
<input type="button" class="normalBtn" @click="submitForm('addMsg')" :value="$t('pub.saveBtn')"/>
......@@ -653,6 +672,7 @@ input[type="number"] {
export default {
data() {
return {
fileList3:[],
fileList:[],
fileList2:[],
msg: {
......@@ -678,6 +698,7 @@ export default {
LineDirection:2,
BackgroundImage:"",
BroadsideImage:'',
AppLineIcon:"",
},
departCompany: "",
departDepartment: "",
......@@ -718,6 +739,10 @@ export default {
};
},
methods: {
handleChange3(file, fileList) {
this.fileList3 = fileList.slice(-1);
},
handleChange1(file, fileList) {
this.fileList = fileList.slice(-1);
......@@ -726,6 +751,15 @@ export default {
this.fileList2 = fileList.slice(-1);
},
uploadTest3(file) {
let newArr = [];
newArr.push(file.file);
let path = "/Upload/DMC/Icon/";
this.UploadSelfFileT(path, newArr, x => {
let url = this.domainManager().ViittoFileUrl + x.data.FilePath;
this.addMsg.AppLineIcon = url;
});
},
uploadTest2(file) {
let newArr = [];
newArr.push(file.file);
......@@ -843,8 +877,9 @@ export default {
this.addMsg.IsShare = getInfo.isShare;
this.addMsg.Is_PacketGroup = getInfo.is_PacketGroup;
this.addMsg.LineDirection = getInfo.lineDirection;
this.addMsg.BackgroundImage = getInfo.BackgroundImage;
this.addMsg.BroadsideImage = getInfo.BroadsideImage;
this.addMsg.BackgroundImage = getInfo.backgroundImage;
this.addMsg.BroadsideImage = getInfo.broadsideImage;
this.addMsg.AppLineIcon = getInfo.appLineIcon;
},
deletelist(lineID) {
var that = this;
......
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