|
@@ -18,8 +18,10 @@
|
|
<div class="label" style="height: auto">选择登录成功项目</div>
|
|
<div class="label" style="height: auto">选择登录成功项目</div>
|
|
<div class="value" style="height: 100%; display: block">
|
|
<div class="value" style="height: 100%; display: block">
|
|
<el-col :span="7" class="flex-box">
|
|
<el-col :span="7" class="flex-box">
|
|
- <div class="flex-box-title">项目编号{{ formData.loginStatus === 'FAIL'?'*': '' }}</div>
|
|
|
|
- <el-input v-model="formData.successLoginProject" class="my-input" placeholder="请填写" size="mini" clearable />
|
|
|
|
|
|
+ <div class="flex-box-title">项目编号{{ formData.loginStatus === 'REJECT'?'*': '' }}</div>
|
|
|
|
+ <el-input v-model="formData.successLoginProject" class="my-input" placeholder="请填写" size="mini" clearable >
|
|
|
|
+ <el-button @click="handleFocus" slot="append">引入</el-button>
|
|
|
|
+ </el-input>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="7" class="flex-box">
|
|
<el-col :span="7" class="flex-box">
|
|
<div class="flex-box-title">经销商编号</div>
|
|
<div class="flex-box-title">经销商编号</div>
|
|
@@ -101,14 +103,19 @@
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
</div>
|
|
</div>
|
|
|
|
+
|
|
|
|
+ <!-- -->
|
|
|
|
+ <LoginSuccess :pageType='pageType' :formData='formData' :showDialog="showDialog" @success='handleSuccess' @cancel='handleCancel'/>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
import ImageUpload from '@/components/Common/image-upload.vue'
|
|
import ImageUpload from '@/components/Common/image-upload.vue'
|
|
|
|
+import LoginSuccess from './loginSuccess.vue'
|
|
export default {
|
|
export default {
|
|
components: {
|
|
components: {
|
|
- ImageUpload
|
|
|
|
|
|
+ ImageUpload,
|
|
|
|
+ LoginSuccess
|
|
},
|
|
},
|
|
props: {
|
|
props: {
|
|
title: {
|
|
title: {
|
|
@@ -140,17 +147,32 @@ export default {
|
|
{ label: '登录成功', value: 'OK' },
|
|
{ label: '登录成功', value: 'OK' },
|
|
{ label: '登录不成功', value: 'FAIL' },
|
|
{ label: '登录不成功', value: 'FAIL' },
|
|
{ label: '驳回', value: 'REJECT' }
|
|
{ label: '驳回', value: 'REJECT' }
|
|
- ]
|
|
|
|
|
|
+ ],
|
|
|
|
+ showDialog:false
|
|
}
|
|
}
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
console.log(this.formData,this.module,8888);
|
|
console.log(this.formData,this.module,8888);
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ handleSuccess(val){
|
|
|
|
+ let res = val[0]
|
|
|
|
+ this.formData.successLoginProject = res.projectNo
|
|
|
|
+ this.formData.customerNumber = res.customerNumber
|
|
|
|
+ this.formData.customerName = res.customerName
|
|
|
|
+ this.formData.serviceName = res.serviceName
|
|
|
|
+ this.formData.serviceNumber = res.serviceNumber
|
|
|
|
+
|
|
|
|
+ },
|
|
|
|
+ handleCancel(){
|
|
|
|
+ this.showDialog = false
|
|
|
|
+ },
|
|
|
|
+ handleFocus(){
|
|
|
|
+ this.showDialog = true
|
|
|
|
+ },
|
|
onSbumit() {},
|
|
onSbumit() {},
|
|
// 检查文件类型
|
|
// 检查文件类型
|
|
checkFileType(url) {
|
|
checkFileType(url) {
|
|
- console.log(url,666);
|
|
|
|
if (!url) return ''
|
|
if (!url) return ''
|
|
const fileSuffix = url.substring(url.lastIndexOf('.') + 1)
|
|
const fileSuffix = url.substring(url.lastIndexOf('.') + 1)
|
|
|
|
|