|
@@ -272,7 +272,7 @@
|
|
|
<el-input v-model="ruleForm.record_number" placeholder="请输入网安备案号"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="在线客服:" class="desc">
|
|
|
- <el-input type="textarea" v-model="ruleForm.customer_service" placeholder="请输入在线客服..."
|
|
|
+ <el-input type="textarea" v-model="ruleForm.online_service" placeholder="请输入在线客服..."
|
|
|
show-word-limit></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="客服QQ:">
|
|
@@ -339,6 +339,9 @@
|
|
|
<!--图片上传组件 end ------------------------------------------------------------>
|
|
|
</div>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item label="电话客服:">
|
|
|
+ <el-input v-model="ruleForm.customer_service" placeholder="请输入电话客服"></el-input>
|
|
|
+ </el-form-item>
|
|
|
</el-form>
|
|
|
</el-row>
|
|
|
<div slot="footer" class="dialog-footer">
|
|
@@ -463,14 +466,14 @@ export default {
|
|
|
|
|
|
ruleForm: {
|
|
|
website_id: '', // 网站id
|
|
|
- statement: '', // 网站声明
|
|
|
- organizer: '', // 主办单位
|
|
|
- statistics: '', // cnzz统计
|
|
|
+ statement: '', // 网站声明
|
|
|
+ organizer: '', // 主办单位
|
|
|
+ statistics: '', // cnzz统计
|
|
|
copyright_information: '', // 版权信息
|
|
|
- contact_number: '', // 联系电话
|
|
|
- email: '', // 电子邮箱
|
|
|
- company_address: '', // 公司地址
|
|
|
- project_logo: '', // 项目logo
|
|
|
+ contact_number: '', // 联系电话
|
|
|
+ email: '', // 电子邮箱
|
|
|
+ company_address: '', // 公司地址
|
|
|
+ project_logo: '', // 项目logo
|
|
|
project_name: '', // 项目名称
|
|
|
project_url: '', // 项目网址
|
|
|
company_logo: '', // 公司logo
|
|
@@ -478,11 +481,13 @@ export default {
|
|
|
company_url: '', // 公司网址
|
|
|
icp_number: '', // 网站备案号
|
|
|
record_number: '', // 网安备案号
|
|
|
- customer_service: '', // 在线客服
|
|
|
+ online_service: '', // 在线客服
|
|
|
customer_service_qq: '', // 客服QQ
|
|
|
service_qq_img: '', // 客服QQ图片
|
|
|
communications: '', // 通联QQ
|
|
|
communications_img: '', // 通联QQ图片
|
|
|
+ customer_service: '', // 电话客服
|
|
|
+
|
|
|
},
|
|
|
rules: {},
|
|
|
|
|
@@ -820,10 +825,10 @@ export default {
|
|
|
|
|
|
if (res.code == 200) {
|
|
|
//汇报结果
|
|
|
- this.$message({
|
|
|
- type: 'success',
|
|
|
- message: '已成功添加网站!'
|
|
|
- });
|
|
|
+ // this.$message({
|
|
|
+ // type: 'success',
|
|
|
+ // message: '已成功添加网站!'
|
|
|
+ // });
|
|
|
this.ruleForm.website_id = res.data.id;
|
|
|
this.getfootInfo()
|
|
|
//重新获取表单
|
|
@@ -893,10 +898,18 @@ export default {
|
|
|
this.$store.dispatch('pool/addWebFootInfo', this.ruleForm).then(res => {
|
|
|
console.log('00001', res);
|
|
|
if (res.code == 200) {
|
|
|
- this.$message({ message: '添加成功', type: 'success' })
|
|
|
- this.$router.push({ path: '/webSite' })
|
|
|
+ this.$message({
|
|
|
+ message: '添加成功',
|
|
|
+ type: 'success'
|
|
|
+ })
|
|
|
+ this.$router.push({
|
|
|
+ path: '/webSite'
|
|
|
+ })
|
|
|
} else {
|
|
|
- this.$message({ message: '添加失败', type: 'error' })
|
|
|
+ this.$message({
|
|
|
+ message: '添加失败',
|
|
|
+ type: 'error'
|
|
|
+ })
|
|
|
}
|
|
|
})
|
|
|
},
|
|
@@ -919,11 +932,6 @@ export default {
|
|
|
this.$store.dispatch('pool/updateWebsite', this.form).then(res => {
|
|
|
console.log(res.code)
|
|
|
if (res.code == 200) {
|
|
|
- //汇报结果
|
|
|
- this.$message({
|
|
|
- type: 'success',
|
|
|
- message: '已成功修改网站信息!'
|
|
|
- });
|
|
|
//修改底部信息
|
|
|
this.editFootInfo()
|
|
|
//清空并退出
|
|
@@ -951,13 +959,13 @@ export default {
|
|
|
this.$store.dispatch('pool/upWebFootInfo', this.ruleForm).then(res => {
|
|
|
if (res.code == 200) {
|
|
|
this.$message({
|
|
|
- message: '网站底部信息修改成功',
|
|
|
+ message: '修改成功',
|
|
|
type: 'success'
|
|
|
})
|
|
|
this.$router.push({ path: '/webSite' })
|
|
|
} else {
|
|
|
this.$message({
|
|
|
- message: '网站底部信息修改失败',
|
|
|
+ message: '修改失败',
|
|
|
type: 'error'
|
|
|
})
|
|
|
this.getfootInfo()
|
|
@@ -995,6 +1003,7 @@ export default {
|
|
|
this.ruleForm.communications = res.data.communications;
|
|
|
this.ruleForm.communications_img = res.data.communications_img;
|
|
|
this.logoUrl_4 = res.data.communications_img;
|
|
|
+ this.ruleForm.online_service = res.data.online_service;
|
|
|
}
|
|
|
})
|
|
|
}
|