From 6548996bfac9dd02e21e1fd9519109fc8b5dfeb2 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期六, 11 五月 2024 18:48:47 +0800
Subject: [PATCH] 提交一把

---
 company/src/components/enterprise/factoryChange.vue |   20 ++++++++++++++++----
 1 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/company/src/components/enterprise/factoryChange.vue b/company/src/components/enterprise/factoryChange.vue
index 8aabe9c..8e86c55 100644
--- a/company/src/components/enterprise/factoryChange.vue
+++ b/company/src/components/enterprise/factoryChange.vue
@@ -2,7 +2,7 @@
     <GlobalWindow
         :title="title"
         width="100%"
-        text="鎶曚繚鐢宠"
+        text="鎵规敼鐢宠"
         :visible.sync="visible"
         :confirm-working="isWorking"
         @confirm="confirm"
@@ -134,6 +134,14 @@
                 prop="workTypeName"
                 label="鍙樻洿鍚庢墍灞炲伐绉�">
             </el-table-column>
+          <el-table-column
+              prop="remark"
+              align="center"
+              label="澶囨敞">
+            <template slot-scope="{row}">
+              <el-input v-model="row.remark" placeholder="璇疯緭鍏�"></el-input>
+            </template>
+          </el-table-column>
             <el-table-column
                 label="鎿嶄綔">
                 <template slot-scope="scope">
@@ -156,6 +164,8 @@
         <confirmJobType ref="confirmJobType" @result="getUser" />
         <!--    璇﹀崟    -->
         <ApplyChangeUnitDetails1 ref="ApplyChangeUnitDetails1" @success="success" />
+        <!-- 鏇存柊娲鹃仯鍗曚綅璇︽儏 -->
+        <OperaApplyChangeUnitDetailWindow ref="OperaApplyChangeUnitDetailWindow" />
     </GlobalWindow>
 </template>
 
@@ -167,6 +177,7 @@
     import importEmployees from '@/components/enterprise/importEmployees'
     import confirmJobType from '@/components/enterprise/confirmJobType'
     import ApplyChangeUnitDetails1 from '@/components/business/ApplyChangeUnitDetails1'
+    import OperaApplyChangeUnitDetailWindow from '@/components/business/OperaApplyChangeUnitDetailWindow'
     import { all } from '@/api/business/solutions'
     import { getDetail, findList } from '@/api/business/insuranceApply'
     import { create } from '@/api/business/applyChange'
@@ -174,7 +185,7 @@
     export default {
         name: 'factoryChange',
         extends: BaseOpera,
-        components: { GlobalWindow, selectEmployees, addEmployee, importEmployees, confirmJobType, ApplyChangeUnitDetails1 },
+        components: { GlobalWindow, OperaApplyChangeUnitDetailWindow, selectEmployees, addEmployee, importEmployees, confirmJobType, ApplyChangeUnitDetails1 },
         data () {
             return {
                 form: {
@@ -246,10 +257,11 @@
                     changeDetailList: this.form.factory,
                     validTime: this.form.applyStartTime,
                     type: 1
-                }).then(() => {
+                }).then(res => {
                     this.visible = false
+                    this.$refs.OperaApplyChangeUnitDetailWindow.open('鏇存崲娲鹃仯鍗曚綅璇︽儏', { applyId: this.form.id, id: res })
                     this.$tip.apiSuccess('鎿嶄綔鎴愬姛')
-                    this.$emit('success')
+                    // this.$emit('success')
                 }).catch(e => {
                     this.$tip.apiFailed(e)
                 }).finally(() => {

--
Gitblit v1.9.3