Browse Source

标准参数

Shan9312 10 months ago
parent
commit
b267c5f023

+ 25 - 1
src/lang/en/langModule/supplier.js

@@ -33,7 +33,31 @@ gysmz: "Supplier Name",
    pfmc: "Formula Name:",
    bzs: "Pennsylvania Sieve",
    zxz: "Min Value",
-  zdz:"Max Value"
+  zdz:"Max Value",
+
+  mc: "Pasture",
+sjlx: "Data Type",
+qqcs: "Query Parameters",
+xycs: "Response Parameters",
+fhzt: "Return Status",
+xxwb: "Message Text",
+qqdz: "Request Address",
+cjsj: "Creation Time",
+pf: "Formula" ,
+yl: "Ingredient",
+ylsx: "Ingredient Order",
+zbl1: "Self-mixed Feed - Feed Order",
+zbl2: "Self-mixed Feed - Feed Name",
+zbl3: "Self-mixed Feed - Feed Weight",
+sjzljz: "Actual Weight Modification Record",
+ylbm: "Ingredient Code",
+ylmc: "Ingredient Name",
+yllx: "Ingredient Type",
+yxwcc: "Tolerance for Error",
+ccl: "Stock",
+flsx: "Feeding Order",
+slsx: "Feed Order",
+wlzl: "Feed Weight",
 
 
 

+ 32 - 1
src/lang/zn/langModule/supplier.js

@@ -31,7 +31,38 @@ fbsy3:"粪便筛三层(%)",
  pfmc:"配方名称:",
  bzs:"宾州筛",
  zxz:"最小值",
- zdz:"最大值"
+ zdz:"最大值",
+
+ //
+mc:"牧场",
+sjlx:"数据类型",
+qqcs:"请求参数",
+xycs:"响应参数",
+fhzt:"返回状态",
+xxwb:"消息文本",
+qqdz:"请求地址",
+cjsj:"创建时间",
+pf:"配方",
+yl:"原料",
+ylsx:"原料顺序",
+zbl1:"自拌料-饲料顺序",
+zbl2:"自拌料-饲料名称",
+zbl3:"自拌料-饲料重量",
+sjzljz:"实际重量修改记录",
+
+ylbm:"原料编码",
+ylmc:"原料名称",
+yllx:"原料类型",
+yxwcc:"允许误差",
+ccl:"存栏",
+flsx:"发料顺序",
+slsx:"饲料顺序",
+wlzl:"饲料重量",
+
+
+
+
+
 
 
 

+ 38 - 21
src/views/basicData/sapLog/index.vue

@@ -1,10 +1,12 @@
 <template>
   <div class="app-container">
     <div class="search">
-      <el-select v-model="table.getdataListParm.parammaps.pastureId" filterable placeholder="牧场" class="filter-item" style="width: 150px;" clearable>
+      <el-select v-model="table.getdataListParm.parammaps.pastureId" filterable
+:placeholder="$t('supplier.mc')" class="filter-item" style="width: 150px;" clearable>
         <el-option v-for="item in pastureList" :key="item.pastureid" :label="item.pastureName" :value="item.pastureid" />
       </el-select>
-      <el-select v-model="table.getdataListParm.parammaps.msgtype" placeholder="数据类型" class="filter-item" style="width: 150px;" clearable>
+      <el-select v-model="table.getdataListParm.parammaps.msgtype"
+:placeholder="$t('supplier.sjlx')" class="filter-item" style="width: 150px;" clearable>
         <el-option v-for="item in dataTypeList" :key="item.Id" :label="item.value" :value="item.Id" />
       </el-select>
       <el-date-picker v-model="table.getdataListParm.parammaps.inputDatetime" class="inputDatetime filter-item" type="daterange" :range-separator="$t('common.to')"  :start-placeholder="$t('common.startTime')" :end-placeholder="$t('common.endTime')" style="width: 250px;" />
@@ -26,13 +28,15 @@
         class="elTable table-fixed"
       >
         <el-table-column :label="$t('feedingEfficiency.mc')"min-width="90px" align="center" prop="pastureName" />
-        <el-table-column label="数据类型" min-width="90px" align="center"  prop="msgtypeName">
+        <el-table-column
+:label="$t('supplier.sjlx')" min-width="90px" align="center"  prop="msgtypeName">
           <template slot-scope="scope">
             <span >{{scope.row.msgtypeName}}</span>
             <!-- <span @click="clickType(scope.row)">{{scope.row.msgtypeName}}</span> -->
           </template>
         </el-table-column>
-        <el-table-column label="请求参数" min-width="120px" align="center">
+        <el-table-column
+:label="$t('supplier.qqcs')" min-width="120px" align="center">
           <template slot-scope="scope">
               <el-tooltip placement="top" :open-delay="1000">
                 <div slot="content">
@@ -42,7 +46,8 @@
               </el-tooltip>
             </template>
         </el-table-column>
-        <el-table-column label="响应参数" min-width="120px" align="center">
+        <el-table-column
+:label="$t('supplier.xycs')" min-width="120px" align="center">
           <template slot-scope="scope">
               <el-tooltip placement="top" :open-delay="1000">
                 <div slot="content">
@@ -52,10 +57,14 @@
               </el-tooltip>
             </template>
         </el-table-column>
-        <el-table-column label="返回状态" min-width="90px" align="center" prop="status" />
-        <el-table-column label="消息文本" min-width="90px" align="center" prop="msgtext" />
-        <el-table-column label="请求地址" min-width="90px" align="center" prop="url" />
-        <el-table-column label="创建时间" min-width="90px" align="center" prop="createTime" />
+        <el-table-column
+:label="$t('supplier.fhzt')" min-width="90px" align="center" prop="status" />
+        <el-table-column
+:label="$t('supplier.xxwb')" min-width="90px" align="center" prop="msgtext" />
+        <el-table-column
+:label="$t('supplier.qqdz')" min-width="90px" align="center" prop="url" />
+        <el-table-column
+:label="$t('supplier.cjsj')" min-width="90px" align="center" prop="createTime" />
       </el-table>
     </div>
 
@@ -111,12 +120,16 @@
           >
             <el-table-column :label="$t('formulationEvaluation.xh')" min-width="90px" align="center" prop="pastureName" />
             <el-table-column  :label="$t('errorAnalysis.feedName')"  min-width="90px" align="center" prop="status" />
-            <el-table-column label="原料编码" min-width="90px" align="center" prop="msgtext" />
-            <el-table-column label="原料名称" min-width="90px" align="center" prop="url" />
-            <el-table-column label="原料类型" min-width="90px" align="center" prop="createTime" />
+            <el-table-column
+:label="$t('supplier.ylbm')" min-width="90px" align="center" prop="msgtext" />
+            <el-table-column
+:label="$t('supplier.ylmc')" min-width="90px" align="center" prop="url" />
+            <el-table-column
+:label="$t('supplier.yllx')" min-width="90px" align="center" prop="createTime" />
             <el-table-column :label="$t('premixedPlan.weight')" min-width="90px" align="center" prop="createTime" />
             <el-table-column :label="$t('formulationEvaluation.sort')" min-width="90px" align="center" prop="createTime" />
-            <el-table-column label="允许误差" min-width="90px" align="center" prop="createTime" />
+            <el-table-column
+:label="$t('supplier.yxwcc')" min-width="90px" align="center" prop="createTime" />
           </el-table>
         </div>
         <div class="table" v-else-if="type.temp.msgtypeName == '发料'">
@@ -138,21 +151,25 @@
             <el-table-column :label="$t('errorAnalysis.isTrainNumber')"  min-width="90px" align="center" prop="msgtext" />
             <el-table-column :label="$t('errorAnalysis.projname')" min-width="90px" align="center" prop="url" />
             <el-table-column :label="$t('errorAnalysis.pen')" min-width="90px" align="center" prop="createTime" />
-            <el-table-column label="存栏" min-width="90px" align="center" prop="createTime" />
-            <el-table-column label="发料顺序" min-width="90px" align="center" prop="createTime" />
+            <el-table-column
+:label="$t('supplier.ccl')" min-width="90px" align="center" prop="createTime" />
+            <el-table-column
+:label="$t('supplier.flsx')" min-width="90px" align="center" prop="createTime" />
             <el-table-column  :label="$t('errorAnalysis.llzl')"  min-width="90px" align="center" prop="createTime" />
             <el-table-column  :label="$t('errorAnalysis.acWeight')"  min-width="90px" align="center" prop="createTime" />
             <el-table-column :label="$t('errorAnalysis.startTime')"  min-width="90px" align="center" prop="createTime" />
             <el-table-column :label="$t('errorAnalysis.endTime')"  min-width="90px" align="center" prop="createTime" />
             <el-table-column  :label="$t('errorAnalysis.Driver')"  min-width="90px" align="center" prop="createTime" />
             <el-table-column  :label="$t('errorAnalysis.feedName')"  min-width="90px" align="center" prop="createTime" />
-            <el-table-column label="饲料顺序" min-width="90px" align="center" prop="createTime" />
+            <el-table-column
+:label="$t('supplier.slsx')" min-width="90px" align="center" prop="createTime" />
             <el-table-column :label="$t('InventoryManagement.silc')"    min-width="90px" align="center" prop="createTime" />
-            <el-table-column label="饲料重量" min-width="90px" align="center" prop="createTime" />
-            <el-table-column label="自拌料-饲料顺序" min-width="90px" align="center" prop="createTime" />
-            <el-table-column label="自拌料-饲料名称" min-width="90px" align="center" prop="createTime" />
-            <el-table-column label="自拌料-饲料重量" min-width="90px" align="center" prop="createTime" />
-            <el-table-column label="实际重量修改记录" min-width="90px" align="center" prop="createTime" />
+            <el-table-column
+:label="$t('supplier.wlzl')" min-width="90px" align="center" prop="createTime" />
+            <el-table-column :label="$t('supplier.zbl1')" min-width="90px" align="center" prop="createTime" />
+            <el-table-column :label="$t('supplier.zbl2')" min-width="90px" align="center" prop="createTime" />
+            <el-table-column :label="$t('supplier.zbl3')" min-width="90px" align="center" prop="createTime" />
+            <el-table-column :label="$t('supplier.sjzljz')"min-width="90px" align="center" prop="createTime" />
             <el-table-column :label="$t('formulationEvaluation.xgsj')" min-width="90px" align="center" prop="createTime" />
           </el-table>
         </div>

+ 2 - 1
src/views/formulationPlan/formulaDistribution/index.vue

@@ -115,7 +115,8 @@
         <el-tabs v-model="see.activeName" @tab-click="form_seeTabClick">
           <el-tab-pane label="下发记录" name="first">
             <div class="search">
-              <el-select v-model="see.tab1.table.getdataListParm.parammaps.pasturename" placeholder="牧场" class="filter-item" style="width: 120px;" clearable>
+              <el-select v-model="see.tab1.table.getdataListParm.parammaps.pasturename"
+:placeholder="$t('supplier.mc')" class="filter-item" style="width: 120px;" clearable>
                 <el-option v-for="item in formulaDistribution.pasture.list" :key="item.id" :label="item.pasturename" :value="item.pasturename" />
               </el-select>
               <el-button class="successBorder" @click="form_seeTab1Search">{{$t('common.query')}}</el-button>

+ 2 - 1
src/views/statisticalAnalysis/errorAnalysis/group/tab2.vue

@@ -7,7 +7,8 @@
         <el-button style="float: left;margin-bottom: 10px;" class="el-icon-arrow-right elIconArrowRight" :disabled="Nextdisabled" @click="handleNext" />
       </div>
       <div style="clear: both;">
-        <el-select v-model="table.getdataListParm.parammaps.pastureid" placeholder="牧场" class="filter-item" style="width: 120px;float: left;">
+        <el-select v-model="table.getdataListParm.parammaps.pastureid"
+:placeholder="$t('supplier.mc')" class="filter-item" style="width: 120px;float: left;">
           <el-option v-for="item in pastureList" :key="item.pastureid" :label="item.pasturename" :value="item.pastureid" />
         </el-select>
         <el-input v-model="table.getdataListParm.parammaps.tmrtname" style="width: 110px;float: left;"  :placeholder="$t('processAnalysis.tmrName')"   class="filter-item" clearable />

+ 2 - 1
src/views/statisticalAnalysis/errorAnalysis/group/tab3.vue

@@ -7,7 +7,8 @@
         <el-button style="float: left;margin-bottom: 10px;" :disabled="Nextdisabled" class="el-icon-arrow-right elIconArrowRight" @click="handleNext" />
       </div>
       <div style="clear: both; margin-top: 10px;">
-        <el-select v-model="table.getdataListParm.parammaps.pastureid" placeholder="牧场" class="filter-item" style="width: 110px;float: left;">
+        <el-select v-model="table.getdataListParm.parammaps.pastureid"
+:placeholder="$t('supplier.mc')" class="filter-item" style="width: 110px;float: left;">
           <el-option v-for="item in pastureList" :key="item.pastureid" :label="item.pasturename" :value="item.pastureid" />
         </el-select>
         <el-input v-model="table.getdataListParm.parammaps.tmrtname" style="width: 110px;float: left;"  :placeholder="$t('processAnalysis.tmrName')"   class="filter-item" clearable />

+ 2 - 1
src/views/statisticalAnalysis/feedingEfficiency/group/tab2.vue

@@ -1,7 +1,8 @@
 <template>
   <div class="app-container">
     <div class="search">
-      <el-select v-model="table.getdataListParm.parammaps.pastureid" placeholder="牧场" class="filter-item" style="width: 120px;" @change="changePasture">
+      <el-select v-model="table.getdataListParm.parammaps.pastureid"
+:placeholder="$t('supplier.mc')" class="filter-item" style="width: 120px;" @change="changePasture">
         <el-option v-for="item in pastureList" :key="item.pastureid" :label="item.pasturename" :value="item.pastureid" />
       </el-select>
       <el-date-picker v-model="table.getdataListParm.parammaps.date" :clearable="false" type="date" :placeholder="$t('dailyExecutionPlan.xzrq')"   style="width: 150px;" format="yyyy-MM-dd" value-format="yyyy-MM-dd" @change="changeTab2Date" />

+ 6 - 3
src/views/statisticalAnalysis/inventoryManagement/group/index.vue

@@ -4,7 +4,8 @@
     <el-tabs v-model="activeName" @tab-click="handleTabClick">
       <el-tab-pane :label="$t('InventoryManagement.kctj')"   name="first">
         <div class="search">
-          <el-select v-model="tab.table.getdataListParm.parammaps.pastureid" style="margin-right: 10px;margin-bottom:10px;width: 150px;" filterable placeholder="牧场" class="filter-item" clearable>
+          <el-select v-model="tab.table.getdataListParm.parammaps.pastureid" style="margin-right: 10px;margin-bottom:10px;width: 150px;" filterable
+:placeholder="$t('supplier.mc')" class="filter-item" clearable>
             <el-option v-for="item in pastureList" :key="item.pastureid" :label="item.pasturename" :value="item.pastureid" />
           </el-select>
           <el-date-picker v-model="tab.table.getdataListParm.parammaps.inputDatetime" :clearable="false" class="inputDatetime filter-item" type="daterange" :range-separator="$t('common.to')"  :start-placeholder="$t('common.startTime')" :end-placeholder="$t('common.endTime')" style="float: left;width: 250px;margin-bottom:10px;" :picker-options="pickerOptions" />
@@ -54,7 +55,8 @@
       </el-tab-pane>
       <el-tab-pane :label="$t('InventoryManagement.yltj')"   name="second">
         <div class="search">
-          <el-select v-model="tab2.table.getdataListParm.parammaps.pastureid" style="margin-right: 10px;margin-bottom:10px;width: 130px;" filterable placeholder="牧场" class="filter-item" clearable>
+          <el-select v-model="tab2.table.getdataListParm.parammaps.pastureid" style="margin-right: 10px;margin-bottom:10px;width: 130px;" filterable
+:placeholder="$t('supplier.mc')" class="filter-item" clearable>
             <el-option v-for="item in pastureList" :key="item.pastureid" :label="item.pasturename" :value="item.pastureid" />
           </el-select>
           <el-date-picker v-model="tab2.table.getdataListParm.parammaps.inputDatetime" :clearable="false" class="inputDatetime filter-item" type="daterange" :range-separator="$t('common.to')"  :start-placeholder="$t('common.startTime')" :end-placeholder="$t('common.endTime')" style="width: 250px;" :picker-options="pickerOptions" />
@@ -102,7 +104,8 @@
       </el-tab-pane>
       <el-tab-pane :label="$t('InventoryManagement.jgfx')"  name="third" >
         <div class="search">
-          <el-select v-model="tab3.table.getdataListParm.parammaps.pastureid" style="margin-right: 10px;margin-bottom:10px;width: 150px;" filterable placeholder="牧场" class="filter-item" clearable>
+          <el-select v-model="tab3.table.getdataListParm.parammaps.pastureid" style="margin-right: 10px;margin-bottom:10px;width: 150px;" filterable
+:placeholder="$t('supplier.mc')" class="filter-item" clearable>
             <el-option v-for="item in pastureList" :key="item.pastureid" :label="item.pasturename" :value="item.pastureid" />
           </el-select>
           <el-date-picker v-model="tab3.table.getdataListParm.parammaps.inputDatetime" class="inputDatetime filter-item" type="daterange" :range-separator="$t('common.to')"  :start-placeholder="$t('common.startTime')" :end-placeholder="$t('common.endTime')" style="width: 250px;" :picker-options="pickerOptions" />

+ 4 - 2
src/views/systemManagement/boardEchartManagement/index.vue

@@ -78,7 +78,8 @@
                   <span>{{ scope.row.emp }}</span>
                 </template>
               </el-table-column>
-              <el-table-column label="创建时间" min-width="90px" align="center">
+              <el-table-column
+:label="$t('supplier.cjsj')" min-width="90px" align="center">
                 <template slot-scope="scope">
                   <span>{{ scope.row.opratetime }}</span>
                 </template>
@@ -172,7 +173,8 @@
                   <span>{{ scope.row.emp }}</span>
                 </template>
               </el-table-column>
-              <el-table-column label="创建时间" min-width="90px" align="center">
+              <el-table-column
+:label="$t('supplier.cjsj')" min-width="90px" align="center">
                 <template slot-scope="scope">
                   <span>{{ scope.row.opratetime }}</span>
                 </template>

+ 4 - 2
src/views/systemManagement/boardEchartManagement2/index.vue

@@ -78,7 +78,8 @@
                   <span>{{ scope.row.emp }}</span>
                 </template>
               </el-table-column>
-              <el-table-column label="创建时间" min-width="90px" align="center">
+              <el-table-column
+:label="$t('supplier.cjsj')" min-width="90px" align="center">
                 <template slot-scope="scope">
                   <span>{{ scope.row.opratetime }}</span>
                 </template>
@@ -172,7 +173,8 @@
                   <span>{{ scope.row.emp }}</span>
                 </template>
               </el-table-column>
-              <el-table-column label="创建时间" min-width="90px" align="center">
+              <el-table-column
+:label="$t('supplier.cjsj')" min-width="90px" align="center">
                 <template slot-scope="scope">
                   <span>{{ scope.row.opratetime }}</span>
                 </template>

+ 2 - 1
src/views/systemManagement/customboard2/ChartPanel2/index.vue

@@ -31,7 +31,8 @@
             <el-option  v-for="item in dateTypeList" :key="item.id" :label="item.name" :value="item.id" ></el-option>
           </el-select>
 
-          <el-select v-model="tableObj.getDataParameters.parammaps.type" filterable placeholder="数据类型" class="filter-item" style="width: 120px;" clearable>
+          <el-select v-model="tableObj.getDataParameters.parammaps.type" filterable
+:placeholder="$t('supplier.sjlx')" class="filter-item" style="width: 120px;" clearable>
             <el-option v-for="item in typeList" :key="item.id" :label="item.name" :value="item.id" />
           </el-select>
           <el-select v-model="tableObj.getDataParameters.parammaps.dimension" @change="change_dimension" filterable placeholder="维度" class="filter-item" style="width: 120px;"  >

+ 2 - 1
src/views/systemManagement/labelManagement/index.vue

@@ -55,7 +55,8 @@
             <span>{{ scope.row.drivername }}</span>
           </template>
         </el-table-column>
-        <el-table-column label="创建时间" min-width="130px" align="center">
+        <el-table-column
+:label="$t('supplier.cjsj')" min-width="130px" align="center">
           <template slot-scope="scope">
             <span>{{ scope.row.drivername }}</span>
           </template>

+ 4 - 2
src/views/systemManagement/notificationManagement/index.vue

@@ -34,7 +34,8 @@
         </el-table-column>
         <el-table-column label="标题" min-width="100px" align="center" prop="rolename" />
         <el-table-column label="时间范围" min-width="100px" align="center" prop="rolename" />
-        <el-table-column label="创建时间" min-width="100px" align="center" prop="createdtime" />
+        <el-table-column
+:label="$t('supplier.cjsj')" min-width="100px" align="center" prop="createdtime" />
         <el-table-column label="创建人" min-width="100px" align="center" prop="createmp" />
         <el-table-column  :label="$t('errorAnalysis.cz')" align="center" width="180" class-name="small-padding fixed-width" fixed="right">
           <template slot-scope="{row}">
@@ -53,7 +54,8 @@
 
     <el-dialog :title="textMap[statisticsRead.dialogStatus]" :visible.sync="statisticsRead.dialogFormVisible" :close-on-click-modal="false" width="70%">
       <div class="search">
-        <el-select v-model="statisticsRead.getdataListParm.parammaps.enable" placeholder="牧场" class="filter-item" style="width: 120px;" clearable>
+        <el-select v-model="statisticsRead.getdataListParm.parammaps.enable"
+:placeholder="$t('supplier.mc')" class="filter-item" style="width: 120px;" clearable>
           <el-option v-for="item in pastureList" :key="item.id" :label="item.name" :value="item.id" />
         </el-select>
         <el-input v-model="statisticsRead.getdataListParm.parammaps.rolename" placeholder="用户" style="width: 180px;" class="filter-item" clearable />

+ 2 - 1
src/views/systemManagement/ranchInformation/index.vue

@@ -1,7 +1,8 @@
 <template>
   <div class="app-container">
     <div class="search">
-      <el-input v-model="table.getdataListParm.parammaps.pastureName" placeholder="牧场" style="width: 180px;" class="filter-item" clearable />
+      <el-input v-model="table.getdataListParm.parammaps.pastureName"
+:placeholder="$t('supplier.mc')" style="width: 180px;" class="filter-item" clearable />
       <el-select v-model="table.getdataListParm.parammaps.enable" :placeholder="$t('formulationEvaluation.sfqy')" class="filter-item" style="width: 120px;" clearable>
         <el-option v-for="item in enableList" :key="item.id" :label="item.name" :value="item.id" />
       </el-select>

+ 2 - 1
src/views/systemManagement/role/index.vue

@@ -47,7 +47,8 @@
             <el-input v-if="scope.row.Edit" v-model="scope.row.remark" type="textarea" :autosize="{ minRows: 1.3, maxRows: 4}" maxlength="32" style="width:95%;padding:10px 0;" />
           </template>
         </el-table-column>
-        <el-table-column label="创建时间" min-width="150px" align="center">
+        <el-table-column
+:label="$t('supplier.cjsj')" min-width="150px" align="center">
           <template slot-scope="scope">
             <span>{{ scope.row.createdtime }}</span>
           </template>

+ 2 - 1
src/views/systemManagement/user/index.vue

@@ -77,7 +77,8 @@
           </template>
         </el-table-column> -->
         <!-- 临时注释 -->
-        <el-table-column label="创建时间" min-width="110px" align="center">
+        <el-table-column
+:label="$t('supplier.cjsj')" min-width="110px" align="center">
           <template slot-scope="scope">
             <span>{{ scope.row.createdtime }}</span>
           </template>