Преглед изворни кода

Merge branch 'mergeBranch' into internationalization

# Conflicts:
#	src/HManagement/marketing2/agent/details/modules/saleclass/index.vue
#	src/HManagement/marketing2/agent/details/modules/salescope/modules/edit.vue
#	src/HManagement/siteManage/tagManage/index.vue
#	src/SManagement/setenterpriseInfo/index.vue
#	src/components/financialInfo/index.vue
qymljy пре 1 година
родитељ
комит
ca64bcb21d

+ 6 - 2
src/HDrpManagement/ProductGroupMag/modules/add.vue

@@ -70,7 +70,10 @@
             </el-col>
             </el-col>
             <el-col :span="col">
             <el-col :span="col">
 <!--              <selectTable :all="true" @addProduct="addProduct"></selectTable>-->
 <!--              <selectTable :all="true" @addProduct="addProduct"></selectTable>-->
-              <tableNewLayout :layout="tablecolsAdd" :data="productList" :opwidth="200" height="calc(100vh - 300px)" :width="true" :custom="true" fixedName="operation">
+              <div class="flex-align-center">
+                <el-input size="small"  suffix-icon="el-icon-search" style="width: 200px;margin-bottom: 10px" v-model="params.content.where.condition" placeholder="产品名称,编号" @keyup.enter.native="productData(params.content.pageNumber = 1)" @clear="productData(params.content.pageNumber = 1)" clearable></el-input>&nbsp;
+              </div>
+              <tableNewLayout :layout="tablecolsAdd" :data="productList" :opwidth="200" height="calc(100vh - 350px)" :width="true" :custom="true" fixedName="operation">
                 <template v-slot:customcol="scope">
                 <template v-slot:customcol="scope">
                   <div v-if="scope.column.columnname === 'itemclass'">
                   <div v-if="scope.column.columnname === 'itemclass'">
                      <span v-for="(item,index) in scope.column.data.itemclass" :key="index">
                      <span v-for="(item,index) in scope.column.data.itemclass" :key="index">
@@ -102,7 +105,7 @@
                   <el-button type="text" size="small" @click="addProduct(scope.data)">{{$t('添 加')}}</el-button>
                   <el-button type="text" size="small" @click="addProduct(scope.data)">{{$t('添 加')}}</el-button>
                 </template>
                 </template>
               </tableNewLayout>
               </tableNewLayout>
-              <div style="margin-top:16px;float:right">
+              <div style="float:right">
                 <el-pagination
                 <el-pagination
                     background
                     background
                     @size-change="handleSizeChange"
                     @size-change="handleSizeChange"
@@ -208,6 +211,7 @@ export default {
         tag: []
         tag: []
       }
       }
       this.tableData = []
       this.tableData = []
+      this.params.content.where.condition  = ''
     },
     },
     async productData(){
     async productData(){
       this.params.content.where.type = true
       this.params.content.where.type = true

+ 1 - 2
src/HDrpManagement/prodectFileData/components/relationDel.vue

@@ -16,9 +16,8 @@ export default {
     async deleteRow() {
     async deleteRow() {
       const res = await this.$api.requested({
       const res = await this.$api.requested({
         "id": "20220926102203",
         "id": "20220926102203",
-        "version":1,
         "content": {
         "content": {
-          "plm_technicalinfo_itemid":this.data.plm_technicalinfo_itemid
+          "plm_technicalinfo_itemids":[this.data.plm_technicalinfo_itemid]
         }
         }
       })
       })
       this.tool.showMessage(res, () => {
       this.tool.showMessage(res, () => {

+ 5 - 2
src/HDrpManagement/prodectFileData/components/relationList.vue

@@ -1,7 +1,7 @@
 <template>
 <template>
   <div>
   <div>
     <search :placeholder="placeholder" @searchActive="searchActive"></search>
     <search :placeholder="placeholder" @searchActive="searchActive"></search>
-    <table-new-layout :layout="tablecols" :data="list" :opwidth="200" :custom="true" :width="true" :height="list.length <= 5?'300px':tableHieght">
+    <table-new-layout :layout="tablecols" :data="list" :checkbox="checkbox" :opwidth="200" :custom="true" :width="true" :height="list.length <= 5?'300px':tableHieght" @selectionChange="selectionChange">
       <template v-slot:customcol="scope">
       <template v-slot:customcol="scope">
         <div v-if="scope.column.columnname === 'isonsale' ">
         <div v-if="scope.column.columnname === 'isonsale' ">
           <span v-if="scope.column.data[scope.column.columnname] === 0"
           <span v-if="scope.column.data[scope.column.columnname] === 0"
@@ -52,7 +52,7 @@
 import search from './search'
 import search from './search'
 export default {
 export default {
   name: "relationList",
   name: "relationList",
-  props:["id"],
+  props:["id","checkbox"],
   data(){
   data(){
     return {
     return {
       placeholder:'商品名称',
       placeholder:'商品名称',
@@ -104,6 +104,9 @@ export default {
     searchActive(data){
     searchActive(data){
       this.params.content.where.condition = data
       this.params.content.where.condition = data
       this.listData()
       this.listData()
+    },
+    selectionChange(list){
+      this.$emit('selectionChange',list)
     }
     }
   },
   },
   created() {
   created() {

+ 32 - 4
src/HDrpManagement/prodectFileData/modules/relation.vue

@@ -1,10 +1,11 @@
 <template>
 <template>
   <div >
   <div >
     <div class="container normal-panel normal-margin">
     <div class="container normal-panel normal-margin">
-      <add :plm_technicalinfoid="this.$route.query.id" @addSuccess="onSuccess"></add>
+      <add :plm_technicalinfoid="this.$route.query.id" @addSuccess="onSuccess" class="inline-16"></add>
+      <el-button type="primary" @click="onDeletes" size="small" :disabled="selectList.length == 0">批量删除</el-button>
     </div>
     </div>
     <div class="container normal-panel " style="padding-top: 0px">
     <div class="container normal-panel " style="padding-top: 0px">
-      <relation_list ref="list" :id="this.$route.query.id">
+      <relation_list ref="list" :id="this.$route.query.id" :checkbox="true" @selectionChange="selectionChange">
         <template v-slot:del="scope">
         <template v-slot:del="scope">
           <relationDel v-if="tool.checkAuth($route.name,'delete')" :data="scope.data" :type="'text'" @deleteSuccess="onSuccess"></relationDel>
           <relationDel v-if="tool.checkAuth($route.name,'delete')" :data="scope.data" :type="'text'" @deleteSuccess="onSuccess"></relationDel>
         </template>
         </template>
@@ -21,7 +22,7 @@ export default {
   name: "relation",
   name: "relation",
   data() {
   data() {
     return {
     return {
-
+      selectList:[]
     }
     }
   },
   },
   components:{
   components:{
@@ -31,7 +32,34 @@ export default {
   },
   },
   methods:{
   methods:{
     onSuccess(){
     onSuccess(){
-      this.$refs.list.listData()
+      this.$refs.list.listData(this.$refs.list.params.content.pageNumber = 1)
+    },
+    selectionChange(data){
+      this.selectList = []
+      this.selectList = data.map(item=>item.plm_technicalinfo_itemid)
+    },
+    onDeletes(){
+      this.$confirm('是否确认批量删除关联商品?', '提示', {
+        confirmButtonText: '确定',
+        cancelButtonText: '取消',
+        type: 'warning'
+      }).then(async () => {
+        const res = await this.$api.requested({
+          "id": "20220926102203",
+          "content": {
+            "plm_technicalinfo_itemids": this.selectList
+          },
+        })
+        this.tool.showMessage(res,()=>{
+          this.selectList = []
+          this.onSuccess()
+        })
+      }).catch(() => {
+        this.$message({
+          type: 'info',
+          message: '已取消删除'
+        });
+      });
     }
     }
   }
   }
 }
 }

+ 2 - 2
src/HManagement/marketing2/agent/details/index.vue

@@ -9,7 +9,7 @@
     turnPageId="20221011144903"
     turnPageId="20221011144903"
     idname="sa_agentsid"
     idname="sa_agentsid"
     :tags="[]"
     :tags="[]"
-    :tabs="['经销商团队','授权营销类别','授权领域','授权标准','账户余额查询','地址管理','财务信息','银行卡信息','关联合同','联系人管理','业绩目标','代理区域']"
+    :tabs="['经销商团队','授权营销类别','授权领域','授权标准','账户余额查询','地址管理','财务信息','银行卡信息','关联合同','联系人管理','业绩目标','管辖区域']"
     @pageChange="pageChange"
     @pageChange="pageChange"
     @onEditSuccess="queryMainData($route.query.id)">
     @onEditSuccess="queryMainData($route.query.id)">
     <div slot="tags">
     <div slot="tags">
@@ -90,7 +90,7 @@
       <agent-address :mainData="mainData"></agent-address>
       <agent-address :mainData="mainData"></agent-address>
     </div>
     </div>
     <div slot="slot6">
     <div slot="slot6">
-      <financial :mainData="mainData"></financial>
+      <financial :mainData="mainData" height="calc(100vh - 445px)"></financial>
     </div>
     </div>
     <div slot="slot7">
     <div slot="slot7">
        <bankInfo :data="mainData" ref="bank">
        <bankInfo :data="mainData" ref="bank">

+ 8 - 8
src/HManagement/marketing2/agent/details/modules/saleclass/index.vue

@@ -1,7 +1,7 @@
 <template>
 <template>
   <div>
   <div>
-    <add-sale-class class="normal-margin inline-16" :data="data" @addSuccess="getClassList" v-if="tool.checkAuth($route.name,'classAdd') "/>
-    <el-button type="primary" size="mini" v-if="tool.checkAuth($route.name,'classAdd')" :disabled="!selectRows.length" @click="deleteRow(selectRows,true)">{{$t('删 除')}}</el-button>
+    <add-sale-class  class="normal-margin inline-16" :data="data" @addSuccess="getClassList" v-if="tool.checkAuth($route.name,'classAdd') && data.saleclassauth"/>
+    <el-button type="primary" size="mini" v-if="tool.checkAuth($route.name,'classAdd') && data.saleclassauth" :disabled="!selectRows.length" @click="deleteRow(selectRows,true)">删 除</el-button>
     <el-table
     <el-table
         :data="saleClassList"
         :data="saleClassList"
         @select="selectRow"
         @select="selectRow"
@@ -20,13 +20,13 @@
         </el-table-column>
         </el-table-column>
         <el-table-column
         <el-table-column
           prop="brandname"
           prop="brandname"
-          :label="$t('品牌')"
+          label="品牌"
           width="100">
           width="100">
         </el-table-column>
         </el-table-column>
         <el-table-column
         <el-table-column
-          :label="$t('操作')">
+          label="操作">
           <template slot-scope="scope">
           <template slot-scope="scope">
-            <Del v-if="tool.checkAuth($route.name,'classDel')" :id="scope.row.sys_enterprise_saleclassid" @onSuccess="getClassList"/>
+            <Del v-if="tool.checkAuth($route.name,'classDel') && data.saleclassauth" :id="scope.row.sys_enterprise_saleclassid" @onSuccess="getClassList"/>
           </template>
           </template>
         </el-table-column>
         </el-table-column>
     </el-table>
     </el-table>
@@ -76,9 +76,9 @@ export default {
       this.selectRows = data.map(item=>item.sys_enterprise_saleclassid)
       this.selectRows = data.map(item=>item.sys_enterprise_saleclassid)
     },
     },
     deleteRow (idArr) {
     deleteRow (idArr) {
-      this.$confirm('确定删除当前选中数据吗?',this.$t('提示'),{
-        confirmButtonText:this.$t('确定'),
-        cancelButtonText:this.$t('取消'),
+      this.$confirm('确定删除当前选中数据吗?','提示',{
+        confirmButtonText:'确定',
+        cancelButtonText:'取消',
         type:'warning'
         type:'warning'
       }).then(() => {
       }).then(() => {
         this.$api.requested({
         this.$api.requested({

+ 1 - 0
src/HManagement/marketing2/agent/details/modules/salescope/modules/add.vue

@@ -31,6 +31,7 @@ export default {
   },
   },
   methods:{
   methods:{
     async query_arealist() {
     async query_arealist() {
+      this.value = []
       const res = await this.$api.requested({
       const res = await this.$api.requested({
         "classname": "system.tools",
         "classname": "system.tools",
         "method": "query_arealist",
         "method": "query_arealist",

+ 4 - 4
src/HManagement/marketing2/agent/details/modules/salescope/modules/edit.vue

@@ -1,7 +1,7 @@
 <template>
 <template>
   <div class="inline-16">
   <div class="inline-16">
-    <el-button size="small" type="text" @click="query_arealist(dialogVisible = true)">{{$t('编 辑')}}</el-button>
-    <el-dialog title="编辑管辖区域" :visible.sync="dialogVisible" width="400px">
+    <el-button size="small" type="text" @click="query_arealist(dialogVisible = true)">编 辑</el-button>
+    <el-dialog title="编辑管辖区域" append-to-body :visible.sync="dialogVisible" width="400px">
       <el-cascader
       <el-cascader
         style="width:100%"
         style="width:100%"
         class="width-240"
         class="width-240"
@@ -12,8 +12,8 @@
         @change="cascaderChange">
         @change="cascaderChange">
       </el-cascader>
       </el-cascader>
       <div slot="footer" class="dialog-footer">
       <div slot="footer" class="dialog-footer">
-        <el-button size="small" @click="dialogVisible = false">{{$t('取 消')}}</el-button>
-        <el-button size="small" type="primary" @click="submit()">{{$t('确 定')}}</el-button>
+        <el-button size="small" @click="dialogVisible = false">取 消</el-button>
+        <el-button size="small" type="primary" @click="submit()">确 定</el-button>
       </div>
       </div>
     </el-dialog>
     </el-dialog>
   </div>
   </div>

Разлика између датотеке није приказан због своје велике величине
+ 39 - 4
src/HManagement/siteManage/securityConfig/index.vue


+ 23 - 23
src/HManagement/siteManage/tagManage/index.vue

@@ -15,7 +15,7 @@
       <div slot="custom">
       <div slot="custom">
         <div style="disply:flex">
         <div style="disply:flex">
           <span style="font-size:14px;color:#666666">业务对象: </span>
           <span style="font-size:14px;color:#666666">业务对象: </span>
-            <el-select v-model="selectTarget" style="margin-right:10px" :placeholder="$t('请选择')" size="small" @change="change">
+            <el-select v-model="selectTarget" style="margin-right:10px" placeholder="请选择" size="small" @change="change">
             <el-option
             <el-option
               v-for="item in objectList"
               v-for="item in objectList"
               :key="item.sys_systemtagid"
               :key="item.sys_systemtagid"
@@ -42,16 +42,7 @@
       </template>
       </template>
       <template v-slot:tbOpreation="scope">
       <template v-slot:tbOpreation="scope">
         <Edit class="inline-16" v-if="tool.checkAuth($route.name,'update')" :allData="allData.filter(item=>item.tag!=scope.data.data.tag)" @onSuccess="$refs.basicLayout.listData()" :data="scope.data.data"/>
         <Edit class="inline-16" v-if="tool.checkAuth($route.name,'update')" :allData="allData.filter(item=>item.tag!=scope.data.data.tag)" @onSuccess="$refs.basicLayout.listData()" :data="scope.data.data"/>
-        <!-- <mutextage
-          class="inline-16"
-          :tagData="selectTarget"
-          :allData="allData.filter(item=>item.tag!=scope.data.data.tag)"
-          :rowData="scope.data.data"
-          @onSuccess="$refs.basicLayout.listData()"
-           v-if="tool.checkAuth($route.name,'update')"/> -->
-          <el-popconfirm :title="$t('确定删除当前数据吗')+'?'" @confirm="deleteRow(scope.data.data)">
-            <el-button slot="reference" size="mini" type="text" v-if="tool.checkAuth($route.name,'delete') && !scope.data.data.issystem">{{$t('删 除')}}</el-button>
-          </el-popconfirm>
+        <el-button  size="mini" type="text" v-if="tool.checkAuth($route.name,'delete') && scope.data.data.issystem == 0" @click="deleteRow(scope.data.data)">删 除</el-button>
       </template>
       </template>
     </basicLayout>
     </basicLayout>
   </div>
   </div>
@@ -82,21 +73,30 @@ export default {
     this.getObjectList()
     this.getObjectList()
   },
   },
   methods:{
   methods:{
-    async deleteRow (data) {
-      let res = await this.$api.requested({
-        "id":20221013104601,
-        "content": {
-          "sys_systemtagdetailids": [data.sys_systemtagdetailid],
-        }
-      })
-      console.log(res);
-      this.tool.showMessage(res,() => {
-        this.$refs.basicLayout.listData()
-      })
+     deleteRow (data) {
+      this.$confirm('确定删除当前数据吗?', '提示', {
+        confirmButtonText: '确定',
+        cancelButtonText: '取消',
+        type: 'warning'
+      }).then(async() => {
+        let res = await this.$api.requested({
+          "id":20221013104601,
+          "content": {
+            "sys_systemtagdetailids": [data.sys_systemtagdetailid],
+          }
+        })
+        this.tool.showMessage(res,() => {
+          this.$refs.basicLayout.listData(this.$refs.basicLayout.param.content.pageNumber = 1)
+        })
+      }).catch(() => {
+        this.$message({
+          type: 'info',
+          message: '已取消删除'
+        });
+      });
     },
     },
     listData (data) {
     listData (data) {
       this.allData = data
       this.allData = data
-      console.log(data);
 
 
     },
     },
     list (param) {
     list (param) {

+ 10 - 10
src/SManagement/setenterpriseInfo/index.vue

@@ -1,48 +1,48 @@
 <template>
 <template>
     <normalLayout>
     <normalLayout>
       <div class="container" slot="content">
       <div class="container" slot="content">
-        <!-- <el-button class="normal-margin" type="primary" size="small">{{$t('编 辑')}}</el-button> -->
+        <!-- <el-button class="normal-margin" type="primary" size="small">编 辑</el-button> -->
 <!--        <editInfo class="normal-margin" :data="enterpriseInfo" :btnType="'primary'" btnSize="small" :hideGrade="true" @onSuccess="enterpriseData"></editInfo>-->
 <!--        <editInfo class="normal-margin" :data="enterpriseInfo" :btnType="'primary'" btnSize="small" :hideGrade="true" @onSuccess="enterpriseData"></editInfo>-->
         <el-descriptions class="normal-margin" :labelStyle="{width:'120px'}" title="" :column="2" size="medium" border>
         <el-descriptions class="normal-margin" :labelStyle="{width:'120px'}" title="" :column="2" size="medium" border>
           <el-descriptions-item>
           <el-descriptions-item>
             <template slot="label">
             <template slot="label">
-              {{$t('企业名称')}}
+              企业名称
             </template>
             </template>
             {{enterpriseInfo.enterprisename ? enterpriseInfo.enterprisename : '--'}}
             {{enterpriseInfo.enterprisename ? enterpriseInfo.enterprisename : '--'}}
           </el-descriptions-item>
           </el-descriptions-item>
           <el-descriptions-item>
           <el-descriptions-item>
             <template slot="label">
             <template slot="label">
-              {{$t('企业简称')}}
+              企业简称
             </template>
             </template>
             {{enterpriseInfo.abbreviation ? enterpriseInfo.abbreviation : '--'}}
             {{enterpriseInfo.abbreviation ? enterpriseInfo.abbreviation : '--'}}
           </el-descriptions-item>
           </el-descriptions-item>
           <el-descriptions-item>
           <el-descriptions-item>
             <template slot="label">
             <template slot="label">
-              {{$t('联系人')}}
+              联系人
             </template>
             </template>
             {{enterpriseInfo.contact ? enterpriseInfo.contact : '--'}}
             {{enterpriseInfo.contact ? enterpriseInfo.contact : '--'}}
           </el-descriptions-item>
           </el-descriptions-item>
           <el-descriptions-item>
           <el-descriptions-item>
             <template slot="label">
             <template slot="label">
-              {{$t('联系电话')}}
+              联系电话
             </template>
             </template>
             {{enterpriseInfo.phonenumber ? enterpriseInfo.phonenumber : '--'}}
             {{enterpriseInfo.phonenumber ? enterpriseInfo.phonenumber : '--'}}
           </el-descriptions-item>
           </el-descriptions-item>
           <el-descriptions-item>
           <el-descriptions-item>
             <template slot="label">
             <template slot="label">
-              {{$t('地址')}}
+              地址
             </template>
             </template>
             {{enterpriseInfo.province}}{{enterpriseInfo.city}}{{enterpriseInfo.county}}{{enterpriseInfo.address}}
             {{enterpriseInfo.province}}{{enterpriseInfo.city}}{{enterpriseInfo.county}}{{enterpriseInfo.address}}
           </el-descriptions-item>
           </el-descriptions-item>
         </el-descriptions>
         </el-descriptions>
         <el-tabs v-model="activeName">
         <el-tabs v-model="activeName">
-          <el-tab-pane :label="$t(`收货地址`)" name="first">
+          <el-tab-pane label="收货地址" name="first">
             <setAddress :mainData="enterpriseInfo"></setAddress>
             <setAddress :mainData="enterpriseInfo"></setAddress>
           </el-tab-pane>
           </el-tab-pane>
-          <el-tab-pane :label="$t(`财务信息`)" name="second">
-            <financial :mainData="enterpriseInfo"></financial>
+          <el-tab-pane label="财务信息" name="second">
+            <financial :mainData="enterpriseInfo" height="calc(100vh - 500px)"></financial>
           </el-tab-pane>
           </el-tab-pane>
-          <el-tab-pane :label="$t('附件')" name="third">
+          <el-tab-pane label="附件" name="third">
             <attachment :mainData="enterpriseInfo"></attachment>
             <attachment :mainData="enterpriseInfo"></attachment>
           </el-tab-pane>
           </el-tab-pane>
         </el-tabs>
         </el-tabs>

+ 23 - 51
src/components/financialInfo/index.vue

@@ -4,7 +4,7 @@
     <add class="inline-16" :data="mainData" @onSuccess="queryfinancialinfo"></add>
     <add class="inline-16" :data="mainData" @onSuccess="queryfinancialinfo"></add>
     <el-input
     <el-input
         style="width:300px"
         style="width:300px"
-        :placeholder="$t('请输入内容')"
+        placeholder="请输入内容"
         v-model="search"
         v-model="search"
         clearable
         clearable
         @clear="clearData()"
         @clear="clearData()"
@@ -12,53 +12,21 @@
         @keyup.enter.native="queryClick()">
         @keyup.enter.native="queryClick()">
       <i slot="prefix" class="el-icon-search" @click="queryClick()"></i>
       <i slot="prefix" class="el-icon-search" @click="queryClick()"></i>
     </el-input>
     </el-input>
-    <el-table
-        :header-cell-style="{background:'#EEEEEE',color:'#333'}"
-      :data="tableData"
-      stripe
-      size="mini"
-      style="width: 100%"
-      border>
-      <el-table-column
-        prop="address"
-        :label="$t('开票地址')">
-        <template slot-scope="scope">
-          {{scope.row.address}}&nbsp;<i style="color:red" v-if="scope.row.isdefault === 1" class="el-icon-place"></i>
-        </template>
-      </el-table-column>
-      <el-table-column
-        prop="enterprisename"
-        :label="$t('抬头')">
-      </el-table-column>
-      <el-table-column
-        prop="taxno"
-        :label="$t('税号')">
-      </el-table-column>
-      <el-table-column
-        prop="bank"
-        :label="$t('开户行')">
-      </el-table-column>
-      <el-table-column
-        prop="bankcardno"
-        :label="$t('开户账号')">
-      </el-table-column>
-      <el-table-column
-        prop="phonenumber"
-        :label="$t('联系电话')">
-      </el-table-column>
-      <el-table-column
-        prop="remarks"
-        :label="$t('备注说明')">
-      </el-table-column>
-      <el-table-column
-        :label="$t('操作')"
-        width="100">
-        <template slot-scope="scope">
-          <edit class="inline-16" :data="scope.row" @onSuccess="queryfinancialinfo"></edit>
-          <el-button type="text" size="mini" @click="deleteRow(scope.row)">{{$t('删 除')}}</el-button>
-        </template>
-      </el-table-column>
-    </el-table>
+    <tableNewLayout :layout="tablecols" :data="tableData" :opwidth="200" :height="height" :width="true" :custom="true">
+      <template v-slot:customcol="scope">
+        <div v-if="scope.column.data[[scope.column.columnname]] == 'address'">
+          {{scope.column.data[[scope.column.columnname]]}}
+          <i style="color:red" v-if="scope.row.isdefault === 1" class="el-icon-place"></i>
+        </div>
+        <div v-else>
+          {{scope.column.data[[scope.column.columnname]] || scope.column.columnname === 'operation'?scope.column.data[[scope.column.columnname]]:'--'}}
+        </div>
+      </template>
+      <template v-slot:opreation="scope">
+        <edit class="inline-16" :data="scope.data" @onSuccess="queryfinancialinfo"></edit>
+        <el-button type="text" size="mini" @click="deleteRow(scope.data)">删 除</el-button>
+      </template>
+    </tableNewLayout>
     <div class="container normal-panel" style="text-align:right">
     <div class="container normal-panel" style="text-align:right">
       <el-pagination
       <el-pagination
         background
         background
@@ -79,10 +47,11 @@ import add from './modules/add.vue'
 import edit from './modules/edit.vue'
 import edit from './modules/edit.vue'
 
 
 export default {
 export default {
-  props:['mainData'],
+  props:['mainData','height'],
   data () {
   data () {
     return {
     return {
       search:'',
       search:'',
+      tablecols:[],
       tableData:[],
       tableData:[],
       param:{
       param:{
         "id": 20221013160602,
         "id": 20221013160602,
@@ -129,12 +98,12 @@ export default {
         },
         },
       })
       })
       this.tool.showMessage(res,()=>{
       this.tool.showMessage(res,()=>{
-        this.queryfinancialinfo()
+        this.queryfinancialinfo(this.param.content.pageNumber = 1)
       })
       })
     },
     },
     clearData(){
     clearData(){
       this.search = ""
       this.search = ""
-      this.queryfinancialinfo()
+      this.queryfinancialinfo(this.param.content.pageNumber = 1)
     },
     },
     queryClick(){
     queryClick(){
       this.param.content.where.condition = this.search
       this.param.content.where.condition = this.search
@@ -144,6 +113,9 @@ export default {
   },
   },
   mounted () {
   mounted () {
     this.queryfinancialinfo()
     this.queryfinancialinfo()
+  },
+  created() {
+    this.tablecols = this.tool.tabelCol(this.$route.name).FinancialInforTable.tablecols
   }
   }
 }
 }
 
 

Неке датотеке нису приказане због велике количине промена