diff --git a/src/views/ofm/archive.vue b/src/views/ofm/archive.vue new file mode 100644 index 00000000..d321851d --- /dev/null +++ b/src/views/ofm/archive.vue @@ -0,0 +1,313 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 编辑 + + + + 删除 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 保 存 + + + + + + diff --git a/src/views/ofm/archive_form.vue b/src/views/ofm/archive_form.vue new file mode 100644 index 00000000..002e4d9f --- /dev/null +++ b/src/views/ofm/archive_form.vue @@ -0,0 +1,89 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/ofm/borrowfile.vue b/src/views/ofm/borrowfile.vue index 3952d33a..9c7adfbc 100644 --- a/src/views/ofm/borrowfile.vue +++ b/src/views/ofm/borrowfile.vue @@ -69,9 +69,9 @@ type="primary" @click="borrowEidt(scope.row)" v-auth="'fileborrow.update'" - >编辑 + >详情 - @@ -84,85 +84,36 @@ >删除 - + --> - - - - - - - - - - - - - - - - - - - - - - - - - + - - - {{ item.name }} - 取 消 - 保 存 - + + + {handleQuery(); limitedVisible = false}" + @closed="limitedVisible = false" + /> + + + + diff --git a/src/views/ofm/seal.vue b/src/views/ofm/seal.vue index ae5df09b..656fb095 100644 --- a/src/views/ofm/seal.vue +++ b/src/views/ofm/seal.vue @@ -167,7 +167,7 @@ export default { mode: "add", drawerTitle: { add: "新增印章使用", - edit: "编辑印章使用", + edit: "审批流", view: "查看印章使用", }, currentRow: null, @@ -185,7 +185,7 @@ export default { return_date: null, actual_return_date: null, reason: "", - ticket:null + ticket_:null }, }; }, @@ -198,8 +198,8 @@ export default { //渲染工单提交按钮 getInit() { let that = this; - if(this.addForm.ticket!==null){ - this.$API.wf.ticket.ticketTransitions.req(this.addForm.ticket).then((res) => { + if(this.addForm.ticket_!==null){ + this.$API.wf.ticket_.ticketTransitions.req(this.addForm.ticket_).then((res) => { that.transitions = res; }) }else{ @@ -242,12 +242,12 @@ export default { return_date: null, actual_return_date: null, reason: "", - ticket:null + ticket_:null } }, // 审批流结束之后才可以编辑 sealEidt(row) { - this.mode = "edit"; + this.mode = "view"; this.editId = row.id; this.limitedVisible = true; this.lending_type = 'outer'; diff --git a/src/views/ofm/sealForm.vue b/src/views/ofm/sealForm.vue index 270a8ab1..a4a2b26f 100644 --- a/src/views/ofm/sealForm.vue +++ b/src/views/ofm/sealForm.vue @@ -1,104 +1,102 @@ - - - - - - - + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - + placeholder="选择日期" + :disabled="mode==='view'" + > + + + + + + + + + + + + - - - + + - - - - - - - - - - - - - - - - - 保存 - 取消 - - - + 取消 - + - @@ -113,7 +111,6 @@ export default { lending_type: { type: String, default: "outer" }, // inner / outer modelValue: { type: Object, default: () => ({}) }, }, - components: {ticketd, ticketd_b_start }, emits: ["update:modelValue", "submit", "cancel"], data() { @@ -125,11 +122,6 @@ export default { filename: [{ required: true, message: "请输入文件名称", trigger: "blur" }], }, }; - }, - computed: { - isView() { - return this.mode === "view"; - }, }, mounted() { this.initTimeRange(); @@ -149,12 +141,9 @@ export default { this.$emit("update:modelValue", val); }, deep: true, - } + }, }, methods: { - onSubmit() { - this.$emit("submit", this.localForm); - }, handleDateChange(val) { this.localForm.lending_date = val?.[0] || null this.localForm.return_date = val?.[1] || null diff --git a/src/views/ofm/vehicle.vue b/src/views/ofm/vehicle.vue index 7c6c6399..188427c1 100644 --- a/src/views/ofm/vehicle.vue +++ b/src/views/ofm/vehicle.vue @@ -33,6 +33,13 @@ prop="reason" min-width="120"> + + + + {{ scope.row.is_city ? '是' : '否'}} + + + 编辑 + >详情