Giter VIP home page Giter VIP logo

contract's Issues

Default credentials

I just setup contracts app - what's the default login (userid / password) ? Cheers, Dave

QHD合同,4个审批单增加隐含的对方单位ID字段,以同步给合同台账

避免用对方单位的名称同步,因为对方单位可以重名、目前会导致找到别家单位的同名对方单位。拟在beta上

  • 表单增加字段:对方单位ID
  • 表单修改显示模板,增加hidden的对方单位ID
  • 流程修改脚本,选择对方单位时赋值对方单位ID
  • 修改对象流程的对应关系
  • 测试、确认

涉及流程

  • 集团部室
  • 集团基层
  • 股份部室
  • 股份基层

日期控件使用不友好

  • 双击不可打开日期控件

  • 手动修改日期感觉用户使用不会太多

  • 时间翻页选择不方便,手输的话使用不方便

image
image

yarn start启动失败

[root@localhost steedos-app-contract]# yarn start
yarn run v1.22.10
$ node server


  • Initialize Steedos Server ...
  • VERSION: 1.22.8
  • PORT: 5040
  • ROOT_URL: http://127.0.0.1:5040
  • MONGO_URL: mongodb://127.0.0.1:27017/steedos
  • PROJECT_DIR: /usr/local/share/steedos-app-contract
  • STORAGE_DIR: /usr/local/share/steedos-app-contract/storage

TypeError: module.watch is not a function
at i18n.coffee (meteor://💻app/packages/steedos_objects-core/i18n.coffee:1:1)
at fileEvaluate (packages/modules-runtime.js:336:7)
at Module.require (packages/modules-runtime.js:238:14)
at require (packages/modules-runtime.js:258:21)
at /usr/local/share/steedos-app-contract/node_modules/@[email protected]@@steedos/meteor-bundle-runner/src/packages/steedos_objects-core.js:505:1
at /usr/local/share/steedos-app-contract/node_modules/
@[email protected]@@steedos/meteor-bundle-runner/src/packages/steedos_objects-core.js:513:3
at /usr/local/share/steedos-app-contract/node_modules/@[email protected]@@steedos/meteor-bundle-runner/src/boot.js:414:36
at Array.forEach ()
at Object.loadServerBundles (/usr/local/share/steedos-app-contract/node_modules/
@[email protected]@@steedos/meteor-bundle-runner/src/boot.js:221:19)
at /usr/local/share/steedos-app-contract/server.js:8:20
at Function.run (/usr/local/share/steedos-app-contract/node_modules/_@[email protected]@@steedos/meteor-bundle-runner/src/profile.js:510:12)
at /usr/local/share/steedos-app-contract/server.js:7:24

QHD合同,合同审批完成自动增加提醒记录

合同承办人员:是指请合同审批的人,也是 同步到台账后的 创建人(owner?)
合同管理员:合同审批最后都是合同管理员 点结束的;有4个角色、可得到的各单位的合同管理员(集团部室合同管理员、集团单位合同管理员、秦港股份公司_股份公司部室合同管理员、秦港股份公司_股份公司单位合同管理员)

  • 从流程到台账的同步执行时的 处理
    4个合同审批完成、同步到合同台账时,自动给事件里增加3条记录(给2个人):
    【如果有预期交付期限?】预期交付(合同承办人员+合同管理员)、
    【如果有预期验收期限?】预期验收(合同承办人员+合同管理员)、
    【如果有预期付款期限?】预期收付款(合同承办人员+合同管理员)。

  • 修改台账的字段值触发的相关处理1
    合同台账记录的预期交付/验收/付款期限 的字段值修改后, 同步修改原事件记录
    合同台账记录的预期交付/验收/付款期限 的字段值为空,则删除原事件记录

  • 修改台账的字段值触发的相关处理2
    输入合同台账记录的实际交付/验收/付款日期后(流程同步过来时为空), 如果预期交付/验收/付款期限大于当前日期则同步删除原事件记录

空库启动服务提示报错

(node:102300) DeprecationWarning: current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor.
(node:102300) DeprecationWarning: collection.ensureIndex is deprecated. Use createIndexes instead.
WARNING: npm peer requirements (for steedos:cfs-data-man) not installed:

Read more about installing npm peer dependencies:
http://guide.meteor.com/using-packages.html#peer-npm-dependencies

(node:102300) DeprecationWarning: collection.insert is deprecated. Use insertOne, insertMany or bulkWrite instead.
WARNING: not found plugin.config.yml E:\github\steedos-contracts-app\node_modules@steedos\accounts\plugin.config.yml

You are using the default secret "secret" which is not secure.
Please change it with a strong random token.
MongoError: Index with name: c2_is_deleted already exists with a different name
at Connection. (E:\github\steedos-contracts-app\node_modules\mongodb\lib\core\connection\pool.js:466:61)
at Connection.emit (events.js:198:13)
at Connection.EventEmitter.emit (domain.js:448:20)
at processMessage (E:\github\steedos-contracts-app\node_modules\mongodb\lib\core\connection\connection.js:364:10)
at Socket. (E:\github\steedos-contracts-app\node_modules\mongodb\lib\core\connection\connection.js:533:15)
at Socket.emit (events.js:198:13)
at Socket.EventEmitter.emit (domain.js:448:20)
at addChunk (_stream_readable.js:287:12)
at readableAddChunk (_stream_readable.js:268:11)
at Socket.Readable.push (_stream_readable.js:223:10)
at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)

QHD合同,台账增加3字段

增加字段:

  • 约定交付期限(日期类型)
  • 约定验收期限(日期类型)
  • 约定付款期限(日期类型)

字段同步:

  • 约定交付期限
  • 约定验收期限
  • 约定付款期限

QHD合同,列表页修改

(1)列表页原列出的是“对方单位”,改为“对方单位名称”
(2)字段设置 默认的宽度: columns:['字段名', {field: '字段名', width: 100, wrap: '换行'}]
(3)列表页设置默认的 排序方式 :签发日期 (倒序)+ 承办单位

QHD合同,合同台账增加视图,并显示条目数

合同台账增加入口视图,包括:
• 待交付:预期交付期限有值&实际交付日期无值
• 待验收:预期验收期限有值&实际验收日期无值
• 待收付款:预期付款期限有值&实际付款日期无值
• 可能异常:(合同履行状态为异常)或((“预期交付期限”已过或距现在24小时)&实际交付日期无值)或((“预期验收期限”已过或距现在24小时)&实际验收日期无值)或((“预期收付期限”已过或距现在24小时)&实际付款日期无值)

steedos-contracts-app克隆yarn报错

yarn install v1.21.0
[1/4] Resolving packages...
[2/4] Fetching packages...
info [email protected]: The platform "win32" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning "@steedos/accounts > @accounts/[email protected]" has incorrect peer dependency "@accounts/server@^0.7.0".
warning "@steedos/accounts > @accounts/[email protected]" has incorrect peer dependency "@accounts/server@^0.7.0".
[4/4] Building fresh packages...
$ yarn build
internal/modules/cjs/loader.js:584
throw err;
^

Error: Cannot find module 'C:\Users\寮€鍙?\AppData\Roaming\npm\node_modules\yarn\bin\yarn.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15)
at Function.Module._load (internal/modules/cjs/loader.js:508:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:754:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

[QHD合同上线] 1.1 服务器安装

  • 应用服务器:141服务器
  • 数据库服务器:即 OA系统数据库服务器,无需单独再部署
  • 确认系统可访问
  • 落实附件备份机制:每个半点备份一次

[QHD合同上线] 1.3 修改部分配置

  • 设置》部门:以下设置为公司级:excel清单所列orgnization
  • 设置》权限组》基层合同承办人员》成员:organization中的4个合同审批组的成员
  • 设置》权限组》基层合同管理员》成员:角色里的4个合同管理员的成员
  • 设置》权限组》基层合同查看》成员:各单位的1位领导
  • 设置》权限组》集团法律部》成员:集团法律部
  • 设置》权限组》领导》成员:待定
  • 设置》对象流程》脚本:部分orgID修正

升级到1.22后,触发器改公式

  • contracts.paid_amount改summary类型
  • contracts.unpaid_amount改formula类型
  • contracts.received_amount改summary类型
  • contracts.unreceived_amount改formula类型
  • contract_payments.account改formula类型
  • contract_receipts.account改formula类型

[QHD合同上线] 1.2 导入beta上的配置

  • 权限组permission_set:HKfPzWMNhq6k2RScF、mhL6hX28SYYAQADjo、J3YF7MP8qM5rNMMzj、tqsqy4aaK6Dmv9brB、KynYEoiLKsEPp6bdS 共5条记录
  • 对象权限permission_objects:permission_set_id 为上述5个id的 共25条记录
  • 对象流程object_workflows:全部5条记录
  • 合同分类contract_types:全部21条记录
  • 报表reports:kJ4ay8atFMvhdt3oa、GnjrHdpozFzNE5DSF、qi9h39rHDZ9nCqHuN、NRkfFiTRgaEEB6wd9 共4条记录
  • 确认以上数据已导入

QHD合同,部分对象调整

  1. 隐去“任务”对象、保留“事件”对象。
    (1)“合同”对象去除“任务”子对象
    (2)模块主菜单上去除“任务”
    (3)将“事件”调整为模板的第一个对象,这样一进模块就显示“事件”的月历。
  2. “合同”对象增加字段:实际交付日期、实际验收日期、实际付款日期

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.