Commit 26252de9 authored by huangyuanyuan's avatar huangyuanyuan

update

parent d3ef6dab
...@@ -2328,7 +2328,7 @@ export default { ...@@ -2328,7 +2328,7 @@ export default {
if(this.RB_Post_Id!=5&&this.userId!=1648){ if(this.RB_Post_Id!=5&&this.userId!=1648){
console.log(2); console.log(2);
data.forEach(item=>{ 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); this.AccList.push(item);
} }
......
...@@ -565,6 +565,25 @@ input[type="number"] { ...@@ -565,6 +565,25 @@ input[type="number"] {
</div> </div>
</el-form-item> </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> </el-col>
<div class="LM_Btcontent"> <div class="LM_Btcontent">
<input type="button" class="normalBtn" @click="submitForm('addMsg')" :value="$t('pub.saveBtn')"/> <input type="button" class="normalBtn" @click="submitForm('addMsg')" :value="$t('pub.saveBtn')"/>
...@@ -653,6 +672,7 @@ input[type="number"] { ...@@ -653,6 +672,7 @@ input[type="number"] {
export default { export default {
data() { data() {
return { return {
fileList3:[],
fileList:[], fileList:[],
fileList2:[], fileList2:[],
msg: { msg: {
...@@ -678,6 +698,7 @@ export default { ...@@ -678,6 +698,7 @@ export default {
LineDirection:2, LineDirection:2,
BackgroundImage:"", BackgroundImage:"",
BroadsideImage:'', BroadsideImage:'',
AppLineIcon:"",
}, },
departCompany: "", departCompany: "",
departDepartment: "", departDepartment: "",
...@@ -718,6 +739,10 @@ export default { ...@@ -718,6 +739,10 @@ export default {
}; };
}, },
methods: { methods: {
handleChange3(file, fileList) {
this.fileList3 = fileList.slice(-1);
},
handleChange1(file, fileList) { handleChange1(file, fileList) {
this.fileList = fileList.slice(-1); this.fileList = fileList.slice(-1);
...@@ -726,6 +751,15 @@ export default { ...@@ -726,6 +751,15 @@ export default {
this.fileList2 = fileList.slice(-1); 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) { uploadTest2(file) {
let newArr = []; let newArr = [];
newArr.push(file.file); newArr.push(file.file);
...@@ -843,8 +877,9 @@ export default { ...@@ -843,8 +877,9 @@ export default {
this.addMsg.IsShare = getInfo.isShare; this.addMsg.IsShare = getInfo.isShare;
this.addMsg.Is_PacketGroup = getInfo.is_PacketGroup; this.addMsg.Is_PacketGroup = getInfo.is_PacketGroup;
this.addMsg.LineDirection = getInfo.lineDirection; this.addMsg.LineDirection = getInfo.lineDirection;
this.addMsg.BackgroundImage = getInfo.BackgroundImage; this.addMsg.BackgroundImage = getInfo.backgroundImage;
this.addMsg.BroadsideImage = getInfo.BroadsideImage; this.addMsg.BroadsideImage = getInfo.broadsideImage;
this.addMsg.AppLineIcon = getInfo.appLineIcon;
}, },
deletelist(lineID) { deletelist(lineID) {
var that = this; 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