lw-cdp-ui 1.0.32 → 1.0.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -27,13 +27,13 @@
27
27
  label-width="0"
28
28
  size="large">
29
29
  <el-form-item>
30
- <div class="title-name">{{ $t('login.trialRequest') }}</div>
30
+ <div class="title-name">{{ $t('loginPage.trialRequest') }}</div>
31
31
  </el-form-item>
32
32
  <el-form-item prop="name">
33
33
  <el-input v-model="registForm.name"
34
34
  prefix-icon="el-icon-user"
35
35
  clearable
36
- :placeholder="$t('login.enterTitle')">
36
+ :placeholder="$t('loginPage.enterTitle')">
37
37
  </el-input>
38
38
  </el-form-item>
39
39
  <el-form-item prop="phone">
@@ -41,19 +41,19 @@
41
41
  prefix-icon="el-icon-iphone"
42
42
  clearable
43
43
  maxlength="11"
44
- :placeholder="$t('login.enterPhone')">
44
+ :placeholder="$t('loginPage.enterPhone')">
45
45
  </el-input>
46
46
  </el-form-item>
47
47
  <el-form-item prop="company">
48
48
  <el-input v-model="registForm.company"
49
49
  prefix-icon="el-icon-office-building"
50
50
  clearable
51
- :placeholder="$t('login.enterCompany')">
51
+ :placeholder="$t('loginPage.enterCompany')">
52
52
  </el-input>
53
53
  </el-form-item>
54
54
  <el-form-item prop="position">
55
55
  <el-select v-model="registForm.position"
56
- :placeholder="$t('login.selectPosition')">
56
+ :placeholder="$t('loginPage.selectPosition')">
57
57
  <el-option v-for="item in optionsCompany"
58
58
  :key="item.id"
59
59
  :label="item.name"
@@ -62,7 +62,7 @@
62
62
  </el-form-item>
63
63
  <el-form-item prop="description">
64
64
  <el-select v-model="registForm.description"
65
- :placeholder="$t('login.selectPurpose')">
65
+ :placeholder="$t('loginPage.selectPurpose')">
66
66
  <el-option v-for="item in optionsDescription"
67
67
  :key="item.id"
68
68
  :label="item.name"
@@ -73,7 +73,7 @@
73
73
  <el-button type="primary"
74
74
  style="width: 100%"
75
75
  :loading="islogin"
76
- @click="apply">{{ $t('login.trialRequest') }}</el-button>
76
+ @click="apply">{{ $t('loginPage.trialRequest') }}</el-button>
77
77
  </el-form-item>
78
78
  </el-form>
79
79
  </div>
@@ -90,13 +90,13 @@
90
90
  label-width="0"
91
91
  size="large">
92
92
  <el-form-item>
93
- <div class="title-name">{{$t('login.accountLogin')}}</div>
93
+ <div class="title-name">{{$t('loginPage.accountLogin')}}</div>
94
94
  </el-form-item>
95
95
  <el-form-item prop="user">
96
96
  <el-input v-model="ruleForm.user"
97
97
  prefix-icon="el-icon-user"
98
98
  clearable
99
- :placeholder="$t('login.userPlaceholder')">
99
+ :placeholder="$t('loginPage.userPlaceholder')">
100
100
  </el-input>
101
101
  </el-form-item>
102
102
  <el-form-item prop="password">
@@ -104,19 +104,19 @@
104
104
  prefix-icon="el-icon-lock"
105
105
  clearable
106
106
  show-password
107
- :placeholder="$t('login.PWPlaceholder')">
107
+ :placeholder="$t('loginPage.PWPlaceholder')">
108
108
  </el-input>
109
109
  </el-form-item>
110
110
  <el-form-item style="margin-bottom: 10px">
111
111
  <el-row>
112
112
  <el-col :span="12">
113
- <el-checkbox :label="$t('login.rememberMe')"
113
+ <el-checkbox :label="$t('loginPage.rememberMe')"
114
114
  v-model="ruleForm.autologin"></el-checkbox>
115
115
  </el-col>
116
116
  <el-col :span="12"
117
117
  style="text-align: right">
118
118
  <el-button type="primary"
119
- text>{{ $t("login.forgetPassword") }}?
119
+ text>{{ $t("loginPage.forgetPassword") }}?
120
120
  </el-button>
121
121
  </el-col>
122
122
  </el-row>
@@ -125,13 +125,13 @@
125
125
  <el-button type="primary"
126
126
  style="width: 100%"
127
127
  :loading="islogin"
128
- @click="login">{{ $t("login.signIn") }}</el-button>
128
+ @click="login">{{ $t("loginPage.signIn") }}</el-button>
129
129
  </el-form-item>
130
130
  <el-form-item>
131
- {{ $t('login.noAccount') }}
131
+ {{ $t('loginPage.noAccount') }}
132
132
  <el-button type="primary"
133
133
  link
134
- @click="isRegistered = true">{{ $t('login.trialRequest') }}</el-button>
134
+ @click="isRegistered = true">{{ $t('loginPage.trialRequest') }}</el-button>
135
135
  </el-form-item>
136
136
  </el-form>
137
137
  </div>
@@ -177,54 +177,54 @@ export default {
177
177
  user: [
178
178
  {
179
179
  required: true,
180
- message: this.t("login.userError"),
180
+ message: this.t("loginPage.userError"),
181
181
  trigger: "blur",
182
182
  },
183
183
  ],
184
184
  password: [
185
185
  {
186
186
  required: true,
187
- message: this.t("login.PWError"),
187
+ message: this.t("loginPage.PWError"),
188
188
  trigger: "blur",
189
189
  },
190
190
  ],
191
191
  name: [
192
192
  {
193
193
  required: true,
194
- message: this.t('login.enterTitle'),
194
+ message: this.t('loginPage.enterTitle'),
195
195
  trigger: "blur",
196
196
  },
197
197
  ],
198
198
  phone: [
199
199
  {
200
200
  required: true,
201
- message: this.t('login.enterPhone'),
201
+ message: this.t('loginPage.enterPhone'),
202
202
  trigger: "blur",
203
203
  },
204
204
  {
205
205
  pattern: /^[1]([3-9])[0-9]{9}$/,
206
- message: this.t('login.correctPhone'),
206
+ message: this.t('loginPage.correctPhone'),
207
207
  trigger: "blur",
208
208
  },
209
209
  ],
210
210
  company: [
211
211
  {
212
212
  required: true,
213
- message: this.t('login.enterCompany'),
213
+ message: this.t('loginPage.enterCompany'),
214
214
  trigger: "blur",
215
215
  },
216
216
  ],
217
217
  position: [
218
218
  {
219
219
  required: true,
220
- message: this.t('login.selectPosition'),
220
+ message: this.t('loginPage.selectPosition'),
221
221
  trigger: "change",
222
222
  },
223
223
  ],
224
224
  description: [
225
225
  {
226
226
  required: true,
227
- message: this.t('login.selectPurpose'),
227
+ message: this.t('loginPage.selectPurpose'),
228
228
  trigger: "change",
229
229
  },
230
230
  ],
@@ -275,7 +275,6 @@ export default {
275
275
  },
276
276
 
277
277
  created: function () {
278
- this.$tool.data.clear();
279
278
  this.$store.commit("clearViewTags");
280
279
  this.$store.commit("clearKeepLive");
281
280
  this.$store.commit("clearIframeList")
@@ -374,7 +373,7 @@ export default {
374
373
  }
375
374
 
376
375
 
377
- this.$message.success(this.t('login.loginSuccess'));
376
+ this.$message.success(this.t('loginPage.loginSuccess'));
378
377
  this.islogin = false;
379
378
  },
380
379
  // 申请试用
@@ -386,7 +385,7 @@ export default {
386
385
  return false;
387
386
  }
388
387
  await this.$api.auth.apply(this.registForm)
389
- this.$message.success(this.t('login.applySuccess'));
388
+ this.$message.success(this.t('loginPage.applySuccess'));
390
389
  }
391
390
  },
392
391
  };
@@ -1,13 +1,36 @@
1
1
  export default {
2
- login: {
3
- accountLogin: 'Login',
4
- rememberMe: 'Remember Me',
5
- forgetPassword: 'Forgot Password',
6
- signIn: 'Sign In',
7
- userPlaceholder: 'Username / Phone / Email',
8
- userError: 'Please enter a username',
2
+ loginPage: {
3
+ accountLogin: 'Lianwei Marketing Cloud',
4
+ rememberMe: 'Keep me logged in',
5
+ forgetPassword: 'Forgot password',
6
+ signIn: 'Account verification',
7
+ userPlaceholder: 'Username / Mobile / Email',
8
+ userError: 'Please enter your username',
9
9
  PWPlaceholder: 'Please enter your password',
10
10
  PWError: 'Please enter your password',
11
- mobileError: 'Please enter your phone number'
11
+ mobileError: 'Please enter your mobile number',
12
+ trialRequest: 'Request a trial',
13
+ enterTitle: 'Please enter your title',
14
+ enterPhone: 'Please enter your phone number',
15
+ correctPhone: 'Please enter a valid phone number format',
16
+ enterCompany: 'Please enter your company name',
17
+ selectPosition: 'Please select your position',
18
+ selectPurpose: 'Please select your purpose',
19
+ noAccount: 'Don’t have an account?',
20
+ applySuccess: 'You have applied for a trial, please check your SMS for a prompt.',
21
+ loginSuccess: 'Login successful'
22
+ },
23
+ positions: {
24
+ techStaff: 'Technical staff',
25
+ businessStaff: 'Business staff',
26
+ researchStaff: 'Research and development staff',
27
+ marketingStaff: 'Marketing staff',
28
+ operationStaff: 'Operations staff',
29
+ otherStaff: 'Other professional staff'
30
+ },
31
+ purposes: {
32
+ findSolution: 'Looking for suitable products to solve data, marketing, and other issues',
33
+ compareProducts: 'Comparing other products, want to learn more',
34
+ other: 'Other'
12
35
  }
13
36
  }
@@ -1,5 +1,5 @@
1
1
  export default {
2
- login: {
2
+ loginPage: {
3
3
  accountLogin: '联蔚营销云',
4
4
  rememberMe: '保持登录状态',
5
5
  forgetPassword: '忘记密码',
@@ -0,0 +1,40 @@
1
+ const e = {
2
+ loginPage: {
3
+ accountLogin: "Lianwei Marketing Cloud",
4
+ rememberMe: "Keep me logged in",
5
+ forgetPassword: "Forgot password",
6
+ signIn: "Account verification",
7
+ userPlaceholder: "Username / Mobile / Email",
8
+ userError: "Please enter your username",
9
+ PWPlaceholder: "Please enter your password",
10
+ PWError: "Please enter your password",
11
+ mobileError: "Please enter your mobile number",
12
+ trialRequest: "Request a trial",
13
+ enterTitle: "Please enter your title",
14
+ enterPhone: "Please enter your phone number",
15
+ correctPhone: "Please enter a valid phone number format",
16
+ enterCompany: "Please enter your company name",
17
+ selectPosition: "Please select your position",
18
+ selectPurpose: "Please select your purpose",
19
+ noAccount: "Don’t have an account?",
20
+ applySuccess: "You have applied for a trial, please check your SMS for a prompt.",
21
+ loginSuccess: "Login successful"
22
+ },
23
+ positions: {
24
+ techStaff: "Technical staff",
25
+ businessStaff: "Business staff",
26
+ researchStaff: "Research and development staff",
27
+ marketingStaff: "Marketing staff",
28
+ operationStaff: "Operations staff",
29
+ otherStaff: "Other professional staff"
30
+ },
31
+ purposes: {
32
+ findSolution: "Looking for suitable products to solve data, marketing, and other issues",
33
+ compareProducts: "Comparing other products, want to learn more",
34
+ other: "Other"
35
+ }
36
+ };
37
+ export {
38
+ e as default
39
+ };
40
+ //# sourceMappingURL=en-us-BeDNsb6F.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"en-us-BeDNsb6F.js","sources":["../src/components/lwLogin/locale/en-us.js"],"sourcesContent":["export default {\r\n\tloginPage: {\r\n\t\taccountLogin: 'Lianwei Marketing Cloud',\r\n\t\trememberMe: 'Keep me logged in',\r\n\t\tforgetPassword: 'Forgot password',\r\n\t\tsignIn: 'Account verification',\r\n\t\tuserPlaceholder: 'Username / Mobile / Email',\r\n\t\tuserError: 'Please enter your username',\r\n\t\tPWPlaceholder: 'Please enter your password',\r\n\t\tPWError: 'Please enter your password',\r\n\t\tmobileError: 'Please enter your mobile number',\r\n\t\ttrialRequest: 'Request a trial',\r\n\t\tenterTitle: 'Please enter your title',\r\n\t\tenterPhone: 'Please enter your phone number',\r\n\t\tcorrectPhone: 'Please enter a valid phone number format',\r\n\t\tenterCompany: 'Please enter your company name',\r\n\t\tselectPosition: 'Please select your position',\r\n\t\tselectPurpose: 'Please select your purpose',\r\n\t\tnoAccount: 'Don’t have an account?',\r\n\t\tapplySuccess: 'You have applied for a trial, please check your SMS for a prompt.',\r\n\t\tloginSuccess: 'Login successful'\r\n\t},\r\n\tpositions: {\r\n\t\ttechStaff: 'Technical staff',\r\n\t\tbusinessStaff: 'Business staff',\r\n\t\tresearchStaff: 'Research and development staff',\r\n\t\tmarketingStaff: 'Marketing staff',\r\n\t\toperationStaff: 'Operations staff',\r\n\t\totherStaff: 'Other professional staff'\r\n\t},\r\n\tpurposes: {\r\n\t\tfindSolution: 'Looking for suitable products to solve data, marketing, and other issues',\r\n\t\tcompareProducts: 'Comparing other products, want to learn more',\r\n\t\tother: 'Other'\r\n\t}\r\n}\r\n"],"names":["enUs"],"mappings":"AAAA,MAAeA,IAAA;AAAA,EACd,WAAW;AAAA,IACV,cAAc;AAAA,IACd,YAAY;AAAA,IACZ,gBAAgB;AAAA,IAChB,QAAQ;AAAA,IACR,iBAAiB;AAAA,IACjB,WAAW;AAAA,IACX,eAAe;AAAA,IACf,SAAS;AAAA,IACT,aAAa;AAAA,IACb,cAAc;AAAA,IACd,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,cAAc;AAAA,IACd,cAAc;AAAA,IACd,gBAAgB;AAAA,IAChB,eAAe;AAAA,IACf,WAAW;AAAA,IACX,cAAc;AAAA,IACd,cAAc;AAAA,EACd;AAAA,EACD,WAAW;AAAA,IACV,WAAW;AAAA,IACX,eAAe;AAAA,IACf,eAAe;AAAA,IACf,gBAAgB;AAAA,IAChB,gBAAgB;AAAA,IAChB,YAAY;AAAA,EACZ;AAAA,EACD,UAAU;AAAA,IACT,cAAc;AAAA,IACd,iBAAiB;AAAA,IACjB,OAAO;AAAA,EACP;AACF;"}