sunyize vor 2 Jahren
Ursprung
Commit
7c7ee9b0a6

+ 6 - 14
src/views/lotCheck/modules/TaskCheckList.vue

@@ -67,12 +67,12 @@
 
           <!-- 操作按钮区域 -->
           <div class="table-operator">
-            <a-button type="primary" icon="download" @click="handleExportXls('客户列表')">导出</a-button>
-            <a-button   type="primary"   @click="handleOpen">转派<a-icon type="right" /></a-button>
+            <a-button type="primary" v-has="'lot:check:list:excel'" icon="download" @click="handleExportXls('客户列表')">导出</a-button>
+            <a-button   type="primary" v-has="'lot:check:list:transfer'"  @click="handleOpen">转派<a-icon type="right" /></a-button>
             <!-- 高级查询区域 -->
             <a-dropdown v-if="selectedRowKeys.length > 0">
               <a-menu slot="overlay">
-                <a-menu-item key="1" @click="batchDel" v-has="'task:check:list:delete'">
+                <a-menu-item key="1" @click="batchDel" v-has="'lot:check:list:delete'">
                   <a-icon type="delete"/>
                   删除
                 </a-menu-item>
@@ -114,7 +114,7 @@
               <template slot="action" slot-scope="text, record">
 
               <span v-has="'lot:task:check:list:upload:improve'" v-if="record.checkState == 0 || record.checkState == 1">
-                <a @click="showImproveAndUpload(record)">上传资料</a>
+                <a @click="showImproveAndUpload(record)">完善上传</a>
                 <a-divider type="vertical"/>
               </span>
 
@@ -141,7 +141,7 @@
               <a @click="transferOut(record)">回退转派</a>
               <a-divider type="vertical" />
             </span>
-                <span v-has="'task:check:list:selectDataDown'">
+                <span v-has="'lot:check:list:selectDataDown'">
                 <a @click="getFileUrls(record)">下载资料</a>
                 <a-divider type="vertical" />
               </span>
@@ -167,19 +167,11 @@
                         <a>详情</a>
                       </a-popconfirm>
                     </a-menu-item>
-
-                    <a-menu-item v-has="'task:check:list:delete'">
+                    <a-menu-item v-has="'lot:check:list:delete'">
                       <a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
                         <a>删除</a>
                       </a-popconfirm>
                     </a-menu-item>
-
-                    <a-menu-item v-has="'task:check:list:clear'">
-                      <a-popconfirm title="确定清空吗?" @confirm="() => dataDelete(record.id)">
-                        <a>清空</a>
-                      </a-popconfirm>
-                    </a-menu-item>
-
                   </a-menu>
                 </a-dropdown>
               </template>

+ 2 - 7
src/views/smscheck/modules/TaskCheckList.vue

@@ -67,8 +67,8 @@
 
           <!-- 操作按钮区域 -->
           <div class="table-operator">
-            <a-button type="primary" icon="download" @click="handleExportXls('客户列表')">导出</a-button>
-            <a-button   type="primary"   @click="handleOpen">转派<a-icon type="right" /></a-button>
+            <a-button type="primary" v-has="'task:check:list:excel'" icon="download" @click="handleExportXls('客户列表')">导出</a-button>
+            <a-button   type="primary" v-has="'task:check:list:transfer'"   @click="handleOpen">转派<a-icon type="right" /></a-button>
             <!-- 高级查询区域 -->
             <a-dropdown v-if="selectedRowKeys.length > 0">
               <a-menu slot="overlay">
@@ -157,11 +157,6 @@
                         <a>删除</a>
                       </a-popconfirm>
                     </a-menu-item>
-                    <a-menu-item v-has="'task:check:list:clear'">
-                      <a-popconfirm title="确定清空吗?" @confirm="() => dataDelete(record.id)">
-                        <a>清空</a>
-                      </a-popconfirm>
-                    </a-menu-item>
                   </a-menu>
                 </a-dropdown>
               </template>

+ 34 - 33
src/views/smscheck/modules/TaskUploadDataZG.vue

@@ -481,7 +481,7 @@
         </a-form-model-item>
       </div>
 
-      <a-form-model-item style="left: 0%;width: 90%;" label="上传资料备注:" v-bind="labelCol1Note">
+      <a-form-model-item style="left: 0%;width:80%;" label="上传资料备注:" v-bind="labelCol1Note">
         <span v-if="infoModel.contractDateResult==='1'">{{ infoModel.contractDateRemark }}</span>
         <a-textarea v-else style="height: 77px"  :disabled="infoModel.contractDateResult==='1'?true:false"
                     v-model="infoModel.contractDateRemark"
@@ -503,7 +503,7 @@
           :showUploadList="false"
           :beforeUpload="importBeforeUpload"
           @change="importHandleChange"
-          style='margin-left: 90px'
+           style='margin-left: 19%'
         >
           <a-button> <a-icon type="upload" /> 上传文件 </a-button>
         </a-upload>
@@ -622,7 +622,7 @@
           <a-tag class="font-size-14" color="orange">{{ infoModel.businessLicenseDateResultRemark }}</a-tag>
         </a-form-model-item>
       </div>
-      <a-form-model-item style="left: 0%;width: 90%;" label="上传资料备注:" v-bind="labelCol1Note">
+      <a-form-model-item style="left: 0%;width:80%;" label="上传资料备注:" v-bind="labelCol1Note">
         <span v-if="infoModel.businessLicenseDateResult==='1'">{{ infoModel.businessLicenseDateRemark }}</span>
         <a-textarea v-else style="height: 77px"  :disabled="infoModel.businessLicenseDateResult==='1'?true:false"
                     v-model="infoModel.businessLicenseDateRemark"
@@ -644,7 +644,7 @@
           :showUploadList="false"
           :beforeUpload="importBeforeUpload"
           @change="importHandleChange"
-          style='margin-left: 90px'
+           style='margin-left: 19%'
         >
           <a-button> <a-icon type="upload" /> 上传文件 </a-button>
         </a-upload>
@@ -758,7 +758,7 @@
           <a-tag class="font-size-14" color="orange">{{ infoModel.codeNumberDateResultRemark }}</a-tag>
         </a-form-model-item>
       </div>
-      <a-form-model-item style="left: 0%;width: 90%;" label="上传资料备注:" v-bind="labelCol1Note">
+      <a-form-model-item style="left: 0%;width:80%;" label="上传资料备注:" v-bind="labelCol1Note">
         <span v-if="infoModel.codeNumberDateResult==='1'">{{ infoModel.codeNumberDateRemark }}</span>
         <a-textarea v-else style="height: 77px"  :disabled="infoModel.codeNumberDateResult==='1'?true:false"
                     v-model="infoModel.codeNumberDateRemark"
@@ -780,7 +780,7 @@
           :showUploadList="false"
           :beforeUpload="importBeforeUpload"
           @change="importHandleChange"
-          style='margin-left: 90px'
+           style='margin-left: 19%'
         >
           <a-button> <a-icon type="upload" /> 上传文件 </a-button>
         </a-upload>
@@ -895,7 +895,7 @@
           <a-tag class="font-size-14" color="orange">{{ infoModel.filingsDateResultRemark }}</a-tag>
         </a-form-model-item>
       </div>
-      <a-form-model-item style="left: 0%;width: 90%;" label="上传资料备注:" v-bind="labelCol1Note">
+      <a-form-model-item style="left: 0%;width:80%;" label="上传资料备注:" v-bind="labelCol1Note">
         <span v-if="infoModel.filingsDateResult==='1'">{{ infoModel.filingsDateRemark }}</span>
         <a-textarea v-else style="height: 77px"  :disabled="infoModel.filingsDateResult==='1'?true:false"
                     v-model="infoModel.filingsDateRemark"
@@ -915,7 +915,7 @@
           :showUploadList="false"
           :beforeUpload="importBeforeUpload"
           @change="importHandleChange"
-          style='margin-left: 90px'
+           style='margin-left: 19%'
         >
           <a-button> <a-icon type="upload" /> 上传文件 </a-button>
         </a-upload>
@@ -1029,7 +1029,7 @@
           <a-tag class="font-size-14" color="orange">{{ infoModel.permitDateResultRemark }}</a-tag>
         </a-form-model-item>
       </div>
-      <a-form-model-item style="left: 0%;width: 90%;" label="上传资料备注:" v-bind="labelCol1Note">
+      <a-form-model-item style="left: 0%;width:80%;" label="上传资料备注:" v-bind="labelCol1Note">
         <span v-if="infoModel.permitDateResult==='1'">{{ infoModel.permitDateRemark }}</span>
         <a-textarea v-else style="height: 77px"  :disabled="infoModel.permitDateResult==='1'?true:false"
                     v-model="infoModel.permitDateRemark"
@@ -1050,7 +1050,7 @@
           :showUploadList="false"
           :beforeUpload="importBeforeUpload"
           @change="importHandleChange"
-          style='margin-left: 90px'
+           style='margin-left: 19%'
         >
           <a-button> <a-icon type="upload" /> 上传文件 </a-button>
         </a-upload>
@@ -1164,7 +1164,7 @@
           <a-tag class="font-size-14" color="orange">{{ infoModel.corporationCardResultRemark }}</a-tag>
         </a-form-model-item>
       </div>
-      <a-form-model-item style="left: 0%;width: 90%;" label="上传资料备注:" v-bind="labelCol1Note">
+      <a-form-model-item style="left: 0%;width:80%;" label="上传资料备注:" v-bind="labelCol1Note">
         <span v-if="infoModel.corporationCardResult==='1'">{{ infoModel.corporationCardRemark }}</span>
         <a-textarea v-else style="height: 77px"  :disabled="infoModel.corporationCardResult==='1'?true:false"
                     v-model="infoModel.corporationCardRemark"
@@ -1184,7 +1184,7 @@
           :showUploadList="false"
           :beforeUpload="importBeforeUpload"
           @change="importHandleChange"
-          style='margin-left: 90px'
+           style='margin-left: 19%'
         >
           <a-button> <a-icon type="upload" /> 上传文件 </a-button>
         </a-upload>
@@ -1299,7 +1299,7 @@
           <a-tag class="font-size-14" color="orange">{{ infoModel.personResponsibleResultRemark }}</a-tag>
         </a-form-model-item>
       </div>
-      <a-form-model-item style="left: 0%;width: 90%;" label="上传资料备注:" v-bind="labelCol1Note">
+      <a-form-model-item style="left: 0%;width:80%;" label="上传资料备注:" v-bind="labelCol1Note">
         <span v-if="infoModel.personResponsibleResult==='1'">{{ infoModel.personResponsibleRemark }}</span>
         <a-textarea v-else style="height: 77px"  :disabled="infoModel.personResponsibleResult==='1'?true:false"
                     v-model="infoModel.personResponsibleRemark"
@@ -1319,7 +1319,7 @@
           :showUploadList="false"
           :beforeUpload="importBeforeUpload"
           @change="importHandleChange"
-          style='margin-left: 90px'
+           style='margin-left: 19%'
         >
           <a-button> <a-icon type="upload" /> 上传文件 </a-button>
         </a-upload>
@@ -1433,7 +1433,7 @@
           <a-tag class="font-size-14" color="orange">{{ infoModel.operatorCardResultRemark }}</a-tag>
         </a-form-model-item>
       </div>
-      <a-form-model-item style="left: 0%;width: 90%;" label="上传资料备注:" v-bind="labelCol1Note">
+      <a-form-model-item style="left: 0%;width:80%;" label="上传资料备注:" v-bind="labelCol1Note">
         <span v-if="infoModel.operatorCardResult==='1'">{{ infoModel.operatorCardRemark }}</span>
         <a-textarea v-else style="height: 77px"  :disabled="infoModel.operatorCardResult==='1'?true:false"
                     v-model="infoModel.operatorCardRemark"
@@ -1453,7 +1453,7 @@
           :showUploadList="false"
           :beforeUpload="importBeforeUpload"
           @change="importHandleChange"
-          style='margin-left: 90px'
+           style='margin-left: 19%'
         >
           <a-button> <a-icon type="upload" /> 上传文件 </a-button>
         </a-upload>
@@ -1567,7 +1567,7 @@
           <a-tag class="font-size-14" color="orange">{{ infoModel.operatorCardPhoneResultRemark }}</a-tag>
         </a-form-model-item>
       </div>
-      <a-form-model-item style="left: 0%;width: 90%;" label="上传资料备注:" v-bind="labelCol1Note">
+      <a-form-model-item style="left: 0%;width:80%;" label="上传资料备注:" v-bind="labelCol1Note">
         <span v-if="infoModel.operatorCardPhoneResult==='1'">{{ infoModel.operatorCardPhoneRemark }}</span>
         <a-textarea v-else style="height: 77px"  :disabled="infoModel.operatorCardPhoneResult==='1'?true:false"
                     v-model="infoModel.operatorCardPhoneRemark"
@@ -1587,7 +1587,7 @@
           :showUploadList="false"
           :beforeUpload="importBeforeUpload"
           @change="importHandleChange"
-          style='margin-left: 90px'
+           style='margin-left: 19%'
         >
           <a-button> <a-icon type="upload" /> 上传文件 </a-button>
         </a-upload>
@@ -1702,7 +1702,7 @@
           <a-tag class="font-size-14" color="orange">{{ infoModel.devicePhoneResultRemark }}</a-tag>
         </a-form-model-item>
       </div>
-      <a-form-model-item style="left: 0%;width: 90%;" label="上传资料备注:" v-bind="labelCol1Note">
+      <a-form-model-item style="left: 0%;width:80%;" label="上传资料备注:" v-bind="labelCol1Note">
         <span v-if="infoModel.devicePhoneResult==='1'">{{ infoModel.devicePhoneRemark }}</span>
         <a-textarea v-else style="height: 77px"  :disabled="infoModel.devicePhoneResult==='1'?true:false"
                     v-model="infoModel.devicePhoneRemark"
@@ -1722,7 +1722,7 @@
           :showUploadList="false"
           :beforeUpload="importBeforeUpload"
           @change="importHandleChange"
-          style='margin-left: 90px'
+           style='margin-left: 19%'
         >
           <a-button> <a-icon type="upload" /> 上传文件 </a-button>
         </a-upload>
@@ -1837,7 +1837,7 @@
           <a-tag class="font-size-14" color="orange">{{ infoModel.textMessageResultRemark }}</a-tag>
         </a-form-model-item>
       </div>
-      <a-form-model-item style="left: 0%;width: 90%;" label="上传资料备注:" v-bind="labelCol1Note">
+      <a-form-model-item style="left: 0%;width:80%;" label="上传资料备注:" v-bind="labelCol1Note">
         <span v-if="infoModel.textMessageResult==='1'">{{ infoModel.textMessageRemark }}</span>
         <a-textarea v-else style="height: 77px"  :disabled="infoModel.textMessageResult==='1'?true:false"
                     v-model="infoModel.textMessageRemark"
@@ -1857,7 +1857,7 @@
           :showUploadList="false"
           :beforeUpload="importBeforeUpload"
           @change="importHandleChange"
-          style='margin-left: 90px'
+           style='margin-left: 19%'
         >
           <a-button> <a-icon type="upload" /> 上传文件 </a-button>
         </a-upload>
@@ -1971,7 +1971,7 @@
           <a-tag class="font-size-14" color="orange">{{ infoModel.textMessageBookResultRemark }}</a-tag>
         </a-form-model-item>
       </div>
-      <a-form-model-item style="left: 0%;width: 90%;" label="上传资料备注:" v-bind="labelCol1Note">
+      <a-form-model-item style="left: 0%;width:80%;" label="上传资料备注:" v-bind="labelCol1Note">
         <span v-if="infoModel.textMessageBookResult==='1'">{{ infoModel.textMessageBookRemark }}</span>
         <a-textarea v-else style="height: 77px"  :disabled="infoModel.textMessageBookResult==='1'?true:false"
                     v-model="infoModel.textMessageBookRemark"
@@ -1991,7 +1991,7 @@
           :showUploadList="false"
           :beforeUpload="importBeforeUpload"
           @change="importHandleChange"
-          style='margin-left: 90px'
+           style='margin-left: 19%'
         >
           <a-button> <a-icon type="upload" /> 上传文件 </a-button>
         </a-upload>
@@ -2106,7 +2106,7 @@
           <a-tag class="font-size-14" color="orange">{{ infoModel.secureBookResultRemark }}</a-tag>
         </a-form-model-item>
       </div>
-      <a-form-model-item style="left: 0%;width: 90%;" label="上传资料备注:" v-bind="labelCol1Note">
+      <a-form-model-item style="left: 0%;width:80%;" label="上传资料备注:" v-bind="labelCol1Note">
         <span v-if="infoModel.secureBookResult==='1'">{{ infoModel.secureBookRemark }}</span>
         <a-textarea v-else style="height: 77px"  :disabled="infoModel.secureBookResult==='1'?true:false"
                     v-model="infoModel.secureBookRemark"
@@ -2126,7 +2126,7 @@
           :showUploadList="false"
           :beforeUpload="importBeforeUpload"
           @change="importHandleChange"
-          style='margin-left: 90px'
+           style='margin-left: 19%'
         >
           <a-button> <a-icon type="upload" /> 上传文件 </a-button>
         </a-upload>
@@ -2240,7 +2240,7 @@
           <a-tag class="font-size-14" color="orange">{{ infoModel.specialResultRemark }}</a-tag>
         </a-form-model-item>
       </div>
-      <a-form-model-item style="left: 0%;width: 90%;" label="上传资料备注:" v-bind="labelCol1Note">
+      <a-form-model-item style="left: 0%;width:80%;" label="上传资料备注:" v-bind="labelCol1Note">
         <span v-if="infoModel.specialResult==='1'">{{ infoModel.specialRemark }}</span>
         <a-textarea v-else style="height: 77px"  :disabled="infoModel.specialResult==='1'?true:false"
                     v-model="infoModel.specialRemark"
@@ -2260,7 +2260,7 @@
           :showUploadList="false"
           :beforeUpload="importBeforeUpload"
           @change="importHandleChange"
-          style='margin-left: 90px'
+           style='margin-left: 19%'
         >
           <a-button> <a-icon type="upload" /> 上传文件 </a-button>
         </a-upload>
@@ -2374,7 +2374,7 @@
           <a-tag class="font-size-14" color="orange">{{ infoModel.networkAccessResultRemark }}</a-tag>
         </a-form-model-item>
       </div>
-      <a-form-model-item style="left: 0%;width: 90%;" label="上传资料备注:" v-bind="labelCol1Note">
+      <a-form-model-item style="left: 0%;width:80%;" label="上传资料备注:" v-bind="labelCol1Note">
         <span v-if="infoModel.networkAccessResult==='1'">{{ infoModel.networkAccessRemark }}</span>
         <a-textarea v-else style="height: 77px"  :disabled="infoModel.networkAccessResult==='1'?true:false"
                     v-model="infoModel.networkAccessRemark"
@@ -2394,7 +2394,7 @@
           :showUploadList="false"
           :beforeUpload="importBeforeUpload"
           @change="importHandleChange"
-          style='margin-left: 90px'
+           style='margin-left: 19%'
         >
           <a-button> <a-icon type="upload" /> 上传文件 </a-button>
         </a-upload>
@@ -2508,7 +2508,7 @@
           <a-tag class="font-size-14" color="orange">{{ infoModel.groupPriceApprovalResultRemark }}</a-tag>
         </a-form-model-item>
       </div>
-      <a-form-model-item style="left: 0%;width: 90%;" label="上传资料备注:" v-bind="labelCol1Note">
+      <a-form-model-item style="left: 0%;width:80%;" label="上传资料备注:" v-bind="labelCol1Note">
         <span v-if="infoModel.groupPriceApprovalResult==='1'">{{ infoModel.groupPriceApprovalRemark }}</span>
         <a-textarea v-else style="height: 77px"  :disabled="infoModel.groupPriceApprovalResult==='1'?true:false"
                     v-model="infoModel.groupPriceApprovalRemark"
@@ -2528,7 +2528,7 @@
           :showUploadList="false"
           :beforeUpload="importBeforeUpload"
           @change="importHandleChange"
-          style='margin-left: 90px'
+           style='margin-left: 19%'
         >
           <a-button> <a-icon type="upload" /> 上传文件 </a-button>
         </a-upload>
@@ -3724,7 +3724,8 @@ export default {
 .thumb-example {
   width: 921px;
   margin-top: 20px;
-  left: 6%;
+  left: 12%;
+  position: relative;
   // background: #000;
 }
 

+ 6 - 11
src/views/truckCheck/modules/TaskCheckList.vue

@@ -67,12 +67,12 @@
 
           <!-- 操作按钮区域 -->
           <div class="table-operator">
-            <a-button type="primary" icon="download" @click="handleExportXls('客户列表')">导出</a-button>
-            <a-button   type="primary"   @click="handleOpen">转派<a-icon type="right" /></a-button>
+            <a-button type="primary" v-has="'truck:check:list:excel'" icon="download" @click="handleExportXls('客户列表')">导出</a-button>
+            <a-button   type="primary" v-has="'truck:check:list:transfer'"  @click="handleOpen">转派<a-icon type="right" /></a-button>
             <!-- 高级查询区域 -->
             <a-dropdown v-if="selectedRowKeys.length > 0">
               <a-menu slot="overlay">
-                <a-menu-item key="1" @click="batchDel" v-has="'task:check:list:delete'">
+                <a-menu-item key="1" @click="batchDel" v-has="'truck:check:list:delete'">
                   <a-icon type="delete"/>
                   删除
                 </a-menu-item>
@@ -109,7 +109,7 @@
               <template slot="action" slot-scope="text, record">
 
             <span v-has="'truck:task:check:list:upload:improve'" v-if="record.checkState == 0 || record.checkState == 1  ">
-              <a @click="showImproveAndUpload(record)">上传资料</a>
+              <a @click="showImproveAndUpload(record)">完善上传</a>
               <a-divider type="vertical"/>
             </span>
 
@@ -125,7 +125,7 @@
               <a @click="transferOut(record)">回退转派</a>
               <a-divider type="vertical" />
             </span>
-                <span v-has="'task:check:list:selectDataDown'">
+                <span v-has="'truck:check:list:selectDataDown'">
               <a @click="getFileUrls(record)">下载资料</a>
               <a-divider type="vertical" />
             </span>
@@ -145,16 +145,11 @@
                   </a>
                   <a-menu slot="overlay">
 
-                    <a-menu-item v-has="'task:check:list:delete'">
+                    <a-menu-item v-has="'truck:check:list:delete'">
                       <a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
                         <a>删除</a>
                       </a-popconfirm>
                     </a-menu-item>
-                    <a-menu-item v-has="'task:check:list:clear'">
-                      <a-popconfirm title="确定清空吗?" @confirm="() => dataDelete(record.id)">
-                        <a>清空</a>
-                      </a-popconfirm>
-                    </a-menu-item>
                   </a-menu>
                 </a-dropdown>
               </template>