|
@@ -161,7 +161,9 @@
|
|
</el-dialog>
|
|
</el-dialog>
|
|
<WinseaContentModal v-model="accessoryTFs" :title="$t('system.noticeCircular.information')"
|
|
<WinseaContentModal v-model="accessoryTFs" :title="$t('system.noticeCircular.information')"
|
|
@on-cancel="handleClose">
|
|
@on-cancel="handleClose">
|
|
- <ws-upload ref="upload" :comp-id="compId" :appendix-ids="appendixIdss" :batch-down="true" :editable="false"
|
|
|
|
|
|
+ <ws-upload v-if='!form1.approveStatus' ref="upload1" limit="20" accept=".jpg, .jpeg, .png, .pdf, .doc, .docx, .xls, .xlsx"
|
|
|
|
+ :comp-id="compId" :appendix-ids="form1.addressUrl" :size-limit="size" @onChange="onChange1" />
|
|
|
|
+ <ws-upload v-else ref="upload" :comp-id="compId" :appendix-ids="appendixIdss" :editable="false"
|
|
accept=".jpg, .jpeg, .png, .pdf, .doc, .zip, .rar" />
|
|
accept=".jpg, .jpeg, .png, .pdf, .doc, .zip, .rar" />
|
|
</WinseaContentModal>
|
|
</WinseaContentModal>
|
|
<el-dialog width="50%" :visible.sync="dialogVisible1" title="审核记录">
|
|
<el-dialog width="50%" :visible.sync="dialogVisible1" title="审核记录">
|
|
@@ -235,6 +237,7 @@ export default {
|
|
accessoryTFs: false,
|
|
accessoryTFs: false,
|
|
appendixIdss: '',
|
|
appendixIdss: '',
|
|
blocks: [],
|
|
blocks: [],
|
|
|
|
+ form1:{},
|
|
compId: localStorage.getItem('ws-pf_compId'),
|
|
compId: localStorage.getItem('ws-pf_compId'),
|
|
currectdata: {},
|
|
currectdata: {},
|
|
dialogVisible1: false,
|
|
dialogVisible1: false,
|
|
@@ -259,6 +262,7 @@ export default {
|
|
.handleSaveBill()
|
|
.handleSaveBill()
|
|
.then(async response => {
|
|
.then(async response => {
|
|
this.auditList = response
|
|
this.auditList = response
|
|
|
|
+
|
|
// this.deptBudgetList.addressUrl = response
|
|
// this.deptBudgetList.addressUrl = response
|
|
})
|
|
})
|
|
.catch(res => {
|
|
.catch(res => {
|
|
@@ -274,6 +278,7 @@ export default {
|
|
this.auditUrl = this.auditUrl + "," + data.appendixPath
|
|
this.auditUrl = this.auditUrl + "," + data.appendixPath
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+
|
|
rejectclick() {
|
|
rejectclick() {
|
|
if (this.title == '驳回') {
|
|
if (this.title == '驳回') {
|
|
woekflowhandle({
|
|
woekflowhandle({
|
|
@@ -435,6 +440,8 @@ export default {
|
|
})
|
|
})
|
|
},
|
|
},
|
|
fujian(row) {
|
|
fujian(row) {
|
|
|
|
+ this.form1=row
|
|
|
|
+ console.log(this.f)
|
|
this.id = row.id
|
|
this.id = row.id
|
|
this.accessoryTFs = true
|
|
this.accessoryTFs = true
|
|
this.appendixIdss = row.addressUrl
|
|
this.appendixIdss = row.addressUrl
|
|
@@ -474,7 +481,25 @@ export default {
|
|
this.$refs.upload.clearFiles()
|
|
this.$refs.upload.clearFiles()
|
|
})
|
|
})
|
|
},
|
|
},
|
|
-
|
|
|
|
|
|
+ onChange1() {
|
|
|
|
+ this.$refs.upload1
|
|
|
|
+ .handleSaveBill()
|
|
|
|
+ .then(async (response) => {
|
|
|
|
+ this.form1.addressUrl = response
|
|
|
|
+ editaduitinfo(this.form1).toPromise().then(response => {
|
|
|
|
+ this.$message({
|
|
|
|
+ message: '修改成功!',
|
|
|
|
+ type: 'success',
|
|
|
|
+ })
|
|
|
|
+ this.accessoryTFs = false
|
|
|
|
+ this.getList()
|
|
|
|
+ })
|
|
|
|
+ })
|
|
|
|
+ .catch((res) => {
|
|
|
|
+ EventBus.$emit('error', (JSON.parse(res) || {}).message)
|
|
|
|
+ this.$refs.upload1.clearFiles()
|
|
|
|
+ })
|
|
|
|
+ },
|
|
onSubmit() {
|
|
onSubmit() {
|
|
if (!this.form.businessType) {
|
|
if (!this.form.businessType) {
|
|
this.$message({
|
|
this.$message({
|