|
@@ -3,7 +3,7 @@
|
|
|
<!--工具条-->
|
|
|
<el-col :span="24" class="toolbar" style="padding-bottom: 0px;">
|
|
|
<el-form :inline="true">
|
|
|
- <el-form-item label="公司列表">
|
|
|
+ <el-form-item :label="$t('gongSiLieBiao')">
|
|
|
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
@@ -16,20 +16,20 @@
|
|
|
{{scope.$index+1+(page-1)*size}}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="companyName" label="公司名称" ></el-table-column>
|
|
|
- <el-table-column prop="cTime" label="注册时间" ></el-table-column>
|
|
|
- <el-table-column prop="name" label="联系人" ></el-table-column>
|
|
|
- <el-table-column prop="phone" label="联系方式" width="150"></el-table-column>
|
|
|
- <el-table-column prop="contacted" label="是否联系" >
|
|
|
+ <el-table-column prop="companyName" :label="$t('gongSiMingCheng')" ></el-table-column>
|
|
|
+ <el-table-column prop="cTime" :label="$t('zhuCeShiJian')" ></el-table-column>
|
|
|
+ <el-table-column prop="name" :label="$t('contact')" ></el-table-column>
|
|
|
+ <el-table-column prop="phone" :label="$t('lianXiFangShi')" width="150"></el-table-column>
|
|
|
+ <el-table-column prop="contacted" :label="$t('shiFouLianXi')" >
|
|
|
<template slot-scope="scope">
|
|
|
- <font v-if="scope.row.contacted" color="green">已联系</font>
|
|
|
- <font v-if="!scope.row.contacted" color="red">未联系</font>
|
|
|
+ <font v-if="scope.row.contacted" color="green">{{ $t('yiLianXi') }}</font>
|
|
|
+ <font v-if="!scope.row.contacted" color="red">{{ $t('weiLianXi') }}</font>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="feedback" label="客户反馈" ></el-table-column>
|
|
|
- <el-table-column label="操作" width="290">
|
|
|
+ <el-table-column prop="feedback" :label="$t('keHuFanKui')" ></el-table-column>
|
|
|
+ <el-table-column :label="$t('operation')" width="290">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button size="small" type="primary" @click="handleAdd(scope.$index, scope.row)">填写反馈</el-button>
|
|
|
+ <el-button size="small" type="primary" @click="handleAdd(scope.$index, scope.row)">{{ $t('tianXieFanKui') }}</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -51,16 +51,16 @@
|
|
|
<el-dialog :title="title" v-if="addFormVisible" :visible.sync="addFormVisible" :close-on-click-modal="false" customClass="customWidth" width="600px">
|
|
|
<el-form ref="form1" :model="addForm" :rules="rules" label-width="100px">
|
|
|
|
|
|
- <el-form-item label="公司名称" prop="companyName">
|
|
|
+ <el-form-item :label="$t('gongSiMingCheng')" prop="companyName">
|
|
|
{{addForm.companyName}}
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="反馈结果">
|
|
|
+ <el-form-item :label="$t('fanKuiJieGuo')">
|
|
|
<el-input type="area" v-model="addForm.feedback"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
- <el-button @click.native="addFormVisible = false">取消</el-button>
|
|
|
- <el-button type="primary" @click="submitInsert" :loading="addLoading">提交</el-button>
|
|
|
+ <el-button @click.native="addFormVisible = false">{{ $t('quXiao') }}</el-button>
|
|
|
+ <el-button type="primary" @click="submitInsert" :loading="addLoading">{{ $t('tiJiao') }}</el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
|
|
@@ -113,7 +113,7 @@
|
|
|
feedback:null,
|
|
|
},
|
|
|
rules: {
|
|
|
- feedback: [{ required: true, message: "请输入客户反馈", trigger: "blur" }],
|
|
|
+ feedback: [{ required: true, message: this.$t('qingShuRuKeHuFanKui'), trigger: "blur" }],
|
|
|
}
|
|
|
};
|
|
|
},
|
|
@@ -194,7 +194,7 @@
|
|
|
this.addLoading = false;
|
|
|
if (res.code == "ok") {
|
|
|
this.$message({
|
|
|
- message: "填写成功",
|
|
|
+ message: this.$t('tianXieChengGong'),
|
|
|
type: "success"
|
|
|
});
|
|
|
this.addFormVisible = false;
|