@steedos-labs/content-compliance 0.0.3 → 0.0.4

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.
@@ -11,7 +11,8 @@ index: true
11
11
  inlineHelpText: 提交自动生成,规则为“编号:品牌-产品-分类第一层-可用渠道第一层"
12
12
  is_wide: true
13
13
  label: 审核主题
14
- required: true
14
+ readonly: true
15
+ required: false
15
16
  searchable: true
16
17
  sort_no: 400
17
18
  type: text
@@ -16,7 +16,7 @@ handler: |-
16
16
  //编号: 品牌-产品-分类第一层-可用渠道第一层
17
17
  if (record.current_step === 'draft') {
18
18
  const products = _.split(record.product, '-');
19
- const pLists = await objects.picklists.find({ filters: ["code", "=", "brand"] })
19
+ const pLists = await objects.picklists.find({ filters: ["code", "=", "223321001114213"] })
20
20
  if (products.length > 0 &&pLists.length > 0) {
21
21
  const pRecords = await objects.picklist_options.find({
22
22
  filters: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos-labs/content-compliance",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "内容审核系统",
5
5
  "main": "package.service.js",
6
6
  "scripts": {