Prechádzať zdrojové kódy

结算表增加字段、批量修改

@dongkboy 2 rokov pred
rodič
commit
91fc245930

+ 8 - 0
src/http/moudules/task.js

@@ -738,6 +738,14 @@ export const SettlementExport = (data) => {
     data
     data
   })
   })
 }
 }
+//结算表批量修改
+export const SettlementUpdates = (data) => {
+  return axios({
+    url: "/InsReceivable/updateSettlementBatch",
+    method: "post",
+    data
+  })
+}
 //导出应收应付表
 //导出应收应付表
 export const excelReceivableAndSettlementExport = (data) => {
 export const excelReceivableAndSettlementExport = (data) => {
   return axios({
   return axios({

+ 34 - 34
src/views/FinancialManagement/ReconciliationSystem/ReceivablePayableCollection/ReceivablePayableCollection.vue

@@ -257,78 +257,78 @@ export default {
       pageResult: [],
       pageResult: [],
       columns: [
       columns: [
         //数据列
         //数据列
-        { prop: "operationsTeam", label: "运营团队", minWidth: 160 },
-        { prop: "channelClassification", label: "渠道分类", minWidth: 160 },
+        { prop: "operationsTeam", label: "运营团队", minWidth: 100 },
+        { prop: "channelClassification", label: "渠道分类", minWidth: 100 },
         { prop: "signDate", label: "签单日期", minWidth: 160 },
         { prop: "signDate", label: "签单日期", minWidth: 160 },
         { prop: "channel", label: "渠道", minWidth: 100 },
         { prop: "channel", label: "渠道", minWidth: 100 },
-        { prop: "licenseNo", label: "车牌号", minWidth: 160 },
+        { prop: "licenseNo", label: "车牌号", minWidth: 100 },
         { prop: "insuredName", label: "被保险人", minWidth: 160 },
         { prop: "insuredName", label: "被保险人", minWidth: 160 },
-        { prop: "insuranceId", label: "保司编码", minWidth: 160 },
-        { prop: "insuranceCompany", label: "保司名称", minWidth: 160 },
+        { prop: "insuranceId", label: "保司编码", minWidth: 140 },
+        { prop: "insuranceCompany", label: "保司名称", minWidth: 180 },
         { prop: "insuranceDeptId", label: "保司机构代码", minWidth: 160 },
         { prop: "insuranceDeptId", label: "保司机构代码", minWidth: 160 },
-        { prop: "insuranceDept", label: "保司机构", minWidth: 160 },
-        { prop: "insuranceType", label: "险种", minWidth: 160 },
-        { prop: "businessOwner", label: "业务归属", minWidth: 160 },
-        { prop: "jqPolicyId", label: "交强保单号", minWidth: 160 },
+        { prop: "insuranceDept", label: "保司机构", minWidth: 120 },
+        { prop: "insuranceType", label: "险种", minWidth: 120 },
+        { prop: "businessOwner", label: "业务归属", minWidth: 120 },
+        { prop: "jqPolicyId", label: "交强保单号", minWidth: 180 },
         { prop: "jqPremiumTax", label: "交强险保费", minWidth: 160 },
         { prop: "jqPremiumTax", label: "交强险保费", minWidth: 160 },
         { prop: "jqPremium", label: "交强险不含税保费", minWidth: 160 },
         { prop: "jqPremium", label: "交强险不含税保费", minWidth: 160 },
-        { prop: "syPolicyId", label: "商业保单号", minWidth: 160 },
+        { prop: "syPolicyId", label: "商业保单号", minWidth: 180 },
         { prop: "syPremiumTax", label: "商业险保费", minWidth: 160 },
         { prop: "syPremiumTax", label: "商业险保费", minWidth: 160 },
         { prop: "syPremium", label: "商业险不含税保费", minWidth: 160 },
         { prop: "syPremium", label: "商业险不含税保费", minWidth: 160 },
-        { prop: "nonCarPolicyId", label: "非车保单号", minWidth: 160 },
+        { prop: "nonCarPolicyId", label: "非车保单号", minWidth: 180 },
         { prop: "nonCarPremiumTax", label: "非车险保费", minWidth: 160 },
         { prop: "nonCarPremiumTax", label: "非车险保费", minWidth: 160 },
         { prop: "nonCarPremium", label: "非车险不含税保费", minWidth: 160 },
         { prop: "nonCarPremium", label: "非车险不含税保费", minWidth: 160 },
         { prop: "agencySettlementTime", label: "代理结算时间", minWidth: 160 },
         { prop: "agencySettlementTime", label: "代理结算时间", minWidth: 160 },
-        { prop: "taxAmount", label: "车船税", minWidth: 160 },
-        { prop: "jqReceivableRatio", label: "交强险应收比例", minWidth: 160 },
-        { prop: "jqPremiumRatio", label: "交强险手续费比例", minWidth: 160 },
-        { prop: "jqNonCopyingRatio", label: "交强险非跟单比例", minWidth: 160 },
-        { prop: "syReceivableRatio", label: "商业险应收比例", minWidth: 160 },
-        { prop: "syPremiumRatio", label: "商业险手续费比例", minWidth: 160 },
-        { prop: "syNonCopyingRatio", label: "商业险非跟单比例", minWidth: 160 },
+        { prop: "taxAmount", label: "车船税", minWidth: 140 },
+        { prop: "jqReceivableRatio", label: "交强险应收比例", minWidth: 140 },
+        { prop: "jqPremiumRatio", label: "交强险手续费比例", minWidth: 140 },
+        { prop: "jqNonCopyingRatio", label: "交强险非跟单比例", minWidth: 140 },
+        { prop: "syReceivableRatio", label: "商业险应收比例", minWidth: 140 },
+        { prop: "syPremiumRatio", label: "商业险手续费比例", minWidth: 140 },
+        { prop: "syNonCopyingRatio", label: "商业险非跟单比例", minWidth: 140 },
         {
         {
           prop: "nonCarReceivableRatio",
           prop: "nonCarReceivableRatio",
           label: "非车险应收比例",
           label: "非车险应收比例",
-          minWidth: 160,
+          minWidth: 140,
         },
         },
         {
         {
           prop: "nonCarPremiumRatio",
           prop: "nonCarPremiumRatio",
           label: "非车险手续费比例",
           label: "非车险手续费比例",
-          minWidth: 160,
+          minWidth: 140,
         },
         },
         {
         {
           prop: "nonCarNonCopyingRatio",
           prop: "nonCarNonCopyingRatio",
           label: "非车险非跟单比例",
           label: "非车险非跟单比例",
-          minWidth: 160,
+          minWidth: 140,
         },
         },
-        { prop: "premium", label: "手续费金额", minWidth: 160 },
-        { prop: "nonCopying", label: "非跟单金额", minWidth: 160 },
-        { prop: "receivable", label: "应收", minWidth: 160 },
-        { prop: "subsidyRatio", label: "补贴比例", minWidth: 160 },
-        { prop: "subsidyAmount", label: "补贴金额", minWidth: 160 },
+        { prop: "premium", label: "手续费金额", minWidth: 140 },
+        { prop: "nonCopying", label: "非跟单金额", minWidth: 140 },
+        { prop: "receivable", label: "应收", minWidth: 140 },
+        { prop: "subsidyRatio", label: "补贴比例", minWidth: 140 },
+        { prop: "subsidyAmount", label: "补贴金额", minWidth: 140 },
         {
         {
           prop: "maxJqReceivableRatio",
           prop: "maxJqReceivableRatio",
           label: "最大交强险应付比例",
           label: "最大交强险应付比例",
-          minWidth: 160,
+          minWidth: 140,
         },
         },
         {
         {
           prop: "maxSyReceivableRatio",
           prop: "maxSyReceivableRatio",
           label: "最大商业险应付比例",
           label: "最大商业险应付比例",
-          minWidth: 160,
+          minWidth: 140,
         },
         },
         {
         {
           prop: "maxNonCarReceivableRatio",
           prop: "maxNonCarReceivableRatio",
           label: "最大非车险应付比例",
           label: "最大非车险应付比例",
-          minWidth: 160,
+          minWidth: 140,
         },
         },
-        { prop: "maxReceivable", label: "最大应付金额", minWidth: 160 },
-        { prop: "totalReceivableAmount", label: "总应收金额", minWidth: 160 },
-        { prop: "settlementAmount", label: "结算金额", minWidth: 160 },
-        { prop: "clearingState", label: "结算状态", minWidth: 160 },
+        { prop: "maxReceivable", label: "最大应付金额", minWidth: 140 },
+        { prop: "totalReceivableAmount", label: "总应收金额", minWidth: 140 },
+        { prop: "settlementAmount", label: "结算金额", minWidth: 140 },
+        { prop: "clearingState", label: "结算状态", minWidth: 140 },
         {
         {
           prop: "insuranceClearingState",
           prop: "insuranceClearingState",
           label: "保司结算状态",
           label: "保司结算状态",
-          minWidth: 160,
+          minWidth: 140,
         },
         },
       ],
       ],
       row: {},
       row: {},

+ 104 - 22
src/views/FinancialManagement/ReconciliationSystem/ReceivablePayableCollection/SettlementSource.vue

@@ -168,7 +168,7 @@
         :showOperation="true"
         :showOperation="true"
         permsDelete="sys:user:delete"
         permsDelete="sys:user:delete"
         :showBatchDelete="false"
         :showBatchDelete="false"
-        :showBatchSettled="false"
+        :showBatchSettled="true"
         :showBatchPrint="true"
         :showBatchPrint="true"
         permsButton1="sys:user:edit"
         permsButton1="sys:user:edit"
         permsButton2="sys:user:edit"
         permsButton2="sys:user:edit"
@@ -176,8 +176,8 @@
         :data="pageResult"
         :data="pageResult"
         :columns="columns"
         :columns="columns"
         @findPage="findPage"
         @findPage="findPage"
-        keyName="policyno"
-        settledName="批量生成"
+        keyName="id"
+        settledName="批量修改"
         @handleSettled="handleTableSettled"
         @handleSettled="handleTableSettled"
         @handlePrint="handlePrint"
         @handlePrint="handlePrint"
         button1Name="修改"
         button1Name="修改"
@@ -281,6 +281,51 @@
         >
         >
       </div>
       </div>
     </el-dialog>
     </el-dialog>
+    <el-dialog title="批量修改" :visible.sync="dialogUpdateVisible" width="60%">
+      <el-form
+        :model="batchSizeForm"
+        :inline="true"
+        label-width="130px"
+        size="small"
+      >
+        <el-form-item label="业务归属:">
+          <el-input
+            v-model="batchSizeForm.businessOwner"
+            autocomplete="off"
+            class="widths"
+          ></el-input>
+        </el-form-item>
+        <el-form-item label="交强出口比例:">
+          <el-input
+            v-model="batchSizeForm.compulsoryExportRatio"
+            autocomplete="off"
+            class="widths"
+          ></el-input>
+        </el-form-item>
+        <el-form-item label="商业出口比例:">
+          <el-input
+            v-model="batchSizeForm.commercialExportRatio"
+            autocomplete="off"
+            class="widths"
+          ></el-input>
+        </el-form-item>
+        <el-form-item label="非车出口比例:">
+          <el-input
+            v-model="batchSizeForm.nonVehicleExportRatio"
+            autocomplete="off"
+            class="widths"
+          ></el-input>
+        </el-form-item>
+      </el-form>
+      <div slot="footer" class="dialog-footer">
+        <el-button size="small" @click="dialogUpdateVisible = false"
+          >取 消</el-button
+        >
+        <el-button size="small" type="primary" @click="BulkUpdate"
+          >确 定</el-button
+        >
+      </div>
+    </el-dialog>
   </div>
   </div>
 </template>
 </template>
 <script>
 <script>
@@ -314,6 +359,7 @@ export default {
       },
       },
       // 右侧列表查询数据Start
       // 右侧列表查询数据Start
       dialogFormVisible: false,
       dialogFormVisible: false,
+      dialogUpdateVisible:false,
       pageResult: [],
       pageResult: [],
       updateform: {
       updateform: {
         channel: "",
         channel: "",
@@ -328,34 +374,43 @@ export default {
         commercialExportRatio: "",
         commercialExportRatio: "",
         nonVehicleExportRatio: "",
         nonVehicleExportRatio: "",
       },
       },
+      batchSizeForm:{
+        businessOwner:"",
+        compulsoryExportRatio:"",
+        commercialExportRatio:"",
+        nonVehicleExportRatio:"",
+      },
+      batchSizeList:[],
       columns: [
       columns: [
         //数据列
         //数据列
         { prop: "id", label: " 编号", minWidth: 160 },
         { prop: "id", label: " 编号", minWidth: 160 },
-        { prop: "operationsTeam", label: "运营小组", minWidth: 160 },
-        { prop: "channelClassification", label: "渠道分级", minWidth: 160 },
-        { prop: "channel", label: "渠道", minWidth: 160 },
+        { prop: "operationsTeam", label: "运营小组", minWidth: 100 },
+        { prop: "channelClassification", label: "渠道分级", minWidth: 100 },
+        { prop: "channel", label: "渠道", minWidth: 120 },
         { prop: "employeeId", label: "工号", minWidth: 160 },
         { prop: "employeeId", label: "工号", minWidth: 160 },
         { prop: "signDate", label: "签单日期", minWidth: 160 },
         { prop: "signDate", label: "签单日期", minWidth: 160 },
         { prop: "licenseno", label: "车牌号", minWidth: 160 },
         { prop: "licenseno", label: "车牌号", minWidth: 160 },
         { prop: "insuredName", label: "被保险人", minWidth: 100 },
         { prop: "insuredName", label: "被保险人", minWidth: 100 },
-        { prop: "insuranceCompany", label: "保险公司", minWidth: 160 },
-        { prop: "insuranceType", label: "险种", minWidth: 160 },
-        { prop: "businessOwner", label: "业务归属", minWidth: 160 },
+        { prop: "insuranceCompany", label: "保险公司", minWidth: 120 },
+        { prop: "insuranceType", label: "险种", minWidth: 120 },
+        { prop: "businessOwner", label: "业务归属", minWidth: 120 },
         {
         {
           prop: "jqPolicyId",
           prop: "jqPolicyId",
           label: "交强保单号",
           label: "交强保单号",
-          minWidth: 160,
+          minWidth: 180,
         },
         },
-        { prop: "syPolicyId", label: "商业保单号", minWidth: 160 },
-        { prop: "nonCarPolicyId", label: "非车保单号", minWidth: 160 },
-        { prop: "jqPremiumTax", label: "交强保费", minWidth: 160 },
-        { prop: "vehicleTax", label: "车船税", minWidth: 160 },
-        { prop: "syPremiumTax", label: "商业保费", minWidth: 160 },
-        { prop: "nonCarPremiumTax", label: "非车保费", minWidth: 160 },
-        { prop: "compulsoryExportRatio", label: "交强出口比例", minWidth: 160 },
-        { prop: "commercialExportRatio", label: "商业出口比例", minWidth: 160 },
-        { prop: "nonVehicleExportRatio", label: "非车出口比例", minWidth: 160 },
-        { prop: "settlementAmount", label: "结算金额", minWidth: 160 },
+        { prop: "syPolicyId", label: "商业保单号", minWidth: 180 },
+        { prop: "nonCarPolicyId", label: "非车保单号", minWidth: 180 },
+        { prop: "jqPremiumTax", label: "交强保费", minWidth: 140 },
+        { prop: "vehicleTax", label: "车船税", minWidth: 140 },
+        { prop: "syPremiumTax", label: "商业保费", minWidth: 140 },
+        { prop: "nonCarPremiumTax", label: "非车保费", minWidth: 140 },
+        { prop: "compulsoryExportRatio", label: "交强出口比例", minWidth: 140 },
+        { prop: "commercialExportRatio", label: "商业出口比例", minWidth: 140 },
+        { prop: "nonVehicleExportRatio", label: "非车出口比例", minWidth: 140 },
+        { prop: "subsidyRatio", label: "补贴比例", minWidth: 140 },
+        { prop: "subsidyAmount", label: "补贴金额", minWidth: 140 },
+        { prop: "settlementAmount", label: "结算金额", minWidth: 140 },
         { prop: "agencySettlementTime", label: "代理结算时间", minWidth: 160 },
         { prop: "agencySettlementTime", label: "代理结算时间", minWidth: 160 },
       ],
       ],
       companyList: [],
       companyList: [],
@@ -415,8 +470,35 @@ export default {
       });
       });
     },
     },
     handleTableSettled(ids) {
     handleTableSettled(ids) {
-      this.plyNoList = ids;
-      this.dialogVisible11 = true;
+      this.batchSizeList = ids;
+      Object.keys(this.batchSizeForm).forEach((key) => {
+        this.batchSizeForm[key] = "";
+      });
+      this.dialogUpdateVisible=true;
+    },
+    BulkUpdate() {
+      let params = {
+        ids: this.batchSizeList,
+        businessOwner: this.batchSizeForm.businessOwner,
+        compulsoryExportRatio: this.batchSizeForm.compulsoryExportRatio,
+        commercialExportRatio: this.batchSizeForm.commercialExportRatio,
+        nonVehicleExportRatio: this.batchSizeForm.nonVehicleExportRatio,
+      };
+      this.$api.task.SettlementUpdates(params).then((res) => {
+        if (res.code == "200") {
+          this.$message({
+            type: "success",
+            message: "修改成功!",
+          });
+          this.dialogUpdateVisible = false;
+          this.findPage();
+        } else {
+          this.$message({
+            type: "error",
+            message: res.msg,
+          });
+        }
+      });
     },
     },
     sourceUpdate({ row, column }) {
     sourceUpdate({ row, column }) {
       this.dialogFormVisible = true;
       this.dialogFormVisible = true;

+ 37 - 37
src/views/FinancialManagement/ReconciliationSystem/ReceivablePayableCollection/Source.vue

@@ -347,73 +347,73 @@ export default {
       columns: [
       columns: [
         //数据列
         //数据列
         { prop: "id", label: " 编号", minWidth: 160 },
         { prop: "id", label: " 编号", minWidth: 160 },
-        { prop: "insuranceId", label: "保司编码", minWidth: 160 },
-        { prop: "insuranceName", label: "保司名称", minWidth: 160 },
-        { prop: "insuranceDept", label: "保司机构", minWidth: 160 },
+        { prop: "insuranceId", label: "保司编码", minWidth: 120 },
+        { prop: "insuranceName", label: "保司名称", minWidth: 180 },
+        { prop: "insuranceDept", label: "保司机构", minWidth: 100 },
         { prop: "insuranceDeptId", label: "保司机构代码", minWidth: 100 },
         { prop: "insuranceDeptId", label: "保司机构代码", minWidth: 100 },
-        { prop: "risk", label: "险种", minWidth: 160 },
-        { prop: "jqPolicyId", label: "交强保单号", minWidth: 160 },
-        { prop: "jqPremiumTax", label: "交强险保费", minWidth: 160 },
+        { prop: "risk", label: "险种", minWidth: 100 },
+        { prop: "jqPolicyId", label: "交强保单号", minWidth: 180 },
+        { prop: "jqPremiumTax", label: "交强险保费", minWidth: 140 },
         {
         {
           prop: "jqPremium",
           prop: "jqPremium",
           label: "交强险不含税保费",
           label: "交强险不含税保费",
-          minWidth: 160,
+          minWidth: 140,
         },
         },
-        { prop: "syPolicyId", label: "商业保单号", minWidth: 160 },
-        { prop: "syPremiumTax", label: "商业险保费", minWidth: 160 },
-        { prop: "syPremium", label: "商业险不含税保费", minWidth: 160 },
-        { prop: "nonCarPolicyId", label: "非车保单号", minWidth: 160 },
-        { prop: "nonCarPremiumTax", label: "非车保费", minWidth: 160 },
-        { prop: "nonCarPremium", label: "非车险不含税保费", minWidth: 160 },
-        { prop: "insuredName", label: "被保险人", minWidth: 160 },
-        { prop: "licenseno", label: "车牌号", minWidth: 160 },
+        { prop: "syPolicyId", label: "商业保单号", minWidth: 180 },
+        { prop: "syPremiumTax", label: "商业险保费", minWidth: 140 },
+        { prop: "syPremium", label: "商业险不含税保费", minWidth: 140 },
+        { prop: "nonCarPolicyId", label: "非车保单号", minWidth: 180 },
+        { prop: "nonCarPremiumTax", label: "非车保费", minWidth: 140 },
+        { prop: "nonCarPremium", label: "非车险不含税保费", minWidth: 140 },
+        { prop: "insuredName", label: "被保险人", minWidth: 100 },
+        { prop: "licenseno", label: "车牌号", minWidth: 120 },
         { prop: "signingTime", label: "出单日期", minWidth: 160 },
         { prop: "signingTime", label: "出单日期", minWidth: 160 },
         { prop: "clearingTime", label: "结算日期", minWidth: 160 },
         { prop: "clearingTime", label: "结算日期", minWidth: 160 },
-        { prop: "taxamount", label: "车船税", minWidth: 160 },
-        { prop: "jqReceivableRatio", label: "交强应收比例", minWidth: 160 },
-        { prop: "jqPremiumRatio", label: "交强手续费比例", minWidth: 160 },
-        { prop: "jqNonCopyingRatio", label: "交强非跟单比例", minWidth: 160 },
-        { prop: "syReceivableRatio", label: "商业应收比例", minWidth: 160 },
-        { prop: "syPremiumRatio", label: "商业手续费比例", minWidth: 160 },
-        { prop: "syNonCopyingRatio", label: "商业非跟单比例", minWidth: 160 },
-        { prop: "nonCarReceivableRatio", label: "非车应收比例", minWidth: 160 },
-        { prop: "nonCarPremiumRatio", label: "非车手续费比例", minWidth: 160 },
+        { prop: "taxamount", label: "车船税", minWidth: 140 },
+        { prop: "jqReceivableRatio", label: "交强应收比例", minWidth: 140 },
+        { prop: "jqPremiumRatio", label: "交强手续费比例", minWidth: 140 },
+        { prop: "jqNonCopyingRatio", label: "交强非跟单比例", minWidth: 140 },
+        { prop: "syReceivableRatio", label: "商业应收比例", minWidth: 140 },
+        { prop: "syPremiumRatio", label: "商业手续费比例", minWidth: 140 },
+        { prop: "syNonCopyingRatio", label: "商业非跟单比例", minWidth: 140 },
+        { prop: "nonCarReceivableRatio", label: "非车应收比例", minWidth: 140 },
+        { prop: "nonCarPremiumRatio", label: "非车手续费比例", minWidth: 140 },
         {
         {
           prop: "nonCarNonCopyingRatio",
           prop: "nonCarNonCopyingRatio",
           label: "非车非跟单比例",
           label: "非车非跟单比例",
-          minWidth: 160,
+          minWidth: 140,
         },
         },
-        { prop: "premium", label: "手续费金额", minWidth: 160 },
-        { prop: "nonCopying", label: "非跟单金额", minWidth: 160 },
-        { prop: "receivable", label: "应收金额", minWidth: 160 },
+        { prop: "premium", label: "手续费金额", minWidth: 140 },
+        { prop: "nonCopying", label: "非跟单金额", minWidth: 140 },
+        { prop: "receivable", label: "应收金额", minWidth: 140 },
         {
         {
           prop: "maxJqReceivableRatio",
           prop: "maxJqReceivableRatio",
           label: "最大交强应付比例",
           label: "最大交强应付比例",
-          minWidth: 160,
+          minWidth: 140,
         },
         },
         {
         {
           prop: "maxSyReceivableRatio",
           prop: "maxSyReceivableRatio",
           label: "最大商业应付比例",
           label: "最大商业应付比例",
-          minWidth: 160,
+          minWidth: 140,
         },
         },
         {
         {
           prop: "maxNonCarReceivableRatio",
           prop: "maxNonCarReceivableRatio",
           label: "最大非车应付比例",
           label: "最大非车应付比例",
-          minWidth: 160,
+          minWidth: 140,
         },
         },
-        { prop: "maxReceivable", label: "最大应付金额", minWidth: 160 },
-        { prop: "subsidyRatio", label: "补贴比例", minWidth: 160 },
-        { prop: "subsidyAmount", label: "补贴金额", minWidth: 160 },
-        { prop: "totalReceivableAmount", label: "总应收金额", minWidth: 160 },
+        { prop: "maxReceivable", label: "最大应付金额", minWidth: 140 },
+        { prop: "subsidyRatio", label: "补贴比例", minWidth: 140 },
+        { prop: "subsidyAmount", label: "补贴金额", minWidth: 140 },
+        { prop: "totalReceivableAmount", label: "总应收金额", minWidth: 140 },
         {
         {
           prop: "clearingState",
           prop: "clearingState",
           label: "结算状态",
           label: "结算状态",
-          minWidth: 160,
+          minWidth: 140,
         },
         },
         {
         {
           prop: "insuranceClearingState",
           prop: "insuranceClearingState",
           label: "保司结算状态",
           label: "保司结算状态",
-          minWidth: 160,
+          minWidth: 140,
         },
         },
       ],
       ],
     };
     };

+ 1 - 37
src/views/Sys/Deptall.vue

@@ -13,7 +13,7 @@
         </div>
         </div>
         <!-- 表格渲染 -->
         <!-- 表格渲染 -->
         <el-table permsEdit="sys:dept:edit" height="600" permsDelete="sys:dept:delete"
         <el-table permsEdit="sys:dept:edit" height="600" permsDelete="sys:dept:delete"
-          :columns="columns" row-key="id" :expand-row-keys="['9']" border :data="ztreeNodes"
+          row-key="id" :expand-row-keys="['9']" border :data="ztreeNodes"
           :tree-props="{ children: 'children', hasChildren: 'hasChilkdren' }" :header-cell-style="{
           :tree-props="{ children: 'children', hasChildren: 'hasChilkdren' }" :header-cell-style="{
             background: '#F2F7FC',
             background: '#F2F7FC',
             fontWeight: '900',
             fontWeight: '900',
@@ -288,47 +288,11 @@ export default {
       filters: {
       filters: {
         id: "",
         id: "",
       },
       },
-      columns: [
-        {
-          prop: "id",
-          label: "ID",
-          minWidth: 80,
-        },
-        {
-          prop: "name",
-          label: "机构名称",
-          minWidth: 160,
-        },
-        {
-          prop: "comlevel",
-          label: "机构级别",
-          minWidth: 100,
-          formatter: this.comlevelFormatter,
-        },
-        {
-          prop: "comattribute",
-          label: "机构性质",
-          minWidth: 100,
-          formatter: this.comattributeFormatter,
-        },
-        {
-          prop: "comtype",
-          label: "机构类型",
-          minWidth: 100,
-          formatter: this.comtypeFormatter,
-        },
-        {
-          prop: "address",
-          label: "机构地址",
-          minWidth: 200,
-        },
-      ],
       pageRequest: {
       pageRequest: {
         pageNum: 1,
         pageNum: 1,
         pageSize: 10,
         pageSize: 10,
       },
       },
       pageResult: {},
       pageResult: {},
-
       //----ztreeData start---------
       //----ztreeData start---------
       ztreeLeftWidth: 0, //左边区域的宽度
       ztreeLeftWidth: 0, //左边区域的宽度
       ztreeRightWidth: 0, //右边区域的宽度
       ztreeRightWidth: 0, //右边区域的宽度