Commit 3fabdbc975eaeb7fc9b6ca921f291321c8c4770b

Authored by monkeyhouyi
1 parent 78a96911

1

src/views/DisposalSuggestions/Form.vue
@@ -10,7 +10,7 @@ @@ -10,7 +10,7 @@
10 <el-row :gutter="15" class="NCC-dialog-content" v-loading="loading"> 10 <el-row :gutter="15" class="NCC-dialog-content" v-loading="loading">
11 <el-col :span="10" style="border-right: 1px solid #e6e6e6; height: 400px"> 11 <el-col :span="10" style="border-right: 1px solid #e6e6e6; height: 400px">
12 <el-row> 12 <el-row>
13 - <el-col :span="24" class="form_title"> 巡查上报详情 </el-col> 13 + <el-col :span="24" class="form_title">线索详情{{dataForm.disteport}} </el-col>
14 <el-col :span="24"> 14 <el-col :span="24">
15 <div class="form-item"> 15 <div class="form-item">
16 <div class="label w-100">问题来源:</div> 16 <div class="label w-100">问题来源:</div>
src/views/DisposalSuggestions/HandleForm.vue
@@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@
11 <el-row :gutter="15" class="NCC-dialog-content"> 11 <el-row :gutter="15" class="NCC-dialog-content">
12 <el-col :span="10" style="border-right: 1px solid #e6e6e6; height: 400px;"> 12 <el-col :span="10" style="border-right: 1px solid #e6e6e6; height: 400px;">
13 <el-row> 13 <el-row>
14 - <el-col :span="24" class="form_title"> 巡查上报详情 </el-col> 14 + <el-col :span="24" class="form_title">线索详情{{dataForm.disteport}}</el-col>
15 <el-col :span="24"> 15 <el-col :span="24">
16 <div class="form-item"> 16 <div class="form-item">
17 <div class="label w-100">问题来源:</div> 17 <div class="label w-100">问题来源:</div>
src/views/baseInspectionReport/Form.vue
@@ -9,6 +9,7 @@ @@ -9,6 +9,7 @@
9 :modal="false" 9 :modal="false"
10 > 10 >
11 <el-row v-loading="form_loading"> 11 <el-row v-loading="form_loading">
  12 + <div style="color: #66b1ff;">{{ dataForm.disteport }}</div>
12 <el-row :gutter="15" class="NCC-dialog-content" v-if="!isDetail"> 13 <el-row :gutter="15" class="NCC-dialog-content" v-if="!isDetail">
13 <el-form 14 <el-form
14 ref="elForm" 15 ref="elForm"
@@ -45,13 +46,7 @@ @@ -45,13 +46,7 @@
45 @change="(val) => companyChange(val, 'change')" 46 @change="(val) => companyChange(val, 'change')"
46 :disabled='!!this.dataForm.id' 47 :disabled='!!this.dataForm.id'
47 > 48 >
48 - <el-option  
49 - v-for="item in companyOptions"  
50 - :key="item.id"  
51 - :label="item.companyName"  
52 - :value="item.id"  
53 - >  
54 - </el-option> 49 + <el-option v-for="item in companyOptions" :key="item.id" :label="item.companyName" :value="item.id"/>
55 </el-select> 50 </el-select>
56 </el-form-item> 51 </el-form-item>
57 </el-col> 52 </el-col>
@@ -80,6 +75,22 @@ @@ -80,6 +75,22 @@
80 </el-radio-group> 75 </el-radio-group>
81 </el-form-item> 76 </el-form-item>
82 </el-col> 77 </el-col>
  78 + <!-- 办公地址address、联系人contactUser、联系电话contactPhone -->
  79 + <el-col :span="24">
  80 + <el-form-item label="办公地址" prop="address">
  81 + <el-input v-model="dataForm.address" placeholder="请输入办公地址" clearable :style="{ width: '100%' }"></el-input>
  82 + </el-form-item>
  83 + </el-col>
  84 + <el-col :span="24">
  85 + <el-form-item label="联系人" prop="contactUser">
  86 + <el-input v-model="dataForm.contactUser" placeholder="请输入联系人" clearable :style="{ width: '100%' }"></el-input>
  87 + </el-form-item>
  88 + </el-col>
  89 + <el-col :span="24">
  90 + <el-form-item label="联系电话" prop="contactPhone">
  91 + <el-input v-model="dataForm.contactPhone" placeholder="请输入联系电话" clearable :style="{ width: '100%' }"></el-input>
  92 + </el-form-item>
  93 + </el-col>
83 <el-col :span="24" v-show="dataForm.platformType == '580634746028033285'"> 94 <el-col :span="24" v-show="dataForm.platformType == '580634746028033285'">
84 <el-form-item label="归属平台" prop="selfMediaPlatformType"> 95 <el-form-item label="归属平台" prop="selfMediaPlatformType">
85 <el-radio-group v-model="dataForm.selfMediaPlatformType" :disabled="!!this.dataForm.id"> 96 <el-radio-group v-model="dataForm.selfMediaPlatformType" :disabled="!!this.dataForm.id">
@@ -181,6 +192,18 @@ @@ -181,6 +192,18 @@
181 <div class="label w-120">应用类型:</div> 192 <div class="label w-120">应用类型:</div>
182 <div class="text">{{ dataForm.platformTypeStr || '--' }}</div> 193 <div class="text">{{ dataForm.platformTypeStr || '--' }}</div>
183 </el-col> 194 </el-col>
  195 + <el-col class="form-item">
  196 + <div class="label w-120">办公地址:</div>
  197 + <div class="text">{{ dataForm.address || '--' }}</div>
  198 + </el-col>
  199 + <el-col class="form-item">
  200 + <div class="label w-120">联系人:</div>
  201 + <div class="text">{{ dataForm.contactUser || '--' }}</div>
  202 + </el-col>
  203 + <el-col class="form-item">
  204 + <div class="label w-120">联系电话:</div>
  205 + <div class="text">{{ dataForm.contactPhone || '--' }}</div>
  206 + </el-col>
184 <el-col class="form-item" v-if="dataForm.platformType == '580634746028033285'"> 207 <el-col class="form-item" v-if="dataForm.platformType == '580634746028033285'">
185 <div class="label w-120">归属平台:</div> 208 <div class="label w-120">归属平台:</div>
186 <div class="text">{{ dataForm.selfMediaPlatformType || '--' }}</div> 209 <div class="text">{{ dataForm.selfMediaPlatformType || '--' }}</div>
@@ -301,6 +324,10 @@ export default { @@ -301,6 +324,10 @@ export default {
301 reportSourceName: undefined, 324 reportSourceName: undefined,
302 judgmentOpinions: undefined, 325 judgmentOpinions: undefined,
303 disposalSuggestions: undefined, 326 disposalSuggestions: undefined,
  327 + address: undefined,
  328 + contactUser: undefined,
  329 + contactPhone: undefined,
  330 + disteport: undefined
304 }, 331 },
305 rules: { 332 rules: {
306 platformName: [ 333 platformName: [
@@ -318,6 +345,13 @@ export default { @@ -318,6 +345,13 @@ export default {
318 disposalSuggestions: [ 345 disposalSuggestions: [
319 { required: true, message: "请填写处置结果", trigger: "blur" }, 346 { required: true, message: "请填写处置结果", trigger: "blur" },
320 ], 347 ],
  348 + contactPhone: [
  349 + {
  350 + pattern: /^1[3456789]\d{9}$|^0\d{2,3}-?\d{7,8}$/,
  351 + message: '请输入正确的联系电话',
  352 + trigger: 'blur'
  353 + },
  354 + ],
321 // otherQuestionType: [ 355 // otherQuestionType: [
322 // { required: true, message: "请输入其他问题类型", trigger: "blur" }, 356 // { required: true, message: "请输入其他问题类型", trigger: "blur" },
323 // ], 357 // ],
@@ -385,6 +419,9 @@ export default { @@ -385,6 +419,9 @@ export default {
385 let obj = this.nameOptions.find(v => type == 'blur' ? val == v.fullName : val == v.id); 419 let obj = this.nameOptions.find(v => type == 'blur' ? val == v.fullName : val == v.id);
386 this.dataForm.platformName = obj ? obj.id : val; 420 this.dataForm.platformName = obj ? obj.id : val;
387 this.dataForm.platformType = obj ? this.platformTypeOptions.find(v => v.Id == obj.systemType || v.FullName == obj.systemType).Id : ''; 421 this.dataForm.platformType = obj ? this.platformTypeOptions.find(v => v.Id == obj.systemType || v.FullName == obj.systemType).Id : '';
  422 + this.dataForm.address = obj ? obj.address : '';
  423 + this.dataForm.contactUser = obj ? obj.contactUser : '';
  424 + this.dataForm.contactPhone = obj ? obj.contactPhone : '';
388 if(obj && this.dataForm.platformType == '580634746028033285') { 425 if(obj && this.dataForm.platformType == '580634746028033285') {
389 if(this.mediaPlatList.findIndex(j => j == obj.selfMediaPlatformType) == -1) { 426 if(this.mediaPlatList.findIndex(j => j == obj.selfMediaPlatformType) == -1) {
390 this.dataForm.selfMediaPlatformType = '其他'; 427 this.dataForm.selfMediaPlatformType = '其他';