Explorar o código

稽核用户状态 可修改

sunyize %!s(int64=2) %!d(string=hai) anos
pai
achega
f3edc0430f

+ 5 - 7
src/views/lotCheck/TaskUploadData.vue

@@ -52,18 +52,16 @@
             <a-input   v-model="infoModel.userNo" placeholder="用户编号" :disabled='true'></a-input>
           </a-form-model-item>
         </a-col>
-        <a-col :span="6">
-          <a-form-model-item label="用户状态" prop="userState" v-bind="labelCol4">
-            <a-input :disabled='true' v-model="infoModel.userState" placeholder="用户状态" ></a-input>
-          </a-form-model-item>
-        </a-col>
         <a-col :span="6">
           <a-form-model-item label="入网时间" prop="networkAccessTime"   v-bind="labelCol4" >
             <a-input   v-model="infoModel.networkAccessTime" placeholder="入网时间" :disabled='true'></a-input>
           </a-form-model-item>
         </a-col>
-
-
+        <a-col  :span="6">
+          <a-form-item label="用户状态"v-bind="labelCol4"  prop="userState" >
+            <j-dict-select-tag placeholder="请选择用户状态"   v-model="infoModel.userState" dictCode="user_status_2"/>
+          </a-form-item>
+        </a-col>
         <a-col :span="6">
           <a-form-model-item label="客户名称(全)" prop="customerName" v-bind="labelCol4">
             <a-input    v-model="infoModel.customerName" placeholder="客户名称/使用人名称"></a-input>

+ 8 - 7
src/views/lotCheck/modules/TaskCheckAudit.vue

@@ -18,7 +18,9 @@
         <a-descriptions-item label="用户发展员工">{{ infoModel.staffNo }}</a-descriptions-item>
         <a-descriptions-item label="用户发展员工姓名">{{ infoModel.staffName }}</a-descriptions-item>
         <a-descriptions-item label="用户编号">{{ infoModel.userNo }}</a-descriptions-item>
-        <a-descriptions-item label="用户状态">{{ infoModel.userState }}</a-descriptions-item>
+         <a-descriptions-item v-if='infoModel.userState==="1"' label="用户状态" >在用</a-descriptions-item>
+        <a-descriptions-item v-if='infoModel.userState==="2"' label="用户状态" >停机</a-descriptions-item>
+        <a-descriptions-item v-if='infoModel.userState==="3"' label="用户状态" >拆机</a-descriptions-item>
         <a-descriptions-item label="入网时间">{{ infoModel.networkAccessTime }}</a-descriptions-item>
         <a-descriptions-item label="客户名称(全)">{{ infoModel.customerName }}</a-descriptions-item>
         <a-descriptions-item label="服务号码(全)">{{ infoModel.smsNumber }}</a-descriptions-item>
@@ -78,17 +80,16 @@
               <a-input   v-model="infoModel.userNo" placeholder="用户编号" :disabled='true'></a-input>
             </a-form-model-item>
           </a-col>
-          <a-col :span="6">
-            <a-form-model-item label="用户状态" prop="userState" v-bind="labelCol4">
-              <a-input :disabled='true' v-model="infoModel.userState" placeholder="用户状态" ></a-input>
-            </a-form-model-item>
-          </a-col>
           <a-col :span="6">
             <a-form-model-item label="入网时间" prop="networkAccessTime"   v-bind="labelCol4" >
               <a-input   v-model="infoModel.networkAccessTime" placeholder="入网时间" :disabled='true'></a-input>
             </a-form-model-item>
           </a-col>
-
+          <a-col  :span="6">
+            <a-form-item label="用户状态"v-bind="labelCol4">
+              <j-dict-select-tag placeholder="请选择用户状态"  :disabled="infoModel.infoResult==='1'?true:false"  v-model="infoModel.userState" dictCode="user_status_2"/>
+            </a-form-item>
+          </a-col>
 
           <a-col :span="6">
             <a-form-model-item label="客户名称(全)" prop="customerName" v-bind="labelCol4">

+ 10 - 23
src/views/lotCheck/modules/TaskCheckList.vue

@@ -415,19 +415,6 @@ export default {
           sorter: true,
           dataIndex: 'networkAccessTime'
         },
-        {
-          title: '用户状态',
-          align: "center",
-          dataIndex: 'userState',
-          customRender: function (text, record, index) {
-            if (text === '1') {
-              return '在用';
-            } else if (text === '2') {
-              return '拆机';
-            }
-            return text;
-          }
-        },
         {
           title: '员工姓名',
           align: "center",
@@ -444,21 +431,21 @@ export default {
           align: "center",
           dataIndex: 'staffDeptLevel2Name'
         },
-        {
-          title: '员工二级部门编号',
-          align: "center",
-          dataIndex: 'staffDeptLevel2No'
-        },
+        // {
+        //   title: '员工二级部门编号',
+        //   align: "center",
+        //   dataIndex: 'staffDeptLevel2No'
+        // },
         {
           title: '员工三级部门',
           align: "center",
           dataIndex: 'staffDeptLevel3Name'
         },
-        {
-          title: '员工三级部门编号',
-          align: "center",
-          dataIndex: 'staffDeptLevel3No'
-        },
+        // {
+        //   title: '员工三级部门编号',
+        //   align: "center",
+        //   dataIndex: 'staffDeptLevel3No'
+        // },
         {
           title: '稽核进度',
           align: "center",

+ 4 - 1
src/views/smscheck/modules/TaskCheckCheck.vue

@@ -12,7 +12,10 @@
         <a-descriptions-item label="客户名称" >{{ infoModel.customerName }}</a-descriptions-item>
         <a-descriptions-item label="用户编号" >{{ infoModel.userNo }}</a-descriptions-item>
         <a-descriptions-item label="入网时间" >{{ infoModel.networkAccessTime }}</a-descriptions-item>
-        <a-descriptions-item label="用户状态" >{{ userState }}</a-descriptions-item>
+<!--        <a-descriptions-item label="用户状态" >{{ userState }}</a-descriptions-item>-->
+        <a-descriptions-item v-if='userState==="1"' label="用户状态" >在用</a-descriptions-item>
+        <a-descriptions-item v-if='userState==="2"' label="用户状态" >停机</a-descriptions-item>
+        <a-descriptions-item v-if='userState==="3"' label="用户状态" >拆机</a-descriptions-item>
         <a-descriptions-item label="码号">{{ infoModel.codeNumber }}</a-descriptions-item>
         <a-descriptions-item label="号码详细用途">{{ infoModel.numberUse }}</a-descriptions-item>
         <a-descriptions-item label="用户发展员工">{{ infoModel.staffNo }}</a-descriptions-item>

+ 10 - 23
src/views/smscheck/modules/TaskCheckList.vue

@@ -409,19 +409,6 @@ export default {
           sorter: true,
           dataIndex: 'networkAccessTime'
         },
-        {
-          title:'用户状态',
-          align:"center",
-          dataIndex: 'userState',
-          customRender:function (text,record,index) {
-            if (text === '1') {
-              return '在用';
-            } else if (text === '2') {
-              return '拆机';
-            }
-            return text;
-          }
-        },
         {
           title:'员工姓名',
           align:"center",
@@ -445,21 +432,21 @@ export default {
           align: "center",
           dataIndex: 'staffDeptLevel2Name'
         },
-        {
-          title: '员工二级部门编号',
-          align: "center",
-          dataIndex: 'staffDeptLevel2No'
-        },
+        // {
+        //   title: '员工二级部门编号',
+        //   align: "center",
+        //   dataIndex: 'staffDeptLevel2No'
+        // },
         {
           title: '员工三级部门',
           align: "center",
           dataIndex: 'staffDeptLevel3Name'
         },
-        {
-          title: '员工三级部门编号',
-          align: "center",
-          dataIndex: 'staffDeptLevel3No'
-        },
+        // {
+        //   title: '员工三级部门编号',
+        //   align: "center",
+        //   dataIndex: 'staffDeptLevel3No'
+        // },
         {
           title: '操作',
           dataIndex: 'action',

+ 15 - 20
src/views/smscheck/modules/TaskImport.vue

@@ -98,11 +98,6 @@ export default {
             return parseInt(index) + 1;
           }
         },
-        {
-          title: '客户名称',
-          align: "center",
-          dataIndex: 'customerName'
-        },
         {
           title: '客户编号',
           align: "center",
@@ -128,11 +123,11 @@ export default {
           align: "center",
           dataIndex: 'networkAccessTime'
         },
-        {
-          title: '用户状态',
-          align: "center",
-          dataIndex: 'userState'
-        },
+        // {
+        //   title: '用户状态',
+        //   align: "center",
+        //   dataIndex: 'userState'
+        // },
         {
           title: '员工姓名',
           align: "center",
@@ -148,21 +143,21 @@ export default {
           align: "center",
           dataIndex: 'staffDeptLevel2Name'
         },
-        {
-          title: '员工二级部门编号',
-          align: "center",
-          dataIndex: 'staffDeptLevel2No'
-        },
+        // {
+        //   title: '员工二级部门编号',
+        //   align: "center",
+        //   dataIndex: 'staffDeptLevel2No'
+        // },
         {
           title: '员工三级部门',
           align: "center",
           dataIndex: 'staffDeptLevel3Name'
         },
-        {
-          title: '员工三级部门编号',
-          align: "center",
-          dataIndex: 'staffDeptLevel3No'
-        },
+        // {
+        //   title: '员工三级部门编号',
+        //   align: "center",
+        //   dataIndex: 'staffDeptLevel3No'
+        // },
         {
           title: '导入结果',
           align: "center",

+ 15 - 15
src/views/smscheck/modules/TaskImportTruck.vue

@@ -123,11 +123,11 @@ export default {
           align: "center",
           dataIndex: 'networkAccessTime'
         },
-        {
-          title: '用户状态',
-          align: "center",
-          dataIndex: 'userState'
-        },
+        // {
+        //   title: '用户状态',
+        //   align: "center",
+        //   dataIndex: 'userState'
+        // },
         {
           title: '用户发展员工',
           align: "center",
@@ -143,21 +143,21 @@ export default {
           align: "center",
           dataIndex: 'staffDeptLevel2Name'
         },
-        {
-          title: '员工二级部门编号',
-          align: "center",
-          dataIndex: 'staffDeptLevel2No'
-        },
+        // {
+        //   title: '员工二级部门编号',
+        //   align: "center",
+        //   dataIndex: 'staffDeptLevel2No'
+        // },
         {
           title: '员工三级部门',
           align: "center",
           dataIndex: 'staffDeptLevel3Name'
         },
-        {
-          title: '员工三级部门编号',
-          align: "center",
-          dataIndex: 'staffDeptLevel3No'
-        },
+        // {
+        //   title: '员工三级部门编号',
+        //   align: "center",
+        //   dataIndex: 'staffDeptLevel3No'
+        // },
         {
           title: '首次激活时间(固网起租时间)',
           align: "center",

+ 14 - 11
src/views/smscheck/modules/TaskUploadData.vue

@@ -29,17 +29,6 @@
               <a-form-model-item label="入网时间"   v-bind="labelCol4" >
                 <a-input   v-model="infoModel.networkAccessTime" placeholder="入网时间" :disabled='true'></a-input>
               </a-form-model-item>
-            </a-col>
-            <a-col :span="6">
-              <a-form-model-item label="客户名称(全)" prop="customerName" v-bind="labelCol4">
-                <a-input   v-model="infoModel.customerName" placeholder="客户名称/使用人名称"></a-input>
-              </a-form-model-item>
-            </a-col>
-            <a-col :span="6">
-            <a-form-model-item label="用户状态" prop="userState" v-bind="labelCol4">
-              <a-input  v-model="infoModel.userState" placeholder="用户状态" :disabled='true'></a-input>
-            </a-form-model-item>
-
             </a-col>
             <a-col :span="6">
               <a-form-model-item label="用户发展员工" prop="staffNo" v-bind="labelCol4">
@@ -51,6 +40,20 @@
                 <a-input  v-model="infoModel.staffName" placeholder="发展员工姓名" :disabled='true'></a-input>
               </a-form-model-item>
             </a-col>
+            <a-col :span="6">
+              <a-form-model-item label="客户名称(全)" prop="customerName" v-bind="labelCol4">
+                <a-input   v-model="infoModel.customerName" placeholder="客户名称/使用人名称"></a-input>
+              </a-form-model-item>
+            </a-col>
+            <a-col  :span="6">
+              <!--              <a-form-model-item label="用户状态" prop="userState" v-bind="labelCol4">-->
+              <!--                <a-input  v-model="infoModel.userState" placeholder="用户状态" :disabled='true'></a-input>-->
+              <!--              </a-form-model-item>-->
+              <a-form-item label="用户状态"v-bind="labelCol4">
+                <j-dict-select-tag placeholder="请选择用户状态"   v-model="infoModel.userState" dictCode="user_status_2"/>
+              </a-form-item>
+            </a-col>
+
             <a-col :span="6">
               <a-form-model-item label="码号" prop="codeNumber" v-bind="labelCol4">
                 <a-input   v-model="infoModel.codeNumber" placeholder="(接入开通码号95/96/10/11/12/106/400(不含拓展位长))"></a-input>

+ 14 - 11
src/views/smscheck/modules/TaskUploadDataZG.vue

@@ -30,17 +30,6 @@
                 <a-input   v-model="infoModel.networkAccessTime" placeholder="入网时间" :disabled='true'></a-input>
               </a-form-model-item>
             </a-col>
-            <a-col :span="6">
-              <a-form-model-item label="客户名称(全)" prop="customerName" v-bind="labelCol4">
-                <a-input  :disabled='isShow'  v-model="infoModel.customerName" placeholder="客户名称/使用人名称"></a-input>
-              </a-form-model-item>
-            </a-col>
-            <a-col :span="6">
-              <a-form-model-item label="用户状态" prop="userState" v-bind="labelCol4">
-                <a-input  v-model="infoModel.userState" placeholder="用户状态" :disabled='true'></a-input>
-              </a-form-model-item>
-
-            </a-col>
             <a-col :span="6">
               <a-form-model-item label="用户发展员工" prop="staffNo" v-bind="labelCol4">
                 <a-input  v-model="infoModel.staffNo" placeholder="用户发展员工" :disabled='true'></a-input>
@@ -51,6 +40,20 @@
                 <a-input  v-model="infoModel.staffName" placeholder="发展员工姓名" :disabled='true'></a-input>
               </a-form-model-item>
             </a-col>
+            <a-col :span="6">
+              <a-form-model-item label="客户名称(全)" prop="customerName" v-bind="labelCol4">
+                <a-input  :disabled='isShow'  v-model="infoModel.customerName" placeholder="客户名称/使用人名称"></a-input>
+              </a-form-model-item>
+            </a-col>
+            <a-col  :span="6">
+<!--              <a-form-model-item label="用户状态" prop="userState" v-bind="labelCol4">-->
+<!--                <a-input  v-model="infoModel.userState" placeholder="用户状态" :disabled='true'></a-input>-->
+<!--              </a-form-model-item>-->
+              <a-form-item label="用户状态"v-bind="labelCol4">
+                <j-dict-select-tag placeholder="请选择用户状态"  :disabled='isShow'  v-model="infoModel.userState" dictCode="user_status_2"/>
+              </a-form-item>
+            </a-col>
+
             <a-col :span="6">
               <a-form-model-item label="码号" prop="codeNumber" v-bind="labelCol4">
                 <a-input  :disabled='isShow'  v-model="infoModel.codeNumber" placeholder="(接入开通码号95/96/10/11/12/106/400(不含拓展位长))"></a-input>

+ 6 - 5
src/views/truckCheck/TaskUploadData.vue

@@ -65,11 +65,6 @@
                 <a-input   v-model="infoModel.userNo" placeholder="用户编号" :disabled='true'></a-input>
               </a-form-model-item>
             </a-col>
-            <a-col :span="6">
-              <a-form-model-item label="用户状态" prop="userState" v-bind="labelCol4">
-                <a-input :disabled='true' v-model="infoModel.userState" placeholder="用户状态" ></a-input>
-              </a-form-model-item>
-            </a-col>
             <a-col :span="6">
               <a-form-model-item label="入网时间" prop="networkAccessTime"   v-bind="labelCol4" >
                 <a-input   v-model="infoModel.networkAccessTime" placeholder="入网时间" :disabled='true'></a-input>
@@ -86,6 +81,12 @@
                 <a-input :disabled='true'  v-model="infoModel.accountCode" placeholder="账户编码"></a-input>
               </a-form-model-item>
             </a-col>
+            <a-col  :span="6">
+              <a-form-item label="用户状态"v-bind="labelCol4"  prop="userState" >
+                <j-dict-select-tag placeholder="请选择用户状态"   v-model="infoModel.userState" dictCode="user_status_2"/>
+              </a-form-item>
+            </a-col>
+
             <a-col :span="6">
               <a-form-model-item label="客户名称(全)" prop="customerName" v-bind="labelCol4">
                 <a-input    v-model="infoModel.customerName" placeholder="客户名称/使用人名称"></a-input>

+ 10 - 6
src/views/truckCheck/modules/TaskCheckAudit.vue

@@ -16,8 +16,11 @@
         <a-descriptions-item label="客户编号">{{ infoModel.userNo }}</a-descriptions-item>
         <a-descriptions-item label="用户发展员工">{{ infoModel.staffName }}</a-descriptions-item>
         <a-descriptions-item label="用户发展员工工号">{{ infoModel.staffNo }}</a-descriptions-item>
-        <a-descriptions-item label="用户编号">{{ infoModel.customerNo }}</a-descriptions-item>
+<!--        <a-descriptions-item label="用户编号">{{ infoModel.customerNo }}</a-descriptions-item>-->
         <a-descriptions-item label="用户状态">{{ infoModel.userState }}</a-descriptions-item>
+        <a-descriptions-item v-if='infoModel.userState==="1"' label="用户状态" >在用</a-descriptions-item>
+        <a-descriptions-item v-if='infoModel.userState==="2"' label="用户状态" >停机</a-descriptions-item>
+        <a-descriptions-item v-if='infoModel.userState==="3"' label="用户状态" >拆机</a-descriptions-item>
         <a-descriptions-item label="入网时间">{{ infoModel.networkAccessTime }}</a-descriptions-item>
         <a-descriptions-item label="首次激活时间">{{ infoModel.firstActivationDate }}</a-descriptions-item>
         <a-descriptions-item label="账户编码">{{ infoModel.accountCode }}</a-descriptions-item>
@@ -97,11 +100,7 @@
               <a-input   v-model="infoModel.userNo" placeholder="用户编号" :disabled='true'></a-input>
             </a-form-model-item>
           </a-col>
-          <a-col :span="6">
-            <a-form-model-item label="用户状态" prop="userState" v-bind="labelCol4">
-              <a-input :disabled='true' v-model="infoModel.userState" placeholder="用户状态" ></a-input>
-            </a-form-model-item>
-          </a-col>
+
           <a-col :span="6">
             <a-form-model-item label="入网时间" prop="networkAccessTime"   v-bind="labelCol4" >
               <a-input   v-model="infoModel.networkAccessTime" placeholder="入网时间" :disabled='true'></a-input>
@@ -118,6 +117,11 @@
               <a-input :disabled='true'  v-model="infoModel.accountCode" placeholder="账户编码"></a-input>
             </a-form-model-item>
           </a-col>
+          <a-col  :span="6">
+            <a-form-item label="用户状态"v-bind="labelCol4"  prop="userState" >
+              <j-dict-select-tag placeholder="请选择用户状态"  :disabled="infoModel.infoResult==='1'?true:false"  v-model="infoModel.userState" dictCode="user_status_2"/>
+            </a-form-item>
+          </a-col>
           <a-col :span="6">
             <a-form-model-item label="客户名称(全)" prop="customerName" v-bind="labelCol4">
               <a-input  :disabled="infoModel.infoResult==='1'?true:false"  v-model="infoModel.customerName" placeholder="客户名称/使用人名称"></a-input>

+ 23 - 23
src/views/truckCheck/modules/TaskCheckList.vue

@@ -397,19 +397,19 @@ export default {
           sorter: true,
           dataIndex: 'networkAccessTime'
         },
-        {
-          title:'用户状态',
-          align:"center",
-          dataIndex: 'userState',
-          customRender:function (text,record,index) {
-            if (text === '1') {
-              return '在用';
-            } else if (text === '2') {
-              return '拆机';
-            }
-            return text;
-          }
-        },
+        // {
+        //   title:'用户状态',
+        //   align:"center",
+        //   dataIndex: 'userState',
+        //   customRender:function (text,record,index) {
+        //     if (text === '1') {
+        //       return '在用';
+        //     } else if (text === '2') {
+        //       return '拆机';
+        //     }
+        //     return text;
+        //   }
+        // },
         {
           title:'员工姓名',
           align:"center",
@@ -433,21 +433,21 @@ export default {
           align: "center",
           dataIndex: 'staffDeptLevel2Name'
         },
-        {
-          title: '员工二级部门编号',
-          align: "center",
-          dataIndex: 'staffDeptLevel2No'
-        },
+        // {
+        //   title: '员工二级部门编号',
+        //   align: "center",
+        //   dataIndex: 'staffDeptLevel2No'
+        // },
         {
           title: '员工三级部门',
           align: "center",
           dataIndex: 'staffDeptLevel3Name'
         },
-        {
-          title: '员工三级部门编号',
-          align: "center",
-          dataIndex: 'staffDeptLevel3No'
-        },
+        // {
+        //   title: '员工三级部门编号',
+        //   align: "center",
+        //   dataIndex: 'staffDeptLevel3No'
+        // },
         {
           title: '首次激活时间(固网起租时间)',
           align: "center",