ソースを参照

风险提交样式优化

zh 6 ヶ月 前
コミット
74ddb60d80

+ 20 - 6
src_product/iam/audit/riskLibrary/audit-issued-form.vue

@@ -30,7 +30,14 @@
                 :label="child.name"
                 :input-props="{ disabled: true }"
                 :colspan="child?.col || 1"
-              />
+              >
+                <a-textarea
+                  v-if="child.name === '整改说明' || child.name === '关注风险'"
+                  v-model="model[child.key]"
+                  :auto-size="{ minRows: 3, maxRows: 5 }"
+                  :disabled="true"
+                ></a-textarea>
+              </sd-form-item-td>
             </template>
           </tr>
         </template>
@@ -114,7 +121,7 @@
                 <a-textarea
                   v-model="questionFormData.nonQuestionDesc"
                   placeholder="请填写非问题说明"
-                  :rows="3"
+                  :auto-size="{ minRows: 3, maxRows: 5 }"
                   :disabled="isDescStatus"
                 />
               </sd-form-item-td>
@@ -140,7 +147,7 @@
                 <a-textarea
                   v-model="model.reformDesc"
                   placeholder="请填写整改说明"
-                  :rows="3"
+                  :auto-size="{ minRows: 3, maxRows: 5 }"
                   :disabled="logInfo !== 1"
                 />
               </sd-form-item-td>
@@ -258,12 +265,20 @@
             </tr>
             <tr v-if="questionFormData.questionFlag === 0">
               <sd-form-item-td :name="'nonQuestionDesc'" :label="'非问题说明'" :colspan="3">
-                <a-textarea v-model="model.nonQuestionDesc" :rows="3" :disabled="true" />
+                <a-textarea
+                  v-model="model.nonQuestionDesc"
+                  :auto-size="{ minRows: 3, maxRows: 5 }"
+                  :disabled="true"
+                />
               </sd-form-item-td>
             </tr>
             <tr>
               <sd-form-item-td :colspan="3" :name="'reformDesc'" :label="'说明'">
-                <a-textarea v-model="model.reformDesc" :rows="3" :disabled="true" />
+                <a-textarea
+                  v-model="model.reformDesc"
+                  :auto-size="{ minRows: 3, maxRows: 5 }"
+                  :disabled="true"
+                />
               </sd-form-item-td>
             </tr>
             <!-- 附件 -->
@@ -335,7 +350,6 @@ const xzList = [
   '制度理解存在人为偏差',
   '工作疏忽未按制度行事',
   '人为规避制度管控要求',
-  '其它',
 ]
 const baseData = [
   [

+ 2 - 2
src_product/iam/audit/riskLibrary/audit-summarry-list.vue

@@ -56,7 +56,7 @@
               <div style="width: 200px">
                 <a-select v-model="form.endType" placeholder="请选择审核状态" allow-clear>
                   <a-select-option value="2">未提交审核</a-select-option>
-                  <a-select-option value="1">已提交待审核</a-select-option>
+                  <a-select-option value="1">待整改</a-select-option>
                   <a-select-option value="5">审核通过</a-select-option>
                   <a-select-option value="0">审核驳回</a-select-option>
                 </a-select>
@@ -337,7 +337,7 @@ export default {
             if (text === 2) {
               return '未提交审核'
             } else if (text === 1) {
-              return '已提交待审核'
+              return '待整改'
             } else if (text === 5) {
               return '审核通过'
             } else if (text === 0) {

+ 2 - 2
src_product/iam/audit/riskLibrary/audit-view-change.vue

@@ -22,7 +22,7 @@
             <a-form-model-item :label="'审核状态'" prop="endType">
               <a-select v-model="form.endType" placeholder="请选择审核状态" allow-clear>
                 <a-select-option value="2">未提交审核</a-select-option>
-                <a-select-option value="1">已提交待审核</a-select-option>
+                <a-select-option value="1">待整改</a-select-option>
                 <a-select-option value="5">审核通过</a-select-option>
                 <a-select-option value="0">审核驳回</a-select-option>
               </a-select>
@@ -79,7 +79,7 @@
           </div>
           <div slot="endType" slot-scope="text, record">
             <span v-if="record.endType === null" title="未提交审核">未提交审核</span>
-            <span v-if="record.endType === 1" title="已提交待审核">已提交待审核</span>
+            <span v-if="record.endType === 1" title="待整改">待整改</span>
             <span v-if="record.endType === 5" title="审核通过">审核通过</span>
             <span v-if="record.endType === 0" title="审核驳回">审核驳回</span>
           </div>