刘洋 9 hónapja
szülő
commit
7bcb05c900

+ 6 - 1
src/views/sop/sop-manage/project-monitor/index.vue

@@ -5,7 +5,12 @@
         <select-service-unit v-model="params[item.prop]"></select-service-unit>
       </template>
       <template #customer="{ item, params }">
-        <select-customer v-model="params[item.prop]"></select-customer>
+        <select-url-user
+          v-model="params[item.prop]"
+          url="/api/sys/custom/list/by/serviceUnit"
+          :params="{ serviceUnitId: params.serviceUnitId }"
+          clearable
+        ></select-url-user>
       </template>
       <template #buttons>
         <t-button theme="primary" @click="search">搜索</t-button>

+ 17 - 17
src/views/sop/sop-manage/sop-step/index.vue

@@ -136,24 +136,24 @@
             </t-row>
           </t-form>
           <t-space class="sop-step-footer">
-            <template v-if="showAction">
-              <t-button v-if="IS_EDIT_MODE" theme="primary" @click="saveHandle"
-                >提交</t-button
-              >
-              <t-button
-                v-if="!IS_EDIT_MODE"
-                theme="primary"
-                @click="submitHandle()"
-                >提交</t-button
-              >
+            <!-- <template v-if="showAction"> -->
+            <t-button v-if="IS_EDIT_MODE" theme="primary" @click="saveHandle"
+              >提交</t-button
+            >
+            <t-button
+              v-if="!IS_EDIT_MODE"
+              theme="primary"
+              @click="submitHandle()"
+              >提交</t-button
+            >
 
-              <t-button
-                v-if="!IS_EDIT_MODE"
-                theme="default"
-                @click="submitHandle('DRAFT')"
-                >保存草稿</t-button
-              >
-            </template>
+            <t-button
+              v-if="!IS_EDIT_MODE"
+              theme="default"
+              @click="submitHandle('DRAFT')"
+              >保存草稿</t-button
+            >
+            <!-- </template> -->
           </t-space>
           <!-- setup history -->
           <div v-if="flowApproveHistoryList.length" class="sop-step-history">