safecheck-client 3.0.30-41 → 3.0.30-43

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.
@@ -82,11 +82,12 @@
82
82
  source: `root.getResourceById($${self.$login.f.orgid}$,$organization$).getSpecialResByType($user$).where(row.getAttributes().get($rolestr$).indexOf($安检员$) != -1)`,
83
83
  userid: self.$login.f.id
84
84
  }, {resolveMsg: null, rejectMsg: null}).then((res) => {
85
- debugger
86
85
  self.checkers = []
86
+ let arr = []
87
87
  //tag
88
88
  res.data.forEach((resRow) => {
89
- if( resRow.state == '在职'){
89
+ if(!arr.includes(resRow.name) && resRow.state == '在职'){
90
+ arr.push(resRow.name)
90
91
  self.checkers.push({label:resRow.name,value:resRow.id})
91
92
  }
92
93
  })
@@ -1,47 +1,81 @@
1
1
  <template>
2
- <div>
3
- <input type="text" v-model="inputText" placeholder="Enter text here">
4
- <button @click="handleClick">测试</button>
5
- <iframe v-if="showSketchPage" :src="sketchPageSrc" ref="sketchIframe" id="sketchIframe"
6
- style="width: 100%; height: 500px;"></iframe>
7
- </div>
2
+ <div>
3
+ <input v-ref:sketchIframe1 type="text" placeholder="Enter text here">
4
+ <button @click="handleClick">测试</button>
5
+ <iframe v-if="showSketchPage" :src="sketchPageSrc" id="aaaa2" style="width: 100%; height: 600px;"></iframe>
6
+ </div>
8
7
  </template>
9
8
 
10
9
  <script>
11
- export default {
12
- name: 'App',
13
- data() {
14
- return {
15
- inputText: '',
16
- showSketchPage: false,
17
- sketchPageSrc: '/sketch'
18
- };
19
- },
20
- methods: {
21
- handleClick() {
22
- this.showSketchPage = true;
23
- //this.sketchPageSrc = `/sketch?data=${encodeURIComponent(this.inputText)}`;
10
+ import HttpResetClass from "vue-client/src/plugins/HttpResetClass";
24
11
 
25
- // 使用 $nextTick 确保 iframe 已经加载到 DOM
26
- this.$nextTick(() => {
27
- const sketchIframe = document.getElementById('sketchIframe').contentWindow;
12
+ export default {
13
+ title: 'App',
14
+ data() {
15
+ return {
16
+ inputText: '',
17
+ showSketchPage: false,
18
+ sketchPageSrc: '/sketch',
19
+ sketchId:'',
20
+ title:''
21
+ };
22
+ },
23
+ props: {
24
+ row: {
25
+ type: Object
26
+ }
27
+ },
28
+ ready() {
29
+ var pureHexString = '0x7B2267616467657473223A5B7B22616C696173223A22E7AEA1E98193222C22636C617373223A2250697065222C2264223A312C2264657669636554797065223A22E7AEA1E98193222C2265223A302C22657874223A22222C2268223A372C226964223A2231222C226C6162656C223A7B2274223A22222C2278223A31352C2279223A307D2C2270223A302C2273223A302C22736F6674223A302C2274223A31302C22746167223A22222C227472756E6B223A66616C73652C2277223A3534362C2278223A3335342C2279223A3132377D2C7B22616C696173223A22E7AEA1E98193222C22636C617373223A2250697065222C2264223A302C2264657669636554797065223A22E7AEA1E98193222C2265223A302C22657874223A22222C2268223A36392C226964223A2232222C226C6162656C223A7B2274223A22222C2278223A31352C2279223A307D2C2270223A302C2273223A302C22736F6674223A302C2274223A31302C22746167223A22222C227472756E6B223A66616C73652C2277223A372C2278223A3839352C2279223A3132397D2C7B22616C696173223A22E7AEA1E98193222C22636C617373223A2250697065222C2264223A312C2264657669636554797065223A22E7AEA1E98193222C2265223A302C22657874223A22222C2268223A372C226964223A2233222C226C6162656C223A7B2274223A22222C2278223A31352C2279223A307D2C2270223A302C2273223A302C22736F6674223A302C2274223A31302C22746167223A22222C227472756E6B223A66616C73652C2277223A3130302C2278223A3839382C2279223A3139327D2C7B22616C696173223A22E7A9BFE5A299E6A087E7A4BA222C22636C617373223A22446576696365222C2264223A302C2264657669636554797065223A22E794A8E6B094E8AEBEE5A487222C226469736372696D696E61746F72223A36312C2265223A302C22657874223A22222C2268223A33322C226964223A2234222C226C6162656C223A7B2274223A22E7A9BFE5A299E6A087E7A4BA222C2278223A332C2279223A33327D2C2270223A302C2273223A302C22746167223A22222C2277223A33322C2278223A3934342C2279223A3137387D2C7B22616C696173223A22E7AEA1E98193222C22636C617373223A2250697065222C2264223A302C2264657669636554797065223A22E7AEA1E98193222C2265223A302C22657874223A22222C2268223A39322C226964223A2235222C226C6162656C223A7B2274223A22222C2278223A31352C2279223A307D2C2270223A302C2273223A302C22736F6674223A302C2274223A31302C22746167223A22222C227472756E6B223A66616C73652C2277223A372C2278223A3335362C2279223A3132397D2C7B22616C696173223A22E7AEA1E98193222C22636C617373223A2250697065222C2264223A312C2264657669636554797065223A22E7AEA1E98193222C2265223A302C22657874223A22222C2268223A372C226964223A2236222C226C6162656C223A7B2274223A22222C2278223A31352C2279223A307D2C2270223A302C2273223A302C22736F6674223A302C2274223A31302C22746167223A22222C227472756E6B223A66616C73652C2277223A3231362C2278223A3335382C2279223A3231357D2C7B226168223A32302C22616C696173223A22E99880E997A8222C226177223A33302C22636C617373223A2256616C7665222C2264223A312C2264657669636554797065223A22E99880E997A8222C2265223A302C22657874223A22222C2268223A33352C226964223A2237222C226C6162656C223A7B2274223A22444E3830E79083E99880222C2278223A332C2279223A33357D2C2270223A302C2273223A302C22746167223A22222C2277223A33352C2278223A3339302C2279223A3139367D2C7B22616C696173223A22E8BF87E6BBA4E599A8222C22636C617373223A22446576696365222C2264223A302C2264657669636554797065223A22E8BF87E6BBA4E599A8222C226469736372696D696E61746F72223A31302C2265223A302C22657874223A22222C2268223A33322C226964223A2238222C226C6162656C223A7B2274223A22E8BF87E6BBA4E599A8222C2278223A332C2279223A33327D2C2270223A302C2273223A302C22746167223A22222C2277223A33322C2278223A3436362C2279223A3230317D2C7B22616C696173223A22E58887E696ADE99880222C22636C617373223A22446576696365222C2264223A302C2264657669636554797065223A22E58887E696ADE99880222C226469736372696D696E61746F72223A31322C2265223A302C22657874223A22222C2268223A33322C226964223A2239222C226C6162656C223A7B2274223A22E58887E696ADE99880222C2278223A332C2279223A33327D2C2270223A302C2273223A302C22746167223A22222C2277223A34312C2278223A3532382C2279223A3230337D2C7B22616C696173223A22E7AEA1E98193222C22636C617373223A2250697065222C2264223A302C2264657669636554797065223A22E7AEA1E98193222C2265223A302C22657874223A22222C2268223A33312C226964223A223130222C226C6162656C223A7B2274223A22222C2278223A31352C2279223A307D2C2270223A302C2273223A302C22736F6674223A302C2274223A31302C22746167223A22222C227472756E6B223A66616C73652C2277223A372C2278223A3537352C2279223A3139307D2C7B22616C696173223A22E7AEA1E98193222C22636C617373223A2250697065222C2264223A312C2264657669636554797065223A22E7AEA1E98193222C2265223A302C22657874223A22222C2268223A372C226964223A223131222C226C6162656C223A7B2274223A22222C2278223A31352C2279223A307D2C2270223A302C2273223A302C22736F6674223A302C2274223A31302C22746167223A22222C227472756E6B223A66616C73652C2277223A33322C2278223A3537362C2279223A3138357D2C7B22616C696173223A22E7AEA1E98193222C22636C617373223A2250697065222C2264223A302C2264657669636554797065223A22E7AEA1E98193222C2265223A302C22657874223A22222C2268223A33372C226964223A223132222C226C6162656C223A7B2274223A22222C2278223A31352C2279223A307D2C2270223A302C2273223A302C22736F6674223A302C2274223A31302C22746167223A22222C227472756E6B223A66616C73652C2277223A372C2278223A3631322C2279223A3138347D2C7B226168223A32302C22616C696173223A22E78783E6B094E8A1A8222C226173736F636961746564223A747275652C226177223A33302C22636172644E6F223A7B2274223A22E58DA1E58FB7EFBC9A31313731323033313638222C2278223A332C2279223A33327D2C22636C617373223A224D65746572222C2264223A302C2264657669636554797065223A22E78783E6B094E8A1A8222C2265223A302C22657874223A22222C2268223A33352C226964223A223133222C226C6162656C223A7B2278223A302C2279223A32307D2C226D6574657242616C616E6365223A7B2274223A22E4BD99E9A29DEFBC9AE697A0222C2278223A332C2279223A34347D2C226D657465724761736E756D73223A7B2274223A22E680BBE8B4ADE6B094E9878FEFBC9A31303131222C2278223A332C2279223A35367D2C226D657465724964223A22333532353632222C226D657465724E6F223A7B2274223A22E8A1A8E58FB7EFBC9A3131313430323934222C2278223A332C2279223A32307D2C226D65746572546F74616C223A7B2274223A22E680BBE8B4ADE98791E9A29DEFBC9AE697A0222C2278223A332C2279223A35367D2C226D6574657254797065223A7B2274223A22E8A1A8E59E8BEFBC9AE98791E58DA1E6B091E794A8222C2278223A332C2279223A34347D2C2270223A302C2273223A302C22746167223A22222C2274797065223A2273637265656E4D65746572222C2277223A33352C2278223A3631392C2279223A3231377D2C7B22616C696173223A22E7AEA1E98193222C22636C617373223A2250697065222C2264223A312C2264657669636554797065223A22E7AEA1E98193222C2265223A302C22657874223A22222C2268223A372C226964223A223134222C226C6162656C223A7B2274223A22222C2278223A31352C2279223A307D2C2270223A302C2273223A302C22736F6674223A302C2274223A31302C22746167223A22222C227472756E6B223A66616C73652C2277223A3130302C2278223A3635362C2279223A3232347D2C7B226168223A32302C22616C696173223A22E99880E997A8222C226177223A33302C22636C617373223A2256616C7665222C2264223A312C2264657669636554797065223A22E99880E997A8222C2265223A302C22657874223A22222C2268223A33352C226964223A223135222C226C6162656C223A7B2274223A22444E3830E79083E99880222C2278223A2D362C2279223A33367D2C2270223A302C2273223A302C22746167223A22222C2277223A33352C2278223A3730302C2279223A3230357D2C7B22616C696173223A22E7AEA1E98193222C22636C617373223A2250697065222C2264223A302C2264657669636554797065223A22E7AEA1E98193222C2265223A302C22657874223A22222C2268223A3130302C226964223A223136222C226C6162656C223A7B2274223A22222C2278223A31352C2279223A307D2C2270223A302C2273223A302C22736F6674223A302C2274223A31302C22746167223A22222C227472756E6B223A66616C73652C2277223A372C2278223A3735392C2279223A3232347D2C7B22616C696173223A22E7AEA1E98193222C22636C617373223A2250697065222C2264223A312C2264657669636554797065223A22E7AEA1E98193222C2265223A302C22657874223A22222C2268223A372C226964223A223137222C226C6162656C223A7B2274223A22222C2278223A31352C2279223A307D2C2270223A302C2273223A302C22736F6674223A302C2274223A31302C22746167223A22222C227472756E6B223A66616C73652C2277223A3430352C2278223A3336332C2279223A3332367D2C7B22616C696173223A22E7AEA1E98193222C22636C617373223A2250697065222C2264223A302C2264657669636554797065223A22E7AEA1E98193222C2265223A302C22657874223A22222C2268223A35312C226964223A223138222C226C6162656C223A7B2274223A22222C2278223A31352C2279223A307D2C2270223A302C2273223A302C22736F6674223A302C2274223A31302C22746167223A22222C227472756E6B223A66616C73652C2277223A372C2278223A3336312C2279223A3332347D2C7B22616C696173223A22E7AEA1E98193222C22636C617373223A22446961676F6E616C222C2264223A312C2264657669636554797065223A22E7AEA1E98193222C2265223A302C22657874223A22222C2268223A3134332C226964223A223231222C226C6162656C223A7B2274223A22222C2278223A302C2279223A37312E357D2C2270223A302C2273223A302C22746167223A22222C2277223A3134362C2278223A3232352C2279223A3337357D2C7B22616C696173223A22E7AEA1E98193222C22636C617373223A2250697065222C2264223A312C2264657669636554797065223A22E7AEA1E98193222C2265223A302C22657874223A22222C2268223A372C226964223A223232222C226C6162656C223A7B2274223A22222C2278223A31352C2279223A307D2C2270223A302C2273223A302C22736F6674223A302C2274223A31302C22746167223A22222C227472756E6B223A66616C73652C2277223A3335322C2278223A3232352C2279223A3531327D2C7B22616C696173223A22E7AEA1E98193222C22636C617373223A22446961676F6E616C222C2264223A312C2264657669636554797065223A22E7AEA1E98193222C2265223A302C22657874223A22222C2268223A37302C226964223A223233222C226C6162656C223A7B2274223A22222C2278223A302C2279223A33357D2C2270223A302C2273223A302C22746167223A22222C2277223A37302C2278223A3238382C2279223A3531367D2C7B22616C696173223A22E7AEA1E98193222C22636C617373223A22446961676F6E616C222C2264223A312C2264657669636554797065223A22E7AEA1E98193222C2265223A302C22657874223A22222C2268223A37302C226964223A223234222C226C6162656C223A7B2274223A22222C2278223A302C2279223A33357D2C2270223A302C2273223A302C22746167223A22222C2277223A37302C2278223A3339342C2279223A3532327D2C7B226168223A32302C22616C696173223A22E99880E997A8222C226177223A33302C22636C617373223A2256616C7665222C2264223A312C2264657669636554797065223A22E99880E997A8222C2265223A302C22657874223A22222C2268223A33352C226964223A223235222C226C6162656C223A7B2274223A22444E3135E79083E99880222C2278223A332C2279223A33357D2C2270223A302C2273223A302C22746167223A22222C2277223A33352C2278223A3330312C2279223A3533327D2C7B226168223A32302C22616C696173223A22E99880E997A8222C226177223A33302C22636C617373223A2256616C7665222C2264223A302C2264657669636554797065223A22E99880E997A8222C2265223A302C22657874223A22222C2268223A33352C226964223A223236222C226C6162656C223A7B2274223A22444E3135E79083E99880222C2278223A31312C2279223A33357D2C2270223A302C2273223A302C22746167223A22222C2277223A33352C2278223A3430372C2279223A3533337D2C7B22616C696173223A22E99485E78289222C22636C617373223A22446576696365222C2264223A302C2264657669636554797065223A22E794A8E6B094E8AEBEE5A487222C226469736372696D696E61746F72223A31362C2265223A302C22657874223A22222C2268223A35352C226964223A223237222C226C6162656C223A7B2274223A22E6A8A1E59D97E78289222C2278223A2D32352C2279223A32367D2C2270223A302C2273223A302C22746167223A22222C2277223A35322C2278223A3233372C2279223A3534387D2C7B22616C696173223A22E99485E78289222C22636C617373223A22446576696365222C2264223A302C2264657669636554797065223A22E794A8E6B094E8AEBEE5A487222C226469736372696D696E61746F72223A31362C2265223A302C22657874223A22222C2268223A34392C226964223A223238222C226C6162656C223A7B2274223A22E6A8A1E59D97E78289222C2278223A32342C2279223A35337D2C2270223A302C2273223A302C22746167223A22222C2277223A33352C2278223A3336362C2279223A3535357D2C7B22616C696173223A22E7AEA1E98193222C22636C617373223A2250697065222C2264223A302C2264657669636554797065223A22E7AEA1E98193222C2265223A302C22657874223A22222C2268223A33352C226964223A223239222C226C6162656C223A7B2274223A22222C2278223A31352C2279223A307D2C2270223A302C2273223A302C22736F6674223A302C2274223A31302C22746167223A22222C227472756E6B223A66616C73652C2277223A372C2278223A3532382C2279223A3437357D2C7B22616C696173223A22E7AEA1E98193222C22636C617373223A2250697065222C2264223A312C2264657669636554797065223A22E7AEA1E98193222C2265223A302C22657874223A22222C2268223A372C226964223A223330222C226C6162656C223A7B2274223A22222C2278223A31352C2279223A307D2C2270223A302C2273223A302C22736F6674223A302C2274223A31302C22746167223A22222C227472756E6B223A66616C73652C2277223A3230312C2278223A3333322C2279223A3437337D2C7B226168223A32302C22616C696173223A22E99880E997A8222C226177223A33302C22636C617373223A2256616C7665222C2264223A302C2264657669636554797065223A22E99880E997A8222C2265223A302C22657874223A22222C2268223A33352C226964223A223331222C226C6162656C223A7B2274223A22444E3235E79083E99880222C2278223A332C2279223A33357D2C2270223A302C2273223A302C22746167223A22222C2277223A33352C2278223A3435332C2279223A3435367D2C7B22616C696173223A22E7AEA1E98193222C22636C617373223A22446961676F6E616C222C2264223A312C2264657669636554797065223A22E7AEA1E98193222C2265223A302C22657874223A22222C2268223A36352C226964223A223332222C226C6162656C223A7B2274223A22222C2278223A302C2279223A33322E357D2C2270223A302C2273223A302C22746167223A22222C2277223A35312C2278223A3333342C2279223A3431347D2C7B22616C696173223A22E7AEA1E98193222C22636C617373223A2250697065222C2264223A302C2264657669636554797065223A22E7AEA1E98193222C2265223A302C22657874223A22222C2268223A36362C226964223A223334222C226C6162656C223A7B2274223A22222C2278223A31352C2279223A307D2C2270223A302C2273223A302C22736F6674223A302C2274223A31302C22746167223A22222C227472756E6B223A66616C73652C2277223A372C2278223A3338302C2279223A3335317D5D2C2267726F757073223A5B5D2C2268223A3636332C226964223A223334222C22706964223A6E756C6C2C22736B657463684964223A223430323865343438363234643831636230313632613963333137386530306533222C227469746C65223A22E5A5A5E69E97E59BBDE99985E997A8E5BA97222C2277223A313138302C2278223A302C2279223A307D'
30
+ this.inputText = Buffer.from(pureHexString.substring(2), 'hex').toString()
31
+ this.handleClick()
32
+ },
33
+ methods: {
34
+ handleClick() {
35
+ this.showSketchPage = true;
36
+ //this.sketchPageSrc = `/sketch?data=${encodeURIComponent(this.inputText)}`;
37
+ // 使用 $nextTick 确保 iframe 已经加载到 DOM
38
+ this.$nextTick(() => {
39
+ const sketchIframe = document.getElementById('aaaa2');
28
40
 
29
- // 监听来自 iframe 的消息
30
- window.addEventListener('message', (event) => {
31
- if (event.origin !== window.location.origin) {
32
- return;
33
- }
34
- console.log('Message received from sketch:', event.data);
35
- });
41
+ window.addEventListener('message', (event) => {
42
+ console.log('Message received from sketch:', event.data);
43
+ let data = JSON.parse(event.data.param).gadgets
44
+ if (data.length>0){
45
+ let jsonstr = 'rn'+this.jsonTo16(event.data.param)
46
+ console.log(jsonstr)
47
+ var reqdata = {
48
+ blob: jsonstr,
49
+ orgid: this.$login.f.orgid,
50
+ orgname: this.$login.f.orgname,
51
+ title: event.data.param.title,
52
+ sketchId:event.data.param.sketchId
53
+ }
54
+ var res = new HttpResetClass().load('POST', 'rs/logic/savePaperEdit', {data: reqdata})
55
+ if (res.data.code === 200) {
56
+ this.$showMessage('保存成功')
57
+ } else {
58
+ this.$showMessage('保存失败')
59
+ }
60
+ }
61
+ });
36
62
 
37
- // 发送消息到 iframe
38
- sketchIframe.onload = () => {
39
- sketchIframe.postMessage(this.inputText, window.location.origin);
40
- };
41
- }); // 逻辑空着
42
- }
63
+ sketchIframe.contentWindow.postMessage(this.inputText, '*');
64
+ });
43
65
  },
44
-
66
+ jsonTo16(jsonStr) {
67
+ const encoder = new TextEncoder();
68
+ const arrayBuffer = encoder.encode(jsonStr);
69
+ const hexCodes = [];
70
+ const byteArray = new Uint8Array(arrayBuffer);
71
+ for (let i = 0; i < byteArray.byteLength; i++) {
72
+ const hex = byteArray[i].toString(16);
73
+ const paddedHex = hex.padStart(2, '0');
74
+ hexCodes.push(paddedHex);
75
+ }
76
+ return hexCodes.join('');
77
+ }
78
+ },
45
79
  }
46
80
  </script>
47
81
 
@@ -8,22 +8,22 @@
8
8
  <div class="form-group col-sm-2">
9
9
  <label class="font_normal_body">用户分类</label>
10
10
  <input type="text" class="input_search" v-model="model.f_userinfo_code"
11
- style="width: 60%" placeholder="用户分类" condition="f_userinfo_code='{}'">
11
+ style="width: 60%" placeholder="用户分类" >
12
12
  </div>
13
13
  <div class="form-group col-sm-2">
14
14
  <label class="font_normal_body">用气单位</label>
15
15
  <input type="text" class="input_search" v-model="model.f_user_name"
16
- style="width: 60%" placeholder="客户名称" condition="f_user_name like '%{}%'">
16
+ style="width: 60%" placeholder="客户名称" >
17
17
  </div>
18
18
  <div class="form-group col-sm-2">
19
19
  <label class="font_normal_body">示意图</label>
20
20
  <input type="text" class="input_search" v-model="model.f_user_phone"
21
- style="width: 60%" placeholder="客户电话" condition="f_user_phone like '%{}%'">
21
+ style="width: 60%" placeholder="客户电话" >
22
22
  </div>
23
23
  <div class="form-group col-sm-2">
24
24
  <label class="font_normal_body">单位编号</label>
25
25
  <input type="text" class="input_search" v-model="model.f_meternumber"
26
- style="width: 60%" placeholder="客户表号" condition="f_meternumber like '%{}%'">
26
+ style="width: 60%" placeholder="客户表号" >
27
27
  </div>
28
28
  <div class="form-group col-sm-2" style="width: auto;margin-top:8px;float: right">
29
29
  <export-excel-safe :data="$parent.$parent.searchData"
@@ -31,7 +31,7 @@
31
31
  :choose-col="true"
32
32
  sqlurl="rs/logic/SafeExportExcel" sql-name="查找安检单"
33
33
  template-name='安检计划明细'></export-excel-safe>
34
- <button class="button_spacing button_search" @click="$parent.$parent.change()">查询</button>
34
+ <button class="button_spacing button_search" @click="$parent.$parent.search()">查询</button>
35
35
  </div>
36
36
  </div>
37
37
  </div>
@@ -81,20 +81,20 @@
81
81
  </data-grid>
82
82
  </criteria-paged>
83
83
  </div>
84
+ <modal :show.sync="showModal" v-ref:modal backdrop="false" :width="1200">
85
+ <div slot="modal-header" class="modal-header">
86
+ <h4 class="modal-title">
87
+ 打开图纸编辑
88
+ </h4>
89
+ </div>
90
+ <div slot="modal-body" class="modal-body">
91
+ <edit :row="rowData"></edit>
92
+ </div>
93
+ <div slot="modal-footer" class="modal-footer" style="text-align: center">
94
+ <button class="button_search" @click="cancel">取消</button>
95
+ </div>
96
+ </modal>
84
97
  </div>
85
- <modal :show.sync="showModal" v-ref:modal backdrop="false" :width="1200">
86
- <div slot="modal-header" class="modal-header">
87
- <h4 class="modal-title">
88
- 打开图纸编辑
89
- </h4>
90
- </div>
91
- <div slot="modal-body" class="modal-body">
92
- <edit></edit>
93
- </div>
94
- <div slot="modal-footer" class="modal-footer" style="text-align: center">
95
- <button class="button_search" @click="cancel">取消</button>
96
- </div>
97
- </modal>
98
98
  </template>
99
99
 
100
100
  <script>
@@ -127,17 +127,23 @@ export default {
127
127
  'blod_id': '示意图id',
128
128
  },
129
129
  showModal: false,
130
+ rowData:''
130
131
  }
131
132
  },
132
133
  methods: {
133
- change() {
134
+ change(row) {
134
135
  this.showModal = true
136
+ this.rowData = row
137
+ console.log(this)
135
138
  },
136
139
  search() {
137
140
  this.$refs.paged.$refs.criteria.search()
138
141
  },
139
142
  cancel() {
140
143
  this.showModal = false
144
+ },
145
+ selfSearch(args) {
146
+ this.model.search(args.condition, args.model, args.condValue)
141
147
  }
142
148
  },
143
149