Quellcode durchsuchen

阳光村务

wulanhaote
庞东旭 vor 2 Jahren
Ursprung
Commit
2a05c9ba54
12 geänderte Dateien mit 69 neuen und 38 gelöschten Zeilen
  1. BIN
      src/assets/images/sunVillage_info/delete.png
  2. +7
    -2
      src/views/sunVillage_info/list_contract_add.vue
  3. +9
    -4
      src/views/sunVillage_info/list_contract_edit.vue
  4. +8
    -3
      src/views/sunVillage_info/list_finance_add.vue
  5. +6
    -1
      src/views/sunVillage_info/list_finance_edit.vue
  6. +7
    -2
      src/views/sunVillage_info/list_issues_add.vue
  7. +5
    -0
      src/views/sunVillage_info/list_issues_edit.vue
  8. +7
    -2
      src/views/sunVillage_info/list_photo_add.vue
  9. +0
    -9
      src/views/sunVillage_info/list_photo_detail.vue
  10. +7
    -12
      src/views/sunVillage_info/list_photo_edit.vue
  11. +7
    -2
      src/views/sunVillage_info/list_tourists_add.vue
  12. +6
    -1
      src/views/sunVillage_info/list_tourists_edit.vue

BIN
src/assets/images/sunVillage_info/delete.png Datei anzeigen

Vorher Nachher
Breite: 16  |  Höhe: 16  |  Größe: 344 B

+ 7
- 2
src/views/sunVillage_info/list_contract_add.vue Datei anzeigen

@@ -86,6 +86,7 @@
<img src="../../assets/images/sunVillage_info/WORD.png" width="30" v-if="item.type == 'word'"/>
<img src="../../assets/images/sunVillage_info/ECEL.png" width="30" v-if="item.type == 'excel'" />
<p style="margin-left: 10px;">{{item.name}}</p>
<img src="../../assets/images/sunVillage_info/delete.png" width="16" style="margin-left: auto;" @click="deleteWord(index)" />
</div>
</div>
<van-uploader accept="*" :after-read="afterReadOpenFile" style="margin-top: 10PX">
@@ -169,10 +170,14 @@
this.openNy = data;
this.showBuildTime = false;
},
deleteFile1(file){
console.log(file)
deleteFile1(detail){
this.openPic2.splice(detail.index,1)
// this.form.openPic.splice(index,1);
},
deleteWord(index){
this.openFileList.splice(index,1);
this.openFile2.splice(index,1);
},
afterRead(file) {
// 此时可以自行将文件上传至服务器
this.openPic.push(file.file);


+ 9
- 4
src/views/sunVillage_info/list_contract_edit.vue Datei anzeigen

@@ -86,6 +86,7 @@
<img src="../../assets/images/sunVillage_info/WORD.png" width="30" v-if="item.type == 'word'"/>
<img src="../../assets/images/sunVillage_info/ECEL.png" width="30" v-if="item.type == 'excel'" />
<p style="margin-left: 10px;">{{item.name}}</p>
<img src="../../assets/images/sunVillage_info/delete.png" width="16" style="margin-left: auto;" @click="deleteWord(index)" />
</div>
</div>
<van-uploader accept="*" :after-read="afterReadOpenFile" style="margin-top: 10PX">
@@ -154,7 +155,6 @@
getDetail(id){
otherPublicDetail(this.queryParams).then((res) => {
var that = this ;
res.data.otherTypeText = this.selectDictLabel(this.otherGkTypeOptions, res.data.otherType);

if (res.data.openFile!='' && res.data.openFile != null && res.data.openFile != undefined){
this.openFile = res.data.openFile.split(',')
@@ -177,7 +177,8 @@
this.openPic[i] = {url:'/api'+rrr}
})
}
that.form = res.data;
res.data.otherTypeText = this.selectDictLabel(this.otherGkTypeOptions, res.data.otherType);
this.form = res.data;
})
},
onSubmit(){
@@ -203,6 +204,10 @@
console.log(detail)
this.openPic2.splice(detail.index,1)
},
deleteWord(index){
this.openFile.splice(index,1);
this.openFile2.splice(index,1);
},
afterRead(file) {
// 此时可以自行将文件上传至服务器
// this.openPic.push(file.file);
@@ -225,8 +230,8 @@
}else if(name.indexOf('.xls') > -1){
type = 'excel';
}
this.openFileList.push({name:file.file.name,type:type})
this.openFile.push(file.file);
this.openFile.push({name:file.file.name,type:type})
this.openFileList.push(file.file);
},
onConfirmPictureType(data){
this.form.otherTypeText = data.dictLabel;


+ 8
- 3
src/views/sunVillage_info/list_finance_add.vue Datei anzeigen

@@ -65,6 +65,7 @@
<img src="../../assets/images/sunVillage_info/WORD.png" width="30" v-if="item.type == 'word'"/>
<img src="../../assets/images/sunVillage_info/ECEL.png" width="30" v-if="item.type == 'excel'" />
<p style="margin-left: 10px;">{{item.name}}</p>
<img src="../../assets/images/sunVillage_info/delete.png" width="16" style="margin-left: auto;" @click="deleteWord(index)" />
</div>
</div>
<van-uploader accept="*" :after-read="afterReadOpenFile" style="margin-top: 10PX">
@@ -131,7 +132,7 @@
this.type = this.$route.query.type;
this.queryParams.bookId = Cookies.get('bookId');
this.queryParams.deptId = Cookies.get('deptId');
this.form.openName = this.format(new Date(),'yyyy')+ '年' + (this.format(new Date(),'MM')-1) + '月财务公开';
this.form.openName = this.format(new Date(),'yyyy')+ '年' + (this.format(new Date(),'MM')) + '月财务公开';
},
methods: {
onSubmit(){
@@ -154,10 +155,14 @@
this.openNy = data;
this.showBuildTime = false;
},
deleteFile1(file){
console.log(file)
deleteFile1(detail){
this.openPic2.splice(detail.index,1)
// this.form.openPic.splice(index,1);
},
deleteWord(index){
this.openFileList.splice(index,1);
this.openFile2.splice(index,1);
},
afterRead(file) {
// 此时可以自行将文件上传至服务器
this.openPic.push(file.file);


+ 6
- 1
src/views/sunVillage_info/list_finance_edit.vue Datei anzeigen

@@ -65,6 +65,7 @@
<img src="../../assets/images/sunVillage_info/WORD.png" width="30" v-if="item.type == 'word'"/>
<img src="../../assets/images/sunVillage_info/ECEL.png" width="30" v-if="item.type == 'excel'" />
<p style="margin-left: 10px;">{{item.name}}</p>
<img src="../../assets/images/sunVillage_info/delete.png" width="16" style="margin-left: auto;" @click="deleteWord(index)" />
</div>
</div>
<van-uploader accept="*" :after-read="afterReadOpenFile" style="margin-top: 10PX">
@@ -150,7 +151,7 @@
}else if(name.indexOf('.xls') > -1){
type = 'excel';
}
this.openFile[i] = {name:name,type:type}
this.openFile[i] = {name:name,type:type,url:rr}
})
}
if (res.data.openPic!='' && res.data.openPic != null && res.data.openPic != undefined){
@@ -185,6 +186,10 @@
console.log(detail)
this.openPic2.splice(detail.index,1)
},
deleteWord(index){
this.openFile.splice(index,1);
this.openFile2.splice(index,1);
},
afterRead(file) {
// 此时可以自行将文件上传至服务器
this.openPicList.push(file.file);


+ 7
- 2
src/views/sunVillage_info/list_issues_add.vue Datei anzeigen

@@ -65,6 +65,7 @@
<img src="../../assets/images/sunVillage_info/WORD.png" width="30" v-if="item.type == 'word'"/>
<img src="../../assets/images/sunVillage_info/ECEL.png" width="30" v-if="item.type == 'excel'" />
<p style="margin-left: 10px;">{{item.name}}</p>
<img src="../../assets/images/sunVillage_info/delete.png" width="16" style="margin-left: auto;" @click="deleteWord(index)" />
</div>
</div>
<van-uploader accept="*" :after-read="afterReadOpenFile" style="margin-top: 10PX">
@@ -159,10 +160,14 @@
this.openNy = data;
this.showBuildTime = false;
},
deleteFile1(file){
console.log(file)
deleteFile1(detail){
this.openPic2.splice(detail.index,1)
// this.form.openPic.splice(index,1);
},
deleteWord(index){
this.openFileList.splice(index,1);
this.openFile2.splice(index,1);
},
afterRead(file) {
// 此时可以自行将文件上传至服务器
this.openPic.push(file.file);


+ 5
- 0
src/views/sunVillage_info/list_issues_edit.vue Datei anzeigen

@@ -65,6 +65,7 @@
<img src="../../assets/images/sunVillage_info/WORD.png" width="30" v-if="item.type == 'word'"/>
<img src="../../assets/images/sunVillage_info/ECEL.png" width="30" v-if="item.type == 'excel'" />
<p style="margin-left: 10px;">{{item.name}}</p>
<img src="../../assets/images/sunVillage_info/delete.png" width="16" style="margin-left: auto;" @click="deleteWord(index)" />
</div>
</div>
<van-uploader accept="*" :after-read="afterReadOpenFile" style="margin-top: 10PX">
@@ -193,6 +194,10 @@
console.log(detail)
this.openPic2.splice(detail.index,1)
},
deleteWord(index){
this.openFile.splice(index,1);
this.openFile2.splice(index,1);
},
afterRead(file) {
// 此时可以自行将文件上传至服务器
this.openPicList.push(file.file);


+ 7
- 2
src/views/sunVillage_info/list_photo_add.vue Datei anzeigen

@@ -86,6 +86,7 @@
<img src="../../assets/images/sunVillage_info/WORD.png" width="30" v-if="item.type == 'word'"/>
<img src="../../assets/images/sunVillage_info/ECEL.png" width="30" v-if="item.type == 'excel'" />
<p style="margin-left: 10px;">{{item.name}}</p>
<img src="../../assets/images/sunVillage_info/delete.png" width="16" style="margin-left: auto;" @click="deleteWord(index)" />
</div>
</div>
<van-uploader accept="*" :after-read="afterReadOpenFile" style="margin-top: 10PX">
@@ -178,10 +179,14 @@
this.openNy = data;
this.showBuildTime = false;
},
deleteFile1(file){
console.log(file)
deleteFile1(detail){
this.openPic2.splice(detail.index,1)
// this.form.openPic.splice(index,1);
},
deleteWord(index){
this.openFileList.splice(index,1);
this.openFile2.splice(index,1);
},
afterRead(file) {
// 此时可以自行将文件上传至服务器
this.openPic.push(file.file);


+ 0
- 9
src/views/sunVillage_info/list_photo_detail.vue Datei anzeigen

@@ -134,15 +134,6 @@
};
},
created() {
this.houseGetDicts("asset_status").then((response) => {
this.assetStatusOptions = response.data;
});
this.houseGetDicts("asset_type").then((response) => {
this.assetTypeOptions = response.data;
});
this.houseGetDicts("use_type").then((response) => {
this.useTypeOptions = response.data;
});
this.houseGetDicts("picture_type").then((response) => {
this.pictureTypeOptions = response.data;
});


+ 7
- 12
src/views/sunVillage_info/list_photo_edit.vue Datei anzeigen

@@ -86,6 +86,7 @@
<img src="../../assets/images/sunVillage_info/WORD.png" width="30" v-if="item.type == 'word'"/>
<img src="../../assets/images/sunVillage_info/ECEL.png" width="30" v-if="item.type == 'excel'" />
<p style="margin-left: 10px;">{{item.name}}</p>
<img src="../../assets/images/sunVillage_info/delete.png" width="16" style="margin-left: auto;" @click="deleteWord(index)" />
</div>
</div>
<van-uploader accept="*" :after-read="afterReadOpenFile" style="margin-top: 10PX">
@@ -141,15 +142,6 @@
};
},
created() {
this.houseGetDicts("asset_status").then((response) => {
this.assetStatusOptions = response.data;
});
this.houseGetDicts("asset_type").then((response) => {
this.assetTypeOptions = response.data;
});
this.houseGetDicts("use_type").then((response) => {
this.useTypeOptions = response.data;
});
this.houseGetDicts("picture_type").then((response) => {
this.pictureTypeOptions = response.data;
});
@@ -164,7 +156,6 @@
pictureGet(this.queryParams).then((res) => {
var that = this ;
res.data.pictureTypeText = this.selectDictLabel(this.pictureTypeOptions, res.data.pictureType);

if (res.data.openFile!='' && res.data.openFile != null && res.data.openFile != undefined){
this.openFile = res.data.openFile.split(',')
this.openFile2 = res.data.openFile.split(',')
@@ -212,6 +203,10 @@
console.log(detail)
this.openPic2.splice(detail.index,1)
},
deleteWord(index){
this.openFile.splice(index,1);
this.openFile2.splice(index,1);
},
afterRead(file) {
// 此时可以自行将文件上传至服务器
// this.openPic.push(file.file);
@@ -234,8 +229,8 @@
}else if(name.indexOf('.xls') > -1){
type = 'excel';
}
this.openFileList.push({name:file.file.name,type:type})
this.openFile.push(file.file);
this.openFile.push({name:file.file.name,type:type})
this.openFileList.push(file.file);
},
onConfirmPictureType(data){
this.form.pictureTypeText = data.dictLabel;


+ 7
- 2
src/views/sunVillage_info/list_tourists_add.vue Datei anzeigen

@@ -65,6 +65,7 @@
<img src="../../assets/images/sunVillage_info/WORD.png" width="30" v-if="item.type == 'word'"/>
<img src="../../assets/images/sunVillage_info/ECEL.png" width="30" v-if="item.type == 'excel'" />
<p style="margin-left: 10px;">{{item.name}}</p>
<img src="../../assets/images/sunVillage_info/delete.png" width="16" style="margin-left: auto;" @click="deleteWord(index)" />
</div>
</div>
<van-uploader accept="*" :after-read="afterReadOpenFile" style="margin-top: 10PX">
@@ -152,10 +153,14 @@
this.openNy = data;
this.showBuildTime = false;
},
deleteFile1(file){
console.log(file)
deleteFile1(detail){
this.openPic2.splice(detail.index,1)
// this.form.openPic.splice(index,1);
},
deleteWord(index){
this.openFileList.splice(index,1);
this.openFile2.splice(index,1);
},
afterRead(file) {
// 此时可以自行将文件上传至服务器
this.openPic.push(file.file);


+ 6
- 1
src/views/sunVillage_info/list_tourists_edit.vue Datei anzeigen

@@ -65,6 +65,7 @@
<img src="../../assets/images/sunVillage_info/WORD.png" width="30" v-if="item.type == 'word'"/>
<img src="../../assets/images/sunVillage_info/ECEL.png" width="30" v-if="item.type == 'excel'" />
<p style="margin-left: 10px;">{{item.name}}</p>
<img src="../../assets/images/sunVillage_info/delete.png" width="16" style="margin-left: auto;" @click="deleteWord(index)" />
</div>
</div>
<van-uploader accept="*" :after-read="afterReadOpenFile" style="margin-top: 10PX">
@@ -150,7 +151,7 @@
}else if(name.indexOf('.xls') > -1){
type = 'excel';
}
this.openFile[i] = {name:name,type:type}
this.openFile[i] = {name:name,type:type,url:rr}
})
}
if (res.data.openPic!='' && res.data.openPic != null && res.data.openPic != undefined){
@@ -185,6 +186,10 @@
console.log(detail)
this.openPic2.splice(detail.index,1)
},
deleteWord(index){
this.openFile.splice(index,1);
this.openFile2.splice(index,1);
},
afterRead(file) {
// 此时可以自行将文件上传至服务器
this.openPicList.push(file.file);


Laden…
Abbrechen
Speichern