@dongkboy před 2 roky
rodič
revize
354bf22c2b

+ 24 - 10
src/views/AgreementManage/CarInsurance/AgreementEntry.vue

@@ -53,6 +53,14 @@
               </el-select>
             </el-form-item>
           </el-col>
+          <el-col :span="6">
+            <el-form-item label="审核方式">
+              <el-select :size="overSize" v-model="queryForm.auditType" placeholder="请选择审核方式" style="width: 100%">
+                <el-option label="人工审核" :value="1"></el-option>
+                <el-option label="自动审核" :value="2"></el-option>
+              </el-select>
+            </el-form-item>
+          </el-col>
           <el-col :span="6">
             <el-form-item label="协议有限时间">
               <el-date-picker value-format="yyyy-MM-dd" v-model="queryForm.agreemenData" style="width: 100%"
@@ -86,15 +94,7 @@
               </el-date-picker>
             </el-form-item>
           </el-col>
-          <el-col :span="6" class="flex a-end j-c">
-            <el-form-item>
-              <kt-button label="查询" :size="overSize" type="primary" perms="agreement:input:query" @click="queryEsmInfo" />
-              <el-button :disabled="agreementSelectionList.length == 0" label="批量修改" :size="overSize" type="primary"
-                @click="agreementSelectionVisible = true" style="color:#fff">批量修改</el-button>
-              <kt-button label="添加协议" style="background-color: #2D4D89;border-color:#2D4D89;" :size="overSize"
-                type="success" perms="agreement:input:add" @click="handleAdd" />
-            </el-form-item>
-          </el-col>
+
         </el-row>
       </el-form>
       <div style="font-weight: bold;font-size: 15px;color: #242833;" class="p-1 flex j-s a-c">
@@ -102,6 +102,11 @@
           协议详情
         </span>
         <div>
+          <kt-button label="查询" :size="overSize" type="primary" perms="agreement:input:query" @click="queryEsmInfo" />
+          <el-button :disabled="agreementSelectionList.length == 0" label="批量修改" :size="overSize" type="primary"
+            @click="agreementSelectionVisible = true" style="color:#fff">批量修改</el-button>
+          <kt-button label="添加协议" style="background-color: #2D4D89;border-color:#2D4D89;" :size="overSize" type="success"
+            perms="agreement:input:add" @click="handleAdd" />
           <kt-button label="协议历史记录" :disabled="!agreementActiveInfo" :size="overSize"
             :style="agreementActiveInfo ? ktbuttonStyle : '{}'" class="ktbuttonactive"
             perms="agreement:input:historyRecord" @click="historyRecord" />
@@ -127,7 +132,8 @@
         <el-table-column prop="agreementCode" label="协议代码" align="center" width="180"></el-table-column>
         <el-table-column prop="agreementName" label="协议" align="center" width="300">
           <template slot-scope="scope">
-            <span>{{ scope.row.agreementName }} - {{ scope.row.businessDescription }} - {{ scope.row.jobDescription }}</span>
+            <span>{{ scope.row.agreementName }} - {{ scope.row.businessDescription }} - {{ scope.row.jobDescription
+            }}</span>
           </template>
         </el-table-column>
         <el-table-column prop="dockingPerson" label="对接人" align="center"></el-table-column>
@@ -142,6 +148,13 @@
         <el-table-column prop="endDate" label="协议失效日期" align="center"></el-table-column>
         <el-table-column prop="matchType" label="匹配日期类型" align="center" :formatter="matchtypeFormatter"></el-table-column>
         <el-table-column prop="moneyTime" label="结算周期" align="center" :formatter="moneytimeFormatter"></el-table-column>
+        <el-table-column prop="validStatus" label="审核方式" align="center" width="100">
+          <template slot-scope="scope">
+            <span
+              :style="{ background: scope.row.auditType == '1' ? 'linear-gradient( 180deg, #66CDBB 0%, #33A08D 100%)' : '#A6A6A6', borderRadius: '4px', padding: '4px 10px', color: '#fff' }">{{
+                scope.row.auditType == '1' ? "人工审核" : "自动审核" }}</span>
+          </template>
+        </el-table-column>
         <!-- <el-table-column prop="auditStatus" label="状态" align="center">
           <template slot-scope="scope">
             <span :style="'color:' + agreestatusStyle(scope.row.auditStatus)">
@@ -2095,6 +2108,7 @@ export default {
         startDate: "", //开始时间
         endDate: "", //结束时间
         validStatus: "",
+        auditType: "",
       },
       pageResult: [],
       productPageResult: [], //产品费用集合

+ 5 - 5
src/views/Sys/Role.vue

@@ -93,14 +93,14 @@
         <kt-button
           :label="$t('action.reset')"
           perms="sys:role:edit"
-          type="primary"
+          type="danger"
           @click="resetSelection"
           :disabled="this.selectRole.id == null"
         />
         <kt-button
           :label="$t('action.submit')"
           perms="sys:role:edit"
-          type="primary"
+          type="danger"
           @click="submitAuthForm"
           :disabled="this.selectRole.id == null"
           :loading="authLoading"
@@ -437,8 +437,8 @@ export default {
   color: rgb(20, 89, 121);
 }
 .conent-box{
-  width: 100%; 
-  display: flex; 
+  width: 100%;
+  display: flex;
   justify-content: space-around
 }
 /deep/ .el-table {
@@ -477,4 +477,4 @@ export default {
   -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
   background-color: #b3b3b3;
 }
-</style>
+</style>